| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
| |
Rename package from com.android.camera2 to org.codeaurora.snapcam,
module name from Camera2 to SnapdragonCamera and app name from
"Camera" to "Snapdragon Camera"
Change-Id: I2800070e72631e119a15fe0132424d1047be9f0c
|
| |
|
|
|
|
| |
Enhance KK cameraapp for L.
Change-Id: If708b253f34a131d7842f8921e54c008283e0056
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Adding 2 more modes 60 and 90 to
HSR feature.
HSR - High speed recording where
video is recorded at the same fps
at which camera is pumping frames.
CRs-Fixed: 629713
Change-Id: I31a13f8d5db8c94be7bafb7506bafe268b764362
|
| |\ |
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Android 4.4.3 release 1
* tag 'android-4.4.3_r1':
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Remove TRIM support
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Fix samsung video recording
Fix WB indicator override
Revert fixed focus area in CAF mode
Add another HTC picture resolution
Always set focus mode first before applying scene mode
Reduce logging of flattened Preferences
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Delay onResume tasks to speed up lockscreen onResume->onPause->onResume launch sequence.
Conflicts:
res/values/arrays.xml
src/com/android/camera/FocusOverlayManager.java
src/com/android/camera/PhotoModule.java
src/com/android/camera/VideoModule.java
Change-Id: I4be00366e24933c6504639776c711e1a874d1f2e
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Patching Bryce CL into Carlsbad
Bug: 9056573
Change-Id: I81fc31e24fe26bef4179bfc4428def2e8b7d94e9
Conflicts:
src/com/android/camera/VideoModule.java
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Enable WNR to reduce noise in 720P recording preview.
Change-Id: I74471446b5fba0216b292f8fca81bf6e09b5d997
CRs-Fixed: 669247
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ \
| |/ /
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Query camera parameters to check if longshot and ZSL+HDR are
supported or not.
Also, add generic way of enabling/disabling preferences to
facilitate features which are mutually exclusive.
Change-Id: I4332e3d5050f56b1953e4c0d767eb87f7e932c49
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
Change-Id: I4b0f8362667a53e46a83223cab77b7248e1410e2
CRs-Fixed: 652078
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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: I982e64f9f3a24c96e83484c6ce8cda3381139520
CRs-Fixed: 644268
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
Change-Id: I42ed3d3d20727ddda1b15c21b3ba85c8c41a82ef
CRs-Fixed: 627373, 627362
|
| | |
| |
| |
| |
| |
| |
| |
| | |
On 8916, we see back camera probed
with camera ID 1. We need to open back
camera first in these cases as well.
Change-Id: Ie3d71afc75ef92bbb95d748cd581252fb8294e1c
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add a feature to choose use SDcard or phone to store picture
and video captured by camera and camcorder.
Some of the changes are taken from:
I987a691c93edc4250fe0366d0623c85ea0152117
CRs-Fixed: 619806
Change-Id: I009df4c70f0a1b49b20750f806c799f025bb6197
|
| |\ \ \
| |/ /
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
To support 120fps recording without
slow motion effect, these changes
are needed. This enables 120 FPS for
all resolutions if HSR is on.
Change-Id: Iece5a382a80f4e3064880d26a29949705352b0e0
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Video quality preference was not initialized to the default value.
But it was read as null and set to maximum available quality. So
the actual value set to camera is different from the one user see
in the settings list.
This change will set the default quality to the preference if its
supported.
Change-Id: Ie219e0965a6ac06e62f32cc6c52fdf255a07adee
CRs-Fixed: 565374
|
| |\ \ \
| |/ /
|/| /
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Delay onResume tasks to speed up lockscreen onResume->onPause->onResume launch sequence.
Import translations. DO NOT MERGE
gcam: Clean up placeholders, and add deletion robustness.
Fix issue of focus indicator staying on without being hidden
Ensure view size gets updated after phone decors change.
Show the 100% state of the progress at least one frame.
Add parameters and deduplicate parameter changes
Revert parallel opening camera in photo mode.
Differentiate the InProgressData from the normal PhotoData.
Close mode menus if another control is touched
Start gcam module directly when handling capture intent.
Import translations. DO NOT MERGE
Add a null check to fix NPE
Add logging to various actions
Ensure mOpenCameraThread has been setup before dereferencing.
Add logging to various actions
Ensure mOpenCameraThread has been setup before dereferencing.
Add GCam progress indicator.
hide preview cover on arrival of new preview data if hidden
Fix photo mode is getting stuck in a single CameraState.
...
Conflicts:
res/layout/photo_module.xml
res/values/arrays.xml
src/com/android/camera/CameraActivity.java
src/com/android/camera/PhotoUI.java
src/com/android/camera/Storage.java
src/com/android/camera/WideAnglePanoramaModule.java
src/com/android/camera/ui/FilmStripView.java
Change-Id: Ic41b4e7e07b2b0ed7936b78a6c5f05270d05985f
|
| | |
| |
| |
| |
| | |
Bug: 11211650
Change-Id: Ic4b26ef0f03eac0682e7be0d4bcb1c4632d85f39
|