diff options
138 files changed, 54 insertions, 44 deletions
diff --git a/res/drawable-hdpi/apps_customize_bg.png b/res/drawable-hdpi/apps_customize_bg.png Binary files differindex 81768d7..2847467 100644 --- a/res/drawable-hdpi/apps_customize_bg.png +++ b/res/drawable-hdpi/apps_customize_bg.png diff --git a/res/drawable-hdpi/apps_hotseat_button.png b/res/drawable-hdpi/apps_hotseat_button.png Binary files differindex c459ba8..15e66db 100644 --- a/res/drawable-hdpi/apps_hotseat_button.png +++ b/res/drawable-hdpi/apps_hotseat_button.png diff --git a/res/drawable-hdpi/bg_appwidget_error.9.png b/res/drawable-hdpi/bg_appwidget_error.9.png Binary files differindex 59d9822..4da3195 100644 --- a/res/drawable-hdpi/bg_appwidget_error.9.png +++ b/res/drawable-hdpi/bg_appwidget_error.9.png diff --git a/res/drawable-hdpi/divider_launcher_holo.9.png b/res/drawable-hdpi/divider_launcher_holo.9.png Binary files differindex 0a1bd2a..3b7f000 100644 --- a/res/drawable-hdpi/divider_launcher_holo.9.png +++ b/res/drawable-hdpi/divider_launcher_holo.9.png diff --git a/res/drawable-hdpi/focused_bg.9.png b/res/drawable-hdpi/focused_bg.9.png Binary files differindex 1b0d3fa..b118be1 100644 --- a/res/drawable-hdpi/focused_bg.9.png +++ b/res/drawable-hdpi/focused_bg.9.png diff --git a/res/drawable-hdpi/gardening_crosshairs.png b/res/drawable-hdpi/gardening_crosshairs.png Binary files differindex 5f83592..d2d263c 100644 --- a/res/drawable-hdpi/gardening_crosshairs.png +++ b/res/drawable-hdpi/gardening_crosshairs.png diff --git a/res/drawable-hdpi/home_press.9.png b/res/drawable-hdpi/home_press.9.png Binary files differindex 743880b..ef07011 100644 --- a/res/drawable-hdpi/home_press.9.png +++ b/res/drawable-hdpi/home_press.9.png diff --git a/res/drawable-hdpi/homescreen_blue_normal_holo.9.png b/res/drawable-hdpi/homescreen_blue_normal_holo.9.png Binary files differindex ece2afd..2710696 100644 --- a/res/drawable-hdpi/homescreen_blue_normal_holo.9.png +++ b/res/drawable-hdpi/homescreen_blue_normal_holo.9.png diff --git a/res/drawable-hdpi/homescreen_green_normal_holo.9.png b/res/drawable-hdpi/homescreen_green_normal_holo.9.png Binary files differindex 7332c3b..677250c 100644 --- a/res/drawable-hdpi/homescreen_green_normal_holo.9.png +++ b/res/drawable-hdpi/homescreen_green_normal_holo.9.png diff --git a/res/drawable-hdpi/homescreen_green_strong_holo.9.png b/res/drawable-hdpi/homescreen_green_strong_holo.9.png Binary files differindex 190c6cc..74f4dad 100644 --- a/res/drawable-hdpi/homescreen_green_strong_holo.9.png +++ b/res/drawable-hdpi/homescreen_green_strong_holo.9.png diff --git a/res/drawable-hdpi/homescreen_small_blue.9.png b/res/drawable-hdpi/homescreen_small_blue.9.png Binary files differindex ddc458b..700fadc 100644 --- a/res/drawable-hdpi/homescreen_small_blue.9.png +++ b/res/drawable-hdpi/homescreen_small_blue.9.png diff --git a/res/drawable-hdpi/homescreen_small_blue_strong.9.png b/res/drawable-hdpi/homescreen_small_blue_strong.9.png Binary files differindex 8f5a74e..6eab8f2 100644 --- a/res/drawable-hdpi/homescreen_small_blue_strong.9.png +++ b/res/drawable-hdpi/homescreen_small_blue_strong.9.png diff --git a/res/drawable-hdpi/homescreen_small_green.9.png b/res/drawable-hdpi/homescreen_small_green.9.png Binary files differindex 00baae9..6e7090b 100644 --- a/res/drawable-hdpi/homescreen_small_green.9.png +++ b/res/drawable-hdpi/homescreen_small_green.9.png diff --git a/res/drawable-hdpi/homescreen_small_green_strong.9.png b/res/drawable-hdpi/homescreen_small_green_strong.9.png Binary files differindex 77baa52..db1027e 100644 --- a/res/drawable-hdpi/homescreen_small_green_strong.9.png +++ b/res/drawable-hdpi/homescreen_small_green_strong.9.png diff --git a/res/drawable-hdpi/hotseat_track_holo.9.png b/res/drawable-hdpi/hotseat_track_holo.9.png Binary files differindex f49344f..2ce4967 100644 --- a/res/drawable-hdpi/hotseat_track_holo.9.png +++ b/res/drawable-hdpi/hotseat_track_holo.9.png diff --git a/res/drawable-hdpi/ic_home_all_apps_holo_dark.png b/res/drawable-hdpi/ic_home_all_apps_holo_dark.png Binary files differindex 3c7930f..a0bfc0f 100644 --- a/res/drawable-hdpi/ic_home_all_apps_holo_dark.png +++ b/res/drawable-hdpi/ic_home_all_apps_holo_dark.png diff --git a/res/drawable-hdpi/ic_launcher_application.png b/res/drawable-hdpi/ic_launcher_application.png Binary files differindex 8074c4c..882eb14 100644 --- a/res/drawable-hdpi/ic_launcher_application.png +++ b/res/drawable-hdpi/ic_launcher_application.png diff --git a/res/drawable-hdpi/ic_launcher_appwidget.png b/res/drawable-hdpi/ic_launcher_appwidget.png Binary files differindex 3dc8b20..13513e0 100644 --- a/res/drawable-hdpi/ic_launcher_appwidget.png +++ b/res/drawable-hdpi/ic_launcher_appwidget.png diff --git a/res/drawable-hdpi/ic_launcher_home.png b/res/drawable-hdpi/ic_launcher_home.png Binary files differindex 74f6bd7..8945ada 100644 --- a/res/drawable-hdpi/ic_launcher_home.png +++ b/res/drawable-hdpi/ic_launcher_home.png diff --git a/res/drawable-hdpi/ic_launcher_info_active_holo.png b/res/drawable-hdpi/ic_launcher_info_active_holo.png Binary files differindex 83ca112..c534e56 100644 --- a/res/drawable-hdpi/ic_launcher_info_active_holo.png +++ b/res/drawable-hdpi/ic_launcher_info_active_holo.png diff --git a/res/drawable-hdpi/ic_launcher_info_normal_holo.png b/res/drawable-hdpi/ic_launcher_info_normal_holo.png Binary files differindex 25fb1ac..c9bcd7f 100644 --- a/res/drawable-hdpi/ic_launcher_info_normal_holo.png +++ b/res/drawable-hdpi/ic_launcher_info_normal_holo.png diff --git a/res/drawable-hdpi/ic_launcher_trashcan_active_holo.png b/res/drawable-hdpi/ic_launcher_trashcan_active_holo.png Binary files differindex 51f0298..82b1b59 100644 --- a/res/drawable-hdpi/ic_launcher_trashcan_active_holo.png +++ b/res/drawable-hdpi/ic_launcher_trashcan_active_holo.png diff --git a/res/drawable-hdpi/ic_launcher_trashcan_normal_holo.png b/res/drawable-hdpi/ic_launcher_trashcan_normal_holo.png Binary files differindex 27a4b5e..3fc2e83 100644 --- a/res/drawable-hdpi/ic_launcher_trashcan_normal_holo.png +++ b/res/drawable-hdpi/ic_launcher_trashcan_normal_holo.png diff --git a/res/drawable-hdpi/ic_launcher_wallpaper.png b/res/drawable-hdpi/ic_launcher_wallpaper.png Binary files differindex dcd8709..5c8ee24 100644 --- a/res/drawable-hdpi/ic_launcher_wallpaper.png +++ b/res/drawable-hdpi/ic_launcher_wallpaper.png diff --git a/res/drawable-hdpi/ic_search_normal_holo.png b/res/drawable-hdpi/ic_search_normal_holo.png Binary files differindex 9935f48..d888214 100644 --- a/res/drawable-hdpi/ic_search_normal_holo.png +++ b/res/drawable-hdpi/ic_search_normal_holo.png diff --git a/res/drawable-hdpi/ic_voice_search_holo.png b/res/drawable-hdpi/ic_voice_search_holo.png Binary files differindex e0df1a2..d1ec7e3 100644 --- a/res/drawable-hdpi/ic_voice_search_holo.png +++ b/res/drawable-hdpi/ic_voice_search_holo.png diff --git a/res/drawable-hdpi/paged_view_indicator.9.png b/res/drawable-hdpi/paged_view_indicator.9.png Binary files differnew file mode 100644 index 0000000..5b47f44 --- /dev/null +++ b/res/drawable-hdpi/paged_view_indicator.9.png diff --git a/res/drawable-hdpi/portal_ring_inner_holo.png b/res/drawable-hdpi/portal_ring_inner_holo.png Binary files differindex 7f48e73..49df9ec 100644 --- a/res/drawable-hdpi/portal_ring_inner_holo.png +++ b/res/drawable-hdpi/portal_ring_inner_holo.png diff --git a/res/drawable-hdpi/portal_ring_outer_holo.png b/res/drawable-hdpi/portal_ring_outer_holo.png Binary files differindex 4ad47bf..282d0d7 100644 --- a/res/drawable-hdpi/portal_ring_outer_holo.png +++ b/res/drawable-hdpi/portal_ring_outer_holo.png diff --git a/res/drawable-hdpi/pressed_application_background.9.png b/res/drawable-hdpi/pressed_application_background.9.png Binary files differindex 291af02..3a59f25 100644 --- a/res/drawable-hdpi/pressed_application_background.9.png +++ b/res/drawable-hdpi/pressed_application_background.9.png diff --git a/res/drawable-hdpi/preview_bg.9.png b/res/drawable-hdpi/preview_bg.9.png Binary files differindex 5647144..5fa2ed8 100644 --- a/res/drawable-hdpi/preview_bg.9.png +++ b/res/drawable-hdpi/preview_bg.9.png diff --git a/res/drawable-hdpi/preview_bg_focus.9.png b/res/drawable-hdpi/preview_bg_focus.9.png Binary files differindex 31200fd..bbf67f7 100644 --- a/res/drawable-hdpi/preview_bg_focus.9.png +++ b/res/drawable-hdpi/preview_bg_focus.9.png diff --git a/res/drawable-hdpi/preview_bg_press.9.png b/res/drawable-hdpi/preview_bg_press.9.png Binary files differindex 9cb1266..6d0b022 100644 --- a/res/drawable-hdpi/preview_bg_press.9.png +++ b/res/drawable-hdpi/preview_bg_press.9.png diff --git a/res/drawable-hdpi/wallpaper_nexuswallpaper1.png b/res/drawable-hdpi/wallpaper_nexuswallpaper1.png Binary files differindex 2856da0..d761b4a 100644 --- a/res/drawable-hdpi/wallpaper_nexuswallpaper1.png +++ b/res/drawable-hdpi/wallpaper_nexuswallpaper1.png diff --git a/res/drawable-hdpi/wallpaper_picker_preview.png b/res/drawable-hdpi/wallpaper_picker_preview.png Binary files differindex 300ea4a..b48899a 100644 --- a/res/drawable-hdpi/wallpaper_picker_preview.png +++ b/res/drawable-hdpi/wallpaper_picker_preview.png diff --git a/res/drawable-hdpi/widget_info_bg.9.png b/res/drawable-hdpi/widget_info_bg.9.png Binary files differindex 217b35c..df4cea9 100644 --- a/res/drawable-hdpi/widget_info_bg.9.png +++ b/res/drawable-hdpi/widget_info_bg.9.png diff --git a/res/drawable-hdpi/widget_resize_frame_holo.9.png b/res/drawable-hdpi/widget_resize_frame_holo.9.png Binary files differindex 8da665b..c41fbca 100644 --- a/res/drawable-hdpi/widget_resize_frame_holo.9.png +++ b/res/drawable-hdpi/widget_resize_frame_holo.9.png diff --git a/res/drawable-hdpi/widget_resize_handle_bottom.png b/res/drawable-hdpi/widget_resize_handle_bottom.png Binary files differindex 495476b..e039165 100644 --- a/res/drawable-hdpi/widget_resize_handle_bottom.png +++ b/res/drawable-hdpi/widget_resize_handle_bottom.png diff --git a/res/drawable-hdpi/widget_resize_handle_left.png b/res/drawable-hdpi/widget_resize_handle_left.png Binary files differindex c73cf0e..bfc2e30 100644 --- a/res/drawable-hdpi/widget_resize_handle_left.png +++ b/res/drawable-hdpi/widget_resize_handle_left.png diff --git a/res/drawable-hdpi/widget_resize_handle_right.png b/res/drawable-hdpi/widget_resize_handle_right.png Binary files differindex 9532302..a7245b8 100644 --- a/res/drawable-hdpi/widget_resize_handle_right.png +++ b/res/drawable-hdpi/widget_resize_handle_right.png diff --git a/res/drawable-hdpi/widget_resize_handle_top.png b/res/drawable-hdpi/widget_resize_handle_top.png Binary files differindex a3d2f7c..447f59a 100644 --- a/res/drawable-hdpi/widget_resize_handle_top.png +++ b/res/drawable-hdpi/widget_resize_handle_top.png diff --git a/res/drawable-land-hdpi/divider_launcher_holo.9.png b/res/drawable-land-hdpi/divider_launcher_holo.9.png Binary files differindex f07f6c4..23a0f97 100644 --- a/res/drawable-land-hdpi/divider_launcher_holo.9.png +++ b/res/drawable-land-hdpi/divider_launcher_holo.9.png diff --git a/res/drawable-land-mdpi/divider_launcher_holo.9.png b/res/drawable-land-mdpi/divider_launcher_holo.9.png Binary files differindex ae77340..7bdf323 100644 --- a/res/drawable-land-mdpi/divider_launcher_holo.9.png +++ b/res/drawable-land-mdpi/divider_launcher_holo.9.png diff --git a/res/drawable-mdpi/apps_customize_bg.png b/res/drawable-mdpi/apps_customize_bg.png Binary files differindex 81768d7..2847467 100644 --- a/res/drawable-mdpi/apps_customize_bg.png +++ b/res/drawable-mdpi/apps_customize_bg.png diff --git a/res/drawable-mdpi/apps_hotseat_button.png b/res/drawable-mdpi/apps_hotseat_button.png Binary files differindex f9006a4..62f119d 100644 --- a/res/drawable-mdpi/apps_hotseat_button.png +++ b/res/drawable-mdpi/apps_hotseat_button.png diff --git a/res/drawable-mdpi/bg_appwidget_error.9.png b/res/drawable-mdpi/bg_appwidget_error.9.png Binary files differindex f222f94..493c0d4 100644 --- a/res/drawable-mdpi/bg_appwidget_error.9.png +++ b/res/drawable-mdpi/bg_appwidget_error.9.png diff --git a/res/drawable-mdpi/divider_launcher_holo.9.png b/res/drawable-mdpi/divider_launcher_holo.9.png Binary files differindex 6d101f4..7bdf323 100644 --- a/res/drawable-mdpi/divider_launcher_holo.9.png +++ b/res/drawable-mdpi/divider_launcher_holo.9.png diff --git a/res/drawable-mdpi/focused_bg.9.png b/res/drawable-mdpi/focused_bg.9.png Binary files differindex 1b0d3fa..b118be1 100644 --- a/res/drawable-mdpi/focused_bg.9.png +++ b/res/drawable-mdpi/focused_bg.9.png diff --git a/res/drawable-mdpi/gardening_crosshairs.png b/res/drawable-mdpi/gardening_crosshairs.png Binary files differindex 2845fe4..9d9f3c1 100644 --- a/res/drawable-mdpi/gardening_crosshairs.png +++ b/res/drawable-mdpi/gardening_crosshairs.png diff --git a/res/drawable-mdpi/home_press.9.png b/res/drawable-mdpi/home_press.9.png Binary files differindex ff841c3..679a1f6 100644 --- a/res/drawable-mdpi/home_press.9.png +++ b/res/drawable-mdpi/home_press.9.png diff --git a/res/drawable-mdpi/homescreen_blue_normal_holo.9.png b/res/drawable-mdpi/homescreen_blue_normal_holo.9.png Binary files differindex fef82bb..efdc861 100644 --- a/res/drawable-mdpi/homescreen_blue_normal_holo.9.png +++ b/res/drawable-mdpi/homescreen_blue_normal_holo.9.png diff --git a/res/drawable-mdpi/homescreen_green_normal_holo.9.png b/res/drawable-mdpi/homescreen_green_normal_holo.9.png Binary files differindex dad34d8..414a5c9 100644 --- a/res/drawable-mdpi/homescreen_green_normal_holo.9.png +++ b/res/drawable-mdpi/homescreen_green_normal_holo.9.png diff --git a/res/drawable-mdpi/homescreen_green_strong_holo.9.png b/res/drawable-mdpi/homescreen_green_strong_holo.9.png Binary files differindex 901bf4c..15f334e 100644 --- a/res/drawable-mdpi/homescreen_green_strong_holo.9.png +++ b/res/drawable-mdpi/homescreen_green_strong_holo.9.png diff --git a/res/drawable-mdpi/homescreen_small_blue.9.png b/res/drawable-mdpi/homescreen_small_blue.9.png Binary files differindex 28bc33b..fb74449 100644 --- a/res/drawable-mdpi/homescreen_small_blue.9.png +++ b/res/drawable-mdpi/homescreen_small_blue.9.png diff --git a/res/drawable-mdpi/homescreen_small_blue_strong.9.png b/res/drawable-mdpi/homescreen_small_blue_strong.9.png Binary files differindex f286de9..79d84a4 100644 --- a/res/drawable-mdpi/homescreen_small_blue_strong.9.png +++ b/res/drawable-mdpi/homescreen_small_blue_strong.9.png diff --git a/res/drawable-mdpi/homescreen_small_green.9.png b/res/drawable-mdpi/homescreen_small_green.9.png Binary files differindex 58698ea..a713f90 100644 --- a/res/drawable-mdpi/homescreen_small_green.9.png +++ b/res/drawable-mdpi/homescreen_small_green.9.png diff --git a/res/drawable-mdpi/homescreen_small_green_strong.9.png b/res/drawable-mdpi/homescreen_small_green_strong.9.png Binary files differindex 9773085..9884bcd 100644 --- a/res/drawable-mdpi/homescreen_small_green_strong.9.png +++ b/res/drawable-mdpi/homescreen_small_green_strong.9.png diff --git a/res/drawable-mdpi/hotseat_track_holo.9.png b/res/drawable-mdpi/hotseat_track_holo.9.png Binary files differindex 3dcab67..21f1ed1 100644 --- a/res/drawable-mdpi/hotseat_track_holo.9.png +++ b/res/drawable-mdpi/hotseat_track_holo.9.png diff --git a/res/drawable-mdpi/ic_home_all_apps_holo_dark.png b/res/drawable-mdpi/ic_home_all_apps_holo_dark.png Binary files differindex 04749e6..ffc3020 100644 --- a/res/drawable-mdpi/ic_home_all_apps_holo_dark.png +++ b/res/drawable-mdpi/ic_home_all_apps_holo_dark.png diff --git a/res/drawable-mdpi/ic_launcher_application.png b/res/drawable-mdpi/ic_launcher_application.png Binary files differindex 18ea7a5..d7ff417 100644 --- a/res/drawable-mdpi/ic_launcher_application.png +++ b/res/drawable-mdpi/ic_launcher_application.png diff --git a/res/drawable-mdpi/ic_launcher_appwidget.png b/res/drawable-mdpi/ic_launcher_appwidget.png Binary files differindex f369ccd..72dbfdf 100644 --- a/res/drawable-mdpi/ic_launcher_appwidget.png +++ b/res/drawable-mdpi/ic_launcher_appwidget.png diff --git a/res/drawable-mdpi/ic_launcher_home.png b/res/drawable-mdpi/ic_launcher_home.png Binary files differindex 893d7c7..72bd80a 100644 --- a/res/drawable-mdpi/ic_launcher_home.png +++ b/res/drawable-mdpi/ic_launcher_home.png diff --git a/res/drawable-mdpi/ic_launcher_info_active_holo.png b/res/drawable-mdpi/ic_launcher_info_active_holo.png Binary files differindex d05de74..f84b4a6 100644 --- a/res/drawable-mdpi/ic_launcher_info_active_holo.png +++ b/res/drawable-mdpi/ic_launcher_info_active_holo.png diff --git a/res/drawable-mdpi/ic_launcher_info_normal_holo.png b/res/drawable-mdpi/ic_launcher_info_normal_holo.png Binary files differindex 6a07cc9..eac578f 100644 --- a/res/drawable-mdpi/ic_launcher_info_normal_holo.png +++ b/res/drawable-mdpi/ic_launcher_info_normal_holo.png diff --git a/res/drawable-mdpi/ic_launcher_trashcan_active_holo.png b/res/drawable-mdpi/ic_launcher_trashcan_active_holo.png Binary files differindex 244fe27..0350e55 100644 --- a/res/drawable-mdpi/ic_launcher_trashcan_active_holo.png +++ b/res/drawable-mdpi/ic_launcher_trashcan_active_holo.png diff --git a/res/drawable-mdpi/ic_launcher_trashcan_normal_holo.png b/res/drawable-mdpi/ic_launcher_trashcan_normal_holo.png Binary files differindex bd5db08..799b62f 100644 --- a/res/drawable-mdpi/ic_launcher_trashcan_normal_holo.png +++ b/res/drawable-mdpi/ic_launcher_trashcan_normal_holo.png diff --git a/res/drawable-mdpi/ic_launcher_wallpaper.png b/res/drawable-mdpi/ic_launcher_wallpaper.png Binary files differindex 7e7c6b8..d2803b1 100644 --- a/res/drawable-mdpi/ic_launcher_wallpaper.png +++ b/res/drawable-mdpi/ic_launcher_wallpaper.png diff --git a/res/drawable-mdpi/ic_search_normal_holo.png b/res/drawable-mdpi/ic_search_normal_holo.png Binary files differindex 6acf24b..9eb214a 100644 --- a/res/drawable-mdpi/ic_search_normal_holo.png +++ b/res/drawable-mdpi/ic_search_normal_holo.png diff --git a/res/drawable-mdpi/ic_voice_search_holo.png b/res/drawable-mdpi/ic_voice_search_holo.png Binary files differindex 29533ba..34097b7 100644 --- a/res/drawable-mdpi/ic_voice_search_holo.png +++ b/res/drawable-mdpi/ic_voice_search_holo.png diff --git a/res/drawable-mdpi/paged_view_indicator.9.png b/res/drawable-mdpi/paged_view_indicator.9.png Binary files differindex 9fd357a..647b60f 100644 --- a/res/drawable-mdpi/paged_view_indicator.9.png +++ b/res/drawable-mdpi/paged_view_indicator.9.png diff --git a/res/drawable-mdpi/portal_ring_inner_holo.png b/res/drawable-mdpi/portal_ring_inner_holo.png Binary files differindex 4dbae06..369e64a 100644 --- a/res/drawable-mdpi/portal_ring_inner_holo.png +++ b/res/drawable-mdpi/portal_ring_inner_holo.png diff --git a/res/drawable-mdpi/portal_ring_outer_holo.png b/res/drawable-mdpi/portal_ring_outer_holo.png Binary files differindex a70acf2..842e7bc 100644 --- a/res/drawable-mdpi/portal_ring_outer_holo.png +++ b/res/drawable-mdpi/portal_ring_outer_holo.png diff --git a/res/drawable-mdpi/pressed_application_background.9.png b/res/drawable-mdpi/pressed_application_background.9.png Binary files differindex b09f595..7d5da3d 100644 --- a/res/drawable-mdpi/pressed_application_background.9.png +++ b/res/drawable-mdpi/pressed_application_background.9.png diff --git a/res/drawable-mdpi/preview_bg.9.png b/res/drawable-mdpi/preview_bg.9.png Binary files differindex 82c951d..d96e885 100644 --- a/res/drawable-mdpi/preview_bg.9.png +++ b/res/drawable-mdpi/preview_bg.9.png diff --git a/res/drawable-mdpi/preview_bg_focus.9.png b/res/drawable-mdpi/preview_bg_focus.9.png Binary files differindex f64f6a0..19e82a7 100644 --- a/res/drawable-mdpi/preview_bg_focus.9.png +++ b/res/drawable-mdpi/preview_bg_focus.9.png diff --git a/res/drawable-mdpi/preview_bg_press.9.png b/res/drawable-mdpi/preview_bg_press.9.png Binary files differindex 151cab6..f938090 100644 --- a/res/drawable-mdpi/preview_bg_press.9.png +++ b/res/drawable-mdpi/preview_bg_press.9.png diff --git a/res/drawable-mdpi/wallpaper_nexuswallpaper1.png b/res/drawable-mdpi/wallpaper_nexuswallpaper1.png Binary files differindex 20c74a1..b5e8767 100644 --- a/res/drawable-mdpi/wallpaper_nexuswallpaper1.png +++ b/res/drawable-mdpi/wallpaper_nexuswallpaper1.png diff --git a/res/drawable-mdpi/wallpaper_picker_preview.png b/res/drawable-mdpi/wallpaper_picker_preview.png Binary files differindex 300ea4a..b48899a 100644 --- a/res/drawable-mdpi/wallpaper_picker_preview.png +++ b/res/drawable-mdpi/wallpaper_picker_preview.png diff --git a/res/drawable-mdpi/widget_info_bg.9.png b/res/drawable-mdpi/widget_info_bg.9.png Binary files differindex 7fd1c20..c8c62b5 100644 --- a/res/drawable-mdpi/widget_info_bg.9.png +++ b/res/drawable-mdpi/widget_info_bg.9.png diff --git a/res/drawable-mdpi/widget_resize_frame_holo.9.png b/res/drawable-mdpi/widget_resize_frame_holo.9.png Binary files differindex 0572f89..095919f 100644 --- a/res/drawable-mdpi/widget_resize_frame_holo.9.png +++ b/res/drawable-mdpi/widget_resize_frame_holo.9.png diff --git a/res/drawable-mdpi/widget_resize_handle_bottom.png b/res/drawable-mdpi/widget_resize_handle_bottom.png Binary files differindex 6c93973..873d1be 100644 --- a/res/drawable-mdpi/widget_resize_handle_bottom.png +++ b/res/drawable-mdpi/widget_resize_handle_bottom.png diff --git a/res/drawable-mdpi/widget_resize_handle_left.png b/res/drawable-mdpi/widget_resize_handle_left.png Binary files differindex 7139415..99a88ac 100644 --- a/res/drawable-mdpi/widget_resize_handle_left.png +++ b/res/drawable-mdpi/widget_resize_handle_left.png diff --git a/res/drawable-mdpi/widget_resize_handle_right.png b/res/drawable-mdpi/widget_resize_handle_right.png Binary files differindex 442224b..ed0a539 100644 --- a/res/drawable-mdpi/widget_resize_handle_right.png +++ b/res/drawable-mdpi/widget_resize_handle_right.png diff --git a/res/drawable-mdpi/widget_resize_handle_top.png b/res/drawable-mdpi/widget_resize_handle_top.png Binary files differindex 2435884..f4159fe 100644 --- a/res/drawable-mdpi/widget_resize_handle_top.png +++ b/res/drawable-mdpi/widget_resize_handle_top.png diff --git a/res/drawable-xhdpi/apps_customize_bg.png b/res/drawable-xhdpi/apps_customize_bg.png Binary files differnew file mode 100644 index 0000000..a51cc11 --- /dev/null +++ b/res/drawable-xhdpi/apps_customize_bg.png diff --git a/res/drawable-xhdpi/apps_hotseat_button.png b/res/drawable-xhdpi/apps_hotseat_button.png Binary files differnew file mode 100644 index 0000000..932dac7 --- /dev/null +++ b/res/drawable-xhdpi/apps_hotseat_button.png diff --git a/res/drawable-xhdpi/bg_appwidget_error.9.png b/res/drawable-xhdpi/bg_appwidget_error.9.png Binary files differnew file mode 100644 index 0000000..b792cc8 --- /dev/null +++ b/res/drawable-xhdpi/bg_appwidget_error.9.png diff --git a/res/drawable-xhdpi/divider_launcher_holo.9.png b/res/drawable-xhdpi/divider_launcher_holo.9.png Binary files differnew file mode 100644 index 0000000..e226ae7 --- /dev/null +++ b/res/drawable-xhdpi/divider_launcher_holo.9.png diff --git a/res/drawable-xhdpi/focused_bg.9.png b/res/drawable-xhdpi/focused_bg.9.png Binary files differnew file mode 100644 index 0000000..d445c59 --- /dev/null +++ b/res/drawable-xhdpi/focused_bg.9.png diff --git a/res/drawable-xhdpi/gardening_crosshairs.png b/res/drawable-xhdpi/gardening_crosshairs.png Binary files differindex 18c9fbe..3168463 100644 --- a/res/drawable-xhdpi/gardening_crosshairs.png +++ b/res/drawable-xhdpi/gardening_crosshairs.png diff --git a/res/drawable-xhdpi/home_press.9.png b/res/drawable-xhdpi/home_press.9.png Binary files differnew file mode 100644 index 0000000..d9abfd3 --- /dev/null +++ b/res/drawable-xhdpi/home_press.9.png diff --git a/res/drawable-xhdpi/homescreen_blue_normal_holo.9.png b/res/drawable-xhdpi/homescreen_blue_normal_holo.9.png Binary files differindex 966d0c1..3f8eaf5 100644 --- a/res/drawable-xhdpi/homescreen_blue_normal_holo.9.png +++ b/res/drawable-xhdpi/homescreen_blue_normal_holo.9.png diff --git a/res/drawable-xhdpi/homescreen_blue_strong_holo.9.png b/res/drawable-xhdpi/homescreen_blue_strong_holo.9.png Binary files differdeleted file mode 100644 index 7e037ed..0000000 --- a/res/drawable-xhdpi/homescreen_blue_strong_holo.9.png +++ /dev/null diff --git a/res/drawable-xhdpi/homescreen_green_normal_holo.9.png b/res/drawable-xhdpi/homescreen_green_normal_holo.9.png Binary files differindex 219db3b..4b12213 100644 --- a/res/drawable-xhdpi/homescreen_green_normal_holo.9.png +++ b/res/drawable-xhdpi/homescreen_green_normal_holo.9.png diff --git a/res/drawable-xhdpi/homescreen_green_strong_holo.9.png b/res/drawable-xhdpi/homescreen_green_strong_holo.9.png Binary files differindex cc71519..4e41441 100644 --- a/res/drawable-xhdpi/homescreen_green_strong_holo.9.png +++ b/res/drawable-xhdpi/homescreen_green_strong_holo.9.png diff --git a/res/drawable-xhdpi/homescreen_small_blue.9.png b/res/drawable-xhdpi/homescreen_small_blue.9.png Binary files differnew file mode 100644 index 0000000..e678927 --- /dev/null +++ b/res/drawable-xhdpi/homescreen_small_blue.9.png diff --git a/res/drawable-xhdpi/homescreen_small_blue_strong.9.png b/res/drawable-xhdpi/homescreen_small_blue_strong.9.png Binary files differnew file mode 100644 index 0000000..696d907 --- /dev/null +++ b/res/drawable-xhdpi/homescreen_small_blue_strong.9.png diff --git a/res/drawable-xhdpi/homescreen_small_green.9.png b/res/drawable-xhdpi/homescreen_small_green.9.png Binary files differnew file mode 100644 index 0000000..3c4532a --- /dev/null +++ b/res/drawable-xhdpi/homescreen_small_green.9.png diff --git a/res/drawable-xhdpi/homescreen_small_green_strong.9.png b/res/drawable-xhdpi/homescreen_small_green_strong.9.png Binary files differnew file mode 100644 index 0000000..c1d4ded --- /dev/null +++ b/res/drawable-xhdpi/homescreen_small_green_strong.9.png diff --git a/res/drawable-xhdpi/hotseat_track_holo.9.png b/res/drawable-xhdpi/hotseat_track_holo.9.png Binary files differindex a362a98..04004b2 100644 --- a/res/drawable-xhdpi/hotseat_track_holo.9.png +++ b/res/drawable-xhdpi/hotseat_track_holo.9.png diff --git a/res/drawable-xhdpi/ic_google_logo_normal_holo.png b/res/drawable-xhdpi/ic_google_logo_normal_holo.png Binary files differdeleted file mode 100644 index 925e0b9..0000000 --- a/res/drawable-xhdpi/ic_google_logo_normal_holo.png +++ /dev/null diff --git a/res/drawable-xhdpi/ic_home_all_apps_holo_dark.png b/res/drawable-xhdpi/ic_home_all_apps_holo_dark.png Binary files differnew file mode 100644 index 0000000..21a51ab --- /dev/null +++ b/res/drawable-xhdpi/ic_home_all_apps_holo_dark.png diff --git a/res/drawable-xhdpi/ic_launcher_application.png b/res/drawable-xhdpi/ic_launcher_application.png Binary files differnew file mode 100644 index 0000000..83acf89 --- /dev/null +++ b/res/drawable-xhdpi/ic_launcher_application.png diff --git a/res/drawable-xhdpi/ic_launcher_appwidget.png b/res/drawable-xhdpi/ic_launcher_appwidget.png Binary files differnew file mode 100644 index 0000000..997504a --- /dev/null +++ b/res/drawable-xhdpi/ic_launcher_appwidget.png diff --git a/res/drawable-xhdpi/ic_launcher_home.png b/res/drawable-xhdpi/ic_launcher_home.png Binary files differnew file mode 100644 index 0000000..7bef13c --- /dev/null +++ b/res/drawable-xhdpi/ic_launcher_home.png diff --git a/res/drawable-xhdpi/ic_launcher_info_active_holo.png b/res/drawable-xhdpi/ic_launcher_info_active_holo.png Binary files differindex 356c074..b8cdbc4 100644 --- a/res/drawable-xhdpi/ic_launcher_info_active_holo.png +++ b/res/drawable-xhdpi/ic_launcher_info_active_holo.png diff --git a/res/drawable-xhdpi/ic_launcher_info_normal_holo.png b/res/drawable-xhdpi/ic_launcher_info_normal_holo.png Binary files differindex 1f827fa..f503fb8 100644 --- a/res/drawable-xhdpi/ic_launcher_info_normal_holo.png +++ b/res/drawable-xhdpi/ic_launcher_info_normal_holo.png diff --git a/res/drawable-xhdpi/ic_launcher_trashcan_active_holo.png b/res/drawable-xhdpi/ic_launcher_trashcan_active_holo.png Binary files differindex 77cc3e4..c155274 100644 --- a/res/drawable-xhdpi/ic_launcher_trashcan_active_holo.png +++ b/res/drawable-xhdpi/ic_launcher_trashcan_active_holo.png diff --git a/res/drawable-xhdpi/ic_launcher_trashcan_normal_holo.png b/res/drawable-xhdpi/ic_launcher_trashcan_normal_holo.png Binary files differindex ce6aff0..2ec7ad9 100644 --- a/res/drawable-xhdpi/ic_launcher_trashcan_normal_holo.png +++ b/res/drawable-xhdpi/ic_launcher_trashcan_normal_holo.png diff --git a/res/drawable-xhdpi/ic_launcher_wallpaper.png b/res/drawable-xhdpi/ic_launcher_wallpaper.png Binary files differnew file mode 100644 index 0000000..9b0b7b2 --- /dev/null +++ b/res/drawable-xhdpi/ic_launcher_wallpaper.png diff --git a/res/drawable-xhdpi/ic_search_normal_holo.png b/res/drawable-xhdpi/ic_search_normal_holo.png Binary files differindex 3700a0c..0f4caad 100644 --- a/res/drawable-xhdpi/ic_search_normal_holo.png +++ b/res/drawable-xhdpi/ic_search_normal_holo.png diff --git a/res/drawable-xhdpi/ic_voice_search_holo.png b/res/drawable-xhdpi/ic_voice_search_holo.png Binary files differindex bab4e49..a415218 100644 --- a/res/drawable-xhdpi/ic_voice_search_holo.png +++ b/res/drawable-xhdpi/ic_voice_search_holo.png diff --git a/res/drawable-xhdpi/paged_view_indicator.9.png b/res/drawable-xhdpi/paged_view_indicator.9.png Binary files differnew file mode 100644 index 0000000..fb8a228 --- /dev/null +++ b/res/drawable-xhdpi/paged_view_indicator.9.png diff --git a/res/drawable-xhdpi/portal_ring_inner_holo.png b/res/drawable-xhdpi/portal_ring_inner_holo.png Binary files differindex fc3d3c0..66beb84 100644 --- a/res/drawable-xhdpi/portal_ring_inner_holo.png +++ b/res/drawable-xhdpi/portal_ring_inner_holo.png diff --git a/res/drawable-xhdpi/portal_ring_outer_holo.png b/res/drawable-xhdpi/portal_ring_outer_holo.png Binary files differindex 43579ec..34423fc 100644 --- a/res/drawable-xhdpi/portal_ring_outer_holo.png +++ b/res/drawable-xhdpi/portal_ring_outer_holo.png diff --git a/res/drawable-xhdpi/pressed_application_background.9.png b/res/drawable-xhdpi/pressed_application_background.9.png Binary files differnew file mode 100644 index 0000000..05e240a --- /dev/null +++ b/res/drawable-xhdpi/pressed_application_background.9.png diff --git a/res/drawable-xhdpi/preview_bg.9.png b/res/drawable-xhdpi/preview_bg.9.png Binary files differnew file mode 100644 index 0000000..11cbcb5 --- /dev/null +++ b/res/drawable-xhdpi/preview_bg.9.png diff --git a/res/drawable-xhdpi/preview_bg_focus.9.png b/res/drawable-xhdpi/preview_bg_focus.9.png Binary files differnew file mode 100644 index 0000000..698c465 --- /dev/null +++ b/res/drawable-xhdpi/preview_bg_focus.9.png diff --git a/res/drawable-xhdpi/preview_bg_press.9.png b/res/drawable-xhdpi/preview_bg_press.9.png Binary files differnew file mode 100644 index 0000000..78e7510 --- /dev/null +++ b/res/drawable-xhdpi/preview_bg_press.9.png diff --git a/res/drawable-xhdpi/wallpaper_nexuswallpaper1.png b/res/drawable-xhdpi/wallpaper_nexuswallpaper1.png Binary files differnew file mode 100644 index 0000000..d8124f8 --- /dev/null +++ b/res/drawable-xhdpi/wallpaper_nexuswallpaper1.png diff --git a/res/drawable-xhdpi/wallpaper_picker_preview.png b/res/drawable-xhdpi/wallpaper_picker_preview.png Binary files differnew file mode 100644 index 0000000..4560455 --- /dev/null +++ b/res/drawable-xhdpi/wallpaper_picker_preview.png diff --git a/res/drawable-xhdpi/widget_info_bg.9.png b/res/drawable-xhdpi/widget_info_bg.9.png Binary files differnew file mode 100644 index 0000000..19eff05 --- /dev/null +++ b/res/drawable-xhdpi/widget_info_bg.9.png diff --git a/res/drawable-xhdpi/widget_resize_frame_holo.9.png b/res/drawable-xhdpi/widget_resize_frame_holo.9.png Binary files differindex 4988cad..d099206 100644 --- a/res/drawable-xhdpi/widget_resize_frame_holo.9.png +++ b/res/drawable-xhdpi/widget_resize_frame_holo.9.png diff --git a/res/drawable-xhdpi/widget_resize_handle_bottom.png b/res/drawable-xhdpi/widget_resize_handle_bottom.png Binary files differindex 18b5a26..62882c8 100644 --- a/res/drawable-xhdpi/widget_resize_handle_bottom.png +++ b/res/drawable-xhdpi/widget_resize_handle_bottom.png diff --git a/res/drawable-xhdpi/widget_resize_handle_left.png b/res/drawable-xhdpi/widget_resize_handle_left.png Binary files differindex 40d4e0b..6f45c99 100644 --- a/res/drawable-xhdpi/widget_resize_handle_left.png +++ b/res/drawable-xhdpi/widget_resize_handle_left.png diff --git a/res/drawable-xhdpi/widget_resize_handle_right.png b/res/drawable-xhdpi/widget_resize_handle_right.png Binary files differindex 5ca6071..28437f1 100644 --- a/res/drawable-xhdpi/widget_resize_handle_right.png +++ b/res/drawable-xhdpi/widget_resize_handle_right.png diff --git a/res/drawable-xhdpi/widget_resize_handle_top.png b/res/drawable-xhdpi/widget_resize_handle_top.png Binary files differindex 329559c..0d187ad 100644 --- a/res/drawable-xhdpi/widget_resize_handle_top.png +++ b/res/drawable-xhdpi/widget_resize_handle_top.png diff --git a/res/layout-land/hotseat.xml b/res/layout-land/hotseat.xml index 9dbe234..f82d541 100644 --- a/res/layout-land/hotseat.xml +++ b/res/layout-land/hotseat.xml @@ -25,8 +25,8 @@ android:layout_height="match_parent" android:paddingTop="@dimen/workspace_top_padding" android:paddingBottom="@dimen/workspace_bottom_padding" - launcher:cellWidth="@dimen/workspace_cell_width" - launcher:cellHeight="@dimen/workspace_cell_height" + launcher:cellWidth="@dimen/hotseat_cell_width" + launcher:cellHeight="@dimen/hotseat_cell_height" launcher:widthGap="-1dp" launcher:heightGap="-1dp" launcher:maxGap="@dimen/workspace_max_gap" /> diff --git a/res/layout-large/search_bar.xml b/res/layout-large/search_bar.xml index d6482fe..44ac14c 100644 --- a/res/layout-large/search_bar.xml +++ b/res/layout-large/search_bar.xml @@ -71,7 +71,7 @@ android:paddingRight="@dimen/toolbar_button_horizontal_padding" android:paddingTop="@dimen/all_apps_button_vertical_padding" android:paddingBottom="@dimen/all_apps_button_vertical_padding" - android:background="@drawable/button_bg" + android:background="?android:attr/selectableItemBackground" android:gravity="center" android:textColor="#CCFFFFFF" diff --git a/res/layout-port/hotseat.xml b/res/layout-port/hotseat.xml index a122abb..53f3c20 100644 --- a/res/layout-port/hotseat.xml +++ b/res/layout-port/hotseat.xml @@ -26,9 +26,9 @@ android:paddingTop="@dimen/button_bar_height_padding" android:paddingLeft="@dimen/workspace_left_padding" android:paddingRight="@dimen/workspace_right_padding" - launcher:cellWidth="@dimen/workspace_cell_width" - launcher:cellHeight="@dimen/workspace_cell_height" + launcher:cellWidth="@dimen/hotseat_cell_width" + launcher:cellHeight="@dimen/hotseat_cell_height" launcher:widthGap="-1dp" launcher:heightGap="-1dp" launcher:maxGap="@dimen/workspace_max_gap" /> -</com.android.launcher2.Hotseat>
\ No newline at end of file +</com.android.launcher2.Hotseat> diff --git a/res/values-land/dimens.xml b/res/values-land/dimens.xml index b413c53..85465b4 100644 --- a/res/values-land/dimens.xml +++ b/res/values-land/dimens.xml @@ -17,12 +17,16 @@ <resources> <!-- QSB --> <dimen name="toolbar_button_vertical_padding">12dip</dimen> - <dimen name="toolbar_button_horizontal_padding">10dip</dimen> + <dimen name="toolbar_button_horizontal_padding">4dip</dimen> <!-- Workspace --> + <dimen name="workspace_cell_width">106dp</dimen> + <dimen name="workspace_cell_height">74dp</dimen> + <dimen name="hotseat_cell_width">68dp</dimen> + <dimen name="hotseat_cell_height">74dp</dimen> <!-- Block spacing on each side of the screen --> - <dimen name="workspace_left_padding">12dp</dimen> - <dimen name="workspace_right_padding">12dp</dimen> + <dimen name="workspace_left_padding">0dp</dimen> + <dimen name="workspace_right_padding">0dp</dimen> <!-- We need top/bottom padding for portals to look right, but really only in spring loaded mode... --> <dimen name="workspace_top_padding">0dp</dimen> @@ -33,6 +37,13 @@ <dimen name="workspace_divider_padding_top">12dp</dimen> <dimen name="workspace_divider_padding_bottom">12dp</dimen> + <!-- height of the bottom row of controls --> + <dimen name="button_bar_height">68dip</dimen> + <!-- Because portal animations go beyond the bounds of an icon, we need + to make the dock layout slightly larger than the button_bar_height --> + <dimen name="button_bar_height_padding">8dp</dimen> + <dimen name="button_bar_height_plus_padding">76dp</dimen> + <!-- AppsCustomize --> <dimen name="apps_customize_cell_width">80dp</dimen> <!-- The width can be 76dp because we don't have B padding --> diff --git a/res/values-port/dimens.xml b/res/values-port/dimens.xml index 9add357..088d3fd 100644 --- a/res/values-port/dimens.xml +++ b/res/values-port/dimens.xml @@ -20,8 +20,8 @@ <dimen name="workspace_right_padding">0dp</dimen> <!-- Block spacing on each side of the screen. And also padding for the portals to look right. --> - <dimen name="workspace_top_padding">12dp</dimen> - <dimen name="workspace_bottom_padding">12dp</dimen> + <dimen name="workspace_top_padding">2dp</dimen> + <dimen name="workspace_bottom_padding">2dp</dimen> <dimen name="workspace_page_spacing">8dp</dimen> <integer name="apps_customize_cellCountX">4</integer> diff --git a/res/values/colors.xml b/res/values/colors.xml index 71f282c..1efeb9e 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -27,13 +27,6 @@ <color name="appwidget_error_color">#FCCC</color> - <color name="drag_outline_color">#6595f9</color> - - <color name="workspace_item_pressed_outline_color">#6595f9</color> - <color name="workspace_item_pressed_glow_color">#0997ff</color> - <color name="workspace_item_focused_outline_color">#6595f9</color> - <color name="workspace_item_focused_glow_color">#0997ff</color> - <color name="workspace_all_apps_and_delete_zone_text_color">#CCFFFFFF</color> <color name="workspace_all_apps_and_delete_zone_text_shadow_color">#A0000000</color> </resources> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index cb354b4..eab4044 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -16,9 +16,11 @@ <resources> <!-- Workspace --> - <dimen name="qsb_bar_height">48dp</dimen> + <dimen name="qsb_bar_height">40dp</dimen> <dimen name="workspace_cell_width">80dp</dimen> - <dimen name="workspace_cell_height">80dp</dimen> + <dimen name="workspace_cell_height">100dp</dimen> + <dimen name="hotseat_cell_width">80dp</dimen> + <dimen name="hotseat_cell_height">64dp</dimen> <dimen name="workspace_width_gap">-1dp</dimen> <dimen name="workspace_height_gap">-1dp</dimen> <dimen name="workspace_max_gap">16dp</dimen> @@ -46,11 +48,11 @@ <dimen name="title_texture_width">120px</dimen> <!-- height of the bottom row of controls --> - <dimen name="button_bar_height">80dip</dimen> + <dimen name="button_bar_height">64dip</dimen> <!-- Because portal animations go beyond the bounds of an icon, we need to make the dock layout slightly larger than the button_bar_height --> <dimen name="button_bar_height_padding">8dp</dimen> - <dimen name="button_bar_height_plus_padding">88dp</dimen> + <dimen name="button_bar_height_plus_padding">72dp</dimen> <!-- Drag padding to add to the drop targets --> <dimen name="drop_target_drag_padding">40dp</dimen> diff --git a/src/com/android/launcher2/BubbleTextView.java b/src/com/android/launcher2/BubbleTextView.java index bd3a4bd..08f337e 100644 --- a/src/com/android/launcher2/BubbleTextView.java +++ b/src/com/android/launcher2/BubbleTextView.java @@ -93,10 +93,10 @@ public class BubbleTextView extends TextView implements VisibilityChangedBroadca mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); mPaint.setColor(bubbleColor); mBubbleColorAlpha = Color.alpha(bubbleColor) / 255.0f; - mFocusedOutlineColor = res.getColor(R.color.workspace_item_focused_outline_color); - mFocusedGlowColor = res.getColor(R.color.workspace_item_focused_glow_color); - mPressedOutlineColor = res.getColor(R.color.workspace_item_pressed_outline_color); - mPressedGlowColor = res.getColor(R.color.workspace_item_pressed_glow_color); + mFocusedOutlineColor = res.getColor(android.R.color.holo_blue_light); + mFocusedGlowColor = res.getColor(android.R.color.holo_blue_light); + mPressedOutlineColor = res.getColor(android.R.color.holo_blue_light); + mPressedGlowColor = res.getColor(android.R.color.holo_blue_light); setShadowLayer(SHADOW_LARGE_RADIUS, 0.0f, SHADOW_Y_OFFSET, SHADOW_LARGE_COLOUR); } diff --git a/src/com/android/launcher2/DragLayer.java b/src/com/android/launcher2/DragLayer.java index 7fbde54..d0d4bad 100644 --- a/src/com/android/launcher2/DragLayer.java +++ b/src/com/android/launcher2/DragLayer.java @@ -375,6 +375,11 @@ public class DragLayer extends FrameLayout { toY -= (dragView.getHeight() - (int) Math.round(scale * d.getIntrinsicHeight())) / 2; // Center in the x coordinate about the target's drawable toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; + } else if (child instanceof FolderIcon) { + // Account for holographic blur padding on the drag view + toY -= HolographicOutlineHelper.MAX_OUTER_BLUR_RADIUS / 2; + // Center in the x coordinate about the target's drawable + toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; } else { toY -= (Math.round(scale * (dragView.getHeight() - child.getMeasuredHeight()))) / 2; toX -= (Math.round(scale * (dragView.getMeasuredWidth() diff --git a/src/com/android/launcher2/PagedView.java b/src/com/android/launcher2/PagedView.java index 48360fe..24feb41 100644 --- a/src/com/android/launcher2/PagedView.java +++ b/src/com/android/launcher2/PagedView.java @@ -432,6 +432,7 @@ public abstract class PagedView extends ViewGroup { int maxChildHeight = 0; final int verticalPadding = mPaddingTop + mPaddingBottom; + final int horizontalPadding = mPaddingLeft + mPaddingRight; // The children are given the same width and height as the workspace @@ -458,7 +459,7 @@ public abstract class PagedView extends ViewGroup { } final int childWidthMeasureSpec = - MeasureSpec.makeMeasureSpec(widthSize, childWidthMode); + MeasureSpec.makeMeasureSpec(widthSize - horizontalPadding, childWidthMode); final int childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(heightSize - verticalPadding, childHeightMode); diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java index 26c00ad..ec85af3 100644 --- a/src/com/android/launcher2/Workspace.java +++ b/src/com/android/launcher2/Workspace.java @@ -1970,7 +1970,7 @@ public class Workspace extends SmoothPagedView * Responsibility for the bitmap is transferred to the caller. */ public Bitmap createDragBitmap(View v, Canvas canvas, int padding) { - final int outlineColor = getResources().getColor(R.color.drag_outline_color); + final int outlineColor = getResources().getColor(android.R.color.holo_blue_light); Bitmap b; if (v instanceof TextView) { @@ -1995,7 +1995,7 @@ public class Workspace extends SmoothPagedView * Responsibility for the bitmap is transferred to the caller. */ private Bitmap createDragOutline(View v, Canvas canvas, int padding) { - final int outlineColor = getResources().getColor(R.color.drag_outline_color); + final int outlineColor = getResources().getColor(android.R.color.holo_blue_light); final Bitmap b = Bitmap.createBitmap( v.getWidth() + padding, v.getHeight() + padding, Bitmap.Config.ARGB_8888); @@ -2011,7 +2011,7 @@ public class Workspace extends SmoothPagedView * Responsibility for the bitmap is transferred to the caller. */ private Bitmap createDragOutline(Bitmap orig, Canvas canvas, int padding, int w, int h) { - final int outlineColor = getResources().getColor(R.color.drag_outline_color); + final int outlineColor = getResources().getColor(android.R.color.holo_blue_light); final Bitmap b = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); canvas.setBitmap(b); @@ -2041,7 +2041,7 @@ public class Workspace extends SmoothPagedView */ private Bitmap createExternalDragOutline(Canvas canvas, int padding) { Resources r = getResources(); - final int outlineColor = r.getColor(R.color.drag_outline_color); + final int outlineColor = r.getColor(android.R.color.holo_blue_light); final int iconWidth = r.getDimensionPixelSize(R.dimen.workspace_cell_width); final int iconHeight = r.getDimensionPixelSize(R.dimen.workspace_cell_height); final int rectRadius = r.getDimensionPixelSize(R.dimen.external_drop_icon_rect_radius); @@ -2295,17 +2295,7 @@ public class Workspace extends SmoothPagedView } else if (mDragInfo != null) { final View cell = mDragInfo.cell; - boolean continueDrop = true; - if (mLauncher.isHotseatLayout(mDragTargetLayout) && d.dragInfo instanceof ItemInfo) { - ItemInfo info = (ItemInfo) d.dragInfo; - if (info.spanX > 1 || info.spanY > 1) { - continueDrop = false; - Toast.makeText(getContext(), R.string.invalid_hotseat_item, - Toast.LENGTH_SHORT).show(); - } - } - - if (continueDrop && dropTargetLayout != null) { + if (dropTargetLayout != null) { // Move internally boolean hasMovedLayouts = (getParentCellLayoutForView(cell) != dropTargetLayout); boolean hasMovedIntoHotseat = mLauncher.isHotseatLayout(dropTargetLayout); @@ -2809,6 +2799,14 @@ public class Workspace extends SmoothPagedView return res; } + private boolean isDragWidget(DragObject d) { + return (d.dragInfo instanceof LauncherAppWidgetInfo || + d.dragInfo instanceof PendingAddWidgetInfo); + } + private boolean isExternalDragWidget(DragObject d) { + return d.dragSource != this && isDragWidget(d); + } + public void onDragOver(DragObject d) { // Skip drag over events while we are dragging over side pages if (mInScrollArea) return; @@ -2825,7 +2823,7 @@ public class Workspace extends SmoothPagedView // Identify whether we have dragged over a side page if (isSmall()) { - if (mLauncher.getHotseat() != null) { + if (mLauncher.getHotseat() != null && !isExternalDragWidget(d)) { mLauncher.getHotseat().getHitRect(r); if (r.contains(d.x, d.y)) { layout = mLauncher.getHotseat().getLayout(); @@ -2862,7 +2860,7 @@ public class Workspace extends SmoothPagedView } } else { // Test to see if we are over the hotseat otherwise just use the current page - if (mLauncher.getHotseat() != null) { + if (mLauncher.getHotseat() != null && !isDragWidget(d)) { mLauncher.getHotseat().getHitRect(r); if (r.contains(d.x, d.y)) { layout = mLauncher.getHotseat().getLayout(); |