summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* SnapdragonCamera: Use StorageManager for SDCardDivya Sharma2016-08-031-0/+2
| | | | | | --Use StorageManager instead of MountService for SDCard Change-Id: Ia5fd63a48c8ae79bfe44b7f5291e485ff7ced0af
* SnapdragonCamera: Fix display smaller thumbnail on panorama previewlikaid2016-08-031-0/+14
| | | | | | | | | | | The preview thumbnail size is calculated according to the captured image size. When capture panorama image with landscape, the height of the image will be too small to fill the thumbnail view. Enlarge the bitmap to the thumbnail size if it is not large enough. Change-Id: I65afcdf2943eed4526639ff418b929e6450711b5 CRs-Fixed: 868550
* SnapdragonCamera: Fix FD roll_dir issueKrupal Divvela2016-07-301-13/+5
| | | | | | | Fix mouth position mismatch due to change sent due to wrong roll_dir. Change-Id: I5c3c4c8c74be6f055581656613a0703c596a42e5
* SnapdragonCamera: Reduce number of countdown timer optionJay Wang2016-07-301-2/+2
| | | | | | Reduce countdown timer option to "off, 2 secs, 5 secs and 10 secs" Change-Id: I7ee49c0b7b7e8649b6d128d58de3562549ec2644
* SnapdragonCamera: limit AF animation FPSLikai Ding2016-07-303-50/+44
| | | | | | | | | Currently AF animation depends on RenderOverlay's onDraw() method and is called at default 60 FPS. Switch to ValueAnimator and invalidates RenderOverlay at given FPS. Change-Id: I9cff5d6e99bb7f8ecd579c7935a092f8feba341c CRs-Fixed: 846169
* SnapdragonCamera: fix crash after photo deletionLikai Ding2016-07-301-11/+12
| | | | | | | | | In FilmStripView.reload(), camera view is unintentionally removed, which causes unnecessary surface creation and deletion, eventually leads to crash. Fix the check in FilmStripView and set mCameraView correctly. Change-Id: I11efbe52b7639a98798ff16e9281b8799cc5e788
* SnapdragonCamera: Fix app crash when taking longshot during countdownlikaid2016-07-301-0/+4
| | | | | | | Cancel countdown capture when long press shutter button for longshot. Change-Id: Ie33aba13139b0476085eb1f5256459f289d8af86 CRs-Fixed: 823502
* SnapdragonCamera: Fix app auto close when repeat plug in/out USB cablelikaid2016-07-301-21/+1
| | | | | | | | | | When the system try to unmount SDcard, it will kill the process which hold the instance of media provider. When camera is in idle state, do not keep the media provider instance. Change-Id: Ie1edf2397544e613435f0930dba73da9660616cd CRs-Fixed: 823334
* SnapDragon: Changes to fix popup menu issue in camcorderGuruprasad Gaonkar2016-07-301-3/+3
| | | | | | | In Camorcer application, setting menu were not responding sometime. Change is to fix popup state machine issue. Change-Id: I8bde95171caf30dccaaf8222dd6ecbfd92849da3
* SnapdragonCamera: fix camera FC when internal storage isn't enoughlikaid2016-07-302-2/+8
| | | | | | | | | The menu may be not initialized when switch save path in PhotoModule. Check the menu initialized state before switch save path. Change-Id: Ibdc8d5510924b45f5abfc13f4d70dcf9620c8b7d CRs-Fixed: 801619
* SnapdragonCamera: fix crash with persist.panel.orientationLikai Ding2016-07-302-0/+0
| | | | | | | The two layout files were only available in portrait mode. Make them as default. Change-Id: Iabc4caf1a5b5b015a097a914b489f412153eeec4
* SnapdragonCamera: fix a panorama memory leakLikai Ding2016-07-301-0/+1
| | | | | | free imgMos at the end of runBlend() Change-Id: I9211cf70ae75dbb5d5db31cfe6984374e7c51d5f
* SnapdragonCamera: Fix face detection UI offsetSanthosh Kumar H E2016-07-301-2/+2
| | | | | | Revert face detection UI offset on old UI. Change-Id: Idcc3bec22883ca6734ca6eb29c49169645c5300a
* SnapdragonCamera: Fix AEC lock issue after non-zsl snapshot.Sai Kumar Sanagavarapu2016-07-301-0/+4
| | | | | | | | | In non-zsl snapshot, focus manager is set to unlock AEC after setting camera parameters in startpreview(). Due to this, AEC gets unlocked only after next touch focus or any set param call. Fixed this by changing the order during startpreview(). Change-Id: I320d7b37c7107ce2242a52979505ff04029a83fa
* SnapdragonCamera: Disable continuous shot when HDR is enabledJay Wang2016-07-301-8/+9
| | | | | | | | HDR and continuous shot cannot be enabled at the same time. When HDR scene mode is selected, disable the continuous shot feature Change-Id: I2ba6d0fd6d09a3cd9de393e7d2c16303d434f972 CRs-Fixed: 979676
* SnapDragan: Changes to enable UI option for ASD mode.Guruprasad Gaonkar2016-07-302-0/+9
| | | | | | | ASD menu was not available on latest snapdragon application. Changes provided to enable scene modes. Change-Id: If02e97c4912ade7463055c8fefc35d10009a7c9e
* SnapdragonCamera: Fix the issue that IS is not disabledJay Wang2016-07-301-1/+2
| | | | | | | | | | IS needs to be disabled when 4K video is captured. However, 4K video checking logic doesn't include the time lapse 4K profile and reports the incorrect state. This causes the video module fails to disable the IS. Change-Id: I15bfb2e9e6022e367a68819a436e3296d085d33b CRs-Fixed: 997368
* SnapdragonCamera: Disable CDS and TNR if SeeMore is enabledShwetha Kotekar2016-07-307-36/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If seeMore is enabled, send a disable command to HAL to disable the CDS and TNR features. Change-Id: I91bac0a01c58cb13ba32296739b47f74dc296003 SnapdragonCamera: Enable SeeMore option for 4k. Currently SeeMore option for 4k recording is disabled. As per requirements, enabling the same. Change-Id: I69e84e0c20c199d80fc819f8aa6be62605bfbd79 SnapdragonCamera: Turning off CDS and TNR while SeeMore is on. Ensuring turning off of CDS and TNR while see more feature is on. Change-Id: I74c76f8b07046b8dca9db2be162b7ef20ba2d96d CRs-Fixed: 937242 Camera2: Add StillMore option in Camera app menu Add menu item for StillMore feature under the Advanced Features item during camera preview. Change-Id: I89ae260339896878ff4f1c5099885c6f3b05a18b SnapdragonCamera: Changes to enable TNR processing by default. TNR was disabled by default from UI. Change configures TNR for camera stream to improve image quality. CDS is disabled as TNR is enabled by default from now. Change-Id: I7c1bf9533c52b8642fb15f79625cec57cc85b6cf Crs-fixed: 890243 SnapdragonCamera: Checking whether SeeMore is available Checking if the preference is available. Change-Id: Ie885b9312f2fe054e272d15b9a38e2cedf756632 CRs-Fixed: 957117
* Snap: Unbreak auto-HDRSteve Kondik2016-07-301-1/+1
| | | | Change-Id: Id93d5807fb4c4d14eeea33be0776a6f705a6c435
* Fix orientation handling in secure camera.Danny Baumann2016-07-291-0/+1
| | | | | | | | We rotate our views by ourselves, starting on portrait orientation, thus make the SecureCameraActivity manifest entry consistent to the CameraActivity one. Change-Id: I6421795a6c26bac1653eeb2eb1e545f4886b4641
* Automatic translation importblinky@build012016-07-191-0/+5
| | | | | Change-Id: I6a9a490f5906f01c57841ec61a338c7d31b35b06 Ticket: -
* Automatic translation importpinky@build012016-07-191-0/+66
| | | | | Change-Id: I4bb5e2d463963813aa400a9bbf6396ee0cea7a9a Ticket: -
* Snap: Fix incorrect default ISO values parameterZhao Wei Liew2016-07-181-1/+1
| | | | | | | | | | | | This is a typo introduced by commit: c544747c2892b3984357a86b4116e1faa2be2210 We intend to default the ISO values parameter to "iso-values", but we are currently setting the ISO parameter instead. Fix the typo. Change-Id: Icea4771767c04b08e2b888bc8fb55a05fc69fa91
* Snap: Always allow 100% JPEG quality to be setZhao Wei Liew2016-07-181-15/+10
| | | | | | | | | | Previously, we were checking if the selected JPEG quality was 100% and not setting the JPEG quality if some conditions were met. There isn't any history nor explanation on why we weren't setting the JPEG quality to 100%, so just remove the redundant check. Change-Id: Ie0ab555ad35942bd115751fd10e4f4c11fa7a76d
* Automatic translation importinky@build012016-07-153-0/+479
| | | | | Change-Id: I509801a98da1a830f0d606a0297201f498f3d66a Ticket: -
* Automatic translation importblinky@build012016-07-140-0/+0
| | | | | Change-Id: I32f640857ac35ed944be306891e2c9a916df866d Ticket: -
* Automatic translation importpinky@build012016-07-132-0/+7
| | | | | Change-Id: I4b835270885ec70093c560e6b4b176906bfb38bd Ticket: -
* Snap: Tighten openLegacy() try-catch blockZhao Wei Liew2016-07-121-13/+14
| | | | | | | | We only have to enclose the openLegacy() call in a try-catch block. This prevents us from re-calling open() when open() fails and throws a RuntimeException. Change-Id: I81396e453f57215338a0c4da41c4116f2b4d42ca
* Automatic translation importclyde@build012016-07-116-4/+19
| | | | | Change-Id: Ide5dee2b9e521d65c6d206bbaf15da1c215bdd4d Ticket: -