summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/PreviewFrameLayout.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix 5521540: UI Tweaks.Chih-Chung Chang2011-11-031-2/+5
| | | | | | | | | | | | - draw fan-shaped semi-transparent area on the indicator wheel. - change selected indicator color - remove video mode black border - set activity background to black - update assets - don't gray out unselected modes in mode picker (tablet) - set ok/cancel icons to 32dp, font to 12sp bold Change-Id: Iedc43dca29d1943965caf2d36cce176d8e509547
* Make PreviewFrameLayout and ControlPanelLayout work in potrait mode.Wu-cheng Li2011-10-271-4/+10
| | | | | | | | + Move tablet resource to sw600dp and sw800dp bug:5446617 Change-Id: Iaf2a442e621ed071d7639972a529dd263e3ce628
* Fix indicator bar height in video mode.Chung-yih Wang2011-09-191-47/+25
| | | | | bug:5287560 Change-Id: I000d11aa3974e1d48d18f4dcf6ec31166f6ef8ec
* Put a red border around the viewfinder during video snapshot.Wu-cheng Li2011-09-091-15/+20
| | | | | | | | Also remove the viewfinder border in all other cases. bug:5187868 Change-Id: I4164fc9b0b62268b80496c71058466e03cbf0aa3
* Remove unused files.Wu-cheng Li2011-08-151-11/+0
| | | | Change-Id: I8f7c34ddb1ffa1455131c51ff7d6522f3d94e402
* Refactor preview frame layout.Wu-cheng Li2011-05-121-21/+15
| | | | Change-Id: Ief0acb3841078a36974e315054110bd9070a1f3f
* Remove unused code and resource.Wu-cheng Li2011-05-121-13/+0
| | | | Change-Id: Ia6d98847716ef187eefd05758c5c61b530967b27
* Increase camera preview frame size and other changes.Hung-ying Tyan2010-11-261-1/+10
| | | | | | | | | | | | | | | + Increase camera preview frame size and align it to the left of the screen. + Move thumbnail to the lower left corner of the preview frame. + Move GPS indicator to the lower right corner of the preview frame. + Replace LinearLayout and negative margin with RelativeLayout. + Revise the look of the settings wheel based on new UI mock. + Add border to preview frame. + Make settings popup windows align with an invisible view in the root view. This makes it easier to adjust the location of the popup windows. Bug: 3156693 Change-Id: I8843fec803f8418699df7e425ea74af708b4ea99
* Add front/back camera switchChung-yih Wang2010-11-251-2/+16
| | | | | bug:3156676 Change-Id: I8a5394aefa068cb099b89c5739abf0cfd78591a9
* Add background for indicator wheel.Wu-cheng Li2010-11-171-0/+1
| | | | | bug:3156688 Change-Id: I91465730cc2ac9c586122573c1ac73ba48cc0cc9
* Move camera UI elements to their own xml files.Hung-ying Tyan2010-11-121-1/+1
| | | | | | | | | | | | | | | | | | | | | Hopefully with this CL, the code doesn't need to worry about the placement of the UI elements. Change details: + Move preview frame out of camera.xml and video_camera.xml. --> create preview_frame.xml and preview_frame_video.xml in both layout/ and layout-xlarge/. + Move thumbnail list view out of camera.xml and video_camera.xml. --> create thumbnail_list.xml in layout-xlarge/. + Make camera.xml and video_camera.xml a pure container which includes other UI elements. + Create camera_attach.xml and video_camera_attach.xml for the attachment scenario with its own camera control and no thumbnail list. + Camera and VideoCamera are modified accordingly. + Remove redundant RelativeLayout container in camera_control.xml. + Also fix a layout bug in PreviewFrameLayout.java. Change-Id: Ief556c9aa77b0322312bb46ce1d274df3a26aa4d
* Change setting picker to popup window.Wu-cheng Li2010-11-121-2/+1
| | | | | | | UI was re-designed. bug:3156666 Change-Id: Id40fab084f59cdeca8e2991dc8b3768fcac8e0bf
* Add new layout file for camera.Hung-ying Tyan2010-11-091-4/+4
| | | | | | | | | | + Copied the layout file from res/layout and put it in res/layout-xlarge. + Changed FrameLayout to RelativeLayout in the new layout file. + Replace FrameLayout with View/ViewGroup in the code as it's not layout specific. Bug: 3156684 (in progress) Change-Id: Ife35528c08bc0e35793a0ff645ec9a7260c842c1
* Fix wrong aspect ratio of camera preview.Wu-cheng Li2010-10-181-13/+2
| | | | | | | | | Surface view must match the preview size ratio. Deduct all paddings while calculating the width and height of surface view. bug:3104492 Change-Id: I0d87a1c531f51fe74dd62b59f32dc40b1d1fb84d
* Remove unused resources and code.Owen Lin2010-04-071-3/+0
| | | | Change-Id: I394352f9da02d2585b2635e07c96bfa1c942d070
* Fix several UI issues.Owen Lin2010-03-161-57/+24
| | | | | | | | | | | 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
* Camera should have the com.android.camera package name.Romain Guy2010-03-101-1/+1
| | | | | | Related to bug #2464545 Change-Id: I08f5cce5b0df623fc62683bd9c9d4a1aa0694240
* Unbundle: change camera package name.Chih-Chung Chang2010-03-081-0/+2
| | | | Change-Id: I9b101ea486f06be553104bc4879f5ec66ae014bc
* Clean up and add comments for classes.Chih-Chung Chang2009-11-031-0/+5
|
* Fine tune some UI stuff.Cheng-Ru Lin2009-09-301-2/+9
| | | | | | | | | | | | | 1. Use no animation between camera / review mode. Thus, we must have same layout for three types of control panel. 2. Since we have better algorithm to calculate the preview size. Let the gripper be the same in mdpi and hdpi devices. 3. Keep some border on the right size of image view. Otherwise, it looks odds in HVGA devices. Change-Id: I65b13222cace230f09e6b33f311fd2b79758e93e
* Fix http://b/2144865 by re-positioning the on-screen setting when the size ↵Wei-Ta Chen2009-09-291-0/+13
| | | | of preview frame is changed.
* Resize the preview frame as large as possible.Cheng-Ru Lin2009-09-291-0/+123
Now, we will calculate the layout by ourselves in PreviewFrameLayout. Change-Id: I90f91f9df6d2f75fbd31fc930af624a84820bc95