| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
resizeForPreviewAspectRatio() might be called before SurfaceView's
layout process, which causes SurfaceView being set to 0 width and
height. Add check before adjusting SurfaceView's dimensions.
Change-Id: I66bf6dfcef74253429b2c6cd1a80031d8e30f95d
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The mineType will be null if get it from an invalid uri, this may
happen when delete a video very quickly after taken it and back to
Camera, the video data has already gone before notifyNewMeida called.
Add null pointer check before use mimeType to avoid the NPE.
Change-Id: I6021faf2d4016e258153f0a75419f01fdfd7ed6c
CRs-Fixed: 784389
|
|\ \ \ \ \ |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When HDR was on, filter mode was invalid,it has no effect on
preview, besides, scene mode had been changed to auto, but
the scene icon didn't change.
When HDR is ON, disable filter mode, and change scene mode icon
to auto.
Change-Id: I1e43021f0441b13549b6511a18252679299beec8
CRs-Fixed: 782599
|
|\ \ \ \ \ |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The filter mode switcher button was always shown after video recording
stopped.
Check device capability from preference, if the device doesn't support
filter mode, do not show the button.
Change-Id: I0e3297437e4c22ba9c8ec8b36e0de60d673ce7b1
CRs-Fixed: 790252
|
|\ \ \ \ \ |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The screen size didn't change when return from FilmStripView to camera
preview, that caused the camera preview was in mini screen.
Go to full screen when the current view is camera preview.
Change-Id: Ib7153335670ad8596222e3b340861508767c1fb2
CRs-Fixed: 790334
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The remaining photo number wasn't update after change the save path
from SD card to phone storage, that caused the left number not matched
current setting.
Update it in onSharedPreferenceChanged, make it matched with the
current save path setting.
Change-Id: I544c5baca8a30f8c7dbd8d71962300ae320e9de5
CRs-Fixed: 786966
|
|\ \ \ \
| |_|_|/
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Disable shutter button before starting/stopping
recording on a shutter button click and enable it after
without any delay. Add logs to know when shutter button
is disabled/enabled.
Change-Id: Ibca1e964d2e2fc1c1bd47c104f87289eb2a507bf
|
|\ \ \ \
| |_|/ /
|/| | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Dont change copyright year of photomodule.
Change-Id: I6b07b652d8caaa7df6931af0cab9b62d0ab41760
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix camera activity to portrait, so there is no delay when rotation
occurs. Main changes are:
1. RotateLayout now supports padding and dynamically added child.
2. Camera controls and gesture detetion are now orientation-aware.
3. Toasts are replaced with RotateTextToast.
4. Obselete layout files are removed.
Change-Id: I338849bd7fb84b847eb357f771a24a5cc09bf6fa
|
|\ \ \ \
| |/ / /
|/| | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Use ZSL+HDR feature check to disable AE-bracketing if not supported,
because HDR internally uses AE-bracketing only.
Change-Id: I47abe4373e643b1a790c50ada34bd481b3ee0031
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add portrait option to scene mode
Change-Id: I5c29e896734eab25e8f21adb142006081ea1c851
CRs-Fixed: 777753
|
|\ \ \ \ |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The function update preview thumb is not called in macro+ mode.
Fix the logic about macro+ mode, treat 7th picture as a normal
picture taken.
Change-Id: Icdd8f93d3feeb09eea67a3077b5ebf82508543cc
CRs-Fixed: 783720
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If surface gets destroyed while Camera open thread is still trying
to start preview, camera app state machine will go into toss. Next
time when surface gets created again, it might try to set preview
surface again while previewing leading to app exception. So, sync
surface destruction and camera open threads.
Change-Id: I6ba4103559766c327d2bc55887a0f7df1b4b0d40
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add new shutter icons for SnapdragonCamera
Change-Id: Ic0abf1b509800133bbd9dbee0cc34ebca02e5bcb
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
-Override shutter sound volume by reading property and using the
value from the property. The global volume is re-set when camera
recording is stopped or when the application exits
CRs-Fixed: 716717
Change-Id: I6b40cddad99fdb12f6a3266217b1e98d347e0cd5
|
|\ \ \ \ \ |
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
updateRemainingPhotos() may be called from background thread. Fix
it by posting to main thread.
Change-Id: Iad14f0a40c10a245e3a7178f5a7f1383eca72ad8
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When switch from VideoModule to PhotoModule, opencamera will run in
onResume rather than init() and start preview must be executed after
open camera.This lead to start preview slowly.
Open camera when module init for run start preview as early as possible.
so the flag mIsModuleSwitchInProgress isn't needed.
Reference similar action in VideoModule's init().
CRs-Fixed: 741089
Change-Id: I5a8fd18ef944fbc28f1b61470a4f389d3096c8ef
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add a scene mode for refocus. If the latest photo is taken with
refocus, user can click on the preview thumbnail, then refocus it
by tapping on the photo.
Change-Id: I2fd69439467f5a1e33d23d8d239aa3472d88b585
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
If low power mode is supported, set it ON by default.
Change-Id: If51754220a333be1d2733bf97a5adedc94d9fd5a
|
|\ \ \ \ \ \ |
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Null Pointer exception occurred in Camera during monkey test.
Add null pointer check before use them.
Change-Id: I992f6b8f8dc6b91947ec3e4d703b4e9b72996f67
CRs-Fixed: 780252
|
|\ \ \ \ \ \ |
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The left storage space wasn't update after changing storage path from
SD card to phone storage.
After change the storage path, update the mStorageSpaceBytes to get the
current left storage space.
CRs-Fixed: 779471
Change-Id: Icc99193503bff93ef52029387b715b7f1526bc0b
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
activity-alias has to be put after the target activity.
CRs-Fixed: 777770
Change-Id: I25d5af2311d8e0d1a575f69ffd9f2d1d7e1e6721
|
|\ \ \ \ \ |
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Only re-estimate remaining photos upon onResume or picture size/quality
change. Decrease the estimation by one after each shot. It meets user
expectation better.
Change-Id: If09e3b018a9fdbb09797bf797437005b6ab3c1b0
CRs-Fixed: 776376
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Some screen resolutions are not exactly but very close to 16:9.
Allow some deviation to enable new preview feature on these screens.
Change-Id: I85db85bf43dacaa510184dd7ba3308a9aa914d4a
CRs-Fixed: 780739
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
shoot""
|
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 8c1e4ff06d80d69792170f0cab8dea2f490cb7fa.
|
|\| | | | |
|