summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui
Commit message (Collapse)AuthorAgeFilesLines
* camera2: Fix merge issuesSteve Kondik2016-08-212-2/+2
| | | | Change-Id: I9b55bcaaa03e598e57325f45e80ee8493029edf1
* SnapdragonCamera: Add face detection to camera2Byunghun Jeon2016-08-212-17/+164
| | | | | | | | Add face detection to camera2. Receive face data from camera2 and use faceView UI to draw it Change-Id: Id9c49ab6dd73de316398c57981cc0b9df0400b45 CRs-Fixed: 1025797
* SnapdragonCamera: Add video to Camera2 moduleByunghun Jeon2016-08-211-3/+7
| | | | | | Add video to Camera2 module and combine the UI Change-Id: I0bcd86eb6b95fe2180856780ddd794682259e799
* SnapdragonCamera: Fix slow zooming issueJay Wang2016-08-211-5/+3
| | | | | | | | | Zoom range calculation didn't give enough precision and caused non-smooth zooming experience. Make the change to keep the full fractional digits. Change-Id: Ib72707e451ea7c4e375d489d183265592622ce0b CRs-Fixed: 1025788
* SnapdragonCamera: Update settingsManager and add Dual mode to Scene modeByunghun Jeon2016-08-211-1/+1
| | | | | | | Update settingsManager and add Dual mode to Scene mode Change-Id: I508430840c3fb8c7d0b56a2a63e09b271754fcb4 CRs-Fixed: 1018118
* SnapdragonCamera: Add SettingsManager, scene, and filterByunghun Jeon2016-08-214-35/+85
| | | | | | | | | | | Add SettingsManager to work as a database for settings. It will handle all dependencies and populate the values. Add scene mode and filter. Restructure UI and menu by combining them and leave the handling of settings to SettingsManager Change-Id: I185163fdddbffd29434e6a9c41b33be6d3388f88 CRs-Fixed: 1018118
* SnapdragonCamera: Replace SurfaceView with AutoFitSurfaceViewByunghun Jeon2016-08-211-7/+7
| | | | | | | Replace SurfaceView with AutoFitSurfaceView Change-Id: Id4bf27e3b16f12ff4cfdce47224ff871b3981838 CRs-Fixed: 989750
* SnapdragonCamera: Add logic to calculate preview surface ratioJay Wang2016-08-211-0/+76
| | | | | | | | | | | | new file is copied from the commit : 51c65e100d6221c8e19d1345e40db2e7d1c5a190 src/com/android/camera/ui/AutoFitSurfaceView.java copied from media/Camera2Basic/Application/src/main/java/com/example/android/ camera2basic/AutoFitTextureView.java CRs-Fixed: 989750 Change-Id: I29a6fd2219991bda9aaa64f174a61b0aa5b71e87
* SnapdragonCamera: Camera2 add zoom supportByunghun Jeon2016-08-211-2/+29
| | | | | | | Add zoom support to Camera2 CRs-Fixed: 989750 Change-Id: Id6b558ff5215f04ca7c201b1d1807521d615c353
* SnapdragonCamera: Add Camera2 modeByunghun Jeon2016-08-212-1/+34
| | | | | | | Use camera2 API to show preview and take snapshot CRs-Fixed: 989750 Change-Id: I07e2d6743529b3d3d5acecf667e9493465a094c9
* SnapdragonCamera: Fix menu highlight issue when rotating deviceByunghun Jeon2016-08-031-0/+4
| | | | | | | | 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: Removing filmstrip view touch handlerJack Yoo2016-08-031-1/+0
| | | | | | | Removing unused filmstrip view touch handler Change-Id: I5b93d68c646a224d6b14b35740821fbe302eaeca CRs-Fixed: 961644
* 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: 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: 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 face detection UI offsetSanthosh Kumar H E2016-07-301-2/+2
| | | | | | Revert face detection UI offset on old UI. Change-Id: Idcc3bec22883ca6734ca6eb29c49169645c5300a
* SnapdragonCamera: Fix the memory leak on view.Jack Yoo2016-05-261-0/+44
| | | | | | | | Keep using modules instead of creating. Don't remove the view without cleaning it. Change-Id: I260a660cac3d770f7d02dfdc1881e15490da66a0 CRs-Fixed: 958510
* Improve RTL layout behaviour.Danny Baumann2016-04-251-2/+8
| | | | | | | | | | - Swap top menu items order in RTL - Swipe in menu from the right in RTL - Make it possible to select scene/filter items in RTL - Remove/clean up some nonsense code Change-Id: I884a06f5cc6e72a1d2ee19dbdf32ce511c8466ec JIRA:NIGHTLIES-2849
* Fix view index tracking.Danny Baumann2016-04-041-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
* Properly respect navigation bar size when laying out menus.Danny Baumann2016-04-033-3/+85
| | | | | | | | For top level menus, add padding so all menu items can be scrolled to not be covered by the navigation bar. For sub menus, place them to not be covered by the navigation bar. Change-Id: I22961c19b7bf80a26eec03b5feabfda10e910669
* snap: rearrange top view iconsjrizzoli2016-04-031-4/+4
| | | | | | | | * menu icon should go to the left since it opens a menu that slides in from the left * arrange other icons to not give odd empty spaces when switching modes or hdr is not supported Change-Id: Ia5099f2eac47e0aad4ab1419e6d490347976162d Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Fix histogram not being hidden after disabling it.Danny Baumann2016-03-292-1/+2
| | | | Change-Id: I55aef506f2cc5c142964c7e90714a2c56aa3de89
* Beautify and optimize histogram view.Danny Baumann2016-03-291-62/+64
| | | | | | | Make it semi-transparent, draw a predictable number of grid lines and drop the unneeded drawing to a bitmap. Change-Id: I07e3cb8507f5bebbd06730ccc28acb8053bc1d1a
* SnapdragonCamera: Implementing SelfieFlash featureCamera Software Integration2016-02-171-0/+74
| | | | | | | Introducing SelfieFlash feature. Change-Id: I7b73d9db585038640b715092b01e037538ef68aa CRs-Fixed: 937232
* SnapdragonCamera: Fix highlight after rotating deviceByunghun Jeon2016-02-161-0/+6
| | | | | | | Fix highlight disappear after rotating device in settings Change-Id: Ic51d95cd07dfb33d846c24cbc265177330542b7a CRs-Fixed: 956111
* De-uglify menu.Danny Baumann2016-02-151-5/+2
| | | | Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
* Fix up layout of auto HDR notice and histogram view.Danny Baumann2016-01-203-7/+173
| | | | Change-Id: I61f93c68b52d81c5e19919a5b0b894cf51dd35c4
* Remove unused menu indicators code.Danny Baumann2016-01-201-5/+1
| | | | Change-Id: I0ce48da277a532b46fdde15027f636de4d7585b7
* Avoid static member variable.Danny Baumann2016-01-201-11/+11
| | | | Change-Id: I3758bb219552d22768afa0af83c69c6a5460693b
* Improve CameraControls layout code.Danny Baumann2016-01-201-316/+148
| | | | | | Improve control placement, and clean up redundant code. Change-Id: Ia650b09be48a81d34241f7ab22c6b3db5032ada7
* Drop new focus indicator into Camera2.Paul Rohde2016-01-1520-0/+1882
| | | | | | | * 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
* CameraActivity: Don't hide navigation barDanny Baumann2016-01-153-105/+53
| | | | | | * Make it transparent instead. Change-Id: I08b06ac72d88aaf62ae7f52a3dde9ba865bc3542
* SnapdragonCamera: Hide camera controllers when review captured imagelikaid2016-01-111-0/+16
| | | | | | | | | | | | The camera settings options including scene mode, color effect, switcher for back/front camera, and the beautification make-up should only be shown on camera preview, since they are not used for editing pictures. Hide these camera setting options to avoid making user confused. Change-Id: I26599c4d97043069eee9c1a069325735ba625a94 CRs-Fixed: 895938
* Snap: initial materializationjrizzoli2016-01-093-6/+6
| | | | | | | Just for initial ship Change-Id: I8d6c0d71d1b94e6eb2f43ab962fb92de0e6c7093 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* SnapdragonCamera: Preventing duplicated call of setEnableJack Yoo2016-01-081-2/+4
| | | | | | | Prevent it from calling twice on animation case. CRs-Fixed: 944874 Change-Id: I96468b627719d48bbd1fc857556dff8f27f46665
* Consider fractional value in zoom circle calculation.Santhosh Kumar H E2016-01-081-6/+6
| | | | | | | | Fractional value was lost while rounding off zoom circle size to integer value. Due to this user was not able to zoom upto max zoom level. Change-Id: I99888075f4a484320939f813164bbca9c94dc11a
* Enable extended face detection feature.Santhosh Kumar H E2016-01-081-3/+2
| | | | | | | Enable extended face detection support since it was commented out during basic bringup. Change-Id: Iea1549f770dffb119f1ebe94262ad7ba74323c14
* SnapdragonCamera: Make camcorder switcher icon invisible.likaid2016-01-081-1/+8
| | | | | | | | | | | When take photo for contact and back from setting ,the camcorder switcher icon will show. When take photo from contact,then set the camcoder switcher icon invisible. Change-Id: If0153650d131c5b1ee78a79c255c637aab410d8e CRs-Fixed: 884351
* SnapdragonCamera: Fix compilationShuzhen Wang2016-01-021-1/+3
| | | | | | | | | | 1. Address compilation due to compiler upgrade. 2. Comment out video dependencies to enable camera. 3. Fix compilation issue due to IMountService interface change. 4. Comment out ExtendedFace. 5. Remove non-standard video resolutions. Change-Id: I167ab5ff399c4f1d306a1a7ddf94896565c9625a
* Snap: Remove CAF beautification featureMichael Bestas2015-09-201-102/+21
| | | | | | | | | | | | Revert "SnapdragonCamera: Move the files to the correct location" This reverts commit c25b2d510285512dbb60547353190433f1dbb984. Revert "SnapdragonCamera: Add beautification feature to SnapdragonCamera." This reverts commit c1cea7c15b2e463f37c17f2a4ce61ce689ec7088. Change-Id: If01e4f438a58e4210a3eddf090d426895ecbae87
* Camera2: tweak volume key zoom and cleanupLars Greiss2015-09-171-13/+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 Liu2015-09-171-0/+36
| | | | | | | | Able to capture image through volume hard key button in camera application, change the function to zoom function. Change-Id: Iab9fc2492b2e2ff89cd58c21bac2f147f47b77e2
* SnapdragonCamera: Fix Zoom orientationByunghun Jeon2015-06-241-0/+8
| | | | | | Fix Zoom UI's orientation Change-Id: I9c14b08729e099c263d612289ccb8b7ed757168b
* Merge "SnapdragonCamera: Add beautification feature to SnapdragonCamera."Linux Build Service Account2015-03-231-21/+102
|\
| * SnapdragonCamera: Add beautification feature to SnapdragonCamera.Zhang Zhenzhen2015-03-231-21/+102
| | | | | | | | Change-Id: Ie585527fc0b8679359753b3ff6245add3d1e5530
* | Merge "SnapdragonCamera: fix camera preview broken when resume from gallery"Linux Build Service Account2015-03-231-6/+2
|\ \ | |/ |/|
| * SnapdragonCamera: fix camera preview broken when resume from gallerylikaid2015-03-021-6/+2
| | | | | | | | | | | | | | | | | | | | The postion of preview view wasn't centered after rotated device with camera in background. Adjust the view position when camera draws preview layout each time. Change-Id: I488c25cda23f101cf1f1a10c54ca3d537474e53c CRs-Fixed: 795482
* | Merge "SnapdragonCamera: Fix preview broken when coming back from gallery"Linux Build Service Account2015-03-131-3/+4
|\ \