summaryrefslogtreecommitdiff
path: root/src/com/android/camera/PhotoModule.java
Commit message (Collapse)AuthorAgeFilesLines
...
* Snap: Re-enable ZSL after exiting HDR modeSultanxda2020-11-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | Author: Sultanxda <sultanxda@gmail.com> Date: Sun Aug 2 20:16:09 2015 -0700 SnapdragonCamera: Re-enable ZSL after exiting HDR mode * Make sure to check that HDR was changed before forcing ZSL back on. Change-Id: Ifb76263c3a50b919762fd2a313d6013295c0619f Author: Gabriele M <moto.falcon.git@gmail.com> Date: Tue Jan 19 16:45:25 2016 +0100 Snap: Don't enable ZSL when disabling HDR Instead, restore the default value. This prevents issues on devices that don't support ZSL. Change-Id: I9c456cd6503df29800e2bc7ccaa691cb3fb42681 Change-Id: I66c9e31f37ef09c2437fcacac6c04246dab7df3c
* Revert "SnapdragonCamera: Forbid volume key can take picture"Michael Bestas2020-11-151-5/+1
| | | | | | This reverts commit e73e717b8be1ba834161914af4debc61c1feb8be. Change-Id: Iee719f34f6016f89ec0bb1c078bfa25c2f718436
* Revert "Remove CameraDataCallback."Chippa-a2020-11-151-0/+69
| | | | | | This reverts commit e7c3825c2ef5fca2ed70d753ea32f2c042a3fa50. Change-Id: Id18176046c657ea084eaec3ab3c1f0e51aeb12f0
* Snapcam: Fix Hide APIs comiletaion issuesjinwu2020-05-281-26/+6
| | | | | | | 1.Remove non-used Hide APIs 2.Replace used Hide APIs Change-Id: I5a16b7f96d103022953845febf12fbb4eb596a5d
* snapcam: long press for lock AE/AFjiaoyuan2020-04-091-0/+4
| | | | | | long press for lock AE/AF Change-Id: I169a56e588b870188bcf62af02ed0a1021fa8fcb
* Remove CameraDataCallback.jinwu2018-11-071-69/+0
| | | | | | Since it's for camera1 which is not supported in camx, remove it. Change-Id: If20ca6b63044722efbbfa3893baa7d1b039138e5
* SnapdragonCamera:Request GPS permissionjinwu2018-09-211-1/+1
| | | | | | | | | | Request ACCESS_FINE_LOCATION permission instead of ACCESS_COARSE_LOCATION permission to avoid permission issue when enable GPS recording Change-Id: Ife8cdbc5be84eba1ae191ad91ffd01cfa074813c CRs-Fixed: 2293929
* SnapdragonCamera: Move property to PersistUtilWeijie Wang2017-09-041-12/+6
| | | | | | Move property to PersistUtil Change-Id: I0735d8215ba302ef4c632d6a15ad95a04cd259a0
* SnapdragonCamera: Wrapper for QC APIweijiew2017-08-291-75/+87
| | | | | | | | | 1. Wrapper for Parameters 2. Wrapper for CameraInfo 3. Wrapper for CamcorderProfile 4. Wrapper for Camera 5. Wrapper for ExtendedFace Change-Id: I8c8605db3696bffc4d975c0bb6f74944ed23a6bd
* SnapdragonCamera:Reset the AF mode to CAF when zoom has changedweijiew2017-03-271-1/+8
| | | | | | | Reset the AF mode to CAF when zoom has changed CRs-Fixed: 2020171 Change-Id: Icb056481952708815f06d470fe3ff6be60e8a6e7
* Merge "SnapdragonCamera: enable Continous shot option for zzHDR" into ↵Camera Software Integration2017-03-091-1/+4
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: enable Continous shot option for zzHDRjunjiez2017-03-021-1/+4
| | | | | | | | | | | | | | | | When set persist.camera.zzhdr.enable to 1, zzHDR mode is set, allow use HDR and continous shot at the same time. Change-Id: I6aec7ecfeb7a024350327a3030fba6be4e39ef89 CRs-Fixed: 2012715
* | Merge "SnapdragonCamera: Print the picture name when capture success" into ↵Camera Software Integration2017-03-091-0/+2
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Print the picture name when capture successweijiew2017-03-021-0/+2
| |/ | | | | | | | | | | | | Print the picture name when capture success Change-Id: Ia928197bc597ef09b40bb90e1297c7edb19fa4cd CRs-Fixed: 1113482
* | Merge "SnapdragonCamera: fix W+T UI issues" into camera.lnx.1.0-dev.1.0Camera Software Integration2017-03-091-12/+16
|\ \
| * | SnapdragonCamera: fix W+T UI issuesjunjiez2017-03-021-12/+16
| |/ | | | | | | | | | | | | | | Fix sometimes parameters is not set, slider bar is showed when bokeh is not enabled and slider bar is at the bottom. Change-Id: Ief346442c94d2cbbcdf7a14e11ebd43316b15b05
* | Merge "SnapdragonCamera: Fix photo reversed when enable selfie Mirror" into ↵Linux Build Service Account2017-03-061-3/+1
|\ \ | |/ |/| | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Fix photo reversed when enable selfie Mirrormingwax2017-02-281-3/+1
| | | | | | | | | | | | | | | | | | | | | | When camera is opened with front camera, enable SelfieMirror in horizontal screen. When jpegData`s exif `s orientation is enabled, set the image rotation angle of 180 degrees to ensure the picture is right direction. SDM660 installed front camera is 270 degree. MSM8998 installed front camera is 90 degree. CRs-Fixed: 1112749 Change-Id: I350f588142215e7b0793d1aa6dc573bad239baac
* | SnapdragonCamera: Add zoom option to developer optionJay Wang2017-02-191-0/+59
|/ | | | | | | | For automation testing, we need a way to adjust the zoom without using the pinch gesture. Therefore, adding zoom option preference to the developer option. Change-Id: I37f8c1b4f51682cb398d0a5f779f45128bdc19ec
* SnapdragonCamera: Fix location option wrongjunjiez2017-02-101-6/+7
| | | | | | | | | The record loaction option is still set to enable after loaction permission is not granted, to avoid this issue, always check location permission first. Change-Id: I96bc3a1102411e30b8f27c7e59fb3452b42706da CRs-Fixed: 1106767
* Merge "SnapdragonCamera:Fix photo reversed when enable selfie Mirror" into ↵Linux Build Service Account2017-01-301-3/+8
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera:Fix photo reversed when enable selfie Mirrormingwax2017-01-191-3/+8
| | | | | | | | | | | | | | | | | | When camera is open front camer, and is in horizontal screen mode enable Selfie Mirror, set the image rotation angle of 180 degrees, to ensure the picture is right direction. CRs-Fixed: 1112749 Change-Id: I9b53804b7897f174c537693ff59db96df858e71d
* | Merge "SnapdragpmCamera:Support W+T bokeh feature" into camera.lnx.1.0-dev.1.0Linux Build Service Account2017-01-261-2/+84
|\ \
| * | SnapdragpmCamera:Support W+T bokeh featurejunjiez2017-01-191-2/+84
| |/ | | | | | | Change-Id: Ic681e0bcfabddcb313943d64e4487f15b934bd50
* / SnapdragonCamera: Fix does`t support UbiFocus and HDR meanwhilemingwax2017-01-181-0/+9
|/ | | | | | | UbiFocus、Adwanced Features and HDR do mutal exclusion. CRs-Fixed: 1112930 Change-Id: I4eefa2a0acb5f0b59bb4c24ad9da041704823218
* SnapdragonCamera: Fix does`t support HDR and chromaflash meanwhilemingwax2017-01-121-0/+4
| | | | | | | Chroma Flash、 Adwanced Features and HDR do mutual exclusion. CRs-Fixed: 1107236 Change-Id: I7e9f94fb757693fd5df7391ef94f194af3dae65c
* Merge "SnapdragonCamera:Improve camera app's robustness" into ↵Linux Build Service Account2017-01-051-0/+3
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera:Improve camera app's robustnessjianhuac2016-12-301-0/+3
| | | | | | | | | | | | | | | | We just load RenderScript engine once when initialize CaptureModule and destory it when destory CaptureModule, instead of load-destory engine by muti-thread when open-close camera device. Change-Id: I76f9e5f99061fb1557624ab683c37837ae1414f7
* | Merge "SnapdragonCamera:Fix getting location without permission" into ↵Camera Software Integration2016-12-221-1/+8
|\ \ | |/ |/| | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera:Fix getting location without permissionjunjiez2016-12-141-1/+8
| | | | | | | | | | | | | | | | | | When the APP don't have location permission, exception occurred when try to get location. So avoid getting location without permission. Change-Id: Ia558f248c28f6e304c490d63cc03bd5bda30a017 CRs-Fixed: 1094057
* | SnapdragonCamera: Turn off "Beep during countdown" doesn't workweijiew2016-12-141-1/+1
|/ | | | | | | | It uses SHUTTER_SOUND_KEY to control the sound. Change to right key KEY_TIMER_SOUND_EFFECTS CRs-Fixed: 1101206 Change-Id: Ib0a81ed85cbf4393d289137f9b04ed2bb66c91a5
* SnapdragonCamera: GPS location can't be turn On in camera settingsweijiew2016-11-241-4/+7
| | | | | | | | | In Camera2, SharedPreferences persistes GPS location value by key(pref_camera2_recordlocation_key), but gets GPS location value by key(pref_camera_recordlocation_key). CRs-Fixed: 1088262 Change-Id: I33ddeb8f20fed03449bded2760c0ad1b8e36c91c
* SnapdragonCamera: Do not call cancel auto focus on startupJay Wang2016-11-041-3/+3
| | | | | | | | Do not call cancel_auto_focus on first time launch as it is incorrectly signalling 3A that focus is finished. CRs-Fixed: 1083298 Change-Id: Iaaa981ba40e4844de3469a0526934c810f1b314a
* SnapdragonCamera: Camera1 Selfie Mirror orientation checkJack Yoo2016-10-131-5/+21
| | | | | | | Checking the case that front facing camera is 90 instead of 270. Change-Id: I75319db771057d64d1a21a1de825edd54af83982 CRs-Fixed: 1072060
* SnapdragonCamera: Use persist to set Camera1/Camera2 modeByunghun Jeon2016-09-271-0/+0
| | | | | | | | | Use persist flag to choose camera1 or camera2. Flag is persist.camera.camera2 Default will be camera1 Change-Id: Ic616b3d4b9f1293e45c7a006587f5c9ba34a0687 CRs-Fixed: 1066444
* SnapdragonCamera: Fix ANR during open cameraqimengp2016-09-271-1/+0
| | | | | | | | | | | When preview UI destory, app call Camera API as order: setPreviewDispaly(null) and stopPreview(). In case native window disconnected before stopPreview(), will cause ANR, since calling to native window fails. Native window is taken care within camera framework. So, by removing setPreviewDisplay(null), can avoid this issue. Change-Id: Id804f2e0876a61d974e58dd996c46fe769f69856
* Merge "SnapdragonCamera:Fix can't take picture" into camera.lnx.1.0-dev.1.0Camera Software Integration2016-09-211-0/+6
|\
| * SnapdragonCamera:Fix can't take picturejunjiez2016-09-071-0/+6
| | | | | | | | | | | | | | | | | | | | When the sensor gets turn off in settings, launching camera will be slower and cause mPreviewRect not set. Set mPreviewRect again by invoking setPreviewSize when camera is opened. Change-Id: I7923320ab4a54ae2194f84b40f60a33b581d5eae CRs-Fixed: 1062228
* | Merge "SnapdragonCamera:Fix RuntimeException in monkey test" into ↵Camera Software Integration2016-09-211-0/+1
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera:Fix RuntimeException in monkey testjunjiez2016-09-051-0/+1
| |/ | | | | | | | | | | | | | | | | When preview is stoped, taking picture will cause RuntimeException Add a judgement in method capture to avoid taking picture after stop preview. Change-Id: Ib03b3c2392c32b9314282196fd918787e7582b20 CRs-Fixed: 1063230
* | Merge "SnapdragonCamera:Fix NullPointerException in monkey test" into ↵Camera Software Integration2016-09-141-0/+4
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera:Fix NullPointerException in monkey testjunjiez2016-08-301-0/+4
| |/ | | | | | | | | | | | | | | | | | | When R.layout.ts_makeup_item_view is pressed onMakeupLevel will be called,but at this time the OpenCameraThread maybe has not opened the camera, so the NullPointerException occurred,add a judgement to avoid camera to be null. Change-Id: Ia9a9e579a4e400e05deeeb2c36539a0ff95d3918 CRs-Fixed: 1060870
* | Merge "SnapdragonCamera: Changing ubifocus shutter sound" into ↵Linux Build Service Account2016-09-071-1/+1
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Changing ubifocus shutter soundJack Yoo2016-08-291-1/+1
| |/ | | | | | | | | | | | | | | Changing ubifocus shutter sound based on shutter sound menu setting value. Change-Id: Ie02bb158517ced87285bcea445984bd344142a8c CRs-Fixed: 1056059
* | Merge "SnapdragonCamera: Fix ANR after capturing pictures continuously" into ↵Linux Build Service Account2016-09-071-3/+11
|\ \ | |/ |/| | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Fix ANR after capturing pictures continuouslyqimengp2016-08-251-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | When finish once capture picture, camera need get available space of SDCard/Internal storage and update available number to UI. It is a I/O operation and may block a few millisecond. Currently camera get available space in UI-Thread. So capturing pictures continuously may cause ANR, though it is happened rarely. By moving this operation to non-UI thread, can solve this issue. Change-Id: I397e07117f88e56cbe2ad0b893e2bad8b3075ab5 CRs-Fixed: 1022382
* | Merge changes I868c8584,I398ed793,I88c592f7,I9c81a8ae into ↵Linux Build Service Account2016-08-261-9/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | camera.lnx.1.0-dev.1.0 * changes: SnapdragonCamera: Changing icon size SnapdragonCamera: Mono preview visibility change on pause SnapdragonCamera: ShutterSound control to cover long shot SnapdragonCamera: Fix for false Selfie mirror preview
| * | SnapdragonCamera: ShutterSound control to cover long shotJack Yoo2016-08-181-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Moving Shutter Sound setting check to cover longshot case as well. Change-Id: I88c592f710baf9347c689cd0f844d9fb2994ff1e CRs-Fixed: 1056059
| * | SnapdragonCamera: Fix for false Selfie mirror previewJack Yoo2016-08-181-3/+3
| |/ | | | | | | | | | | | | Preview for capture intent was applying mirror incorrectly. Change-Id: I9c81a8aecf5f28a968bb38214c5c94ec5d1e9021 CRs-Fixed: 1056065
* | Merge "SnapdragonCamera:Add intent interface for APT automation" into ↵Linux Build Service Account2016-08-251-1/+7
|\ \ | |/ |/| | | camera.lnx.1.0-dev.1.0