summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui/PieRenderer.java
Commit message (Collapse)AuthorAgeFilesLines
* SnapdragonCamera: limit AF animation FPSLikai Ding2016-07-301-45/+43
| | | | | | | | | 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: Modify SnapdragonCamera UIByunghun Jeon2014-11-171-0/+3
| | | | | | Modified SnapdragonCamera setting menus with new icons Change-Id: I726296dfb100ac81ad6f1cd84420ae27c0ae1201
* 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
* Merge remote-tracking branch into merge_branchSanthosh Kumar H E2013-12-061-19/+40
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Delay onResume tasks to speed up lockscreen onResume->onPause->onResume launch sequence. Import translations. DO NOT MERGE gcam: Clean up placeholders, and add deletion robustness. Fix issue of focus indicator staying on without being hidden Ensure view size gets updated after phone decors change. Show the 100% state of the progress at least one frame. Add parameters and deduplicate parameter changes Revert parallel opening camera in photo mode. Differentiate the InProgressData from the normal PhotoData. Close mode menus if another control is touched Start gcam module directly when handling capture intent. Import translations. DO NOT MERGE Add a null check to fix NPE Add logging to various actions Ensure mOpenCameraThread has been setup before dereferencing. Add logging to various actions Ensure mOpenCameraThread has been setup before dereferencing. Add GCam progress indicator. hide preview cover on arrival of new preview data if hidden Fix photo mode is getting stuck in a single CameraState. ... Conflicts: res/layout/photo_module.xml res/values/arrays.xml src/com/android/camera/CameraActivity.java src/com/android/camera/PhotoUI.java src/com/android/camera/Storage.java src/com/android/camera/WideAnglePanoramaModule.java src/com/android/camera/ui/FilmStripView.java Change-Id: Ic41b4e7e07b2b0ed7936b78a6c5f05270d05985f
| * Fix issue of focus indicator staying on without being hiddenSascha Haeberling2013-11-131-3/+3
| | | | | | | | | | | | | | | | | | | | Bug: 11505806 A mix up in the previous 100% CL caused this. This CL here also makes it more robust by making the 100% extra time time-based instead of frame-based. Change-Id: I52c53d4b5816570c2c805e0e8ff193de684f2a64
| * Show the 100% state of the progress at least one frame.Sascha Haeberling2013-11-121-6/+28
| | | | | | | | | | | | Bug: 11505806 Change-Id: I5fe8456ff93cd50da53e022ac2cf2dd9ac633b2f
| * Add GCam progress indicator.Sascha Haeberling2013-11-071-13/+12
| | | | | | | | | | | | Bug: 11505806 Change-Id: I823c44b3761bb3c6dce56b1ec1b8d667023da820
* | Consider layout width for pie menu arc radiusSanthosh Kumar H E2013-11-141-1/+8
|/ | | | | | | | | | | | | Pie renderer arc radius was always constant and read from resource dimensions, irrespective of the screen width. Hence when there are more options, some of the options were getting rendered beyond the screen. In this code the value from dimensions is saved to a separate variable. During each layout change maximum value which can be rendered is set as arc radius. Change-Id: I893685d0e57c839ccbb96826c01208fa581fa7cc CRs-Fixed: 568052
* gcam: Fix AF spinner not to reset when changing positionIgor Murashkin2013-10-151-0/+1
| | | | | Bug: 10936156 Change-Id: If9b73415e95684e2acbcbc15457e865bd133f366
* This removes all non-Camera stuff from Camera2.Sascha Haeberling2013-08-061-4/+4
| | | | | | | Note: Camera2 is a clone of Gallery2 right now. Note 2: I will bring .mk files back later. Change-Id: Ida958654296f5ebaacb6bb0ff59d52a7c37ce6fc
* Use ValueAnimator to ensure callbacks get calledDoris Liu2013-07-111-79/+62
| | | | | Bug: 9597743 Change-Id: I6b119bb7a6f8bbba76ccc09c28293eb7b5a0457e
* Improve gesture handlingDoris Liu2013-05-311-0/+4
| | | | Change-Id: Ib1e18274480b6bb681bd06f3130f9b9ea198ea98
* Correct label position after rotationMichael Kolb2013-05-141-1/+1
| | | | | | Bug: 8963421 Change-Id: If361e0ca6f20612ec3baae74cde444bd26164ab3
* Add animation to slice selectionMichael Kolb2013-05-071-1/+47
| | | | | | Bug: 8826233 Change-Id: Ibe41c38e048546b66ea9aa56a664ba80de2fbd4c
* Set correct label text in tap modeMichael Kolb2013-05-061-0/+1
| | | | | | Bug: 8826229 Change-Id: I10b06ac04314beaf52fc8b29c9b10693eb11311b
* Remove empty slots from menuMichael Kolb2013-04-301-28/+32
| | | | | | | | | Bug: 8640131 When a specific camera doesn't support one of the menu options, the option is removed from the menu, no empty spot anymore. Change-Id: I002d6347c35cb0bfd5f71d880294f04f45ffb38f
* Don't render label on focus ringMichael Kolb2013-04-261-0/+4
| | | | | | Bug: 8719036 Change-Id: If783b96aaa8c56fceb98cb52fceb9a8afda0d59a
* Reset ongoing animation when opening menuMichael Kolb2013-04-241-0/+3
| | | | | | | | Bug: 8687199 The XFade animation was not reset and yielded a transparent alpha Change-Id: Ie2e43eccb2b4351ebf7d00075c567950ca6b2967
* More menu fixesMichael Kolb2013-04-221-5/+6
| | | | | | | | | Bug: 8660834 Add label dropshadow, reposition fixed menu Adjust dead zone and angle Change-Id: I7d62c03bcdcdec6268ef805f56114327f471b6d7
* Angle menu at edge of screenMichael Kolb2013-04-151-6/+34
| | | | | | | | Bug: 8618699 Adjust touch slices; adjust label position Change-Id: I5bbf16fc570eb9801198847991395699de89ffa3
* Add menu labelsMichael Kolb2013-04-151-1/+20
| | | | | | Bug: 8618169 Change-Id: Iea1ac7256450afd2870c144099459f32868c699f
* Fix NPE in PieRendererMichael Kolb2013-04-121-1/+1
| | | | | | Bug: 8579025 Change-Id: I1faaa4fc8a48e6abedca303e80dbf48d7b5e7574
* Adjust camera menu furtherMichael Kolb2013-04-031-76/+91
| | | | Change-Id: I7e062608a7ee8e16932209640bd50b1864336a40
* Pie design updateMichael Kolb2013-04-011-96/+204
| | | | Change-Id: Ifb0d50938332bdae50e45523850605d0aafed7fb
* Highlight menu selection betterMichael Kolb2013-02-271-23/+73
| | | | | | | Keep the selected slice highlighted longer before fading out Timing might need further adjusting Change-Id: I9c3febf4ad2b73f2c80d47259fa9cd7578445dd4
* Fix AF animationMichael Kolb2013-02-181-1/+1
| | | | | | Bug: 8219462 Change-Id: I9c39c70aad8f1ca6763acfc2d2a5ff5c918c71a5
* Remove com.android.camera.RJohn Reck2013-02-151-1/+1
| | | | Change-Id: I0bb03da1423401f872c3bf13caffb9c87d850449
* Move Camera Java/Native source into Gallery2Michael Kolb2013-01-291-0/+825
Change-Id: I968efe4d656e88a7760d3c0044f65b4adac2ddd1