summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui
Commit message (Collapse)AuthorAgeFilesLines
* Fix use of deprecated SoundPool API in SnapJean-Michel Trivi2019-11-091-2/+16
| | | | | | | | | | | Don't use stream types for operations other than volume control [Chippa_a]: Extended for Snap Bug: 122901916 Test: verify logcat doesn't show warnings, see bug Change-Id: Id5b4f3b3c56c61a2f00172a470410e0670ce81b4 Signed-off-by: Chippa-a <vusal1372@gmail.com>
* Stop using deprecated Canvas APIs.Derek Sollenberger2019-11-091-1/+1
| | | | | | Bug: 73777445 Test: compile Change-Id: Ib8a0b7dcbe606c2a1a9df26549cc805c6eeb892b
* Drop new focus indicator into Camera2.Paul Rohde2019-11-0920-0/+1869
| | | | | | | * Create a new custom focus view that interacts with physical lens diopter changes. * Replace all occurances of the old focus indicator with the new one. Change-Id: Ia02646ce4d1eb059ecb8a1dfccc15dfc9c167e1b
* Snap: add QReader to module switchJoey Rizzoli2019-10-251-4/+10
| | | | | | | | | | | | | | | | | | | Author: Joey Rizzoli <joey@lineageos.org> Date: Fri Dec 15 21:54:27 2017 +0100 Snap: add QReader to module switch Change-Id: I7cc33c7ebc6de35d19979a9a70f198029e46d88f Signed-off-by: Joey Rizzoli <joey@lineageos.org> Author: Arne Coucheron <arco68@gmail.com> Date: Sun Jan 14 16:53:49 2018 +0100 QuickReader: Match switch icon size and fill color with other icons Change-Id: I9bfa84ed1ea188470cb9a58c5d59cf8a6b270215 Change-Id: Ia7f575bf6cab7d24a6d1ad167b44a02feb1457d2
* Snap: Fix panorama layoutArne Coucheron2019-10-251-1/+1
| | | | | | Loosely based on old cyngn patches. Change-Id: I7fdb6ba82243f2f28e8ea655f83f0339d49de5ad
* Snap: Remove "help screen on first start" featureArne Coucheron2019-10-252-478/+0
| | | | | | | | | | | | | | | | | | | | Revert "SnapdragonCamera: Add help menu to camera2" This reverts commit 0dbfdffc9994a17e60c57b17c3cc5743cc75e155. Change-Id: Icb4e4bbc2b7883fa232483615a18d3197b2577bd Revert "SnapdragonCamera: Move help menu string to ressource" This reverts commit 901130273dbfc753ef883941a4e93b50056177e4. Change-Id: I82815ee7ef80985c88315c40d6b222f688fd6b75 Revert "SnapdragonCamera: Adding help screen on first start" This reverts commit 666692bf730a1c46210cc74781a56afb4b6fcf28. Change-Id: I8f2ee58c263537c3a02248aa344516f5321de13f
* Snap: Show remaining photos on initial startArne Coucheron2019-10-251-0/+1
| | | | | | Also increase margin a bit. Change-Id: Id8ddb1137094f03bd26b487575b555bbadd80432
* Snap: Render zoom circle in the center of the camera previewSultanxda2019-10-251-1/+18
| | | | | | | | | Previously, the zoom circle was rendered in the center of the entire screen, making it look unevenly placed due to the uneven sizes of the top and bottom UI panes. The camera preview in this case is calculated to be the portion of the screen between the top and bottom UI panes. Change-Id: I67678f7bc227cf2b7a6eed3161805b2b107c488a
* Never ignore finger swipes in gallery modeGabriele M2019-10-251-4/+0
| | | | | | | | | | | | | | Under certain conditions finger swipes are ignored. Steps to reproduce the bug: - Open left menu - Close menu choosing an option or tapping out of the preview - Tap preview of last picture in bottom left corner Swipes in the gallry should now be ignored until a right to left swipe is performed in the preview. Change-Id: I3928d84360266cca368265553a037192aa5d6780
* De-uglify menu.Danny Baumann2019-10-251-7/+3
| | | | Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
* snap: Adjust top bar icon orderSteve Kondik2019-10-251-7/+7
| | | | Change-Id: I1fe55daca970a8e9a725718aa6a02618450ccbf6
* Remove unused menu indicators code.Danny Baumann2019-10-251-20/+0
| | | | Change-Id: I0ce48da277a532b46fdde15027f636de4d7585b7
* Snap: Materializejrizzoli2019-10-254-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Author: jrizzoli <joey@cyanogenmoditalia.it> Date: Thu Jan 7 21:07:51 2016 +0100 Snap: initial materialization Just for initial ship Change-Id: I8d6c0d71d1b94e6eb2f43ab962fb92de0e6c7093 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it> Author: jrizzoli <joey@cyanogenmoditalia.it> Date: Mon Jan 11 21:02:08 2016 +0100 Snap: remove captureUI pngdrawables CM now supports 90/270 degrees rotated vectordrawables Change-Id: I13b36463c60430564c00bd1e36393fff7ddbfdae Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it> Author: jrizzoli <joey@cyanogenmoditalia.it> Date: Wed Jan 20 20:54:10 2016 +0100 Snap: update shutter button style Change-Id: Ide5fc0ff1c54e216ac7cd9bea202002d1d4dfa12 Author: Joey Rizzoli <joey@cyanogenmoditalia.it> Date: Sun Dec 11 21:30:18 2016 +0100 Snap: update caf icons Change-Id: I1adaf709253637bde037b5aea1f856fc5b9029c7 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it> Author: Arne Coucheron <arco68@gmail.com> Date: Thu Aug 17 01:19:05 2017 +0200 Snap: Update HDR icons Current ones are so small, I can hardly see them. These new ones are bigger and looks more in line with the rest of the icons. Change-Id: Idaeec67a78d66105a375f09b6701a49dce43fd22 Author: codeworkx <daniel.hillenbrand@codeworkx.de> Date: Sat Jan 20 12:46:31 2018 +0100 Snap: update shutter buttons on CaptureUI Change-Id: I674de05dfb46fb714979ac66c16a85825af13c95 Author: Paul Keith <javelinanddart@gmail.com> Date: Tue Jan 23 23:36:19 2018 +0100 Snap: Update pano and video icons to be more like photo icons * Put the colored ring on the _outside_ of the shutter * While we're at it, cleanup naming and usage of color resources Change-Id: I4f344fa272374d043f2b83dba7248e263fab8bf0 Author: Andreas Blaesius <andi@unlegacy-android.org> Date: Fri Jun 1 17:47:00 2018 +0200 Snap: remove unused shutter buttons Change-Id: Id913626bbccc6fd245ed9f46374389ca7eca3c30 Change-Id: I7596f3c887874b4913d87ecbfa5438191fc86249 Signed-off-by: Chippa-a <vusal1372@gmail.com>
* Fix view index tracking.Danny Baumann2019-10-251-6/+4
| | | | | | | As we have a header and a footer view now, the assumption 'pref list size == child count' doesn't hold anymore. Change-Id: I1b4ab16907eea758921ccce64af01d2a73e82459
* Camera: Change volume hard key button to zoom functionSu Liu2019-10-251-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Author: Su Liu <suliu@codeaurora.org> Date: Wed Sep 4 18:16:50 2013 +0800 Camera: Change volume hard key button to zoom function Able to capture image through volume hard key button in camera application, change the function to zoom function. Change-Id: Iab9fc2492b2e2ff89cd58c21bac2f147f47b77e2 Author: jt1134 <jt1134@gmail.com> Date: Sat Jan 4 20:52:27 2014 -0600 Camera2: implement volume key zoom in video mode Change-Id: I140e8cfb3e39700f60e40c35b38e92c83a3c26de Author: Lars Greiss <kufikugel@googlemail.com> Date: Sun Feb 2 03:09:22 2014 +0100 Camera2: tweak volume key zoom and cleanup - cleanup unused code - cleanup codestyle - add more zoom steps for smother zooming - show zoom circle indicator during zoom Change-Id: I5214fc2620a0c5167bfdc8e85f7115966c3b8bcf Change-Id: I99dd2fffc92985156eece67c19435a71d14cd928
* SnapdragonCamera: Remove scene mode and deepportraitxianming wang2019-04-101-9/+5
| | | | | | | Remove scene mode only keep HDR mode, and remove deepportrait. CRs-Fixed: 2432037 Change-Id: I3f062dcc952f918dd51ee7fdfeefc8bf9c8d1c0f
* SnapdragonCamera: Fix mSoundPool is NULL and load resource slowlyxianming wang2018-12-141-15/+7
| | | | | | | | Init the SouldPool when the mCountDownView is not NULL and the SoundPool is NULL. CRs-Fixed: 2360653 Change-Id: I913bbd0c8b190a2a73d0d0123ffa8753d4ec9f91
* Merge "SnapdraongCamera:Fix CountDown sound" into ↵Linux Build Service Account2018-12-051-1/+12
|\ | | | | | | camera-SnapdragonCamera.lnx.2.0
| * SnapdraongCamera:Fix CountDown soundjunjiez2018-11-271-1/+12
| | | | | | | | | | | | | | | | Recreate the sound pool when it's null to avoid error. Change-Id: Iefb89c7fe910bdf0fbaa44317c17a74b88350d75 CRs-Fixed: 2356413
* | Change the FD ROI to rangezhuw2018-11-141-9/+1
|/ | | | | | | change drawcircle to drawrect Change-Id: Ib406506b459d63ac5f98f98393d8b8b8a7b391bb CRs-Fixed:2320311
* SnapdragonCamera: Fix no sound at 2s in "Countdown timer"xianming wang2018-11-071-0/+9
| | | | | | | | Move the SoundPool.load method more ahead play method for load the sound completed so that the sound can play. CRs-Fixed: 2338189 Change-Id: If4282aea8c081c54f40e1d8a5e091f412c7e3e53
* Merge "SnapdragonCamera: Fix UI in proMode is in disorder" into ↵Abhijit Trivedi2018-11-011-1/+2
|\ | | | | | | camera-SnapdragonCamera.lnx.2.0
| * SnapdragonCamera: Fix UI in proMode is in disorderxianming wang2018-10-191-1/+2
| | | | | | | | | | | | | | | | No matter mWidth or mHeight value is big, choose the min value to set layoutParams. CRs-Fixed: 2322938 Change-Id: I93bf1c245e8c8aaae8d41d906a5e3ea8a73dd1b4
* | Merge "SnapdragonCamera: Revert the original design of ISO" into ↵Abhijit Trivedi2018-11-011-71/+6
|\ \ | | | | | | | | | camera-SnapdragonCamera.lnx.2.0
| * | SnapdragonCamera: Revert the original design of ISOxianming wang2018-10-191-71/+6
| |/ | | | | | | | | | | | | | | Revert the original design of ISO in ProMode, add 3200ISO like the original design. CRs-Fixed: 2328914 Change-Id: I4ec658f2cc451a5515c50861d590e831ca10ad52
* / fix Face AF does not get converged after first snapshotzhuw2018-10-201-1/+0
|/ | | | | | | don't change color when clear() Change-Id: I33091ad01da8e203c1243de6b50979e48f045d03 CRs-Fixed: 2328706
* Merge "Fix issues about zoom render values" into camera-SnapdragonCamera.lnx.2.0Linux Build Service Account2018-09-251-4/+4
|\
| * Fix issues about zoom render valuesjinwu2018-09-211-4/+4
| | | | | | | | | | | | | | | | | | speed of zoom is slowed down rounding the value of detector.getScaleFactor rounding the value mZoomSig and mZoomFraction Change-Id: Ia40a739b82133bb144d63dce16cb6b9dea0c8fcd CRs-Fixed: 2307773
* | SnapdragonCamera: Completed the absolute value of ISO in ProModejinwu2018-09-241-6/+70
|/ | | | | | | Completed the absolute value of ISO in ProMode. CRs-Fixed: 2293209 Change-Id: Id2a4fe105d7fe3ca5eeedbe06c0cf77f11f930e5
* SnapdragonCamera: Added stats visualizerMukund Mittal2018-07-091-2/+2
| | | | | | | Added stats visualizer for displaying stats in overlay at preview Change-Id: I0c0492bd525e1a9145384cd167a1b6846e96f41b
* Fix can't zoom to 8x levelzhuw2018-06-271-2/+2
| | | | | | change caculation of zoom level Change-Id: Ie825e39a3b40d23abf1d8b59dda2d93d240bc68a
* Fix focus close when rotate phone during panorama capturingzhuw2018-05-091-0/+3
| | | | | | | if layout size is changed and then the mAargbBuffer.length is less than processing bitmap's w*h, don't process this frame. Change-Id: I2ce9d35b4d89a79bd5863be59c0bd4bf843e81e2
* SnapdragonCamera:Fix Dp iconjunjiez2018-03-291-2/+3
| | | | | | | | | Set deepportrait icon to visable after video recording is done, rotate icon when screen rotates. Change-Id: I843df6a9ce95022ef98cf301054905882e4a570c CRs-Fixed: 2212513
* SnapdragonCamera:Fix manual focusjunjiez2018-03-252-5/+13
| | | | | | | | | set the AF mode when turn on and turn off manual focus, don't unlock focus when capture in manual focus mode. Change-Id: I007c9235c67248ba6850e95bc3ab267703a70f06 CRs-Fixed: 2208004
* Fix FD rect out of bound issuezhuw2018-03-131-0/+6
| | | | | | when FD rect is out of bound, don't show face circle Change-Id: I2205f00aed7e6b27dd04a85f6dc5abe5f3c9629d
* Fix FD ROI mismatch issuezhuw2018-03-081-3/+23
| | | | | | change the mapping progress Change-Id: I8a9c57a50adcaebf6b5ffdcabad1d058262b2e7a
* SnapdragonCamera:DeepPortraitjunjiez2018-03-061-3/+11
| | | | | | Add deepportrait feature in SnapdragonCamera. Change-Id: I5fd223cacfb2526efffbf3f13f7c33cafd8ac99d
* SnapdragonCamera: Change flash OFF when use the User settingxianming wang2018-03-051-1/+8
| | | | | | | | Change the flash mode is OFF when select the Manual Exposure User setting menu. Hide the flash menu in the capture view. CRs-Fixed: 2167543 Change-Id: I9a45cc03743a6c617b2a4dc45ee36b0381b00fa5
* Merge "Fix redundant ROI when enable FD"Linux Build Service Account2018-03-051-0/+5
|\
| * Fix redundant ROI when enable FDzhuw2018-03-041-0/+5
| | | | | | | | | | | | remove redundant ROI after TAF Change-Id: Ic50470c7593816cd3b3d698d6534448f1123328d
* | Fix Gray/black line on the top of the preview screenzhuw2018-03-041-1/+1
|/ | | | | | Top icon background height shortens to 64 Change-Id: I1d88e5c2bd1399479955eebb80279bcf52cf35d0
* SDcamera:Fix AE mode is changed after Snapshotzhuw2018-01-291-12/+2
| | | | | | when in dev option, apply common settings after snapshot Change-Id: I96a25267ea43167137cc19fb82f4a23431b3199e
* Merge "SnapdragonCamera:reset EV and WB"Linux Build Service Account2018-01-152-0/+13
|\
| * SnapdragonCamera:reset EV and WBjunjiez2018-01-152-0/+13
| | | | | | | | | | | | | | | | | | EV and WB are still set manually when close promode,need to reset the values of EV and WB to default. Change-Id: I930c3190d702cd92cb63dc4ea4aa363ad2319ce1 CRs-Fixed: 2163642
* | SDCamera:Fix offset when show circle in face detectionzhuw2018-01-141-2/+12
|/ | | | | | | change rw and rh to correct size Change-Id: I9482dd03529f5f2d86aad481ece049c31da32105 CRs-Fixed: 2163923
* SnapdragonCamera: Set flash mode just after UI changezhuw2017-12-281-1/+2
| | | | | | | if click flash mode icon, set flash mode directly Change-Id: I702ccbbbdb875e4b3326a04405733408fe70555d CRs-Fixed: 2152338
* SnapdragonCamera: Fix CAF in Manual Promodezhuw2017-12-271-0/+4
| | | | | | | don't CAF when in manual promode Change-Id: I3e0507588e229db74aa5d0f8afc74d30caace870 CRs-Fixed: 2160211
* SnapdragonCamera: RefactorWeijie Wang2017-09-051-0/+2
| | | | | | | | | 1. Add some logs 2. Change the layout of beautify seekbar 3. Add attribute android:visibleToInstantApps="true" for CTS 4. keep capturing until AeState becomes right on chrommaflash mode Change-Id: I295d5d6f42250254d613123a7d58f7f7fb0e7f3d
* Revert "SnapdragonCamera: Sync LA.UM.6.4 to LA.UM.6.3"Weijie Wang2017-09-022-7/+2
| | | | | | This reverts commit b5533d51a7c97138235d29b35cec876d107aeadd. Change-Id: I8063422680802e25d03a374be91e884a86ad55e9
* Merge "SnapdragonCamera: Sync LA.UM.6.4 to LA.UM.6.3"Linux Build Service Account2017-08-302-2/+7
|\