summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SnapdragonCamera: Enhancing makeup UIJack Yoo2016-10-137-13/+75
| | | | | | | Improvising makeup user experience. Change-Id: I744775711e3cd9bc0a14a47ca82e26eecc68bb6d CRs-Fixed: 1071798
* 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: Panorama2 fixJack Yoo2016-10-133-5/+13
| | | | | | | | 1. Checking if setting manager instance null on closing. 2. Counting in the lens mount orientation value Change-Id: Ib33819ca91b665768601d8195b3e0afb5a3c88c1 CRs-Fixed: 1071798
* SnapdragonCamera: Restart session instead restartJack Yoo2016-10-132-62/+94
| | | | | | | Restart the session instead of restarting on ZSL mode change. Change-Id: Idc484c592d2ca0a32e60b3a70380fd309f559dcd CRs-Fixed: 1071798
* Merge "SnapdragonCamera: Use constant obj when queueing and removing msg" ↵Linux Build Service Account2016-10-071-13/+19
|\ | | | | | | into camera.lnx.1.0-dev.1.0
| * 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
* | Merge "SnapdragonCamera: Abort capture on failed reproc and timeout" into ↵Linux Build Service Account2016-10-071-45/+160
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Abort capture on failed reproc and timeoutJay Wang2016-09-281-45/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | Abort capture when encountering an idle period with no frame or result for 300ms. Abort capture when reprocess or encoding request fails. Fix type cast exception. CRs-Fixed: 1068511 Change-Id: Ie1fbd2a66107ab2daf54585642ba2ebdd88dd0ed
* | | Revert "SnapdragonCamera: Fix Camera launch latency"Camera Software Integration2016-10-062-4/+4
| | | | | | | | | | | | | | | | | | This reverts commit 27569fecb612e545bda27ffa39f70d784e74f236 Change-Id: Ifade569b91c663cbedd0a43afe194b5be505ada0
* | | Merge "SnapdragonCamera: Fix FC for NullPointerException" into ↵Camera Software Integration2016-10-061-0/+13
|\ \ \ | |_|/ |/| | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Fix FC for NullPointerExceptionmingwax2016-09-221-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Permission without the case of granted, through the mms to add attachments to enter the Camera, it will lead to call two times PermissionActivity, which led to FC and the wrong interface. Add a logical judgment to call one time PermissionActivity Change-Id: I8b3f287eecb1dfc8f8c5a26a9f0b9dbe187d8ce6 CRs-Fixed: 1069373
* | | SnapdragonCamera: Add Chinese translationJing (Mia) Wang2016-09-271-0/+5
| | | | | | | | | | | | | | | | | | | | | Add Chinese translation for some strings Change-Id: I8f17c4ad6c5a50ea10744fd84b2c515b626d2a63 CRs-Fixed: 1065593
* | | 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-278-39/+94
| | | | | | | | | | | | | | | | | | | | | | | | 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-2711-57/+172
| | | | | | | | | | | | | | | | | | | | | Makeup feature for camera preview and video Change-Id: Ia8cdb629372333c9dceef8aa474402553b7259f0 CRs-Fixed: 1067848
* | | SnapdrgaonCamera: Putting TrackingFocus jni hookJack Yoo2016-09-277-28/+66
| | | | | | | | | | | | | | | | | | | | | | | | Adding tracking focus jni library loading part and touch event Change-Id: Ic570a09a0d93eb4b81e52334ba4a1bee2b67cb12 CRs-Fixed: 1067848
* | | SnapdragonCamera: Chromaflash FilterJack Yoo2016-09-277-1/+230
| | | | | | | | | | | | | | | | | | | | | Adding Chromaflash Filter for Camera2 Change-Id: I04b399abe26a3fdcdc91240036a683711b21f8a8 CRs-Fixed: 1067848
* | | SnapdragonCamera: Panorama ModuleJack Yoo2016-09-2717-6/+2569
| | | | | | | | | | | | | | | | | | | | | 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-272-0/+15
| | | | | | | | | | | | | | | | | | | | | Add embedded thumbnails for Camera2 captures. CRs-Fixed: 1068516 Change-Id: I5c0fdb3ddee3dd676a6b1ab91e5e7c33322e49b1
* | | SnapdragonCamera: Init optimization and concurrency fixesJack Yoo2016-09-275-47/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Make scene mode background image smallerByunghun Jeon2016-09-271-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | Make scene mode background image smaller. This improves transition in and out of scene mode menu. Change-Id: I9ca6ffd98a1c57ab1de649c85efd9c3608604b77 CRs-Fixed: 1066519
* | | SnapdragonCamera: Change video snapshot picture size logicByunghun Jeon2016-09-274-27/+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 HFR setting list issueByunghun Jeon2016-09-272-16/+26
| | | | | | | | | | | | | | | | | | | | | Update HFR setting list when video quality is changed Change-Id: Id90f30e029ae4e6d0a43d432ca7164706ac58d19 CRs-Fixed: 1066519
* | | SnapdragonCamera: Fix selfie flash not disappearing issueByunghun Jeon2016-09-272-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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: Update version info iconByunghun Jeon2016-09-272-1/+1
| | | | | | | | | | | | | | | | | | | | | Update version info icon with proper icon CRs-Fixed: 1066519 Change-Id: Id8366e0a531724c0048a53c8b5475a4be732f004
* | | SnapdragonCamera: Update icons for selfie flash and HFR videoByunghun Jeon2016-09-273-2/+2
| | | | | | | | | | | | | | | | | | | | | Add new icons for selfie flash and HFR video Change-Id: I26050649fbd37e99074b225f337fc0028ebb8b76 CRs-Fixed: 1066519
* | | SnapdragonCamera: Add developer options for Camera2Byunghun Jeon2016-09-274-4/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add developer options for Camera2. They can be shown by tapping 10 times on Version Info from setting menu in Camera2. Change-Id: Iafb202c8cca5136c8e720135effcc6d0d688702a CRs-Fixed: 1066519
* | | SnapdragonCamera: Add swipe right to open settings menuByunghun Jeon2016-09-272-1/+22
| | | | | | | | | | | | | | | | | | | | | Add functionality to swipe right to open settings menu Change-Id: Ic7921e652ecfb4d7e7124d2e14943a09f83d5c63 CRs-Fixed: 1066519
* | | SnapdragonCamera: Add OneUI to Camera2Byunghun Jeon2016-09-2772-817/+1802
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2710-26/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-272-0/+5
| | | | | | | | | | | | | | | | | | | | | Account for zoom changes when drawing face detection UI Change-Id: I61e7786378ccff82fce095bf5c46ea7af352975c CRs-Fixed: 1066444
* | | SnapdragonCamera: Fix Camera launch latencyByunghun Jeon2016-09-272-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Call setModuleFromIndex() first before calling setContentView() so that camera open will happen faster Move query() cursor after setModuleFromIndex() Change-Id: I8407cb795248f4b814d8292014b6ddc79d2af7f8 CRs-Fixed: 1062069
* | | 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
* | | SnapdragonCamera: Filter video size based on supported camcorder profileJay Wang2016-09-271-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | Supported video size needs to be finalized by checking the supported camcorder profile. CRs-Fixed: 1066540 Change-Id: I131779263cfee229aa82a97453d7ba0402031717
* | | 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: Preview button should not work in secure mode" into ↵Linux Build Service Account2016-09-264-30/+43
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Preview button should not work in secure modeJing (Mia) Wang2016-09-124-30/+43
| |/ | | | | | | | | | | | | | | | | When camera is in secure mode, it will still listen to the preview event although the circle is invisible to the user. So disable the event listener of preview button. Change-Id: Ic4f1dbf32163a7f210e3f4b87599699f44e8f7b0 CRs-Fixed: 1002685
* | Merge "SnapdragonCamera:Fix Face circles are drawn at an offset" into ↵Linux Build Service Account2016-09-262-6/+4
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera:Fix Face circles are drawn at an offsetjunjiez2016-09-142-6/+4
| |/ | | | | | | | | | | | | | | | | | | The layoutParam of FaceView is not the same as prview surface, and cause the offset.Remove setting layoutParam in the method onStartFaceDetection() and calculate the screen ratio in the VideoModule to get the correct layoutParam for FaceView Change-Id: I9bc2759bcb50514c183628e9d4f31d2f54437dc7 CRs-Fixed: 1064295
* | Merge "SnapdragonCamera: Screen goes black when saving panoramic pictures" ↵Linux Build Service Account2016-09-262-4/+4
|\ \ | | | | | | | | | into camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Screen goes black when saving panoramic picturesweijiew2016-09-142-4/+4
| |/ | | | | | | | | | | | | | | Layout() method can't be triggered and caused saving view missing when the phone was upside down, so set the view to invisible instead of gone Change-Id: Id331d14c0795a47b3acb6139089464742f40c404 CRs-Fixed: 1066232
* | 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-262-43/+94
|\ \ | | | | | | | | | | | | | | | * changes: SnapdragonCamera: Fix cropping issues with CS output SnapdragonCamera: Ensure smooth quit during cs processing
| * | SnapdragonCamera: Fix cropping issues with CS outputJay Wang2016-09-151-3/+12
| | | | | | | | | | | | | | | | | | | | | Fix cropping issues with CS output for scenes +6ft. CRs-Fixed: 1058843 Change-Id: I03f9dda175cbba2cdbb5ec1d4933136525feef4a
| * | SnapdragonCamera: Ensure smooth quit during cs processingJay Wang2016-09-152-40/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Always strong release when going to Camera2" into ↵Linux Build Service Account2016-09-261-1/+2
|\ \ \ | | | | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | | SnapdragonCamera: Always strong release when going to Camera2Jay Wang2016-09-151-1/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | Always strong release the camera when transitioning to CaptureModule/Camera2 mode. CRs-Fixed: 1058832 Change-Id: I51efd338879a93a2c7b84f025c274e3147e4d82f