From 281be5337852cb4b5d24e0a0440c426cb96bbebd Mon Sep 17 00:00:00 2001 From: Owen Lin Date: Wed, 3 Mar 2010 21:12:40 +0800 Subject: Add pixel density concept to the code. So, it draw about the same size on 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 --- res/drawable-mdpi/ic_menuselect_flash_auto.png | Bin 1110 -> 990 bytes res/drawable-mdpi/ic_menuselect_flash_off.png | Bin 1308 -> 1177 bytes res/drawable-mdpi/ic_menuselect_flash_on.png | Bin 831 -> 733 bytes res/drawable-mdpi/ic_menuselect_focus_auto.png | Bin 1107 -> 868 bytes res/drawable-mdpi/ic_menuselect_focus_infinity.png | Bin 803 -> 617 bytes res/drawable-mdpi/ic_menuselect_focus_macro.png | Bin 900 -> 887 bytes res/drawable-mdpi/ic_menuselect_gps_off.png | Bin 1410 -> 1217 bytes res/drawable-mdpi/ic_menuselect_gps_on.png | Bin 937 -> 828 bytes res/drawable-mdpi/ic_menuselect_settings.png | Bin 1074 -> 932 bytes res/drawable-mdpi/ic_menuselect_wb_auto.png | Bin 1031 -> 904 bytes res/drawable-mdpi/ic_menuselect_wb_cloudy.png | Bin 742 -> 619 bytes res/drawable-mdpi/ic_menuselect_wb_daylight.png | Bin 1098 -> 887 bytes res/drawable-mdpi/ic_menuselect_wb_fluorescent.png | Bin 1193 -> 994 bytes res/drawable-mdpi/ic_menuselect_wb_incandescent.png | Bin 987 -> 854 bytes res/drawable-mdpi/ic_viewfinder_flash_auto.png | Bin 1358 -> 1178 bytes res/drawable-mdpi/ic_viewfinder_flash_off.png | Bin 1775 -> 1559 bytes res/drawable-mdpi/ic_viewfinder_flash_on.png | Bin 975 -> 891 bytes res/drawable-mdpi/ic_viewfinder_focus_auto.png | Bin 1282 -> 975 bytes res/drawable-mdpi/ic_viewfinder_focus_infinity.png | Bin 848 -> 689 bytes res/drawable-mdpi/ic_viewfinder_gps_no_signal.png | Bin 1142 -> 790 bytes res/drawable-mdpi/ic_viewfinder_gps_off.png | Bin 1798 -> 1525 bytes res/drawable-mdpi/ic_viewfinder_gps_on.png | Bin 1167 -> 1045 bytes res/drawable-mdpi/ic_viewfinder_iconbar.9.png | Bin 322 -> 288 bytes res/drawable-mdpi/ic_viewfinder_settings.png | Bin 1155 -> 1017 bytes res/drawable-mdpi/ic_viewfinder_video_high.png | Bin 0 -> 808 bytes res/drawable-mdpi/ic_viewfinder_video_low.png | Bin 0 -> 676 bytes res/drawable-mdpi/ic_viewfinder_video_mms.png | Bin 0 -> 821 bytes res/drawable-mdpi/ic_viewfinder_video_youtube.png | Bin 0 -> 1072 bytes res/drawable-mdpi/ic_viewfinder_wb_auto.png | Bin 1269 -> 1067 bytes res/drawable-mdpi/ic_viewfinder_wb_cloudy.png | Bin 776 -> 649 bytes res/drawable-mdpi/ic_viewfinder_wb_daylight.png | Bin 1367 -> 1209 bytes res/drawable-mdpi/ic_viewfinder_wb_fluorescent.png | Bin 1446 -> 1172 bytes res/drawable-mdpi/ic_viewfinder_wb_incandescent.png | Bin 1164 -> 958 bytes res/drawable-mdpi/menu_popup.9.png | Bin 2995 -> 1728 bytes res/drawable-mdpi/menu_popup_triangle.png | Bin 1277 -> 994 bytes 35 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 res/drawable-mdpi/ic_viewfinder_flash_auto.png mode change 100755 => 100644 res/drawable-mdpi/ic_viewfinder_flash_on.png create mode 100644 res/drawable-mdpi/ic_viewfinder_video_high.png create mode 100644 res/drawable-mdpi/ic_viewfinder_video_low.png create mode 100644 res/drawable-mdpi/ic_viewfinder_video_mms.png create mode 100644 res/drawable-mdpi/ic_viewfinder_video_youtube.png (limited to 'res/drawable-mdpi') diff --git a/res/drawable-mdpi/ic_menuselect_flash_auto.png b/res/drawable-mdpi/ic_menuselect_flash_auto.png index 39e1eed..1967233 100644 Binary files a/res/drawable-mdpi/ic_menuselect_flash_auto.png 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 index 44b6e95..973ef41 100644 Binary files a/res/drawable-mdpi/ic_menuselect_flash_off.png 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 index bb1343a..fe9eaac 100644 Binary files a/res/drawable-mdpi/ic_menuselect_flash_on.png 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 index 2eb28da..324c4b9 100644 Binary files a/res/drawable-mdpi/ic_menuselect_focus_auto.png 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 index c5f902e..f538e3c 100644 Binary files a/res/drawable-mdpi/ic_menuselect_focus_infinity.png 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 index dd3ecb3..0de79ce 100644 Binary files a/res/drawable-mdpi/ic_menuselect_focus_macro.png 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 index 6f36907..29532f7 100644 Binary files a/res/drawable-mdpi/ic_menuselect_gps_off.png 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 index 19d4c85..ed19e00 100644 Binary files a/res/drawable-mdpi/ic_menuselect_gps_on.png and b/res/drawable-mdpi/ic_menuselect_gps_on.png differ diff --git a/res/drawable-mdpi/ic_menuselect_settings.png b/res/drawable-mdpi/ic_menuselect_settings.png index 495d854..6dbc1d7 100644 Binary files a/res/drawable-mdpi/ic_menuselect_settings.png 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 index 65f5d18..2a05a53 100644 Binary files a/res/drawable-mdpi/ic_menuselect_wb_auto.png 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 index 1867c9b..2baf25e 100644 Binary files a/res/drawable-mdpi/ic_menuselect_wb_cloudy.png 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 index d16a930..4f27f2b 100644 Binary files a/res/drawable-mdpi/ic_menuselect_wb_daylight.png 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 index b788229..8ed26a1 100644 Binary files a/res/drawable-mdpi/ic_menuselect_wb_fluorescent.png 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 index af78583..d20734d 100644 Binary files a/res/drawable-mdpi/ic_menuselect_wb_incandescent.png 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 old mode 100755 new mode 100644 index 4a86340..fd73fe1 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 830fb23..b2c0516 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 old mode 100755 new mode 100644 index 8f600e5..1641aa1 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 index 076b434..efea6be 100644 Binary files a/res/drawable-mdpi/ic_viewfinder_focus_auto.png 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 7eb90cb..7bb4485 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_gps_no_signal.png b/res/drawable-mdpi/ic_viewfinder_gps_no_signal.png index fbdea07..d851241 100644 Binary files a/res/drawable-mdpi/ic_viewfinder_gps_no_signal.png 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 index 918c914..7ea537b 100644 Binary files a/res/drawable-mdpi/ic_viewfinder_gps_off.png 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 index 4bbb47b..660faea 100644 Binary files a/res/drawable-mdpi/ic_viewfinder_gps_on.png 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 index 0cd4dfe..9858303 100644 Binary files a/res/drawable-mdpi/ic_viewfinder_iconbar.9.png and b/res/drawable-mdpi/ic_viewfinder_iconbar.9.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_settings.png b/res/drawable-mdpi/ic_viewfinder_settings.png index 8687eec..49b6ec9 100644 Binary files a/res/drawable-mdpi/ic_viewfinder_settings.png and b/res/drawable-mdpi/ic_viewfinder_settings.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_video_high.png b/res/drawable-mdpi/ic_viewfinder_video_high.png new file mode 100644 index 0000000..e14c7c9 Binary files /dev/null and b/res/drawable-mdpi/ic_viewfinder_video_high.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_video_low.png b/res/drawable-mdpi/ic_viewfinder_video_low.png new file mode 100644 index 0000000..1a706bc Binary files /dev/null and b/res/drawable-mdpi/ic_viewfinder_video_low.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_video_mms.png b/res/drawable-mdpi/ic_viewfinder_video_mms.png new file mode 100644 index 0000000..d952551 Binary files /dev/null and b/res/drawable-mdpi/ic_viewfinder_video_mms.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_video_youtube.png b/res/drawable-mdpi/ic_viewfinder_video_youtube.png new file mode 100644 index 0000000..c58037e Binary files /dev/null and b/res/drawable-mdpi/ic_viewfinder_video_youtube.png differ diff --git a/res/drawable-mdpi/ic_viewfinder_wb_auto.png b/res/drawable-mdpi/ic_viewfinder_wb_auto.png index 0f18ca5..2cfceef 100644 Binary files a/res/drawable-mdpi/ic_viewfinder_wb_auto.png 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 8a45c53..5f5e3d5 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 35268a0..f5ea586 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 acfd9a7..b71b74a 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 fe5a60f..64364ba 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 index 534d3cf..3e197a1 100644 Binary files a/res/drawable-mdpi/menu_popup.9.png 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 index 59e2f99..4262398 100644 Binary files a/res/drawable-mdpi/menu_popup_triangle.png and b/res/drawable-mdpi/menu_popup_triangle.png differ -- cgit v1.1