summaryrefslogtreecommitdiffstats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
* SnapdragonCamera: Modify SnapdragonCamera UIByunghun Jeon2014-11-1722-137/+3536
| | | | | | Modified SnapdragonCamera setting menus with new icons Change-Id: I726296dfb100ac81ad6f1cd84420ae27c0ae1201
* SnapdragonCamera: enable cpp duplication using system propertyVijay kumar Tumati2014-11-121-4/+10
| | | | | | | | This changes allows user to enable 1080P and 720p mirroring conditionally based on a system property (persist.camera.mirroring.enable) Change-Id: I7ec2cf7140682e496622c5874bc6667c33b03ad8
* Camera2: correct image size recorded in media provider dbLikai Ding2014-11-114-7/+30
| | | | | | | | | | | | | | | Photos taken in camcorder can't be previewed on PC via MTP mode. The root cause is that, the actual image file size does not always match the _size column in media provider database. During the saving process, EXIF data are rewritten, but the size sent to media provider is not updated accordingly. Record bytes written in ExifOutputStream and OrderedDataOutputStream so that after rewritting, the correct image size could be sent to media provider. Change-Id: I74d91e86d712c121eb50daecaf879ab4f5be97fc CRs-Fixed: 711522
* Merge "SnapdragonCamera: Add support for manual 3A params."Linux Build Service Account2014-11-093-25/+680
|\
| * SnapdragonCamera: Add support for manual 3A params.Sai Kumar Sanagavarapu2014-11-073-25/+680
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add UI support to take inputs from user for the following 3A paramters 1. Manual focus : a. Scale mode 0-100 b. Diopter mode 0-10 2.White balance: a. CCT b. RGB gains 3. Exposure control a. ISO b. exposure time Change-Id: I92ea3719fa2224e02943bb2191987c7654aaf9ea
* | Merge "SnapdragonCamera: lock AE and AWB while taking panorama snapshot"Linux Build Service Account2014-11-091-0/+8
|\ \
| * | SnapdragonCamera: lock AE and AWB while taking panorama snapshotVijay kumar Tumati2014-11-051-0/+8
| | | | | | | | | | | | | | | | | | | | | Need to lock AE and AWB to avoid discrete AE and AWB values in a panorama snapshot Change-Id: I10bb43bf2e5bc31d67ccf8b086999e762541b950
* | | Merge "SnapdragonCamera: Picture flip fix in zsl mode"Linux Build Service Account2014-11-091-6/+4
|\ \ \ | |_|/ |/| |
| * | SnapdragonCamera: Picture flip fix in zsl modeDimitar Borisov2014-11-051-6/+4
| |/ | | | | | | | | | | | | | | | | | | | | - Picture flip needs to be changed from horizontal to vertical and vice-versa in zsl mode. - This is needed after the last pproc changes where rotation and then flip are applied for the captured images in both zsl and non zsl mode. CRs-Fixed: 747275 Change-Id: I915d0f6e81ea2ce4d2f3cc7e0bc0e1c6ec2e3677
* | Merge "SnapdragonCamera: To enable duplication for 720p"Linux Build Service Account2014-11-061-3/+11
|\ \
| * | SnapdragonCamera: To enable duplication for 720psatyavaraprasad yerramsetti2014-11-041-3/+11
| |/ | | | | | | | | | | | | | | This will enable output duplication from cpp for 720p camcorder resolution same like 1080p resolution Change-Id: I7b4713fe4f8db5a175242d4ce265806f5acbda84
* | Merge "SnapdragonCamera: Fix NPE in camera open if UI creation takes time."Linux Build Service Account2014-11-042-9/+37
|\ \
| * | SnapdragonCamera: Fix NPE in camera open if UI creation takes time.Sai Kumar Sanagavarapu2014-11-032-9/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes null pointer exception is seen because open camera thread might try to access photo UI though its not created by that time, due to some timing issues. So, let focus manager initialize without photo UI and later update it when photo UI is ready. Change-Id: I7b4c344586115e45269483a614de1e91e1a6ab81
* | | Merge "Camera2: Set preview size based on setprop"Linux Build Service Account2014-11-041-0/+39
|\ \ \
| * | | Camera2: Set preview size based on setpropSuman Mukherjee2014-11-031-0/+39
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the following setprop to set the Preview resolution instead of setting it based on snapshot aspect ratio Eg: adb shell setprop persist.camera.preview.size 1 value: 0 - Default size as per snapshot aspect ratio value: 1 - 640x480 value: 2 - 720x480 value: 3 - 1280x720 value: 4 - 1920x1080 Change-Id: Ied399ca04dfcd8e0861920ecf4e3478e713e26b3
* | | Merge "SnapdragonCamera: Filter out unsupported video encoders in app"Linux Build Service Account2014-11-041-0/+32
|\ \ \
| * | | SnapdragonCamera: Filter out unsupported video encoders in appSanthosh Kumar Thimmanna Bhattar2014-10-271-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Unsupported encoders are listing in video encoders list in camera application. - Added filter to remove unsupported video encoders from the list. Change-Id: I88b680bdd199bfe9540388129846ef0168e702bc
* | | | Merge "Camera2: Add Multi-touch UI and control in apps."Linux Build Service Account2014-11-043-11/+52
|\| | |
| * | | Camera2: Add Multi-touch UI and control in apps.Santhosh Kumar Thimmanna Bhattar2014-10-273-11/+52
| | | | | | | | | | | | | | | | | | | | | | | | Changes to support multi-touch focus feature in application Change-Id: I3dc0f3bf5cd71554856a00795e82d52f36066eeb
* | | | Merge "Camera2: Add FSSR in Advanced features menu."Linux Build Service Account2014-11-043-0/+40
|\| | |
| * | | Camera2: Add FSSR in Advanced features menu.Santhosh Kumar Thimmanna Bhattar2014-10-273-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.Add FSSR option in Advanced features menu. 2.Query supported FSSR modes and enable FSSR. Change-Id: I40b9c7875483d022a1561b17aeb90d2e4cb789ce
* | | | Merge "Camera2: Add See More feature in the menu"Linux Build Service Account2014-11-043-0/+27
|\| | |
| * | | Camera2: Add See More feature in the menuSanthosh Kumar Thimmanna Bhattar2014-10-273-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | - User can select See More feature in video mode. Change-Id: I13636846cce67caeb6eb0b3e073399fdae2be471
* | | | Merge "Camera2: Add TruePortrait in Advanced features menu."Linux Build Service Account2014-11-043-7/+44
|\| | |
| * | | Camera2: Add TruePortrait in Advanced features menu.Sai Kumar Sanagavarapu2014-10-273-7/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.Add TruePortrait option in Advanced features menu. 2.Query supported TruePortrait modes and enable TP. Change-Id: I3e9bd54ab8e495eabb591bd380cf0553715e938a
* | | | Merge "SnapdragonCamera: Add OptimalJpegThumbnailSize selction logic in APP."Linux Build Service Account2014-11-043-0/+59
|\ \ \ \
| * | | | SnapdragonCamera: Add OptimalJpegThumbnailSize selction logic in APP.satyavaraprasad yerramsetti2014-10-313-0/+59
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Set a jpegthumbnail size that is closest to the Picture height and has the right aspect ratio. - Earlier this logic was implemented in HAL but due to CTS2 testJpegExif failure, moving this to APP CRs-Fixed: 748114 Change-Id: Ia2c97bf8cec7198ee291e63c3be9bbe5fb18b3b7
* | | | Merge "SnapdragonCamera: Enable TNR only in Video mode"Linux Build Service Account2014-11-042-1/+2
|\ \ \ \ | |_|_|/ |/| | |
| * | | SnapdragonCamera: Enable TNR only in Video modeDimitar Borisov2014-10-292-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - TNR is enabled in Video mode only - KEY_QC_VIDEO_TNR_MODE is updated correctly CRs-Fixed: 739136 Change-Id: If2ed62f38199b4353ffaae6bab693de87f7634d8
* | | | Merge "Camera2: fix camera carsh when mPieRender is null"Linux Build Service Account2014-11-021-3/+6
|\ \ \ \
| * | | | Camera2: fix camera carsh when mPieRender is nullkaiyiz2014-10-151-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The autofocus maybe called before onCameraOpened, and mPieRender is not initialize which lead to camera crash. Check null when show focus ui. CRs-Fixed: 712850 Change-Id: If3d51c8ea31f4a755e26fe4730e85428373e6446
* | | | | Merge "Camera2: fix sawtooth in camera preview"Linux Build Service Account2014-11-022-16/+8
|\ \ \ \ \
| * | | | | Camera2: fix sawtooth in camera previewLikai Ding2014-10-152-16/+8
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Under certain combination of preview/screen resolution, sawtooth is seen on preview image. In setTransformMatrix(), scaledTextureWidth/Height is unnecessarily rounded to integers, losing precision. Removing the rounding fixes the problem. CRs-Fixed: 705322 Change-Id: Ia78b012cf530528b3677a8684279862a81b145ed
* | | | | Merge "Camera2: fix NPE happened when use key DPAD_LEFT or DPAD_RIGHT"Linux Build Service Account2014-11-021-2/+2
|\ \ \ \ \
| * | | | | Camera2: fix NPE happened when use key DPAD_LEFT or DPAD_RIGHTkaiyiz2014-10-151-2/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mFocusManager maybe not initialize when use Key DPAD_LEFT or DPAD_RIGHT. Check null before use it. CRs-Fixed: 713558 Change-Id: I16b4c75853c6bfd390cf1a83c83abdf6c35113d0
* | | | | Merge "Camera2: Fix video duration is wrong issue"Linux Build Service Account2014-11-021-1/+6
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Camera2: Fix video duration is wrong issueliangche2014-10-091-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When mMediaRecorderPausing is true, video duration is equal to mRecordingTotalTime, which can fix video duration is wrong issue if use pause/resume. Change-Id: I71d41414bba11564cfe84166fbc18608636a73d1
* | | | | Merge "SnapdragonCamera: Add camera error callback to WideAngle Panorama"Linux Build Service Account2014-10-301-0/+4
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | SnapdragonCamera: Add camera error callback to WideAngle PanoramaSanthosh Kumar Thimmanna Bhattar2014-10-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Panorama preview is getting stuck when media server or camera daemon crashed as these error callbacks are not handled in Panorama - Fix is to add camera error callback to camera WideAngle Panorama to handle errors like media server or camera daemon crash. CRs-Fixed: 736404 Change-Id: I4b0f9883ca57b7a2fc93e0b31fee7b908bb18242
* | | | | Merge "Camera2: Add setprop control to disable some features."Linux Build Service Account2014-10-241-0/+11
|\ \ \ \ \
| * | | | | Camera2: Add setprop control to disable some features.Sai Kumar Sanagavarapu2014-10-201-0/+11
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following features can be enabled/disabled by using setprop: 1. ZSL 2. Face detection 3. Touch AF/AEC 4. Wavelet denoise 5. Focus 6. Flash Setprop to be used to disable these : adb shell setprop camera.qcom.misc 1 Change-Id: I248c075be474b9db960875393ac66f367765f1ba
* | | | | Merge "Restart face detection after caturing image in zsl mode."Linux Build Service Account2014-10-231-0/+1
|\ \ \ \ \
| * | | | | Restart face detection after caturing image in zsl mode.Santhosh Kumar H E2014-10-131-0/+1
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When user does touch to focus face detection will restated after a delay. But if user initiate a take picture in between all the pending messages are cleared so face detection will not start automatically. This happens only in ZSL has preview will not be restarted. This change restarts the face detection if it is not started. CRs-Fixed: 712889 Change-Id: I5cda7a3c2e7c8352cf6d9e423ca06eb63f6d6265
* | | | | Merge "Camera: open Camera and start Preview in a seperate thread."Linux Build Service Account2014-10-215-60/+119
|\ \ \ \ \
| * | | | | Camera: open Camera and start Preview in a seperate thread.Sai Kumar Sanagavarapu2014-10-205-60/+119
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start openCamera and start preview in a separate thread so that UI initialization and preview can run parallely. This is to improve camera cold start latency. Change-Id: I57af45bc90a4db1630c73449d543c3ff0992e55c
* | | | | Merge "Camera: Rotate face mouth based on face orientation"Linux Build Service Account2014-10-211-14/+15
|\ \ \ \ \
| * | | | | Camera: Rotate face mouth based on face orientationEmilian Peev2014-10-141-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Face mouth can be rotated according to the face orientation information. Change-Id: Id00fd52e529ddeace54e031dea221f694e48e97c CRs-Fixed: 726313
* | | | | | Merge "While stopping FD, pause UI to avoid further drawing with stale data."Linux Build Service Account2014-10-211-0/+1
|\ \ \ \ \ \
| * | | | | | While stopping FD, pause UI to avoid further drawing with stale data.Santhosh Kumar H E2014-10-151-0/+1
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When user disables FD from settings, app will stop FD and sets the callback listeners to null. By the time callbacks are set to null, framework had posted the data and it was not received in the app yet. So even though application clears the UI after setting null callbacks one set of data is getting drawn and it will not be cleared at all. Present change will pause the UI as soon as FD is disabled. When FD is enabled again, photoUI resumes drawing by default so not calling resume again. Change-Id: Iac3887eca6bc002439092390c47c25ae3b216b26
* | | | | | Merge "Camera2: Do not restart preview to update flip params on new orientation"Linux Build Service Account2014-10-212-52/+67
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |