summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui
Commit message (Collapse)AuthorAgeFilesLines
* Merge "SnapdragonCamera: Replace SurfaceView with AutoFitSurfaceView" into ↵Linux Build Service Account2016-05-031-7/+7
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Replace SurfaceView with AutoFitSurfaceViewByunghun Jeon2016-04-121-7/+7
| | | | | | | | | | | | | | Replace SurfaceView with AutoFitSurfaceView Change-Id: Id4bf27e3b16f12ff4cfdce47224ff871b3981838 CRs-Fixed: 989750
* | Merge "SnapdragonCamera: Add logic to calculate preview surface ratio" into ↵Linux Build Service Account2016-05-031-0/+76
|\| | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Add logic to calculate preview surface ratioJay Wang2016-04-061-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
* | Merge changes I2139274e,I1d18d936 into camera.lnx.1.0-dev.1.0Linux Build Service Account2016-04-171-4/+11
|\ \ | | | | | | | | | | | | | | | * changes: SnapdragonCamera: Fix occasional touch AF/AEC detection failure. SnapdragonCamera: Hide remaining photo counter
| * | SnapdragonCamera: Hide remaining photo counterJay Wang2016-04-011-4/+11
| |/ | | | | | | | | | | | | | | | | | | | | | | Since the application that issues image capturing intent can specify own photo storage location, it doesn't make sense for SnapdragonCamera application showing the remaining photo counter based on its storage location. Therefore, make change to hide remaining photo counter when photo capturing requests is from an intent. Change-Id: I1d18d9365db8d4dc0060bc09b32e45a9370706b4 CRs-Fixed: 994963
* / SnapdragonCamera: Camera2 add zoom supportByunghun Jeon2016-03-301-2/+29
|/ | | | | | | Add zoom support to Camera2 CRs-Fixed: 989750 Change-Id: Id6b558ff5215f04ca7c201b1d1807521d615c353
* SnapdragonCamera: Add Camera2 modeByunghun Jeon2016-03-302-1/+34
| | | | | | | Use camera2 API to show preview and take snapshot CRs-Fixed: 989750 Change-Id: I07e2d6743529b3d3d5acecf667e9493465a094c9
* SnapdragonCamera: Move help menu string to ressourceJack Yoo2016-03-181-24/+24
| | | | | | | | Move string and color to resource so that it can be translated and also configurable. Change-Id: I24d544e2a63a27e8215070ef8ca7bafb72521f47 CRs-Fixed: 982114
* SnapdragonCamera: Fix menu highlight issue when rotating deviceByunghun Jeon2016-02-061-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-01-301-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-01-241-1/+0
| | | | | | | Removing unused filmstrip view touch handler Change-Id: I5b93d68c646a224d6b14b35740821fbe302eaeca CRs-Fixed: 961644
* SnapdragonCamera: Fix highlight after rotating deviceByunghun Jeon2016-01-221-1/+6
| | | | | | | Fix highlight disappear after rotating device in settings Change-Id: Ic51d95cd07dfb33d846c24cbc265177330542b7a CRs-Fixed: 956111
* SnapdragonCamera: Adding help screen on first startJack Yoo2016-01-202-0/+468
| | | | | | | Adding menu help screen. Change-Id: I8f88a20b0c3599bfa35040e66562ced012d6213d CRs-Fixed: 951551
* SnapdragonCamera: Disable HDR when AutoHDR is onCamera Software Integration2016-01-081-0/+6
| | | | | | | Hide HDR button when AutoHDR is on. Change-Id: Ic5482ae577c1991711c46d709af3108c1f0620b6 CRs-Fixed: 929738
* SnapdragonCamera: Preventing duplicated call of setEnableCamera Software Integration2016-01-061-2/+4
| | | | | | | Prevent it from calling twice on animation case. CRs-Fixed: 944874 Change-Id: I96468b627719d48bbd1fc857556dff8f27f46665
* SnapdragonCamera: Adjust remaining photos layoutCamera Software Integration2015-12-301-1/+8
| | | | | | | | There's a case exceeding the width. Correct the calculation to adjust it. Change-Id: I17553b471d4cf781b2532362c6dfc2c50dc5936b CRs-Fixed: 939587
* SnapdragonCamera: Introducing mute buttonCamera Software Integration2015-12-221-4/+28
| | | | | | | Introducing audio mute button on video recording Change-Id: I69ff6fe97c4b8d76a890b5e41667dab534d69ba8 CRs-Fixed: 937239
* SnapdragonCamera: Implementing SelfieFlash featureCamera Software Integration2015-12-221-0/+74
| | | | | | | Introducing SelfieFlash feature. Change-Id: I7b73d9db585038640b715092b01e037538ef68aa CRs-Fixed: 937232
* SnapdragonCamera: Fix the issue SoundPoolThread is not releasedJay Wang2015-11-131-10/+13
| | | | | | | | | | | | | | Two SoundPool objects are created during onCreate. However, the SoundPool is not released or re-used, properly and app continuously creating the new one. Fixing the issue for shutter button SoundPool by adding the releasing call and changing the call flow so it gets created and released during onPause and onResume. For count down SoundPool, we just re-use the existing SoundPool object instead of creating the new one. CRs-Fixed: 939366 Change-Id: I8ff1d62ce7b0e217df29ded92c9a07b02bf0ffbb
* Revert "SnapdragonCamera: Use floating components during video record."Byunghun Jeon2015-10-291-0/+8
| | | | | | This reverts commit 59b05fd1d75943f037aec41def16cdceb6443ecf. Change-Id: I807bdbf0fe669a989d58484ab11451c891acaf5b
* Enable extended face detection feature.Jaimin Bhise2015-10-291-3/+2
| | | | | | | Enable extended face detection support since it was commented out during basic bringup. Change-Id: Iea1549f770dffb119f1ebe94262ad7ba74323c14
* SnapdragonCamera: Fix compilationJaimin Bhise2015-10-291-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. 6. Revert "camera: override shutter sound volume" commit 8a50cda8f72738e943904fdf7cae189b2b0a8ea8. Change-Id: I167ab5ff399c4f1d306a1a7ddf94896565c9625a
* Merge "SnapdragonCamera: Touch not working on camera after tapping on settings."Linux Build Service Account2015-09-291-0/+12
|\
| * SnapdragonCamera: Touch not working on camera after tapping on settings.likaid2015-09-161-0/+12
| | | | | | | | | | | | | | | | | | When taking a picture in the 3rd app the settings of camera is displayed. It will unsupport setting when taking a picture from the 3rd app. Change-Id: I926bed3d4c4b1c373532dc89168ba82990269a6b CRs-Fixed:901020
* | Merge "SnapdragonCamera: Fix to make back key event work normally"Linux Build Service Account2015-09-291-4/+0
|\ \
| * | SnapdragonCamera: Fix to make back key event work normallylikaid2015-09-161-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
* | Merge "SnapdragonCamera: Use floating components during video record."Linux Build Service Account2015-09-211-8/+0
|\ \
| * | SnapdragonCamera: Use floating components during video record.Jay Wang2015-09-161-8/+0
| |/ | | | | | | | | | | | | | | During recording, there are only 2 widgets on UI. Directly attaching them to window manager and making main UI layer fully transparent can reduce power consumption. Change-Id: I8c4f4768ab91d50fc72080f0f6d7316ee2e60ef4
* / Consider fractional value in zoom circle calculation.Santhosh Kumar H E2015-09-161-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
* Merge "SnapdragonCamera: Stop the longshot when the storage is full"Linux Build Service Account2015-09-091-3/+15
|\
| * SnapdragonCamera: Stop the longshot when the storage is fulllikaid2015-09-061-3/+15
| | | | | | | | | | | | | | | | | | | | | | The remainingPhotos was decreeased by 1 for each shot, when it came to 0, the longshot process was not stopped. When the remaining photos are less than 20, show "<20" for the remainingPhotos; When the storage is full, Stop the longshot process. Change-Id: Ifb1fb38f668132e1058f8a937afa9fa0b5afb5a7 CRs-Fixed: 893008
* | SnapdragonCamera: Hide camera controllers when review captured imagelikaid2015-09-081-0/+24
|/ | | | | | | | | | | | 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
* Revert "SnapdragonCamera: Improved panorama"Byunghun Jeon2015-08-121-0/+1
| | | | | | This reverts commit "SnapdragonCamera: Improved panorama" Change-Id: I7aef9427c218d06b78cbc097dd32a1629b5ab9d1
* SnapdragonCamera: Fix submenu icon not display in RTLlikaid2015-08-121-2/+2
| | | | | | | | Layout of submenu is not corret in RTL. Change linear layout to relative layout for this case. CRs-Fixed: 885928 Change-Id: Iaa7644cc4ccbf436cbd148a485abab2b9155ba5d
* SnapdragonCamera: Make camcorder switcher icon invisible.likaid2015-08-061-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: Improved panoramaByunghun Jeon2015-07-301-1/+0
| | | | | | | | Improved panorama with faster performance and low memory consumption. Also displays progress while taking panorama shot. Change-Id: I88ae1205f056ebe59129e65d69fcc44f46a5ab92 CRs-Fixed: 859274
* SnapdragonCamera: Fix FD roll_dir issueKrupal Divvela2015-07-221-13/+5
| | | | | | | Fix mouth position mismatch due to change sent due to wrong roll_dir. Change-Id: I5c3c4c8c74be6f055581656613a0703c596a42e5
* SnapdragonCamera: limit AF animation FPSLikai Ding2015-06-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 Zoom orientationByunghun Jeon2015-06-281-0/+8
| | | | | | Fix Zoom UI's orientation Change-Id: I9c14b08729e099c263d612289ccb8b7ed757168b
* SnapdragonCamera: fix crash after photo deletionLikai Ding2015-05-121-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
* Merge "SnapdragonCamera: fix camera preview broken when resume from gallery"Linux Build Service Account2015-04-141-6/+2
|\
| * SnapdragonCamera: fix camera preview broken when resume from gallerylikaid2015-03-231-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 face detection UI offset"Linux Build Service Account2015-04-031-2/+2
|\ \ | |/ |/|
| * SnapdragonCamera: Fix face detection UI offsetSanthosh Kumar H E2015-03-091-2/+2
| | | | | | | | | | | | Revert face detection UI offset on old UI. Change-Id: Idcc3bec22883ca6734ca6eb29c49169645c5300a
* | SnapdragonCamera: Add beautification feature to SnapdragonCamera.Zhang Zhenzhen2015-03-201-21/+102
| | | | | | | | Change-Id: Ie585527fc0b8679359753b3ff6245add3d1e5530
* | Merge "SnapdragonCamera: Fix preview broken when coming back from gallery"Linux Build Service Account2015-03-161-3/+4
|\ \
| * | SnapdragonCamera: Fix preview broken when coming back from galleryByunghun Jeon2015-03-101-3/+4
| |/ | | | | | | | | | | | | | | | | Fix preview broken when user goes to gallery using thumbnail in portrait, rotates to landscape in gallery and back key to come back to camera Change-Id: Ib9a8ce69bfbb85573cae55da79901705f726cc22 CRs-Fixed: 802169
* / SnapdragonCamera: Draw the mouth position according to the orientationlikaid2015-03-131-22/+21
|/ | | | | | | | | | The mouth position on FaceView wasn't right in landscape mode because the orientation didn't change when rotated device. Re-correct the position of mouth when the device orientation changed. Change-Id: I81115bda8636e24484f2bda55415ebc0fa0a1f9a CRs-Fixed: 792980
* Merge "SnapdragonCamera: don't hide count down title"Linux Build Service Account2015-02-251-4/+17
|\