| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
* This is moved to the device specific camera wrappers
This reverts commit e43890784fd08ac92de08691c7c6ba545c7ecb80.
Change-Id: I74ac0654ccf1e04cbb69e2fa8a2a651990b484a9
|
| |
|
|
| |
Change-Id: I583e212f3c43a5ddf80fdb16557b3ddd9e3161c2
|
| |
|
|
|
|
|
| |
Enable WNR to reduce noise in 720P recording preview.
Change-Id: I74471446b5fba0216b292f8fca81bf6e09b5d997
CRs-Fixed: 669247
|
| |
|
|
|
|
|
|
| |
banding will seriously impact DIS algorithm, so we need to
set anti-banding to auto when DIS is enabled.
Change-Id: I5ce9e907c68be803b35a929659fc1a9e0ac78642
CRs-fixed: 619074
|
| |
|
|
|
|
|
|
|
| |
Camera app will crash if the shutter button is clicked while not
previewing. Disable the shutter button in onStopPreview() as it's
called by onSurfaceTextureDestroyed().
Change-Id: Ied369610c590323b977b4ac1c3150c6c905e9466
CRs-Fixed: 669190
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
If user choose an app to open video, onResume will be called after
the choose dialog is dismiss. The function opencamera will be called
and the value mPreviewFocused will be set true, which lead to flash
light turn on when setCameraParameters.
The value mPreviewFocused won't be true if not in Camera Preview, we
can use the visible of mCameraControls to judge.
CRs-Fixed: 680450
Change-Id: Ia04ae0fb77f05fb991e5262f86cbe6f308db7709
|
| |
|
|
|
|
| |
* Set maximum screen brightness while the user is inside the camera app
Change-Id: I8b16ba47a933bc7d6b0c1cd62bfd6ca54875ce1e
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Video HDR can’t work with HFR and that caused AEC behaviour change.
Fix Made: User'll be notified that HFR/HSR selection is not allowed
for HDR mode. After that, HFR selection will be set to off and the
option will be disabled. It'll not be vice versa as HDR has higher
priority than HFR.
[mikeioannina]: Removed HSR code
Change-Id: I4b0f8362667a53e46a83223cab77b7248e1410e2
CRs-Fixed: 652078
|
| |
|
|
|
|
|
|
|
|
|
|
| |
DIS will not work for unsupported resolution.
If user'll start recording with DIS alongwith 720p resolution
using front camera, then it'll crash.
Fix: Block in UI, so that user'll not be able to select DIS with
unsupported resolution after intimating through toasts.
Change-Id: Ie788d456a7b15061f16a44ca34ccd3d1e6d90071
CRs-Fixed: 644268
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DIS and Timelapse is not supported for HFR scenario.
If user'll start recording with timelapse or DIS with HFR
then crash observed from lower layer.
Fix Made: User'll be notified that HFR/HSR selection is not allowed
for TimeLapse and/ DIS mode. After that, HFR selection will be set to
off and the option will be disabled. It'll not be vice versa as
DIS/TimeLapse has higher priority than HFR for their existance in
primary popup rather than being in secondary.
[mikeioannina]: removed HSR code
Change-Id: I42ed3d3d20727ddda1b15c21b3ba85c8c41a82ef
CRs-Fixed: 627373, 627362
|
| |
|
|
|
|
|
|
| |
Some codecs can have limitation on the max HFR fps and video
size combination. So, query the video encoder capabilites first
and report error if codec doesnt support the combination.
Change-Id: Ic2032176067a6f92d1363471d1a767d5ef589591
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While capturing a video with HFR, duration is getting stored
properly in metadata but not in media database. While checking
details, duration is showing actual captured duration, not the
playback duration. After rebooting the phone, then media table
is getting updated with proper duration.
Fix made: After capture, change duration value as per user selected
HFR option.
CRs-Fixed: 627354
Change-Id: Ifb7c607e3545c4d2a2e0b1b7666cb0567640d416
|
| |
|
|
|
|
|
|
| |
When mMediaRecorderPausing is true, video duration
is equal to mRecordingTotalTime, which can fix video
duration is wrong issue if use pause/resume.
Change-Id: I71d41414bba11564cfe84166fbc18608636a73d1
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
When there was a orientation change flip paramter had to be changed.
Currently all parameters are set again and preview is being restarted.
so preview will not be smooth when user rotae the device.
This change makes sure only necessary params are updated and
preview will not be restarted.
CRs-Fixed: 710129
Change-Id: I564431ef8cedaf68c9d12e2a84a3a430c845ab6d
|
| |
|
|
|
|
|
| |
Use play button on headset to take a picture/video/panorama
Use media next/previous for zoom
Change-Id: I25c22646b041e5e0941fbe361eccfe77a2a1e42f
|
| |
|
|
|
|
|
|
|
|
|
| |
TimeLapse setting was common for front and back camera
As there is no specific reason to have it common, to align with
other settings, moved it out from common list so that Timelapse
setting change in front camrea will not affect for back camera
and vice versa.
CRs-Fixed: 654627
Change-Id: I0b14284adc6063ccb9bf175a37644c162bb47fd5
|
| |
|
|
|
|
|
|
|
|
| |
When AutoFocus is started during Video Recording, CancelAutoFocus
is called after KEY_FOCUS_TIME seconds. CancelAutoFocus has the
side effect of resetting the sensor AF position and will result in
instant loss of focus which is not a desired event when AF is
manually triggered in case of Video Recording.
Change-Id: Icee7f6dfd4ad083c9b383ee2a4df6a34e4668de6
|
| |\
| |
| |
| |
| |
| | |
Android 4.4.3 release 1.1
Change-Id: Icc767484426dcecfd8b121756474c6f72f3bc7fa
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Patching Bryce CL into Carlsbad
Bug: 9056573
Change-Id: I81fc31e24fe26bef4179bfc4428def2e8b7d94e9
Conflicts:
src/com/android/camera/VideoModule.java
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
During video recording if screen is tapped repeatedly, autofocus is
started while the snapshot is taken. This would either result in an
out of focus snapshot which would also disturb the focus in the recorded
video or crash the sensors that can't handle autofocus during snapshot.
Change-Id: If2763094f5ab7536e4409469276de54580e803c8
|
| | |
| |
| |
| |
| |
| | |
* Also fix HFR variable naming
Change-Id: Ibcf43da1d7e2ae0f22f13718f16c3e3fe8debad8
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
1) Since livesnapshot is not supported for 4kx2k video size,
disable it from the UI.
2) Revert parts of commit 2c309499e60120ec513f51bfab02e7d54237af0a
to get 4kx2k video recording working.
Change-Id: I837f242d505d2c2f07aeb33d81c2560f5b645a39
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- When the maximum supported sizes of 60/90/120 are different, camera
will crash when set hfr size to the maximum supported size while the
current hfr mode doesn't support.
- Fix is to use the supported maximum size of the HFR only when the
specified maximum size is not supported by the current HFR mode.
( cherrypicked from commit 494783c6dc29e76adbc7a714062c6739b785ee23 )
Change-Id: Ia74949e5f97d02b22ad817ac7068b5a676004f3a
CRs-Fixed: 527339
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
- Added pause button in camcorder app.so that user pause
recording and resume later which results in a single
recorded clip.
CRs-Fixed: 587051
Change-Id: I2a7d8af7fcea74fe8af62c44119c3c1fa0c13e85
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change makes sure that stopvideoRecording is called
for all error returns to the video recording app.
( cherrypicked from commit 9d65272083d0a78ca4adefbffc38f98b44cfa489 )
Change-Id: I88c4ac92f065e5008c16a7697a84301e1ff5e98f
CRs-Fixed: 517351
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If recording stops while snapshot is in progress, we might not get
jpeg callback because cameraservice will disable picture related
messages. Hence reset mSnapshotInProgress flag so that we can take
liveshots in the next recording session.
Change-Id: I6a639eb0b9444e4915786c65f64d3b95b064267c
CRs-Fixed: 588698
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Currently, video torch switching is not determined
properly. When user enables and disables flash mode
checkbox, nothing happens. Also, if video torch
is enabled and switching to Camera and back to
Camcorder mode, torch doesn't lights up.
- Adding a local variable mPreviewFocused to track
the preview window focus state should fix the issue.
Change-Id: Ia134b86885eda1ad50d510e67e5595a391326d10
CRs-fixed: 567295
|
| | |
| |
| |
| |
| |
| |
| |
| | |
In case 4k is enabled,
(a) set the preview resoultion same as video resolution.
(b) set the preview format same as video format.
Change-Id: Iebc4c7d47ddca6e03a72f3af7b4660e93c9a1b8e
|
| | |
| |
| |
| | |
Change-Id: I68e6995a51dffa3b5851eb4b7a3a72e60d201d5b
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix power shutter behaviour in camcorder mode
* Disable volume change while in panorama mode, volume buttons should only
handle camera operations while in the camera
* Add camera/power/volume key shutter handling in panorama mode
On devices with a hardware camera key:
* Disable power & volume shutter features
* Volume buttons control the zoom
On devices without a hardware camera key:
* When power shutter is disabled, volume buttons control the shutter (like AOSP)
* When power shutter is enabled, volume buttons control the zoom
Change-Id: I141946d5b6f5aec8b1e9a9f99270d30295596079
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Ported from cm-10.1
Including cm-10.1 camera commit:
aa4ae80a41fbab763891c5ef6d67a9e5b4bb981b Don't mess around with pref local ID for power shutter initialization.
Includes http://review.cyanogenmod.org/56986
PS2: Make Camera2 a privileged app
PS5: Sign with platform certificate instead of making it a privileged app.
PS6: Add write permission to PREVENT_POWER_KEY
PS7: Move PREVENT_POWER_KEY permission to CameraActivity
PS8: Revert to PS5
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
Change-Id: I0992baa558eefd306d00fbece59cb5c512d9448b
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This allows the user to change the default storage path from
the standard internal storage to any available external storage.
When the path is changed, it sends an intent to the gallery
application to keep the paths in sync (Requires part 2 in Gallery2)
Change-Id: I1dbd1161230ad1d48440c6c3a29841c5c486a905
|
| | | |
| | |
| | |
| | | |
Change-Id: I140e8cfb3e39700f60e40c35b38e92c83a3c26de
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Store color effect settings for the camera and
video camera in their own separate preferences.
Change-Id: I8faa59b8663154737910b338906d27f9736d5ad9
|
| | | |
| | |
| | |
| | | |
Change-Id: I83a2675e109dc7924cdd9240b26051ac218f532a
|
| |/ /
| |
| |
| |
| |
| |
| | |
* Still needed on some old but capable devices that report
a tiny preferred preview size
Change-Id: Ib78e0683cbf29644fc6f21200b55ee2efa90bbae
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, logic for unsupported resolution for a codec is
hardcoded and is limited to only H263 and 1280x720 resolution.
Ideally, we should read capabilities of each codec from
mediaprofiles.xml and check it against selected profile.
Toast message is posted if any unsupported resolution is
selected.
Also skip setparameter call to HAL during recording,
when orientation gets changed.
Change-Id: Ife7dde725882d8217fadff7b56687cdad2c72ae4
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Camera holder maintains a local variable to get original params
and set those params back when user switch between modules. But
these parameters were obtained from the instance of camera manager.
So object in Camera holder will be a reference to an object in
camera manager. Becasue of this all the parameters set in photo
module are getting reflected in other modules.
This change makes sure the camera holder's parameters object is
created separately by getting data from camera device.
Also reverted the alternative solution to reset scene mode in
video and panorama module.
CRs-Fixed: 579747
Change-Id: I02637fb2c215aeb1ba9076629400a339c31178ad
|
| | |
| |
| |
| |
| |
| |
| |
| | |
mFocusManager's manager needs to be updated before startPreview,
otherwise setParameters will be called with an invalid preview
mode resulting in a crash on some device (in this case, aries).
Change-Id: I32c113e744f95b4939c070b3aad8b4b5c53fce65
|
| | |
| |
| |
| |
| | |
This reverts commit 5302d2e099de0ae1c3cb4a9cda993fe28b0e8c46, runtime
power-mode changes are causing stability issues in camcorder
|
| | |
| |
| |
| |
| |
| |
| | |
* Available when video snapshots are not supported.
* Original from CodeAurora Forum.
Change-Id: I232c178430db08e7366aa9f91b4926d07e7c225d
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
* ASD, slow shutter, beautify, focus time, etc
* New menu structure
* Includes work from Steve Kondik, Ethan Chen, jt1134, Michael Bestas
Change-Id: I73cf1e685ab2d55579d4b85f39916b59435e6569
|
| | |
| |
| |
| |
| |
| |
| | |
* Don't crash for unavailable integer parameters
* Kill logspam
Change-Id: I6dbcf5560f96ce6173a847501721f589766889bc
|
| | |
| |
| |
| | |
Change-Id: Ifc1653f0046af169ba36d94796b4d9a3055c6798
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SD card screen hint is directly added to activity window. In the
error case its trying to add the screen hint dialog even before the
activity window is available. This change check for the availability
through window focus. In photo module update hint is called through
handler to make sure it adds the dialog in UI thread, which was
missing in panorama modo. This change as photomodule kind of UI
updation calls in Panorama mode.
Change-Id: I5cad2e86a23aceff290ef8d4ef89dbfdaaeb683d
CRs-Fixed: 573549
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Recorded file must exist for updation. Check if the file exists
before you update to avoid crash. Treat file non-existence as a
error case and proceed further.
Change-Id: I31954d51f0c34ef3d0ee25cb30d243804bc93fc3
CRs-Fixed: 573040
|
| |\ \ \ |
|