From 4de149ceb47f2c251f646419907424bfb67d2b64 Mon Sep 17 00:00:00 2001 From: Owen Lin Date: Thu, 28 Jan 2010 16:10:19 -0800 Subject: The first runnable version of the new UI. 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 --- res/drawable-hdpi/ic_menuselect_flash_auto.png | Bin 0 -> 1559 bytes res/drawable-hdpi/ic_menuselect_flash_off.png | Bin 0 -> 1887 bytes res/drawable-hdpi/ic_menuselect_flash_on.png | Bin 0 -> 1083 bytes res/drawable-hdpi/ic_menuselect_focus_auto.png | Bin 0 -> 1371 bytes res/drawable-hdpi/ic_menuselect_focus_infinity.png | Bin 0 -> 996 bytes res/drawable-hdpi/ic_menuselect_focus_macro.png | Bin 0 -> 1463 bytes res/drawable-hdpi/ic_menuselect_gps_off.png | Bin 0 -> 2074 bytes res/drawable-hdpi/ic_menuselect_gps_on.png | Bin 0 -> 1385 bytes res/drawable-hdpi/ic_menuselect_off.png | Bin 0 -> 647 bytes res/drawable-hdpi/ic_menuselect_on.png | Bin 0 -> 859 bytes res/drawable-hdpi/ic_menuselect_settings.png | Bin 0 -> 1500 bytes res/drawable-hdpi/ic_menuselect_wb_auto.png | Bin 0 -> 1392 bytes res/drawable-hdpi/ic_menuselect_wb_cloudy.png | Bin 0 -> 913 bytes res/drawable-hdpi/ic_menuselect_wb_daylight.png | Bin 0 -> 1508 bytes res/drawable-hdpi/ic_menuselect_wb_fluorescent.png | Bin 0 -> 1563 bytes .../ic_menuselect_wb_incandescent.png | Bin 0 -> 1312 bytes res/drawable-hdpi/ic_viewfinder_flash_auto.png | Bin 2288 -> 1877 bytes res/drawable-hdpi/ic_viewfinder_flash_off.png | Bin 2985 -> 2422 bytes res/drawable-hdpi/ic_viewfinder_flash_on.png | Bin 1596 -> 1258 bytes res/drawable-hdpi/ic_viewfinder_focus_auto.png | Bin 0 -> 1580 bytes res/drawable-hdpi/ic_viewfinder_focus_infinity.png | Bin 1177 -> 1081 bytes res/drawable-hdpi/ic_viewfinder_focus_macro.png | Bin 2050 -> 1463 bytes res/drawable-hdpi/ic_viewfinder_gps_no_signal.png | Bin 0 -> 1615 bytes res/drawable-hdpi/ic_viewfinder_gps_off.png | Bin 0 -> 2529 bytes res/drawable-hdpi/ic_viewfinder_gps_on.png | Bin 0 -> 1745 bytes res/drawable-hdpi/ic_viewfinder_iconbar.9.png | Bin 0 -> 322 bytes .../ic_viewfinder_iconbar_highlight.9.png | Bin 0 -> 146 bytes res/drawable-hdpi/ic_viewfinder_settings.png | Bin 0 -> 1627 bytes res/drawable-hdpi/ic_viewfinder_wb_auto.png | Bin 0 -> 1710 bytes res/drawable-hdpi/ic_viewfinder_wb_cloudy.png | Bin 1094 -> 1012 bytes res/drawable-hdpi/ic_viewfinder_wb_daylight.png | Bin 2357 -> 1882 bytes res/drawable-hdpi/ic_viewfinder_wb_fluorescent.png | Bin 2027 -> 1875 bytes .../ic_viewfinder_wb_incandescent.png | Bin 1895 -> 1504 bytes res/drawable-hdpi/menu_popup.9.png | Bin 0 -> 2995 bytes res/drawable-hdpi/menu_popup_triangle.png | Bin 0 -> 1277 bytes res/drawable-hdpi/optionheader_background.9.png | Bin 0 -> 1180 bytes res/drawable-hdpi/optionitem_highlight.9.png | Bin 0 -> 1180 bytes res/drawable-hdpi/scrollbar_handle_vertical.9.png | Bin 0 -> 308 bytes res/drawable-hdpi/zoom_shape.png | Bin 0 -> 407 bytes res/drawable-hdpi/zoom_slider.png | Bin 0 -> 753 bytes res/drawable-hdpi/zoom_tickmarks.png | Bin 0 -> 259 bytes res/drawable-mdpi/ic_menuselect_flash_auto.png | Bin 0 -> 1110 bytes res/drawable-mdpi/ic_menuselect_flash_off.png | Bin 0 -> 1308 bytes res/drawable-mdpi/ic_menuselect_flash_on.png | Bin 0 -> 831 bytes res/drawable-mdpi/ic_menuselect_focus_auto.png | Bin 0 -> 1107 bytes res/drawable-mdpi/ic_menuselect_focus_infinity.png | Bin 0 -> 803 bytes res/drawable-mdpi/ic_menuselect_focus_macro.png | Bin 0 -> 900 bytes res/drawable-mdpi/ic_menuselect_gps_off.png | Bin 0 -> 1410 bytes res/drawable-mdpi/ic_menuselect_gps_on.png | Bin 0 -> 937 bytes res/drawable-mdpi/ic_menuselect_off.png | Bin 0 -> 586 bytes res/drawable-mdpi/ic_menuselect_on.png | Bin 0 -> 745 bytes res/drawable-mdpi/ic_menuselect_settings.png | Bin 0 -> 1074 bytes res/drawable-mdpi/ic_menuselect_wb_auto.png | Bin 0 -> 1031 bytes res/drawable-mdpi/ic_menuselect_wb_cloudy.png | Bin 0 -> 742 bytes res/drawable-mdpi/ic_menuselect_wb_daylight.png | Bin 0 -> 1098 bytes res/drawable-mdpi/ic_menuselect_wb_fluorescent.png | Bin 0 -> 1193 bytes .../ic_menuselect_wb_incandescent.png | Bin 0 -> 987 bytes res/drawable-mdpi/ic_viewfinder_flash_auto.png | Bin 1473 -> 1358 bytes res/drawable-mdpi/ic_viewfinder_flash_off.png | Bin 5416 -> 1775 bytes res/drawable-mdpi/ic_viewfinder_flash_on.png | Bin 1038 -> 975 bytes res/drawable-mdpi/ic_viewfinder_focus_auto.png | Bin 0 -> 1282 bytes res/drawable-mdpi/ic_viewfinder_focus_infinity.png | Bin 3670 -> 848 bytes res/drawable-mdpi/ic_viewfinder_focus_macro.png | Bin 4242 -> 900 bytes res/drawable-mdpi/ic_viewfinder_gps_no_signal.png | Bin 0 -> 1142 bytes res/drawable-mdpi/ic_viewfinder_gps_off.png | Bin 0 -> 1798 bytes res/drawable-mdpi/ic_viewfinder_gps_on.png | Bin 0 -> 1167 bytes res/drawable-mdpi/ic_viewfinder_iconbar.9.png | Bin 0 -> 322 bytes .../ic_viewfinder_iconbar_highlight.9.png | Bin 0 -> 146 bytes res/drawable-mdpi/ic_viewfinder_settings.png | Bin 0 -> 1155 bytes res/drawable-mdpi/ic_viewfinder_wb_auto.png | Bin 0 -> 1269 bytes res/drawable-mdpi/ic_viewfinder_wb_cloudy.png | Bin 3565 -> 776 bytes res/drawable-mdpi/ic_viewfinder_wb_daylight.png | Bin 4461 -> 1367 bytes res/drawable-mdpi/ic_viewfinder_wb_fluorescent.png | Bin 4243 -> 1446 bytes .../ic_viewfinder_wb_incandescent.png | Bin 4090 -> 1164 bytes res/drawable-mdpi/menu_popup.9.png | Bin 0 -> 2995 bytes res/drawable-mdpi/menu_popup_triangle.png | Bin 0 -> 1277 bytes res/drawable-mdpi/on_screen_hint_frame.9.png | Bin 4328 -> 2181 bytes res/drawable-mdpi/optionheader_background.9.png | Bin 0 -> 1180 bytes res/drawable-mdpi/optionitem_highlight.9.png | Bin 0 -> 1180 bytes res/drawable-mdpi/scrollbar_handle_vertical.9.png | Bin 0 -> 308 bytes res/drawable-mdpi/zoom_shape.png | Bin 0 -> 441 bytes res/drawable-mdpi/zoom_slider.png | Bin 0 -> 819 bytes res/drawable-mdpi/zoom_tickmarks.png | Bin 0 -> 407 bytes res/layout/camera.xml | 45 ++------------------- res/values/arrays.xml | 45 +++++++++++++-------- res/values/attrs.xml | 1 + res/values/colors.xml | 2 + res/xml/camera_preferences.xml | 7 +++- 88 files changed, 40 insertions(+), 60 deletions(-) create mode 100644 res/drawable-hdpi/ic_menuselect_flash_auto.png create mode 100644 res/drawable-hdpi/ic_menuselect_flash_off.png create mode 100644 res/drawable-hdpi/ic_menuselect_flash_on.png create mode 100644 res/drawable-hdpi/ic_menuselect_focus_auto.png create mode 100644 res/drawable-hdpi/ic_menuselect_focus_infinity.png create mode 100644 res/drawable-hdpi/ic_menuselect_focus_macro.png create mode 100644 res/drawable-hdpi/ic_menuselect_gps_off.png create mode 100644 res/drawable-hdpi/ic_menuselect_gps_on.png create mode 100644 res/drawable-hdpi/ic_menuselect_off.png create mode 100644 res/drawable-hdpi/ic_menuselect_on.png create mode 100644 res/drawable-hdpi/ic_menuselect_settings.png create mode 100644 res/drawable-hdpi/ic_menuselect_wb_auto.png create mode 100644 res/drawable-hdpi/ic_menuselect_wb_cloudy.png create mode 100644 res/drawable-hdpi/ic_menuselect_wb_daylight.png create mode 100644 res/drawable-hdpi/ic_menuselect_wb_fluorescent.png create mode 100644 res/drawable-hdpi/ic_menuselect_wb_incandescent.png mode change 100755 => 100644 res/drawable-hdpi/ic_viewfinder_flash_auto.png mode change 100755 => 100644 res/drawable-hdpi/ic_viewfinder_flash_on.png create mode 100644 res/drawable-hdpi/ic_viewfinder_focus_auto.png create mode 100644 res/drawable-hdpi/ic_viewfinder_gps_no_signal.png create mode 100644 res/drawable-hdpi/ic_viewfinder_gps_off.png create mode 100644 res/drawable-hdpi/ic_viewfinder_gps_on.png create mode 100644 res/drawable-hdpi/ic_viewfinder_iconbar.9.png create mode 100644 res/drawable-hdpi/ic_viewfinder_iconbar_highlight.9.png create mode 100644 res/drawable-hdpi/ic_viewfinder_settings.png create mode 100644 res/drawable-hdpi/ic_viewfinder_wb_auto.png create mode 100644 res/drawable-hdpi/menu_popup.9.png create mode 100644 res/drawable-hdpi/menu_popup_triangle.png create mode 100644 res/drawable-hdpi/optionheader_background.9.png create mode 100644 res/drawable-hdpi/optionitem_highlight.9.png create mode 100644 res/drawable-hdpi/scrollbar_handle_vertical.9.png create mode 100644 res/drawable-hdpi/zoom_shape.png create mode 100644 res/drawable-hdpi/zoom_slider.png create mode 100644 res/drawable-hdpi/zoom_tickmarks.png create mode 100644 res/drawable-mdpi/ic_menuselect_flash_auto.png create mode 100644 res/drawable-mdpi/ic_menuselect_flash_off.png create mode 100644 res/drawable-mdpi/ic_menuselect_flash_on.png create mode 100644 res/drawable-mdpi/ic_menuselect_focus_auto.png create mode 100644 res/drawable-mdpi/ic_menuselect_focus_infinity.png create mode 100644 res/drawable-mdpi/ic_menuselect_focus_macro.png create mode 100644 res/drawable-mdpi/ic_menuselect_gps_off.png create mode 100644 res/drawable-mdpi/ic_menuselect_gps_on.png create mode 100644 res/drawable-mdpi/ic_menuselect_off.png create mode 100644 res/drawable-mdpi/ic_menuselect_on.png create mode 100644 res/drawable-mdpi/ic_menuselect_settings.png create mode 100644 res/drawable-mdpi/ic_menuselect_wb_auto.png create mode 100644 res/drawable-mdpi/ic_menuselect_wb_cloudy.png create mode 100644 res/drawable-mdpi/ic_menuselect_wb_daylight.png create mode 100644 res/drawable-mdpi/ic_menuselect_wb_fluorescent.png create mode 100644 res/drawable-mdpi/ic_menuselect_wb_incandescent.png create mode 100644 res/drawable-mdpi/ic_viewfinder_focus_auto.png create mode 100644 res/drawable-mdpi/ic_viewfinder_gps_no_signal.png create mode 100644 res/drawable-mdpi/ic_viewfinder_gps_off.png create mode 100644 res/drawable-mdpi/ic_viewfinder_gps_on.png create mode 100644 res/drawable-mdpi/ic_viewfinder_iconbar.9.png create mode 100644 res/drawable-mdpi/ic_viewfinder_iconbar_highlight.9.png create mode 100644 res/drawable-mdpi/ic_viewfinder_settings.png create mode 100644 res/drawable-mdpi/ic_viewfinder_wb_auto.png create mode 100644 res/drawable-mdpi/menu_popup.9.png create mode 100644 res/drawable-mdpi/menu_popup_triangle.png create mode 100644 res/drawable-mdpi/optionheader_background.9.png create mode 100644 res/drawable-mdpi/optionitem_highlight.9.png create mode 100644 res/drawable-mdpi/scrollbar_handle_vertical.9.png create mode 100644 res/drawable-mdpi/zoom_shape.png create mode 100644 res/drawable-mdpi/zoom_slider.png create mode 100644 res/drawable-mdpi/zoom_tickmarks.png (limited to 'res') diff --git a/res/drawable-hdpi/ic_menuselect_flash_auto.png b/res/drawable-hdpi/ic_menuselect_flash_auto.png new file mode 100644 index 0000000..e229c35 Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_flash_auto.png differ diff --git a/res/drawable-hdpi/ic_menuselect_flash_off.png b/res/drawable-hdpi/ic_menuselect_flash_off.png new file mode 100644 index 0000000..cb00600 Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_flash_off.png differ diff --git a/res/drawable-hdpi/ic_menuselect_flash_on.png b/res/drawable-hdpi/ic_menuselect_flash_on.png new file mode 100644 index 0000000..710e9b7 Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_flash_on.png differ diff --git a/res/drawable-hdpi/ic_menuselect_focus_auto.png b/res/drawable-hdpi/ic_menuselect_focus_auto.png new file mode 100644 index 0000000..b99e9f5 Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_focus_auto.png differ diff --git a/res/drawable-hdpi/ic_menuselect_focus_infinity.png b/res/drawable-hdpi/ic_menuselect_focus_infinity.png new file mode 100644 index 0000000..5136816 Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_focus_infinity.png differ diff --git a/res/drawable-hdpi/ic_menuselect_focus_macro.png b/res/drawable-hdpi/ic_menuselect_focus_macro.png new file mode 100644 index 0000000..adbc25a Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_focus_macro.png differ diff --git a/res/drawable-hdpi/ic_menuselect_gps_off.png b/res/drawable-hdpi/ic_menuselect_gps_off.png new file mode 100644 index 0000000..a7af034 Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_gps_off.png differ diff --git a/res/drawable-hdpi/ic_menuselect_gps_on.png b/res/drawable-hdpi/ic_menuselect_gps_on.png new file mode 100644 index 0000000..39d2c38 Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_gps_on.png differ diff --git a/res/drawable-hdpi/ic_menuselect_off.png b/res/drawable-hdpi/ic_menuselect_off.png new file mode 100644 index 0000000..b883c8f Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_off.png differ diff --git a/res/drawable-hdpi/ic_menuselect_on.png b/res/drawable-hdpi/ic_menuselect_on.png new file mode 100644 index 0000000..24f5edf Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_on.png differ diff --git a/res/drawable-hdpi/ic_menuselect_settings.png b/res/drawable-hdpi/ic_menuselect_settings.png new file mode 100644 index 0000000..8f2d768 Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_settings.png differ diff --git a/res/drawable-hdpi/ic_menuselect_wb_auto.png b/res/drawable-hdpi/ic_menuselect_wb_auto.png new file mode 100644 index 0000000..3b30e36 Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_wb_auto.png differ diff --git a/res/drawable-hdpi/ic_menuselect_wb_cloudy.png b/res/drawable-hdpi/ic_menuselect_wb_cloudy.png new file mode 100644 index 0000000..ccd7948 Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_wb_cloudy.png differ diff --git a/res/drawable-hdpi/ic_menuselect_wb_daylight.png b/res/drawable-hdpi/ic_menuselect_wb_daylight.png new file mode 100644 index 0000000..815280b Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_wb_daylight.png differ diff --git a/res/drawable-hdpi/ic_menuselect_wb_fluorescent.png b/res/drawable-hdpi/ic_menuselect_wb_fluorescent.png new file mode 100644 index 0000000..886af77 Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_wb_fluorescent.png differ diff --git a/res/drawable-hdpi/ic_menuselect_wb_incandescent.png b/res/drawable-hdpi/ic_menuselect_wb_incandescent.png new file mode 100644 index 0000000..0b95bec Binary files /dev/null and b/res/drawable-hdpi/ic_menuselect_wb_incandescent.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_flash_auto.png b/res/drawable-hdpi/ic_viewfinder_flash_auto.png old mode 100755 new mode 100644 index 27968e7..0bf7495 Binary files a/res/drawable-hdpi/ic_viewfinder_flash_auto.png and b/res/drawable-hdpi/ic_viewfinder_flash_auto.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_flash_off.png b/res/drawable-hdpi/ic_viewfinder_flash_off.png index 4a8bb95..afcfbad 100644 Binary files a/res/drawable-hdpi/ic_viewfinder_flash_off.png and b/res/drawable-hdpi/ic_viewfinder_flash_off.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_flash_on.png b/res/drawable-hdpi/ic_viewfinder_flash_on.png old mode 100755 new mode 100644 index 71ee867..827c98f Binary files a/res/drawable-hdpi/ic_viewfinder_flash_on.png and b/res/drawable-hdpi/ic_viewfinder_flash_on.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_focus_auto.png b/res/drawable-hdpi/ic_viewfinder_focus_auto.png new file mode 100644 index 0000000..0a669cb Binary files /dev/null and b/res/drawable-hdpi/ic_viewfinder_focus_auto.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_focus_infinity.png b/res/drawable-hdpi/ic_viewfinder_focus_infinity.png index 82112fc..99f8638 100644 Binary files a/res/drawable-hdpi/ic_viewfinder_focus_infinity.png and b/res/drawable-hdpi/ic_viewfinder_focus_infinity.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_focus_macro.png b/res/drawable-hdpi/ic_viewfinder_focus_macro.png index 85d4a55..adbc25a 100644 Binary files a/res/drawable-hdpi/ic_viewfinder_focus_macro.png and b/res/drawable-hdpi/ic_viewfinder_focus_macro.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_gps_no_signal.png b/res/drawable-hdpi/ic_viewfinder_gps_no_signal.png new file mode 100644 index 0000000..4a0d016 Binary files /dev/null and b/res/drawable-hdpi/ic_viewfinder_gps_no_signal.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_gps_off.png b/res/drawable-hdpi/ic_viewfinder_gps_off.png new file mode 100644 index 0000000..64636b9 Binary files /dev/null and b/res/drawable-hdpi/ic_viewfinder_gps_off.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_gps_on.png b/res/drawable-hdpi/ic_viewfinder_gps_on.png new file mode 100644 index 0000000..be84985 Binary files /dev/null and b/res/drawable-hdpi/ic_viewfinder_gps_on.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_iconbar.9.png b/res/drawable-hdpi/ic_viewfinder_iconbar.9.png new file mode 100644 index 0000000..0cd4dfe Binary files /dev/null and b/res/drawable-hdpi/ic_viewfinder_iconbar.9.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_iconbar_highlight.9.png b/res/drawable-hdpi/ic_viewfinder_iconbar_highlight.9.png new file mode 100644 index 0000000..1b08fdf Binary files /dev/null and b/res/drawable-hdpi/ic_viewfinder_iconbar_highlight.9.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_settings.png b/res/drawable-hdpi/ic_viewfinder_settings.png new file mode 100644 index 0000000..1a53019 Binary files /dev/null and b/res/drawable-hdpi/ic_viewfinder_settings.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_wb_auto.png b/res/drawable-hdpi/ic_viewfinder_wb_auto.png new file mode 100644 index 0000000..cf24be4 Binary files /dev/null and b/res/drawable-hdpi/ic_viewfinder_wb_auto.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_wb_cloudy.png b/res/drawable-hdpi/ic_viewfinder_wb_cloudy.png index 9766f7b..fd6f2e1 100644 Binary files a/res/drawable-hdpi/ic_viewfinder_wb_cloudy.png and b/res/drawable-hdpi/ic_viewfinder_wb_cloudy.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_wb_daylight.png b/res/drawable-hdpi/ic_viewfinder_wb_daylight.png index 3ecebe6..e9706c3 100644 Binary files a/res/drawable-hdpi/ic_viewfinder_wb_daylight.png and b/res/drawable-hdpi/ic_viewfinder_wb_daylight.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_wb_fluorescent.png b/res/drawable-hdpi/ic_viewfinder_wb_fluorescent.png index 889f607..49b9ea6 100644 Binary files a/res/drawable-hdpi/ic_viewfinder_wb_fluorescent.png and b/res/drawable-hdpi/ic_viewfinder_wb_fluorescent.png differ diff --git a/res/drawable-hdpi/ic_viewfinder_wb_incandescent.png b/res/drawable-hdpi/ic_viewfinder_wb_incandescent.png index 0fce7ce..026bf14 100644 Binary files a/res/drawable-hdpi/ic_viewfinder_wb_incandescent.png and b/res/drawable-hdpi/ic_viewfinder_wb_incandescent.png differ diff --git a/res/drawable-hdpi/menu_popup.9.png b/res/drawable-hdpi/menu_popup.9.png new file mode 100644 index 0000000..534d3cf Binary files /dev/null and b/res/drawable-hdpi/menu_popup.9.png differ diff --git a/res/drawable-hdpi/menu_popup_triangle.png b/res/drawable-hdpi/menu_popup_triangle.png new file mode 100644 index 0000000..59e2f99 Binary files /dev/null and b/res/drawable-hdpi/menu_popup_triangle.png differ diff --git a/res/drawable-hdpi/optionheader_background.9.png b/res/drawable-hdpi/optionheader_background.9.png new file mode 100644 index 0000000..22991e7 Binary files /dev/null and b/res/drawable-hdpi/optionheader_background.9.png differ diff --git a/res/drawable-hdpi/optionitem_highlight.9.png b/res/drawable-hdpi/optionitem_highlight.9.png new file mode 100644 index 0000000..3a17a86 Binary files /dev/null and b/res/drawable-hdpi/optionitem_highlight.9.png differ diff --git a/res/drawable-hdpi/scrollbar_handle_vertical.9.png b/res/drawable-hdpi/scrollbar_handle_vertical.9.png new file mode 100644 index 0000000..3ec0791 Binary files /dev/null and b/res/drawable-hdpi/scrollbar_handle_vertical.9.png differ diff --git a/res/drawable-hdpi/zoom_shape.png b/res/drawable-hdpi/zoom_shape.png new file mode 100644 index 0000000..c12ce6b Binary files /dev/null and b/res/drawable-hdpi/zoom_shape.png differ diff --git a/res/drawable-hdpi/zoom_slider.png b/res/drawable-hdpi/zoom_slider.png new file mode 100644 index 0000000..6fcaecf Binary files /dev/null and b/res/drawable-hdpi/zoom_slider.png differ diff --git a/res/drawable-hdpi/zoom_tickmarks.png b/res/drawable-hdpi/zoom_tickmarks.png new file mode 100644 index 0000000..a4191d7 Binary files /dev/null and b/res/drawable-hdpi/zoom_tickmarks.png differ diff --git a/res/drawable-mdpi/ic_menuselect_flash_auto.png b/res/drawable-mdpi/ic_menuselect_flash_auto.png new file mode 100644 index 0000000..39e1eed Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_flash_auto.png differ diff --git a/res/drawable-mdpi/ic_menuselect_flash_off.png b/res/drawable-mdpi/ic_menuselect_flash_off.png new file mode 100644 index 0000000..44b6e95 Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_flash_off.png differ diff --git a/res/drawable-mdpi/ic_menuselect_flash_on.png b/res/drawable-mdpi/ic_menuselect_flash_on.png new file mode 100644 index 0000000..bb1343a Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_flash_on.png differ diff --git a/res/drawable-mdpi/ic_menuselect_focus_auto.png b/res/drawable-mdpi/ic_menuselect_focus_auto.png new file mode 100644 index 0000000..2eb28da Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_focus_auto.png differ diff --git a/res/drawable-mdpi/ic_menuselect_focus_infinity.png b/res/drawable-mdpi/ic_menuselect_focus_infinity.png new file mode 100644 index 0000000..c5f902e Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_focus_infinity.png differ diff --git a/res/drawable-mdpi/ic_menuselect_focus_macro.png b/res/drawable-mdpi/ic_menuselect_focus_macro.png new file mode 100644 index 0000000..dd3ecb3 Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_focus_macro.png differ diff --git a/res/drawable-mdpi/ic_menuselect_gps_off.png b/res/drawable-mdpi/ic_menuselect_gps_off.png new file mode 100644 index 0000000..6f36907 Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_gps_off.png differ diff --git a/res/drawable-mdpi/ic_menuselect_gps_on.png b/res/drawable-mdpi/ic_menuselect_gps_on.png new file mode 100644 index 0000000..19d4c85 Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_gps_on.png differ diff --git a/res/drawable-mdpi/ic_menuselect_off.png b/res/drawable-mdpi/ic_menuselect_off.png new file mode 100644 index 0000000..80baf0e Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_off.png differ diff --git a/res/drawable-mdpi/ic_menuselect_on.png b/res/drawable-mdpi/ic_menuselect_on.png new file mode 100644 index 0000000..1f027fd Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_on.png differ diff --git a/res/drawable-mdpi/ic_menuselect_settings.png b/res/drawable-mdpi/ic_menuselect_settings.png new file mode 100644 index 0000000..495d854 Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_settings.png differ diff --git a/res/drawable-mdpi/ic_menuselect_wb_auto.png b/res/drawable-mdpi/ic_menuselect_wb_auto.png new file mode 100644 index 0000000..65f5d18 Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_wb_auto.png differ diff --git a/res/drawable-mdpi/ic_menuselect_wb_cloudy.png b/res/drawable-mdpi/ic_menuselect_wb_cloudy.png new file mode 100644 index 0000000..1867c9b Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_wb_cloudy.png differ diff --git a/res/drawable-mdpi/ic_menuselect_wb_daylight.png b/res/drawable-mdpi/ic_menuselect_wb_daylight.png new file mode 100644 index 0000000..d16a930 Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_wb_daylight.png differ diff --git a/res/drawable-mdpi/ic_menuselect_wb_fluorescent.png b/res/drawable-mdpi/ic_menuselect_wb_fluorescent.png new file mode 100644 index 0000000..b788229 Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_wb_fluorescent.png differ diff --git a/res/drawable-mdpi/ic_menuselect_wb_incandescent.png b/res/drawable-mdpi/ic_menuselect_wb_incandescent.png new file mode 100644 index 0000000..af78583 Binary files /dev/null and b/res/drawable-mdpi/ic_menuselect_wb_incandescent.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_flash_auto.png b/res/drawable-mdpi/ic_viewfinder_flash_auto.png index 79e36b7..4a86340 100755 Binary files a/res/drawable-mdpi/ic_viewfinder_flash_auto.png and b/res/drawable-mdpi/ic_viewfinder_flash_auto.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_flash_off.png b/res/drawable-mdpi/ic_viewfinder_flash_off.png index d076636..830fb23 100644 Binary files a/res/drawable-mdpi/ic_viewfinder_flash_off.png and b/res/drawable-mdpi/ic_viewfinder_flash_off.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_flash_on.png b/res/drawable-mdpi/ic_viewfinder_flash_on.png index 91dfe24..8f600e5 100755 Binary files a/res/drawable-mdpi/ic_viewfinder_flash_on.png and b/res/drawable-mdpi/ic_viewfinder_flash_on.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_focus_auto.png b/res/drawable-mdpi/ic_viewfinder_focus_auto.png new file mode 100644 index 0000000..076b434 Binary files /dev/null and b/res/drawable-mdpi/ic_viewfinder_focus_auto.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_focus_infinity.png b/res/drawable-mdpi/ic_viewfinder_focus_infinity.png index afa0902..7eb90cb 100644 Binary files a/res/drawable-mdpi/ic_viewfinder_focus_infinity.png and b/res/drawable-mdpi/ic_viewfinder_focus_infinity.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_focus_macro.png b/res/drawable-mdpi/ic_viewfinder_focus_macro.png index e5c560f..dd3ecb3 100644 Binary files a/res/drawable-mdpi/ic_viewfinder_focus_macro.png and b/res/drawable-mdpi/ic_viewfinder_focus_macro.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_gps_no_signal.png b/res/drawable-mdpi/ic_viewfinder_gps_no_signal.png new file mode 100644 index 0000000..fbdea07 Binary files /dev/null and b/res/drawable-mdpi/ic_viewfinder_gps_no_signal.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_gps_off.png b/res/drawable-mdpi/ic_viewfinder_gps_off.png new file mode 100644 index 0000000..918c914 Binary files /dev/null and b/res/drawable-mdpi/ic_viewfinder_gps_off.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_gps_on.png b/res/drawable-mdpi/ic_viewfinder_gps_on.png new file mode 100644 index 0000000..4bbb47b Binary files /dev/null and b/res/drawable-mdpi/ic_viewfinder_gps_on.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_iconbar.9.png b/res/drawable-mdpi/ic_viewfinder_iconbar.9.png new file mode 100644 index 0000000..0cd4dfe Binary files /dev/null and b/res/drawable-mdpi/ic_viewfinder_iconbar.9.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_iconbar_highlight.9.png b/res/drawable-mdpi/ic_viewfinder_iconbar_highlight.9.png new file mode 100644 index 0000000..1b08fdf Binary files /dev/null and b/res/drawable-mdpi/ic_viewfinder_iconbar_highlight.9.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_settings.png b/res/drawable-mdpi/ic_viewfinder_settings.png new file mode 100644 index 0000000..8687eec Binary files /dev/null and b/res/drawable-mdpi/ic_viewfinder_settings.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_wb_auto.png b/res/drawable-mdpi/ic_viewfinder_wb_auto.png new file mode 100644 index 0000000..0f18ca5 Binary files /dev/null and b/res/drawable-mdpi/ic_viewfinder_wb_auto.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_wb_cloudy.png b/res/drawable-mdpi/ic_viewfinder_wb_cloudy.png index 2d02af3..8a45c53 100644 Binary files a/res/drawable-mdpi/ic_viewfinder_wb_cloudy.png and b/res/drawable-mdpi/ic_viewfinder_wb_cloudy.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_wb_daylight.png b/res/drawable-mdpi/ic_viewfinder_wb_daylight.png index 77e4a6e..35268a0 100644 Binary files a/res/drawable-mdpi/ic_viewfinder_wb_daylight.png and b/res/drawable-mdpi/ic_viewfinder_wb_daylight.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_wb_fluorescent.png b/res/drawable-mdpi/ic_viewfinder_wb_fluorescent.png index 3a5f6ef..acfd9a7 100644 Binary files a/res/drawable-mdpi/ic_viewfinder_wb_fluorescent.png and b/res/drawable-mdpi/ic_viewfinder_wb_fluorescent.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_wb_incandescent.png b/res/drawable-mdpi/ic_viewfinder_wb_incandescent.png index cddb4a1..fe5a60f 100644 Binary files a/res/drawable-mdpi/ic_viewfinder_wb_incandescent.png and b/res/drawable-mdpi/ic_viewfinder_wb_incandescent.png differ diff --git a/res/drawable-mdpi/menu_popup.9.png b/res/drawable-mdpi/menu_popup.9.png new file mode 100644 index 0000000..534d3cf Binary files /dev/null and b/res/drawable-mdpi/menu_popup.9.png differ diff --git a/res/drawable-mdpi/menu_popup_triangle.png b/res/drawable-mdpi/menu_popup_triangle.png new file mode 100644 index 0000000..59e2f99 Binary files /dev/null and b/res/drawable-mdpi/menu_popup_triangle.png differ diff --git a/res/drawable-mdpi/on_screen_hint_frame.9.png b/res/drawable-mdpi/on_screen_hint_frame.9.png index 08c4f86..8b78d67 100644 Binary files a/res/drawable-mdpi/on_screen_hint_frame.9.png and b/res/drawable-mdpi/on_screen_hint_frame.9.png differ diff --git a/res/drawable-mdpi/optionheader_background.9.png b/res/drawable-mdpi/optionheader_background.9.png new file mode 100644 index 0000000..22991e7 Binary files /dev/null and b/res/drawable-mdpi/optionheader_background.9.png differ diff --git a/res/drawable-mdpi/optionitem_highlight.9.png b/res/drawable-mdpi/optionitem_highlight.9.png new file mode 100644 index 0000000..3a17a86 Binary files /dev/null and b/res/drawable-mdpi/optionitem_highlight.9.png differ diff --git a/res/drawable-mdpi/scrollbar_handle_vertical.9.png b/res/drawable-mdpi/scrollbar_handle_vertical.9.png new file mode 100644 index 0000000..3ec0791 Binary files /dev/null and b/res/drawable-mdpi/scrollbar_handle_vertical.9.png differ diff --git a/res/drawable-mdpi/zoom_shape.png b/res/drawable-mdpi/zoom_shape.png new file mode 100644 index 0000000..c3155f7 Binary files /dev/null and b/res/drawable-mdpi/zoom_shape.png differ diff --git a/res/drawable-mdpi/zoom_slider.png b/res/drawable-mdpi/zoom_slider.png new file mode 100644 index 0000000..c9f7c5b Binary files /dev/null and b/res/drawable-mdpi/zoom_slider.png differ diff --git a/res/drawable-mdpi/zoom_tickmarks.png b/res/drawable-mdpi/zoom_tickmarks.png new file mode 100644 index 0000000..32f207e Binary files /dev/null and b/res/drawable-mdpi/zoom_tickmarks.png differ diff --git a/res/layout/camera.xml b/res/layout/camera.xml index d1c1336..1a451f4 100644 --- a/res/layout/camera.xml +++ b/res/layout/camera.xml @@ -25,10 +25,6 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1"> - - - - - - - - - + diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 33768b2..42b80f4 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -96,13 +96,13 @@ - @drawable/ic_viewfinder_empty - @drawable/ic_viewfinder_focus_infinity - @drawable/ic_viewfinder_focus_macro + @drawable/ic_menuselect_focus_auto + @drawable/ic_menuselect_focus_infinity + @drawable/ic_menuselect_focus_macro - @drawable/ic_viewfinder_empty + @drawable/ic_viewfinder_focus_auto @drawable/ic_viewfinder_focus_infinity @drawable/ic_viewfinder_focus_macro @@ -121,6 +121,12 @@ + @drawable/ic_menuselect_flash_auto + @drawable/ic_menuselect_flash_on + @drawable/ic_menuselect_flash_off + + + @drawable/ic_viewfinder_flash_auto @drawable/ic_viewfinder_flash_on @drawable/ic_viewfinder_flash_off @@ -138,8 +144,8 @@ - @drawable/ic_viewfinder_flash_on - @drawable/ic_viewfinder_flash_off + @drawable/ic_menuselect_flash_on + @drawable/ic_menuselect_flash_off @@ -152,6 +158,16 @@ @string/pref_camera_recordlocation_entry_on + + @drawable/ic_menuselect_gps_off + @drawable/ic_menuselect_gps_on + + + + @drawable/ic_viewfinder_gps_off + @drawable/ic_viewfinder_gps_on + + auto on @@ -173,11 +189,6 @@ on - - @drawable/ic_viewfinder_empty - @drawable/ic_camera_sym_gps - - @string/pref_camera_whitebalance_entry_auto @@ -196,15 +207,15 @@ - @drawable/ic_viewfinder_empty - @drawable/ic_viewfinder_wb_incandescent - @drawable/ic_viewfinder_wb_daylight - @drawable/ic_viewfinder_wb_fluorescent - @drawable/ic_viewfinder_wb_cloudy + @drawable/ic_menuselect_wb_auto + @drawable/ic_menuselect_wb_incandescent + @drawable/ic_menuselect_wb_daylight + @drawable/ic_menuselect_wb_fluorescent + @drawable/ic_menuselect_wb_cloudy - @drawable/ic_viewfinder_empty + @drawable/ic_viewfinder_wb_auto @drawable/ic_viewfinder_wb_incandescent @drawable/ic_viewfinder_wb_daylight @drawable/ic_viewfinder_wb_fluorescent diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 7a4f19d..74a6091 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -29,6 +29,7 @@ + diff --git a/res/values/colors.xml b/res/values/colors.xml index 7193b7c..a70d319 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -20,4 +20,6 @@ #FFFFFFFF #FFFF0033 + #992B2B2B + #00FFFFFF diff --git a/res/xml/camera_preferences.xml b/res/xml/camera_preferences.xml index 0eec3ab..7bbab46 100644 --- a/res/xml/camera_preferences.xml +++ b/res/xml/camera_preferences.xml @@ -23,6 +23,7 @@ camera:defaultValue="@string/pref_camera_flashmode_default" camera:title="@string/pref_camera_flashmode_title" camera:icons="@array/pref_camera_flashmode_icons" + camera:largeIcons="@array/flashmode_icons" camera:entries="@array/pref_camera_flashmode_entries" camera:entryValues="@array/pref_camera_flashmode_entryvalues" /> -