summaryrefslogtreecommitdiff
path: root/src/com/android/camera/CaptureModule.java
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* SnapdragonCamera: Saving MPO and DDM without CSJay Wang2016-07-261-15/+110
| | | | | | | Saving MPO and DDM without CS CRs-Fixed: 993611 Change-Id: Ie04bce460c57454b4cf57c88b47ef2a495b6e078
* SnapdragonCamera: Synchronize af & ae states before capturingJay Wang2016-07-261-4/+22
| | | | | | | | | | When in dual camera mode, synchronize AF and AE states between the two cameras before issuing capture requests. This allows capture requests to be issued simultaneously and achieves better temporal matching. CRs-Fixed: 993611 Change-Id: I097eae6b95153eefebeed3b22e02d4f4e56d565e
* SnapdragonCamera: When mono preview hidden, don't set repeating requestJay Wang2016-07-261-10/+42
| | | | | | | | Don't set a repeating request for mono preview when mono preview option is set to off in dual camera mode. CRs-Fixed: 993611 Change-Id: I615483a8ed24689692136e9e2007f19898db5a24
* Merge "SnapdragonCamera: Remove custom location permission request window" ↵Linux Build Service Account2016-07-251-3/+17
|\ | | | | | | into camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Remove custom location permission request windowJay Wang2016-07-191-3/+17
| | | | | | | | | | | | | | | | When user enables the GPS locaion setting, use Android's run-time permission request interface to get the permission. Change-Id: Ib17171aeff5ccf20e2b00da08243dee1a3383611 CRs-Fixed: 1038039
* | Merge "SnapdragonCamera: Fix race condition when opening cameras" into ↵Camera Software Integration2016-07-191-27/+35
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Fix race condition when opening camerasJay Wang2016-07-081-27/+35
| |/ | | | | | | | | | | | | | | Fix race condition between surface ready and camera opened that was causing createSession to be called twice for same device. CRs-Fixed: 1019361 Change-Id: Ieb62b394f1cf83cc83e2b9e290ce6758e2ade377
* | SnapdragonCamera: Replacing mono surfaceJack Yoo2016-07-071-4/+4
| | | | | | | | | | | | | | Replacing mono surface to allocation dummy surface Change-Id: I8ed7396e6bee7fd34e223f285c0d9693ff04527a CRs-Fixed: 1035245
* | SnapdragonCamera: Adding ubifocus post proc filterJack Yoo2016-07-071-35/+72
| | | | | | | | | | | | | | Introducing ubifocus to camera2. Change-Id: I611bea207b9cbbde56a23720b22a5a5e3daa215f CRs-Fixed: 1035245
* | SnapdragonCamera: FrameListener and Video frame processorJack Yoo2016-07-071-87/+97
|/ | | | | | | | Adding FrameListener with TrackingFocus Adding VideoFrameProcessor with beautification Change-Id: Id51a0417af43140ed27ea5859ff939adc2e78c43 CRs-Fixed: 1035245
* Merge "SnapdragonCamera: Allow take snapshot while recording video" into ↵Camera Software Integration2016-07-041-25/+140
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Allow take snapshot while recording videoByunghun Jeon2016-06-291-25/+140
| | | | | | | | | | | | | | | | Allow take snapshot while recording video by showing shutter button. Directly call capture when shutter button is pressed. Change-Id: Iae4d42d8878ea82b459ec67709b0ad8e340c8226 CRs-Fixed: 1028463
* | Merge "SnapdragonCamera: Fix pause while taking continuous shot" into ↵Camera Software Integration2016-07-041-0/+8
|\| | | | | | | camera.lnx.1.0-dev.1.0