summaryrefslogtreecommitdiff
path: root/src/com/android/camera/ui/CountDownView.java
Commit message (Collapse)AuthorAgeFilesLines
* Snap: chmod 0644Paul Keith2020-12-241-0/+0
| | | | Change-Id: I39c06bdd19d6e4a972f2ade976543781bf2bbe5d
* Fix use of deprecated SoundPool API in SnapJean-Michel Trivi2020-11-261-1/+19
| | | | | | | | | | | 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>
* Snapcam: Fix Hide APIs comiletaion issuesjinwu2020-05-281-5/+1
| | | | | | | 1.Remove non-used Hide APIs 2.Replace used Hide APIs Change-Id: I5a16b7f96d103022953845febf12fbb4eb596a5d
* 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
* 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
* 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
* SnapdragonCamera:Fix wrong Countdown tip positionjunjiez2016-11-221-3/+8
| | | | | | | | | The hight and width of CountDownTitle will be zero when it's not measured.Use screen width instead of its width and if its height is zero, measure it first,then get the height. Change-Id: I31a4aa5d4796f0b6f8085161e7eb60fcc07b2bbb CRs-Fixed: 1083455
* 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
* SnapdragonCamera: don't hide count down titleLikai Ding2015-02-171-4/+17
| | | | | | | | Don't hide count down title, instead, rotate and offset it to correct position. Change-Id: I31aca121bc7f8b5e672b6457e049c186ac1179d3 (cherry picked from commit 7023e606647cb5c2b60582a3755309565748f1fd)
* SnapdragonCamera: fix portrait orientationLikai Ding2015-02-021-0/+9
| | | | | | | | | | | | Fix camera activity to portrait, so there is no delay when rotation occurs. Main changes are: 1. RotateLayout now supports padding and dynamically added child. 2. Camera controls and gesture detetion are now orientation-aware. 3. Toasts are replaced with RotateTextToast. 4. Obselete layout files are removed. Change-Id: I338849bd7fb84b847eb357f771a24a5cc09bf6fa
* SnapdragonCamera: Fix menu is covered when count down take pictureJing (Mia) Wang2014-12-201-0/+15
| | | | | | | | | | | The textview of count down title layout is unreasonable, which lead to some view is covered by text. Modify the layout params of textview. CRs-Fixed: 773384 Change-Id: I4c6cd67dcc275730de1ad61396a86f3d7250b90b
* Rename module and package name to co-exist with AOSP appSachin Shah2014-08-161-1/+1
| | | | | | | | Rename package from com.android.camera2 to org.codeaurora.snapcam, module name from Camera2 to SnapdragonCamera and app name from "Camera" to "Snapdragon Camera" Change-Id: I2800070e72631e119a15fe0132424d1047be9f0c
* Camera2: optionally force count down soundLikai Ding2014-07-091-2/+6
| | | | | | | set count down sound as STREAM_SYSTEM_ENFORCED for carrier compliance Change-Id: Ie60bb4c7059ad8930be2c6650808107dcaaa22a2 CRs-Fixed: 684591
* This removes all non-Camera stuff from Camera2.Sascha Haeberling2013-08-061-1/+1
| | | | | | | Note: Camera2 is a clone of Gallery2 right now. Note 2: I will bring .mk files back later. Change-Id: Ida958654296f5ebaacb6bb0ff59d52a7c37ce6fc
* Remove com.android.camera.RJohn Reck2013-02-151-1/+1
| | | | Change-Id: I0bb03da1423401f872c3bf13caffb9c87d850449
* Move Camera Java/Native source into Gallery2Michael Kolb2013-01-291-0/+131
Change-Id: I968efe4d656e88a7760d3c0044f65b4adac2ddd1