summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui/HeadUpDisplay.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge the indicator bar implementations.Chung-yih Wang2011-08-041-425/+0
| | | | | | | | | | | | bug:5039235 Originally we have the GLView-implemented indicators for Phone-based UI. Based on the current UI design, we would like to merge the look on all devices for the dialog of the camera setting. Therefore, a refactor of how to handle the popup window is required here and this will simplify our UI work for handling different layout/resolution. Change-Id: I6f9e6ebed7600be460ddd906505cdc44f81098ad
* Move share button beside thumbnail in phone UI.Wu-cheng Li2011-06-281-6/+0
| | | | | | bug:4725968 Change-Id: Iedd0b631b48bb30c27975ddc44923886e4b0d862
* Add share button for phone UI.Wu-cheng Li2011-05-261-2/+7
| | | | | | bug:4391419 Change-Id: I80c19f65d6f17733a9ccee6782bc035add12efc3
* Add restore default in other settings.Wu-cheng Li2010-12-081-5/+1
| | | | | | Also change the theme to Holo. bug:3156672 Change-Id: Ied6f2d3543c3a3282c62b2cc31e5cf4cc30c3172
* Rename some classes and method names to avoid confusion.Wu-cheng Li2010-11-041-4/+4
| | | | | bug:3156674 Change-Id: Ia907303880bf806e66431a527a6b778762296796
* Rename some classes to avoid confusion.Wu-cheng Li2010-10-241-2/+2
| | | | Change-Id: Ie6895470d3aadd0a53fb69a3048039b7d8b4c524
* am 73304ce3: Increse the max height of popup window.Wu-cheng Li2010-10-101-1/+1
|\ | | | | | | | | | | | | Merge commit '73304ce337208aa372836afa6edc4222a6dedde7' * commit '73304ce337208aa372836afa6edc4222a6dedde7': Increse the max height of popup window.
| * Increse the max height of popup window.Wu-cheng Li2010-10-081-1/+1
| | | | | | | | | | | | | | | | Some users do not know the other settings can scroll. Increase the height a little bit so the bottom breaks between two options. It looks more scrollable. Change-Id: I350a07831ccbd23cb8d2e8b8463fb5764affe61d
| * Add switch camera on-screen button. DO NOT MERGEWu-cheng Li2010-09-081-1/+4
| | | | | | | | Change-Id: I00895a9df69d2b29656075da1e03b1a1f684b107
* | Improve the scroll bar in GLList.Owen Lin2010-09-231-8/+6
| | | | | | | | Change-Id: I0d633fb7db7ea83445bf51b62f90dc5217eae746
* | Adding ui for setting frame capture interval.Nipun Kwatra2010-09-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently adding a bunch of discrete options for the user to choose from. - Modified BasicIndicator class to allow ListPreference as well as IconListPreference. - Modified addIndicator() in HeadUpDisplay to take ListPreference instead of IconListPreference. - Modified GpsIndicator::getIcon() to return BitmapTexture instead of ResourceTexture as its base class BasicIndicator does the same now. - Fixed default value of time lapse quality. Change-Id: I9f01d8c77e9a803219c4661e10731fabbecf65a9
* | Add switch camera on-screen button.Wu-cheng Li2010-09-081-1/+4
|/ | | | Change-Id: I1564fdf0f7f70f15278bdbdee6d9b5c8a6e683e0
* Use SharedPreferences$Editor.apply to reduce latency.Wu-cheng Li2010-09-081-1/+1
| | | | | | Replace all commit with apply. bug:2978683 Change-Id: I6c057fab588aada7c35d03f6237fb850d2a2e856
* Fix memory leak. Camera application is leaking activities.Wu-cheng Li2010-08-291-2/+2
| | | | | | | | | | | | | ComboPreferences.sMap (value) -->ComboPreference (field mListeners) -->HeadUpDisplay -->activities Make sure HeadUpDisplay is unregistered from ComboPreference listener list. bug:2949181 Change-Id: Ia0350afd6e9f23f92ce4b252a4b74709b4cd5bf7
* Support multiple camera preferences.Chih-Chung Chang2010-06-231-4/+4
| | | | Change-Id: I7c8440424c472c9ff61ac22692ce60234d359efe
* resolved conflicts for merge of ec1dfcb7 to krakenOwen Lin2010-05-141-0/+16
|\ | | | | | | Change-Id: I5ea57293d0b34f4189983c7a9851555bcf5f5232
| * Add copyright headers to source codes.Owen Lin2010-05-131-0/+16
| | | | | | | | | | | | Bug: 2680376 Change-Id: I4d0b297f2cee13bb03104996f020732713c61e03
* | Create a ColorTexture to draw pure color in GL.Owen Lin2010-05-131-2/+3
| | | | | | | | Change-Id: I9dfa69b6037397d01a43c976b2d02acb16f2af62
* | Handle events in the main thread and use GLThread only as a rendering thread.Owen Lin2010-05-101-101/+99
| | | | | | | | | | | | Coordinate the two threads by synchronizing on the GLRootView instance. Change-Id: I94459f6afeb468660df7219800bc48b621edecd4
* | Use our own EGLChooser so that we can fall back to use "copyImage2D" whenOwen Lin2010-05-071-2/+2
|/ | | | | | | | | stencil is not supported. Also fix an issue in GLListView due to a different behavior on Emulator, i.e., ACTION_MOVE won't be sent after ACTION_DOWN. Bug: 2538315 Change-Id: I8eb26794656b42df1c89e675bc153879920a7155
* Fix the ANR after switching between Camera and Camcorder.Owen Lin2010-04-081-25/+17
| | | | | | | | | | | | | The reason of this bug is we try to queue an event in the GLThread, but the thread has already dead when the GLRootView detacched from the window. So, we are waiting a task that will never be executed. I have seen a similar ANR in GLRootView.onTouch(), so I also fix the that issue in this change. Bug: 2559472 Change-Id: I49efd9ca01f1f6cce73320c31448ebaa7687469f
* Improve GLListView UI.Owen Lin2010-03-301-10/+8
| | | | | | | 1. Hide the scrollbar several seconds later. 2. Support fling operation now Change-Id: I5ab22c91f5781ae3bc4b5aa779407ee374eddaa4
* Fix the picture size settings doesn't get initialized issue.Owen Lin2010-03-191-1/+4
| | | | | Bug: 2524062 Change-Id: Ia1062a23572dce7acc00a6877b92d088bc62aae6
* More improvement on UI.Owen Lin2010-03-181-12/+38
| | | | | | | 1. Disable on-screen settings while video/camera is acting. 2. Reset exposure in onResume() Change-Id: I4a58ae9c1a2ecff6d3f504de48e2504c8d86c1f3
* Some more improvements of the UI.Owen Lin2010-03-181-1/+1
| | | | | | | | | | Use stencial test to draw popup-window Fix the ACTION_UP won't send to mMotionTarget Make the text color in Zoom indicator same as others Reset exposure compensation in onCreate Change-Id: I4ff7c3774fd0573cc6ac4a86dbeeb9588b587d0c
* Fix several UI issues.Owen Lin2010-03-161-17/+17
| | | | | | | | | | | 1. Remove the cross in border_last_picture 2. Remove the gripper in VideoCamera 3. Solve the popup triangle locate in wrong position 4. Remove the top and bottom borders of the preview frame in Camera 5. Rotate the on-screen indicators when orientation changed 6. Add the checking for the flash mode in VideoCamera Change-Id: I304ea3582d08c5e46ed750b7371588635a4d8009
* New UI for camcorder.Owen Lin2010-03-141-71/+8
| | | | Change-Id: Id35564836da7b4051662cccfd0920480421499b0
* Restore Settings.Owen Lin2010-03-141-27/+96
| | | | Change-Id: Ie5c26869151dd8959c122bf3c748d61420ac5c30
* Camera should have the com.android.camera package name.Romain Guy2010-03-101-1/+1
| | | | | | Related to bug #2464545 Change-Id: I08f5cce5b0df623fc62683bd9c9d4a1aa0694240
* Add the new ZoomController UI and also the exposure compensation settings.Owen Lin2010-03-101-5/+36
| | | | | | | | | Fix the bug that some MotionEvent of some actions should always pass to the component who accept the DOWN event. Also fix a bug that nine patch image will be drawn incorrectly after rotation. Change-Id: I8ab36fb6f958c1967afa11eed5f167842b59cada
* Unbundle: change camera package name.Chih-Chung Chang2010-03-081-1/+1
| | | | Change-Id: I9b101ea486f06be553104bc4879f5ec66ae014bc
* Add pixel density concept to the code. So, it draw about the same size onOwen Lin2010-03-071-10/+33
| | | | | | | | | | | | | | mdpi and hdpi devices. Update the UI assets for mdpi Fix a issue that GLSurfaceView didn't call onPause and onResume in Camera. Refactor. Improve the drawing and animation. Also fix the RawTexture unsupported operation bugs and the NullPointerException in GLRootView. Change-Id: I7aeadcad72d64a665828a6bb4f0f73e685fde632
* The first runnable version of the new UI.Owen Lin2010-02-261-0/+336
Implement the new UI with OpenGL (GLSurfaceView). Known issues: * Texture are never freed from GL * Do not consider the density of screen. Currently, the dimensions in mdpi devices are wrong. * It won't work on Sapphire, bug fired: Bug: 2473605 * The action UP event may pass a wrong target. (It should pass to the same target who recive the DOWN action. * Animation is not smooth enough. * Should not allocate objects into heap during rendering path. * The scrollbar in GLListView doesn't match the design * We should calculate our own orientation instead of using the system one. * Regression: "restore to default settings" is removed Change-Id: I93fa45831aa87787dd5ee9e43e270a9d786c5a2a