summaryrefslogtreecommitdiff
path: root/src/com/android/camera/CaptureModule.java
Commit message (Collapse)AuthorAgeFilesLines
...
* SnapdragonCamera: Use constant obj when queueing and removing msgJay Wang2016-09-301-13/+19
| | | | | | | | Use a constant token obj when tagging messages to be queued and removed from handler. CRs-Fixed: 1068401 Change-Id: I2b1a653ea0ca1df8f9502ed4a09da53be61b62e0
* SnapdragonCamera: Set CDS to auto for all capturesCullum Baldwin2016-09-271-0/+3
| | | | | | | Set CDS (chroma-down-sample) to auto for all captures. CRs-Fixed: 1054144 Change-Id: I9fe3f1a7cc5be32c39e268cbe51a9e4d73048e57
* SnapdragonCamera: Fix flash toggle buttonByunghun Jeon2016-09-271-25/+40
| | | | | | | | Add flash auto mode to flash toggle button and show flash button while taking video Change-Id: Iffc81ba15b1651c45f826a835274c20f46dbb8cd CRs-Fixed: 1066519
* SnapdragonCamera: Makeup featureJack Yoo2016-09-271-35/+28
| | | | | | | Makeup feature for camera preview and video Change-Id: Ia8cdb629372333c9dceef8aa474402553b7259f0 CRs-Fixed: 1067848
* SnapdrgaonCamera: Putting TrackingFocus jni hookJack Yoo2016-09-271-0/+2
| | | | | | | | Adding tracking focus jni library loading part and touch event Change-Id: Ic570a09a0d93eb4b81e52334ba4a1bee2b67cb12 CRs-Fixed: 1067848
* SnapdragonCamera: Chromaflash FilterJack Yoo2016-09-271-0/+23
| | | | | | | Adding Chromaflash Filter for Camera2 Change-Id: I04b399abe26a3fdcdc91240036a683711b21f8a8 CRs-Fixed: 1067848
* SnapdragonCamera: Panorama ModuleJack Yoo2016-09-271-1/+17
| | | | | | | Introducing Panorama capture module for Camera2 Change-Id: I98306c6c88c34c58b99adf9d472418392015f6c5 CRs-Fixed: 1067848
* SnapdragonCamera: Only release shutter for main camJay Wang2016-09-271-7/+9
| | | | | | | | | Only release shutter when main camera is unlocked. Queueing two runnables can result in race condition where shutter is re-enabled after being disabled due to shutter click. CRs-Fixed: 1068525 Change-Id: I70def909e4c2c0eafc15e31475992248da3b74b7
* SnapdragonCamera: Add exif thumbnail to Camera2 capturesJay Wang2016-09-271-0/+10
| | | | | | | Add embedded thumbnails for Camera2 captures. CRs-Fixed: 1068516 Change-Id: I5c0fdb3ddee3dd676a6b1ab91e5e7c33322e49b1
* SnapdragonCamera: Init optimization and concurrency fixesJack Yoo2016-09-271-17/+24
| | | | | | | | | | 1. Frameprocessor init call to be in parallel. 2. Fix concurrency issue on filters with background saving feature. 3. Various other capture module concurrency issue fixes. Change-Id: Icce713b0d6e4ea1c15bbe9ac2cfb3977b0a9c1d7 CRs-Fixed: 1067848
* SnapdragonCamera: Change video snapshot picture size logicByunghun Jeon2016-09-271-9/+14
| | | | | | | | Remove auto video snapshot size menu and use picture size setting instead. In case of 4k, use one that is smaller than 4k. Change-Id: Ic8ab193055afa0f571c73a074d346c2a9f8dbacd CRs-Fixed: 1066519
* SnapdragonCamera: Fix selfie flash not disappearing issueByunghun Jeon2016-09-271-6/+6
| | | | | | | | Fix selfie flash not disappearing issue due to using ZSL capture path. Use normal path when taking selfie picture Change-Id: I2b1c179d1e157714415cf264a9ff0887407e31a2 CRs-Fixed: 1066519
* SnapdragonCamera: Fix continuous shot sound problemByunghun Jeon2016-09-271-1/+4
| | | | | | | | Fix continuous shot sound problem. Now it makes sound for all captures Change-Id: I8e0627cc384b1ca1253e6e67f8a41325578a46a5 CRs-Fixed: 1066519
* SnapdragonCamera: Add OneUI to Camera2Byunghun Jeon2016-09-271-36/+28
| | | | | | | | | | Add new UI called OneUI to Camera2. It replaces icons, adds 2 new activities for scene menu and setting menu. There is no module change anymore Change-Id: If712e6af7bbc29726dae387168aefbcd2d7c1ea9 CRs-Fixed: 1066519
* SnapdragonCamera: Use persist to set Camera1/Camera2 modeByunghun Jeon2016-09-271-3/+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 face detection with zoom issueByunghun Jeon2016-09-271-0/+1
| | | | | | | Account for zoom changes when drawing face detection UI Change-Id: I61e7786378ccff82fce095bf5c46ea7af352975c CRs-Fixed: 1066444
* SnapdragonCamera: Resolve video bitrate overflow issueJay Wang2016-09-271-1/+1
| | | | | | | | | | The video bit rate calculation can cause integer overflow due to multiplying two huge numbers. To resolve the issue, do the division before the multiplication. The same fix is already in camera1 implementation. Change-Id: Iafdb3d6687f5ecf81766002a052195c7ce2d963b CRs-Fixed: 1030274
* Merge "SnapdragonCamera: Set GPS location info for Camera2 photos" into ↵Linux Build Service Account2016-09-261-0/+9
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Set GPS location info for Camera2 photosJay Wang2016-09-131-0/+9
| | | | | | | | | | | | | | | | Set the GPS location info for Camera2 photos if the options is enabled and there is a valid location returned from LocationManager. CRs-Fixed: 1061772 Change-Id: I3c385304912edba806439f233407bdb42a57cbfc
* | Merge changes I03f9dda1,I6cf67330 into camera.lnx.1.0-dev.1.0Linux Build Service Account2016-09-261-5/+11
|\ \ | | | | | | | | | | | | | | | * changes: SnapdragonCamera: Fix cropping issues with CS output SnapdragonCamera: Ensure smooth quit during cs processing
| * | SnapdragonCamera: Ensure smooth quit during cs processingJay Wang2016-09-151-5/+11
| |/ | | | | | | | | | | | | | | | | | | Ensure a smooth quit transition during Clearsight processing. Move image reader/writer disposal to after handler quit. Don't toast Clearsight success/fail until after all tasks are complete. CRs-Fixed: 1058833 Change-Id: I6cf6733051d1947ea65a003b9bacb9d575c6ef67
* | Merge "SnapdragonCamera: Wait for aux camera to close before closing main" ↵Linux Build Service Account2016-09-261-30/+21
|\ \ | | | | | | | | | into camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Wait for aux camera to close before closing mainJay Wang2016-09-151-30/+21
| |/ | | | | | | | | | | | | | | | | Wait for aux camera to finish closing before closing the main camera. Timeout is set at 2 seconds after which, we will throw exception. CRs-Fixed: 1054487, 1054441 Change-Id: I707d563eb7481da40e2d1ccb6b0941695dd54cf6
* | Merge "SnapdragonCamera: Add exposure lock flag to capture request." into ↵Linux Build Service Account2016-09-261-0/+1
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Add exposure lock flag to capture request.Jay Wang2016-09-151-0/+1
| |/ | | | | | | | | | | | | | | Add the exposure lock flag to the capture request as well. For burst captures, exposure was fluctuating between shots. CRs-Fixed: 1061989 Change-Id: I3a498161b4dd5400962c004254f3974a4ead3851
* / SnapdragonCamera: Fix memory leak when updating thumbnails.Jay Wang2016-09-151-4/+11
|/ | | | | | | | | Fix a memory leak with jpeg data buffers saved for updating thumbnails. Ensure that all references are freed and released when exiting. CRs-Fixed: 1054441 Change-Id: Idc79f51f0e70b0b3e39d614ff3dd7f5d1f85aaad
* Merge "SnapdragonCamera: resolve front camera preview freeze issue" into ↵Linux Build Service Account2016-09-071-2/+2
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: resolve front camera preview freeze issueJay Wang2016-08-311-2/+2
| | | | | | | | | | | | | | | | | | | | In camera2 implementation, there is a bug that camera ID was defined incorrectly and cause front camera preview turned off. Changing the default camera ID to invalid number and let setting manager update it to avoid wrong camera ID. Change-Id: I0c7f1638394bcddb7c30d55556afe6b5a6666e51 CRs-Fixed: 1061987
* | Merge "SnapdragonCamera: ZSL for camera2" into camera.lnx.1.0-dev.1.0Linux Build Service Account2016-09-071-48/+69
|\ \
| * | SnapdragonCamera: ZSL for camera2Jack Yoo2016-08-291-48/+69
| | | | | | | | | | | | | | | | | | | | | Camera2 Zero Shutter lag. Change-Id: I09c65002e5f703e776b4c32efe78d3e95e76acda CRs-Fixed: 1060586
* | | Merge "SnapdragonCamera: Fix AF indicator not disappearing issue" into ↵Linux Build Service Account2016-09-071-0/+8
|\ \ \ | | | | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | | SnapdragonCamera: Fix AF indicator not disappearing issueByunghun Jeon2016-08-251-0/+8
| |/ / | | | | | | | | | | | | | | | | | | After picture taking is done, clear the AF indicator. Change-Id: I00961601f44304fe33e80ff9c270ca892e71e7a7 CRs-Fixed: 1055830
* | | Merge "SnapdragonCamera: Use resume/start based on the SDK version for cam2" ↵Linux Build Service Account2016-09-071-1/+12
|\ \ \ | |_|/ |/| | | | | into camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Use resume/start based on the SDK version for cam2Jay Wang2016-08-181-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | In camera 2 module, we make the same change to use resume/start based on the SDK verion for camcorder resuming use-case Change-Id: I2e943bf647bf48ac194096977d96601beb6174b0 CRs-Fixed: 1028570
* | | Merge "SnapdragonCamera: support lower resolutions for Clearsight" into ↵Linux Build Service Account2016-08-301-15/+4
|\ \ \ | |_|/ |/| | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: support lower resolutions for ClearsightJay Wang2016-08-241-15/+4
| |/ | | | | | | | | | | | | | | | | | | Support different resolutions when capturing in Clearsight mode. Also downscale the mono image to 2MP resolution when bayer size is greater than 2MP. If bayer size is less than 2MP, mono size will match with bayer. CRs-Fixed: 1058843 Change-Id: I8f9ddd81dd640b4efc316dd9ff05c26f339396a5
* | Merge "SnapdragonCamera: Close aux camera first when shutting down" into ↵Linux Build Service Account2016-08-251-2/+4
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Close aux camera first when shutting downJay Wang2016-08-191-2/+4
| | | | | | | | | | | | | | | | | | | | | Close the mono camera first when shutting down cameras. CRs-Fixed: 1054456 Change-Id: I6e58f5b0e6263e4234d0278eb20c68ef01f02bc5
* | | Merge "SnapdragonCamera:Add intent interface for APT automation" into ↵Linux Build Service Account2016-08-251-0/+5
|\ \ \ | |/ / |/| | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera:Add intent interface for APT automationjunjiez2016-08-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Add intent interface to allow APT changing the UI settings by adb command. Change-Id: I28276ed398a09dceca6c5e59c755339fb229d1fd CRs-Fixed: 1043197
* | | SnapdragonCamera: Set repeating request on mono when capturingJay Wang2016-08-181-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | Set a repeating request on mono camera when trying to obtain af/ae lock so that we get state updates. CRs-Fixed: 1050611 Change-Id: I5c712019971ac8e29d40b4b07f7901a1bd782c1c
* | | SnapdragonCamera: Lock AE before taking snapshotJay Wang2016-08-181-24/+59
| |/ |/| | | | | | | | | | | Issue and wait for AE lock before taking snapshot CRs-Fixed: 1050611 Change-Id: Ia9c5679a03e3a44ad1ef915cd66e94b9adcc0a81
* | SnapdragonCamera: Add shutter sound to camera2Byunghun Jeon2016-08-161-0/+23
| | | | | | | | | | | | | | | | Add shutter sound menu to settings and allow user to turn on/off shutter sound in camera2 mode CRs-Fixed: 1050117 Change-Id: I624f28428415b8dde7da6e4908c26dd59bb3fbdb
* | SnapdragonCamera: Allow persist flag to hardcode preview sizeByunghun Jeon2016-08-161-1/+39
| | | | | | | | | | | | | | Use perfirst flag to hardcode preview size in Camera2 mode CRs-Fixed: 1050106 Change-Id: Ib718497efdff13115c95011d08020474dc929573
* | SnapdragonCamera: Fix video capture bandwith issueByunghun Jeon2016-08-161-5/+19
| | | | | | | | | | | | | | | | | | When setting video size to 4k, it results in bandwidth issue due to using full size for preview stream. Limit the size of preview stream to avoid this issue. CRs-Fixed: 1050099 Change-Id: I730ecc8ba3e7ee41da4e7ef2604e147c35a79c1a
* | SnapdragonCamera: Add selfie flash to camera2Byunghun Jeon2016-08-161-4/+42
| | | | | | | | | | | | | | Add selfie flash to camera2 CRs-Fixed: 1047161 Change-Id: I2ee7033d7854bb15fb9eabe215aaf063b440aee4
* | SnapdragonCamera: Add High Framerate Video captureByunghun Jeon2016-08-161-28/+107
| | | | | | | | | | | | | | | | Add high framerate video capture. Only show supported options for current video size. CRs-Fixed: 1045405 Change-Id: Ib0dd7e63c167ead0fd734382d3ad4fdc7a64f8cc
* | SnapdragonCamera: Bestpicture scene filterJack Yoo2016-08-161-4/+4
| | | | | | | | | | | | | | Adding best picture selection scene filter Change-Id: Ifa0f544e80d161eaef743d611c712d8db48e5631 CRs-Fixed: 1050663
* | SnapdragonCamera: StillMore to camera2Jack Yoo2016-08-161-0/+3
|/ | | | | | | Adding stillmore to camera2 Change-Id: I82bd9931168b831bf1c819935c47113f37d7a188 CRs-Fixed: 1050663
* SnapdragonCamera: Provide correct orientation when adding imageJay Wang2016-07-261-3/+14
| | | | | | | | Read orientation from exif and provide to content provider when adding image. CRs-Fixed: 993611 Change-Id: Ic2079dd1b5e6bdb93f73b4084749b3cbc68b3f86