summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui
Commit message (Collapse)AuthorAgeFilesLines
* Snap: update shutter buttons on CaptureUIcodeworkx2018-01-271-1/+1
| | | | | | https://review.lineageos.org/#/c/200740/ Change-Id: I674de05dfb46fb714979ac66c16a85825af13c95
* Revert "Snap: Bring back original shutter icons and animation"Paul Keith2018-01-272-2/+2
| | | | | | | | No reason to do use caf ones This reverts commit a465e3a0cf7a81c7cb9a0e80cbfa7527e7d7de77. Change-Id: I611351ddfa0b24087cc58466dcba95ab4999d1bd
* Snap: add QReader to module switchJoey Rizzoli2018-01-271-4/+9
| | | | | Change-Id: I7cc33c7ebc6de35d19979a9a70f198029e46d88f Signed-off-by: Joey Rizzoli <joey@lineageos.org>
* Snap: Bring back original shutter icons and animationArne Coucheron2018-01-272-2/+2
| | | | Change-Id: I843ba306053ea7f14fbf805c8633c02a854f84df
* Snap: Fix panorama layoutArne Coucheron2018-01-271-1/+1
| | | | | | Loosely based on old cyngn patches. Change-Id: I7fdb6ba82243f2f28e8ea655f83f0339d49de5ad
* Snap: Remove "help screen on first start" featureArne Coucheron2018-01-273-479/+2
| | | | | | | | | | | | | | | | | | | | 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 Coucheron2018-01-271-0/+1
| | | | | | Also increase margin a bit. Change-Id: Id8ddb1137094f03bd26b487575b555bbadd80432
* Snap: Render zoom circle in the center of the camera previewSultanxda2018-01-271-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 M2018-01-271-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 Baumann2018-01-261-7/+3
| | | | Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
* snap: Adjust top bar icon orderSteve Kondik2018-01-261-7/+7
| | | | Change-Id: I1fe55daca970a8e9a725718aa6a02618450ccbf6
* Remove unused menu indicators code.Danny Baumann2018-01-261-20/+0
| | | | Change-Id: I0ce48da277a532b46fdde15027f636de4d7585b7
* Snap: initial materializationjrizzoli2018-01-264-4/+4
| | | | | | | Just for initial ship Change-Id: I8d6c0d71d1b94e6eb2f43ab962fb92de0e6c7093 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Fix view index tracking.Danny Baumann2018-01-261-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
* Camera2: tweak volume key zoom and cleanupLars Greiss2018-01-261-12/+24
| | | | | | | | | - cleanup unused code - cleanup codestyle - add more zoom steps for smother zooming - show zoom circle indicator during zoom Change-Id: I5214fc2620a0c5167bfdc8e85f7115966c3b8bcf
* Camera: Change volume hard key button to zoom functionSu Liu2018-01-261-0/+35
| | | | | | | | Able to capture image through volume hard key button in camera application, change the function to zoom function. Change-Id: Iab9fc2492b2e2ff89cd58c21bac2f147f47b77e2
* SnapdragonCamera: Rename the resource Id to fix CTS issue.Santhosh Kumar Thimmanna Bhattar2018-01-091-1/+1
| | | | | | | | | | | | | Issue: CTS test case testImageCapture is failing due to mismatch in resource Id of OK button in SnapdragonCamera app and CTS . After take picture , CTS app is sending click event for OK button in SnapdragonCamera. But event is failed due to mismatch in Id. Fix: Rename resource Id of OK button as per the CTS. Change-Id: I7d3b087e4ac73fc7ee1034b7d2845241e6023b29
* SnapdragonCamera:Disalbe options in RTBjunjiez2017-08-031-1/+1
| | | | | | | | Disable some options in the setting when it's in real time bokeh mode and modify the style of seekbar and bokeh text. Change-Id: If6f2fe40c3a405ac8a4451029d18e38d93305ef5
* SnapdragonCamera:Fix focus indicate issuejunjiez2017-07-281-5/+19
| | | | | | | | 1.hide face detection circle in real time bokeh 2.Delay hiding bokeh focus icon and seekbar when focus success. Change-Id: I2c02ec4a7eceda9b54f1241fe071701150b3adc3
* SnapdragonCamera:modify RTB UIjunjiez2017-07-261-12/+9
| | | | | | | | | | | | | | 1. reduce the size of the bokeh focus circle. 2. hide bokeh focus circle and seekbar when it's not needed. 3. update the location of the seekbar according the location of the bokeh focus circle 4. convert depth map buffer to rgb then compress to jpeg Change-Id: Ibfa4d1d90413939566129247a23325f941507691
* SnapdragonCamera:RTB UIjunjiez2017-07-262-24/+185
| | | | | | | | | | | | | | | 1.add a new icon on the top of camera control to enable bokeh mode. 2.add toast to show the distance,lighting and effect alert. 3.add debug mode to save all the images received from HAL separately 4.modify ui according to the spec Change-Id: I1178015f48c29cade4e14bb531c9727665905fec
* SnapdragonCamera: Fix FC when mediarecorder start occur errormingwax2017-07-132-2/+7
| | | | | | | | MediaRecorder.start method should be before the hideUIwhileRecording. Adjust the logic for starting video. CRs-Fixed: 2072609 Change-Id: Ie48f8ebc4bfe3385604d4095d8ff02029c26968b
* SnapdragonCamera: Fix mRemainingPhotos show error issuemingwax2017-06-141-0/+6
| | | | | | | | | When user select the high quality picture, hide the remainingPhoto. When user select the standard or low quality picture, show the remainingPhoto. CRs-Fixed: 2058878 Change-Id: I7924b71fa01b28b6ef7e07abfbc23a577c695d62
* SnapdragonCamera: Fix UI Display confusion in ProModemingwax2017-05-301-37/+33
| | | | | | | | Refactoring the layout of pro_mode_layout.xml, optimizing layout files, and reducing performace overhead. CRs-Fixed: 2027214 Change-Id: I7005b5a38498b6867c0d6b971aef13fcd1359433
* SnapdragonCamera: Wrapper for QC APIweijiew2017-03-291-70/+69
| | | | | | | | | 1. Wrapper for Parameters 2. Wrapper for CameraInfo 3. Wrapper for CamcorderProfile 4. Wrapper for Camera 5. Wrapper for ExtendedFace Change-Id: I8c8605db3696bffc4d975c0bb6f74944ed23a6bd
* SnapdragonCamera: Smile/blink/gaze detectionjunjiez2017-03-142-3/+188
| | | | | | | | Implement Smile/blink/gaze detection feature and add option to enable it in develop options. CRs-Fixed: 1087487 Change-Id: I3005ca9767fbe38323e86255238cd4f96f34fbe5
* Merge "SnapdragonCamera: Fix live shot image stretch when recording is 4K" ↵Linux Build Service Account2017-03-061-1/+2
|\ | | | | | | into camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Fix live shot image stretch when recording is 4Kmingwax2017-03-011-1/+2
| | | | | | | | | | | | | | | | | | | | (1) When the video is seted 4K UHD, the mVideoSnapshotSize should be setted the similar aspect ratio to ensure the picture which live shotted is not stretched. (2) Fixed the width and height of the panorama image CRs-Fixed: 2012167 Change-Id: I15d139c6d558923d6b4a32ee3613c44c7a974129
* | Merge "SnapdragonCamera: Wrapper for QC API" into camera.lnx.1.0-dev.1.0Linux Build Service Account2017-03-031-72/+72
|\ \
| * | SnapdragonCamera: Wrapper for QC APIweijiew2017-02-241-72/+72
| |/ | | | | | | | | | | | | 1. Wrapper ExtendedFace Change-Id: I1dafce90a39dd664d5bcbaa3174e6b056397108f CRs-Fixed: 2011340
* / SnapdragonCamera: Fix rotation angle when the rear in differ anglemingwax2017-02-231-8/+21
|/ | | | | | | | Change the rotation angle and px py values when the rear in different angle. 8953`s rear angle is 90. 8998`s rear angle is 270. CRs-Fixed: 1103364 Change-Id: I8bf2e76d2faf2417f9439b6b575bfc364974277e
* SnapdragonCamera: Fix does`t support UbiFocus and HDR meanwhilemingwax2017-01-181-0/+2
| | | | | | | UbiFocus、Adwanced Features and HDR do mutal exclusion. CRs-Fixed: 1112930 Change-Id: I4eefa2a0acb5f0b59bb4c24ad9da041704823218
* Merge "SnapdragonCamera: Fix does`t support HDR and chromaflash meanwhile" ↵Linux Build Service Account2017-01-171-2/+0
|\ | | | | | | into camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Fix does`t support HDR and chromaflash meanwhilemingwax2017-01-121-2/+0
| | | | | | | | | | | | | | Chroma Flash、 Adwanced Features and HDR do mutual exclusion. CRs-Fixed: 1107236 Change-Id: I7e9f94fb757693fd5df7391ef94f194af3dae65c
* | SnapdragonCamera:Fix [FR35432] BestPicture function lost.pezhan2017-01-112-2/+141
|/ | | | | | | | | | | | | | | | | | | | Add dialog when saving selected BestPicture. Add "X" icon display beside camcorder icon to exit BestPicture mode. Add multiple selections(Three dots beside SAVE)and "X" icon. Add dialog when select "X" icon. Add overflow menu with multiple selections to chose "Save All" or "Delete All" when click overflow menu. Add click for "Save All" to save all 1o pictures. Add click for "Delete All" to pop delete all dialog. Change-Id: I59cdad0f77fde616ea34db4d9d186d322285e394 CRs-Fixed: 1102814, 1102807, 1099428
* Merge "SnapdragonCamera: Fix ANR caused by layout logic" into ↵Linux Build Service Account2017-01-051-12/+18
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Fix ANR caused by layout logicjuwei2017-01-031-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | child view calls setLayoutParams() in parent view onLayout(), this may lead to a recursion: Child layout params changed -> parent onRequestLayout -> parent view onLayout -> child layout params changed. At last, main thread is busy in processing this unnecessary recursion and block. So move the setLayoutParams() int parent view onSizeChanged(). Change-Id: Ie230abe25caa9bd38f134f41257188cd335f7975 CRs-Fixed: 1105184
* | Merge "SnapdragonCamera: ROI circle becomes oval when start/stop recording" ↵Linux Build Service Account2017-01-051-2/+9
|\ \ | | | | | | | | | into camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: ROI circle becomes oval when start/stop recordingweijiew2016-12-241-2/+9
| |/ | | | | | | | | | | | | | | | | Face circle is drawed by Canvas.drawOval. When start/stop recording, face Rect is stretched to rectangle and lead to ROI circle become oval. So, change Canvas.drawOval to Canvas.drawCircle CRs-Fixed: 1099754 Change-Id: If6258d844c0685a65439c3fe536674a4f6260b48
* / SnapdragonCamera: add features for 3rd-party appsjunjiez2016-12-271-8/+33
|/ | | | | | | Add capture and recording features for 3rd-party app. Change-Id: Iefedbed2cb17cca17941e70f861448a2b8f97da2 CRs-Fixed: 1095457
* Merge "SnapdragonCamera: Fix FC NullpointerException in PanoCapture" into ↵Camera Software Integration2016-12-221-12/+18
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Fix FC NullpointerException in PanoCapturemingwax2016-12-141-12/+18
| | | | | | | | | | | | | | | | Add mutex lock to ensure the mBitmapstream value is not changed to null. CRs-Fixed: 1101177 Change-Id: I3095a3d2f0b25a5ba929f16ebc75af81a8950653
* | SnapdragonCamera: Fix don`t save the value about focus distancemingwax2016-12-131-2/+2
| | | | | | | | | | | | | | | | Don`t save the focus distance value when the user change the value. Add code for saving the value in xml when the user change the value. CRs-Fixed: 1095942 Change-Id: Ic2b88d67d068c17afcc12546028e99454070b8ab
* | SnapdragonCamera: Fix ProMode refresh UI issuemingwax2016-12-132-0/+5
|/ | | | | | | | | The WB and Exposure value don`t update when changed in the setting View. Update the value of WB and Exposure when resume the PreMode. CRs-Fixed: 1098270 Change-Id: I4f42555dd59e17de86e55dfaaa0f7a027e19c28c
* Merge "SnapdragonCamera:Modify Camera2 VideoRecording UI" into ↵Camera Software Integration2016-12-111-9/+47
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera:Modify Camera2 VideoRecording UIjunjiez2016-12-051-9/+47
| | | | | | | | | | | | | | | | Modify Camera2 VideoRecording UI and make it look like the same as the design document shows. Change-Id: I41ea3db7312847fe56ad9d8e73dfa92b030e79e2 CRs-Fixed: 1093507
* | Merge "SnapdragonCamera: Path should be reseted in onLayout method" into ↵Camera Software Integration2016-12-111-0/+2
|\ \ | |/ |/| | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Path should be reseted in onLayout methodmingwax2016-11-301-0/+2
| | | | | | | | | | | | | | | | | | | | When proMode is inVisible, onLayout method is called in the landscape screen, the screen will draw one more curve by path. Add judgment condition, path should be reseted in onLayout method. CRs-Fixed: 1094491 Change-Id: Id76e2234517bfef662b9687e997219e693e907b1
* | Merge "SnapdragonCamera: Scene mode button was enabled when chroma flash was ↵Camera Software Integration2016-12-011-1/+0
|\ \ | | | | | | | | | on" into camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Scene mode button was enabled when chroma flash was onweijiew2016-11-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Scene mode button should be disabled when chroma flash was on, but it was enabled when the animation of setting menu dismissing was end. Change-Id: I902ced210d410f07a3db5113be7dd922ea9be74c CRs-Fixed: 1089451