summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SnapdragonCamera: fix portrait orientationLikai Ding2015-02-0233-787/+630
| | | | | | | | | | | | 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
* Merge "SnapdragonCamera: Add Portrait to scene mode"Linux Build Service Account2015-01-283-230/+9
|\
| * SnapdragonCamera: Add Portrait to scene modeByunghun Jeon2015-01-263-230/+9
| | | | | | | | | | | | | | Add portrait option to scene mode Change-Id: I5c29e896734eab25e8f21adb142006081ea1c851 CRs-Fixed: 777753
* | Merge "SnapdragonCamera: fix not update preview thumb in scenemode macro+"Linux Build Service Account2015-01-281-19/+4
|\ \
| * | SnapdragonCamera: fix not update preview thumb in scenemode macro+kaiyiz2015-01-221-19/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "SnapdragonCamera: Sync surface destruction and camera open thread."Linux Build Service Account2015-01-262-1/+9
|\ \ \ | |_|/ |/| |
| * | SnapdragonCamera: Sync surface destruction and camera open thread.Sai Kumar Sanagavarapu2015-01-202-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "SnapdragonCamera: New shutter Icons"Linux Build Service Account2015-01-2355-22/+86
|\ \ \ | |_|/ |/| |
| * | SnapdragonCamera: New shutter IconsByunghun Jeon2015-01-2055-22/+86
| | | | | | | | | | | | | | | | | | Add new shutter icons for SnapdragonCamera Change-Id: Ic0abf1b509800133bbd9dbee0cc34ebca02e5bcb
* | | Merge "camera: override shutter sound volume"Linux Build Service Account2015-01-211-0/+19
|\ \ \
| * | | camera: override shutter sound volumeZhou Song2015-01-161-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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
* | | | Merge "SnapdragonCamera: fix CalledFromWrongThreadException"Linux Build Service Account2015-01-211-1/+6
|\ \ \ \
| * | | | SnapdragonCamera: fix CalledFromWrongThreadExceptionLikai Ding2015-01-201-1/+6
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | updateRemainingPhotos() may be called from background thread. Fix it by posting to main thread. Change-Id: Iad14f0a40c10a245e3a7178f5a7f1383eca72ad8
* | | | Merge "SnapdragonCamera: Open camera in init for improve start preview KPIs"Linux Build Service Account2015-01-202-4/+1
|\ \ \ \ | |/ / / |/| | |
| * | | SnapdragonCamera: Open camera in init for improve start preview KPIskaiyiz2015-01-162-4/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "SnapdragonCamera: implement refocus feature"Linux Build Service Account2015-01-1816-15/+522
|\ \ \
| * | | SnapdragonCamera: implement refocus featureLikai Ding2015-01-1416-15/+522
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "SnapdragonCamera: Set low power mode by default."Linux Build Service Account2015-01-181-0/+5
|\ \ \ \
| * | | | SnapdragonCamera: Set low power mode by default.Sai Kumar Sanagavarapu2015-01-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If low power mode is supported, set it ON by default. Change-Id: If51754220a333be1d2733bf97a5adedc94d9fd5a
* | | | | Merge "SnapdragonCamera: Fix null pointer exception in SnapdragonCamera"Linux Build Service Account2015-01-173-12/+26
|\ \ \ \ \
| * | | | | SnapdragonCamera: Fix null pointer exception in SnapdragonCamerakaiyiz2015-01-153-12/+26
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Null Pointer exception occurred in Camera during monkey test. Add null pointer check before use them. Change-Id: I992f6b8f8dc6b91947ec3e4d703b4e9b72996f67 CRs-Fixed: 780252
* | | | | Merge "SnapdragonCamera: update storage space after changing storage path"Linux Build Service Account2015-01-171-2/+6
|\ \ \ \ \
| * | | | | SnapdragonCamera: update storage space after changing storage pathkaiyiz2015-01-141-2/+6
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge "SnapdragonCamera: fix malformed manifest"Linux Build Service Account2015-01-161-12/+11
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | SnapdragonCamera: fix malformed manifestkaiyiz2015-01-151-12/+11
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | activity-alias has to be put after the target activity. CRs-Fixed: 777770 Change-Id: I25d5af2311d8e0d1a575f69ffd9f2d1d7e1e6721
* | | | Merge "SnapdragonCamera: better estimation for remaining photos"Linux Build Service Account2015-01-151-8/+14
|\ \ \ \
| * | | | SnapdragonCamera: better estimation for remaining photosLikai Ding2015-01-121-8/+14
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "SnapdragonCamera: allow some deviation on screen ratio"Linux Build Service Account2015-01-151-11/+3
|\ \ \ \ | |_|/ / |/| | |
| * | | SnapdragonCamera: allow some deviation on screen ratioLikai Ding2015-01-131-11/+3
| | |/ | |/| | | | | | | | | | | | | | | | | | | 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
* | | Merge "Revert "SnapdragonCamera: Add FullScreen Preview when in Panoramic ↵Linux Build Service Account2015-01-1312-179/+326
|\ \ \ | | | | | | | | | | | | shoot""
| * | | Revert "SnapdragonCamera: Add FullScreen Preview when in Panoramic shoot"Jay Wang2015-01-1312-179/+326
| | | | | | | | | | | | | | | | This reverts commit 8c1e4ff06d80d69792170f0cab8dea2f490cb7fa.
* | | | Merge "Revert "SnapdragonCamera: Fixed aspect ratio in panormic shoot""Linux Build Service Account2015-01-131-28/+6
|\| | |
| * | | Revert "SnapdragonCamera: Fixed aspect ratio in panormic shoot"Jay Wang2015-01-131-28/+6
| |/ / | | | | | | | | | This reverts commit 1ea460a89823864216b47aae767b0d8f5dceb3ee.
* | | Merge "SnapdragonCamera: fix settings list can't disappear after resume camera"Linux Build Service Account2015-01-132-14/+20
|\ \ \
| * | | SnapdragonCamera: fix settings list can't disappear after resume camerakaiyiz2015-01-102-14/+20
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Normal the animateFadeOut will be called when activity paused, but if click sub menu just before pause activity, the animateFadeOut will be blocked by flag POPUP_IN_ANIMATION. Make animateFadeOut and animateSlideOut use different flags for judge whether need to start animation or not. Change-Id: I49a0cb8f70771ccdd292b589a266a5417f78c6ef CRs-Fixed: 778167
* | | Merge "SnapdragonCamera: fix don't lock screen after press power key"Linux Build Service Account2015-01-132-5/+9
|\ \ \
| * | | SnapdragonCamera: fix don't lock screen after press power keykaiyiz2015-01-092-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The window flag FLAG_SHOW_WHEN_LOCKED is workding even if press power key, so camera activity will not be close still run above locked screen UI. The CameraGestureActivity is start from screen off, so it will be a SecureCameraActivity. Finish activity as same as the secure camera activity. Change-Id: I76d8ff3d2f037b81140b35255b52b4c4f4de95d3 CRs-Fixed: 777770
* | | | Merge "SnapdragonCamera: Quick icon disappear after stop record by home key"Linux Build Service Account2015-01-131-2/+2
|\ \ \ \ | |_|_|/ |/| | |
| * | | SnapdragonCamera: Quick icon disappear after stop record by home keykaiyiz2015-01-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Color effect and switch camera icons disappear if re-launch camera after press home key during recording video. The icons are hided when start record video, but show icons aren't called after stop video record by press home key. Show and hide icons should always be called when stop and start record video, so move the functions to stopVideoRecord and startVideoRecord. Change-Id: Ie4fe9102e226452502fcc382329cc0e01799b0cf CRs-Fixed: 777114
* | | | Merge "SnapdragonCamera: support 4:3 preview on 16:9 screen"Linux Build Service Account2015-01-117-47/+222
|\ \ \ \ | |_|_|/ |/| | |
| * | | SnapdragonCamera: support 4:3 preview on 16:9 screenLikai Ding2015-01-087-47/+222
| | |/ | |/| | | | | | | | | | | | | | | | | | | When preview is set to 4:3 on a 16:9 screen, resize SurfaceView to 4:3 and cover other parts of the screen. Otherwise camera controls have a semi-transparent background. Change-Id: Icfbe6318b6a9de9a988468078b474e842f6ddd8c
* | | Merge "SnapdragonCamera: Remove Camera2 apk."Linux Build Service Account2015-01-091-0/+2
|\ \ \ | |/ / |/| |
| * | SnapdragonCamera: Remove Camera2 apk.Sai Kumar Sanagavarapu2015-01-071-0/+2
|/ / | | | | | | | | | | | | | | | | | | | | Override Camera2 with SnapdragonCamera to remove Camera2 from build. This is to avoid confusion to user with similar camera apps in the build. Finally, there will be only two camera applications - SnapdragonCamera, which is the QC value added Camera app and another GoogleCamera, which is the stock Camera app provided by Google. Change-Id: Ifc50772848b5a5e9a64bc0371bd6980d8633e8ac
* | Merge "SnapdragonCamera: Don't override preferences for CMCC misc settings."Linux Build Service Account2015-01-071-11/+21
|\ \
| * | SnapdragonCamera: Don't override preferences for CMCC misc settings.Sai Kumar Sanagavarapu2015-01-051-11/+21
| | | | | | | | | | | | | | | | | | | | | | | | Instead of overriding preferences and giving no way to change them again, just reset the preferences to corresponding off/default values, so that user can still be able to change them. Change-Id: I49f654d79af8268f170a611d5cbca28a2fa716ae
* | | Merge "SnapdragonCamera: Fix camera double open issue."Linux Build Service Account2015-01-071-0/+8
|\ \ \
| * | | SnapdragonCamera: Fix camera double open issue.Sai Kumar Sanagavarapu2015-01-041-0/+8
| |/ / | | | | | | | | | | | | | | | | | | | | | If switch camera occurs before open camera thread completes, it will result in camera double open exception. Hence wait for open thread and then do switch. Change-Id: Id12f149a2b850dc7cf1c872cec016c95e604f713
* | | Merge "SnapdragonCamera: Do not prompt remember location pop up twice."Linux Build Service Account2015-01-071-1/+1
|\ \ \
| * | | SnapdragonCamera: Do not prompt remember location pop up twice.Santhosh Kumar Thimmanna Bhattar2015-01-041-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remember location pop up is shown twice as start preview is called twice when the snapdragon camera application is launched for the first time. - Fix is to not to start the preview if it is already started Change-Id: I5435acec3e731b2536c24b947e5e720c1a8d0d6b
* | | Merge "SnapdragonCamera: Fixed aspect ratio in panormic shoot"Linux Build Service Account2015-01-071-6/+28
|\ \ \