summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Automatic translation importblinky@build012016-08-13104-1/+121
| | | | | Change-Id: Icde9e62950b8ae18e970956d74f13ef5c812047a Ticket: -
* Snap: String improvementsMichael Bestas2016-08-142-9/+9
| | | | Change-Id: I19f2f857afc848502fded5cc0632e94cf3a65152
* Snap: Support 9.6 MP 16:9 picture resolutionZhao Wei Liew2016-08-112-0/+4
| | | | | | This is the highest 16:9 picture resolution supported by Galaxy S4. Change-Id: I61ce779d7965ec87478ed31f8a1e7595c8eba7b0
* Snap: Remove storage menu if no external storage availablemaxwen2016-08-103-5/+22
| | | | | Change-Id: I9807c7f9303f17eb971ff1a82fbd35dfbdbfa529 Signed-off-by: Zdrowy Gosciu <ZdrowyGosciu+GITHUB@gmail.com>
* Automatic translation importblinky@build012016-08-07191-0/+311
| | | | | Change-Id: I617b9f444fcef38ad4a1a0c02923d8c7fa368144 Ticket: -
* snap: fix untraslatablesJoey Rizzoli2016-08-051-2/+2
| | | | | Change-Id: I3e07d9f4d641470c225f86c4516fc45256678bb3 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Revert "SnapdragonCamera: Fix AEC lock issue after non-zsl snapshot."Michael Bestas2016-08-041-4/+0
| | | | | | | | * Duplicate commit This reverts commit 5933a0b131eb0d53f3ae0fb06d3a76a8f7a6c6a2. Change-Id: Ib60d5c9dd463c007a3cffdc9be7897539713cd3d
* snap: Add constrained longshot modeSteve Kondik2016-08-032-1/+26
| | | | | | | | | * On the OP3, we can only use Longshot in a single scene mode without conflicting with other built-in postprocessing features which cannot be disabled. Add support for this. When a scene specified in the longshot-scenemodes list is active, continuous shot will be enabled. Change-Id: I79878e5ac918e907ddc5b3ca168e49f4e06656c3
* snap: Additional fixes for auto-HDR modeSteve Kondik2016-08-031-9/+30
| | | | Change-Id: I0d9b982dc9d817b40d59fc5fa58d542a213a3d1f
* snap: Fixes for advanced features and scene modesSteve Kondik2016-08-033-37/+60
| | | | | | | | * Get rid of the annoying toast when longshot is disabled * Add support for ChromaFlash as a scene mode * Adjust overrides for various scene modes Change-Id: Ifda1990f4e9b3435655664f2a6c2b31fc3ae23fa
* snap: Always turn touch-af-aec onSteve Kondik2016-08-031-0/+6
| | | | | | | | * Most cameras do this by default, but on at least one device it starts with the option disabled. This stops AEC from updating during touch focus. Change-Id: I4bdb6cdbad86f3798c0288d6a32b7e8062e297f3
* snap: Add missing resourceSteve Kondik2016-08-031-0/+2
| | | | Change-Id: Ia0fb05bc14c8f332ad685e905eaf1ad75cba39e7
* SnapdragonCamera: Fix the advanced features relative toast issuelikaid2016-08-031-2/+30
| | | | | | | | | | | | The toast "Enable Advanced Capture will disable Continuous Shot" was shown every time when update the camera parameters, that made user confused. Move the toast to onSharedPreferenceChanged, show it only when turn on the advanced features. Change-Id: I34df735bb3928597093ba91a0ad10542014eeaae CRs-Fixed: 869438
* SnapdragonCamera: implement optizoom and chromaflash UILikai Ding2016-08-0312-1/+70
| | | | | | add scene mode for optizoom and preference entry for chromaflash Change-Id: I859a42e3273d340a7dda7e24c6cb2e08ddb0f7bf
* SnapdragonCamera: Fix panorama cancel button locationByunghun Jeon2016-08-031-1/+1
| | | | | | | | | Panorama cancel button location is not correct when device is rotated by 180 degrees. Set the proper value to the button when rotated by 180 degrees. Change-Id: I16cb6978f9b612944413fbc400d6aec920599ba7 CRs-Fixed: 1035742
* SnapdragonCamera: Fix the issue that camera control is removedJay Wang2016-08-031-4/+7
| | | | | | | | Fix the issue that camera control menu is removed after HDR icon is clicked from camera control menu. Change-Id: I6e7c1a81fa356d0fa6cb5eb336ef844266a1bbf0 CRs-Fixed: 1038311
* SnapdragonCamera: Add manufacture and model infoJay Wang2016-08-032-0/+17
| | | | | | | | Manufacture and model information is added to the EXIF tag of saved panorama image file Change-Id: Ie5688032abc2278718dfcc0bf9129a35dedc7b8b CRs-Fixed: 1011930
* SnapdragonCamera: adjust video recording duration marginsJay Wang2016-08-032-3/+3
| | | | | | | | | Video recording duration overlays with mute button for low resolution display. Resolve the issue but adjusting the margins Change-Id: I526529dd71190f65b2b97c1bd79844129e2773f9 CRs-Fixed: 1019589
* SnapdragonCamera: Fix incorrect focus modeJay Wang2016-08-031-1/+5
| | | | | | | | | | The camera device parameter was not re-set when the camera is switched back from camcorder mode. This causes the camera mode uses previous camera focus mode which was selected before switching to camcorder mode. CRs-Fixed: 1006900 Change-Id: I20bce0413d7f422da86acd44c39b27582593614d
* SnapdragonCamera: resolve touch af issue during countdownJay Wang2016-08-031-1/+1
| | | | | | | | | | Allow to cancel any on-going focus request when new touch focus request is issued. In previous implementation, the CAF was not cancelled before re-issuing new focus region, and it causes the focus to freeze. Change-Id: I51365b4d363e5d8af3eac8fb0af0d6955f86ff33 CRs-Fixed: 1007029
* SnapdragonCamera: Add support for outputting MPO format filesJay Wang2016-08-039-12/+1210
| | | | | | | | Add support for generating MPO formatted files from the application layer. CRs-Fixed: 993611 Change-Id: I9a78d33e1d80b7da748f9bc75446f49172342078
* SnapdragonCamera: Removing unnecessary orientation checkJack Yoo2016-08-031-15/+0
| | | | | | | | | Removing unnecessary code of checking the orientation. Swapping width and height causes redundant shrinking resulting to the wrong size calculation. Change-Id: I64badc2bd3198e409fe5673198e864d5025364e9 CRs-Fixed: 979254
* SnapdragonCamera: Fix viewfinder flashing issue in camcorder modeJay Wang2016-08-032-4/+1
| | | | | | | | | | | The preview cover is removed before the preview frame is generated and causes the homescreen shows up for a short duration. To resolve the issue, show the preview cover by default until the first preview frame is generated by camera framework. Change-Id: I1e193b64689b8b51eaa0e3891974405536869efd CRs-Fixed: 1003977
* SnapdragonCamera: hide the preview surface during suspendJay Wang2016-08-032-0/+9
| | | | | | | | | | | | Occasionally, the previous preview frame is presented and caused the screen flashing, when continuously triggering suspend/resume. To resolve the issue, hide the preview surface during suspend and make it visible during resume. This helps to clear the remaining preview frames in the buffer. CRs-Fixed: 991416 Change-Id: I96fff0fdae6bd14263f33b1a9032604596cf49c1
* SnapdragonCamera: Resolve camera control overlapping issueJay Wang2016-08-031-0/+4
| | | | | | | | | | Clicking beautification icon right after clicking camera switching icon can cause overlapping of camera controls and beautification controls. To resolve issue, hide the UI controls during camera switching. Change-Id: I5c4b96ce10c0d44e8c63c41207a4ec3d09312b51 CRs-Fixed: 977967
* Fix android.process.media got killed when capturezfu2016-08-031-0/+5
| | | | | | | | | | | | android.process.media has a very low priority as Cached app in background. When snapdragon camera using ContentResolver and do query/updating it will promot to foreground priority, but there may have some race condition that lmk in the progress to kill media, and AMS want set to foreground. So, keep this process as foreground during the whole ActivityLife time, by hold a query cursor onCreate and destory onStop. CRs-Fixed: 984061 Change-Id: I530fddfa240030ad84dc09b599ad783f6a2f21e0
* SnapdragonCamera: Fix missing icon issue in error conditionJay Wang2016-08-031-0/+1
| | | | | | | | When onError is called from media recorder, re-draw the video control icons after stopping the recording session. Change-Id: If7a38ff4c12ec90018fe0d1a89d08fd94bf89f6f CRs-Fixed: 982804
* SnapdragonCamera: Reset menu when device is rotatedByunghun Jeon2016-08-034-5/+14
| | | | | | | Reset the settings menu when the device is rotated Change-Id: I6c4fed7207a4d26a9d7c29d18f6a7af17ef3d4f9 CRs-Fixed: 981504
* SnapdragonCamera: fix null pointer exceptionJay Wang2016-08-031-1/+3
| | | | | | | | | | During layout change, it is possible camera preview is not configured, yet and Camera.Parameters.getPreviewSize() returns null pointer. Adding a null check to skip the layout change if the pointer is null Change-Id: Icb3ecf60c261e68cc5f2b05eba4df020857022eb CRs-Fixed: 945969
* SnapdragonCamera: Fix menu highlight issue when rotating deviceByunghun Jeon2016-08-033-0/+6
| | | | | | | | Fix menu highlight issue when rotating device by resetting highlight after rotation. Change-Id: Ib2dea3801e04afa69e8d43369213bfc2f166e413 CRs-Fixed: 970646
* SnapdragonCamera: Adding null exception handler.Jack Yoo2016-08-031-2/+6
| | | | | | | | | There's a case the view's children got removed from the group while it's processing the layout change. It can bypass its view layout. Change-Id: Ib9a7ff71af79a88e81acfceedc06b3cc26fac0c5 CRs-Fixed: 963356
* SnapdragonCamera: Register media status listenerJack Yoo2016-08-031-3/+5
| | | | | | | Register sd card media status listener on resume. Change-Id: I7b3b7e3104b7729c83d83926bb794e0d7ec237d2 CRs-Fixed: 960865
* SnapdragonCamera: Removing filmstrip view touch handlerJack Yoo2016-08-031-1/+0
| | | | | | | Removing unused filmstrip view touch handler Change-Id: I5b93d68c646a224d6b14b35740821fbe302eaeca CRs-Fixed: 961644
* SnapdragonCamera: Adding current camera null checkJack Yoo2016-08-031-1/+2
| | | | | | | Adding null check on potential race condition case. Change-Id: Ia837acbdf5fbef824d55b318d9cbddf8a8faf7ef CRs-Fixed: 961548
* SnapdragonCamera: Adding toast for media recording failure.Jack Yoo2016-08-031-1/+1
| | | | | | | | Adding toast message to be shown to the user when media recording is failed due to permission issue. Change-Id: I5392b41b97c73ade8df7b5d70647361306c4f695 CRs-Fixed: 944657
* SnapdragonCamera: Improving Burstmode performanceCamera Software Integration2016-08-031-7/+45
| | | | | | | | Calling media notify only once after the burst mode is finished. This reduces latency of the processing call back. Change-Id: I5ff4a369705cab4c8cee95f793733d2a0046e1d0 CRs-Fixed: 933866
* SnapdragonCamera: Do not update panorama thumbnail when cancelledCamera Software Integration2016-08-032-5/+14
| | | | | | | Do not update thumbnail when panorama is cancelled. Change-Id: I3db9f9614b35ee4e475fbb7b1dc801b77e6ed6bd CRs-Fixed: 934157
* SnapdragonCamera: Fix crash issue with enable FD with TruePortraitByunghun Jeon2016-08-031-2/+13
| | | | | | | Fixes ui operation on background thread issue with always enabling FD with TruePortrait on. Change-Id: I976d206c2114aba1e1c5ae4b53959093c2836942
* VideoModule: Removing tmpPath and use pathJack Yoo2016-08-031-2/+1
| | | | | | | Not necessary to have tmpPath as it won't be accessed together Change-Id: I0a97e2b114bf7a554b21c4ccb20d620a01a3c579 CRs-Fixed: 877959
* SnapdragonCamera: Handle startPreview exception in camera.Sanjeev Garg2016-08-034-4/+43
| | | | | | | | | | If any exception occurs in start preview then camera app should handle this exception and should display error pop-up and exit gracefully. CRs-Fixed: 919778 Change-Id: I80b60224d5d47a96dad78c40f8a23e3e9be45e65
* SnapdragonCamera: Fix to make back key event work normallylikaid2016-08-031-4/+0
| | | | | | | | | | | | | When drop down the notification bar in sub setting mode,Camera will response for touch event to remove sub settting view but responding params mPopupStatus is not reset which cause this bug happen. There is no need to remove sub setting view when drop down notification bar. Change-Id: I5ea08bc23d5a29213e4c7568c7b1ad589d31f5ba CRs-Fixed: 906478
* SnapdragonCamera: Reset navigation bar state whenever screen turns onByunghun Jeon2016-08-031-0/+7
| | | | | | | Reset navigation bar state whenever screen turns on Change-Id: Ic1021322e33cf116706c533edaac0f28396fa631 CRs-Fixed: 887673
* SnapdragonCamera: Always enable FD with TruePortrait onJay Wang2016-08-031-16/+34
| | | | | | | | Face detection should always be on when TruePortrait is enabled. Menu item for FD will show on and disabled (not toggleable) when TruePortrait is on. Change-Id: Ibbe8b5aaede2590d2587e9f8094d84f8717a037a
* SnapdragonCamera: Fix progress indicator overlapped by thumbnail iconlikaid2016-08-031-1/+1
| | | | | | | | | | The video progress indicator was near to the screen left, when recording a video with landscape mode, it will be overlapped by thumbnail icon. Adjust the padding left size of the indicator to avoid this issue. CRs-Fixed: 901605 Change-Id: I0d915c4a449422352e4a316a6ae1f662049d8807
* SnapdragonCamera: Fix the preview thumbnail issuelikaid2016-08-031-0/+2
| | | | | | | | | | | | | When set the preview thumbnail imageView to visible, it used the drawable resource in cache which was set since last time. That caused we still could see the preview thumbnail though the bitmap was invalid. Clear the drawable resource in cache when the preview thumbnail is invalid. Change-Id: Id37620d32b8dff8dd3cad0f33da678b8709e6ee1 CRs-Fixed: 899905
* SnapdragonCamera: Fix not able to view other pictures when macro modelikaid2016-08-031-0/+1
| | | | | | | | | | | In Macro+ mode, it always started the refocus editor view when clicked the preview thumbnail, that caused user could not view other pictures. Reset the flag mLastPhotoTakenWithRefocus to false when onResume,start the refocus editor only one time after take a picture with macro+ mode. Change-Id: I07772772be0e6227b87c4f58c900a6c024cd2fdc CRs-Fixed: 896098
* SnapdragonCamera: Reduce the latency for panorama preview startinglikaid2016-08-031-6/+8
| | | | | | | | | | | In panorama mode preview, the stopPreview and startPreview were called three times after onResume from lockscreen, that caused the preview showing delay. Reduce the unnecessary stopPreview to improve the preview performance. CRs-Fixed: 876035 Change-Id: Ice5b0c305edb773867fd4803c190c98f5518ecb2
* SnapdragonCamera: Limit preview size by capping display dimensions.Sai Kumar Sanagavarapu2016-08-031-0/+33
| | | | | | | | | | | | | | | | | | | | | By capping the display panel dimensions, effectively limit the preview size configured to backend. This will help in optimizing power and bandwidth. Properties to be configured : camera.display.umax -> set it to the upper max of display panel size camera.display.lmax -> set it to the lower max of display panel size For example if the properties are set as below : adb shell setprop camera.display.umax 1920x1080 adb shell setprop camera.display.lmax 1280x720 Then, in devices having display panel size >1080p, panel size will be seen as 1080p. If its 1080p or lesser (but >=720p), limit it to next allowed max which is 720p. For < 720p, there is no need to do any capping. By capping the panel size, we are indirectly controlling the preview size being chosen in getOptimalPreviewSize(). Change-Id: Ia9963467dbda7fb47d96a96a345f26a5e38a95a1
* SnapdragonCamera: add button borderLikai Ding2016-08-034-5/+82
| | | | | | | Add border for "All in Focus" button. Also some tweaks to meet UI spec. Change-Id: I56c458a420e503321cc9a3255a7dd4ae0a6d4637
* SnapdragonCamera: Fix app freeze when connect to camera failedlikaid2016-08-031-0/+1
| | | | | | | | | | In Panorama mode, the app wasn't closed directly when connected to camera failed, that may cause more serious issue. Finish the activity immediately when open camera failed. Change-Id: I057611a3baf37ef915b3c182e5c3b5f12413c134 CRs-Fixed: 882041