diff options
author | Daniel Sandler <dsandler@google.com> | 2010-03-02 14:08:08 -0500 |
---|---|---|
committer | Daniel Sandler <dsandler@google.com> | 2010-03-03 14:38:45 -0500 |
commit | 388f679aa448cb648241b89fefa29614a2e3758b (patch) | |
tree | 0cf21b927dbe7d0f3b2a8417991cc9235b2acdd0 /res | |
parent | 9f9077d2be9178e4dc7d99a6735d7db5c15885d1 (diff) | |
download | android_packages_apps_Trebuchet-388f679aa448cb648241b89fefa29614a2e3758b.tar.gz android_packages_apps_Trebuchet-388f679aa448cb648241b89fefa29614a2e3758b.tar.bz2 android_packages_apps_Trebuchet-388f679aa448cb648241b89fefa29614a2e3758b.zip |
Introduce 2D All Apps and other support for sapphire-class devices.
AllAppsView is now the 2D, GridView-based version (very
similar to classic Launcher); AllApps3D is the
RenderScript/Rollo implementation.
TODO:
- some mdpi assets are not in fact mdpi
- related to above: static wallpapers not working yet
- add dynamic selection of 2D/3D AA; currently you must
choose one at build time by picking the appropriate class
in all_apps.xml (see separate CL for sapphire overlay
that does this)
Change-Id: I253d98404ea8a329a4049d2e48edd2e5129fa6ba
Diffstat (limited to 'res')
111 files changed, 156 insertions, 25 deletions
diff --git a/res/anim/all_apps_2d_fade_in.xml b/res/anim/all_apps_2d_fade_in.xml new file mode 100644 index 000000000..0f1e4f4e1 --- /dev/null +++ b/res/anim/all_apps_2d_fade_in.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<alpha xmlns:android="http://schemas.android.com/apk/res/android" + android:interpolator="@android:anim/decelerate_interpolator" + + android:fromAlpha="0.0" + android:toAlpha="1.0" + + android:duration="@integer/config_allAppsFadeInTime" /> diff --git a/res/anim/all_apps_2d_fade_out.xml b/res/anim/all_apps_2d_fade_out.xml new file mode 100644 index 000000000..cc4769177 --- /dev/null +++ b/res/anim/all_apps_2d_fade_out.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<alpha xmlns:android="http://schemas.android.com/apk/res/android" + android:interpolator="@android:anim/accelerate_interpolator" + + android:fromAlpha="1.0" + android:toAlpha="0.0" + + android:duration="@integer/config_allAppsFadeOutTime" /> diff --git a/res/anim/fade_in_fast.xml b/res/anim/fade_in_fast.xml index 5faef96ae..4fa9847aa 100644 --- a/res/anim/fade_in_fast.xml +++ b/res/anim/fade_in_fast.xml @@ -20,4 +20,4 @@ android:fromAlpha="0.0" android:toAlpha="1.0" - android:duration="@android:integer/config_shortAnimTime" /> + android:duration="@android:integer/config_mediumAnimTime" /> diff --git a/res/anim/fade_in_slow.xml b/res/anim/fade_in_slow.xml new file mode 100644 index 000000000..0f1e4f4e1 --- /dev/null +++ b/res/anim/fade_in_slow.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<alpha xmlns:android="http://schemas.android.com/apk/res/android" + android:interpolator="@android:anim/decelerate_interpolator" + + android:fromAlpha="0.0" + android:toAlpha="1.0" + + android:duration="@integer/config_allAppsFadeInTime" /> diff --git a/res/anim/fade_out_fast.xml b/res/anim/fade_out_fast.xml index 310e0078e..a061a6ca9 100644 --- a/res/anim/fade_out_fast.xml +++ b/res/anim/fade_out_fast.xml @@ -20,4 +20,4 @@ android:fromAlpha="1.0" android:toAlpha="0.0" - android:duration="@android:integer/config_shortAnimTime" /> + android:duration="@android:integer/config_mediumAnimTime" /> diff --git a/res/anim/fade_out_slow.xml b/res/anim/fade_out_slow.xml new file mode 100644 index 000000000..cc4769177 --- /dev/null +++ b/res/anim/fade_out_slow.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<alpha xmlns:android="http://schemas.android.com/apk/res/android" + android:interpolator="@android:anim/accelerate_interpolator" + + android:fromAlpha="1.0" + android:toAlpha="0.0" + + android:duration="@integer/config_allAppsFadeOutTime" /> diff --git a/res/drawable-mdpi/all_apps_button_focused.png b/res/drawable-mdpi/all_apps_button_focused.png Binary files differnew file mode 100644 index 000000000..94f7b080a --- /dev/null +++ b/res/drawable-mdpi/all_apps_button_focused.png diff --git a/res/drawable-mdpi/all_apps_button_normal.png b/res/drawable-mdpi/all_apps_button_normal.png Binary files differnew file mode 100644 index 000000000..188d528aa --- /dev/null +++ b/res/drawable-mdpi/all_apps_button_normal.png diff --git a/res/drawable-mdpi/all_apps_button_pressed.png b/res/drawable-mdpi/all_apps_button_pressed.png Binary files differnew file mode 100644 index 000000000..600dea9fe --- /dev/null +++ b/res/drawable-mdpi/all_apps_button_pressed.png diff --git a/res/drawable-mdpi/bg_appwidget_error.9.png b/res/drawable-mdpi/bg_appwidget_error.9.png Binary files differnew file mode 100644 index 000000000..507742471 --- /dev/null +++ b/res/drawable-mdpi/bg_appwidget_error.9.png diff --git a/res/drawable-mdpi/box_launcher_bottom.9.png b/res/drawable-mdpi/box_launcher_bottom.9.png Binary files differnew file mode 100644 index 000000000..1c99c5047 --- /dev/null +++ b/res/drawable-mdpi/box_launcher_bottom.9.png diff --git a/res/drawable-mdpi/box_launcher_top_normal.9.png b/res/drawable-mdpi/box_launcher_top_normal.9.png Binary files differnew file mode 100644 index 000000000..30b17b29f --- /dev/null +++ b/res/drawable-mdpi/box_launcher_top_normal.9.png diff --git a/res/drawable-mdpi/box_launcher_top_pressed.9.png b/res/drawable-mdpi/box_launcher_top_pressed.9.png Binary files differnew file mode 100644 index 000000000..033cd4897 --- /dev/null +++ b/res/drawable-mdpi/box_launcher_top_pressed.9.png diff --git a/res/drawable-mdpi/box_launcher_top_selected.9.png b/res/drawable-mdpi/box_launcher_top_selected.9.png Binary files differnew file mode 100644 index 000000000..3ef394c09 --- /dev/null +++ b/res/drawable-mdpi/box_launcher_top_selected.9.png diff --git a/res/drawable-mdpi/focused_application_background.9.png b/res/drawable-mdpi/focused_application_background.9.png Binary files differnew file mode 100644 index 000000000..9d09b41f1 --- /dev/null +++ b/res/drawable-mdpi/focused_application_background.9.png diff --git a/res/drawable-mdpi/home_button_focused.png b/res/drawable-mdpi/home_button_focused.png Binary files differnew file mode 100644 index 000000000..08b1fcbc8 --- /dev/null +++ b/res/drawable-mdpi/home_button_focused.png diff --git a/res/drawable-mdpi/home_button_normal.png b/res/drawable-mdpi/home_button_normal.png Binary files differnew file mode 100644 index 000000000..4afcce8d2 --- /dev/null +++ b/res/drawable-mdpi/home_button_normal.png diff --git a/res/drawable-mdpi/home_button_pressed.png b/res/drawable-mdpi/home_button_pressed.png Binary files differnew file mode 100644 index 000000000..aa917329d --- /dev/null +++ b/res/drawable-mdpi/home_button_pressed.png diff --git a/res/drawable-mdpi/ic_home_arrows_1_focus.png b/res/drawable-mdpi/ic_home_arrows_1_focus.png Binary files differnew file mode 100644 index 000000000..fd9586224 --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_1_focus.png diff --git a/res/drawable-mdpi/ic_home_arrows_1_focus_right.png b/res/drawable-mdpi/ic_home_arrows_1_focus_right.png Binary files differnew file mode 100644 index 000000000..2a7059fb2 --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_1_focus_right.png diff --git a/res/drawable-mdpi/ic_home_arrows_1_normal.png b/res/drawable-mdpi/ic_home_arrows_1_normal.png Binary files differnew file mode 100644 index 000000000..c72a4bf28 --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_1_normal.png diff --git a/res/drawable-mdpi/ic_home_arrows_1_normal_right.png b/res/drawable-mdpi/ic_home_arrows_1_normal_right.png Binary files differnew file mode 100644 index 000000000..90819e64b --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_1_normal_right.png diff --git a/res/drawable-mdpi/ic_home_arrows_1_press.png b/res/drawable-mdpi/ic_home_arrows_1_press.png Binary files differnew file mode 100644 index 000000000..70011d7a7 --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_1_press.png diff --git a/res/drawable-mdpi/ic_home_arrows_1_press_right.png b/res/drawable-mdpi/ic_home_arrows_1_press_right.png Binary files differnew file mode 100644 index 000000000..45ea6f8bf --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_1_press_right.png diff --git a/res/drawable-mdpi/ic_home_arrows_2_focus.png b/res/drawable-mdpi/ic_home_arrows_2_focus.png Binary files differnew file mode 100644 index 000000000..1f1164aa1 --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_2_focus.png diff --git a/res/drawable-mdpi/ic_home_arrows_2_focus_right.png b/res/drawable-mdpi/ic_home_arrows_2_focus_right.png Binary files differnew file mode 100644 index 000000000..330ee39e9 --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_2_focus_right.png diff --git a/res/drawable-mdpi/ic_home_arrows_2_normal.png b/res/drawable-mdpi/ic_home_arrows_2_normal.png Binary files differnew file mode 100644 index 000000000..dc017373f --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_2_normal.png diff --git a/res/drawable-mdpi/ic_home_arrows_2_normal_right.png b/res/drawable-mdpi/ic_home_arrows_2_normal_right.png Binary files differnew file mode 100644 index 000000000..dc843c659 --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_2_normal_right.png diff --git a/res/drawable-mdpi/ic_home_arrows_2_press.png b/res/drawable-mdpi/ic_home_arrows_2_press.png Binary files differnew file mode 100644 index 000000000..294b3316c --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_2_press.png diff --git a/res/drawable-mdpi/ic_home_arrows_2_press_right.png b/res/drawable-mdpi/ic_home_arrows_2_press_right.png Binary files differnew file mode 100644 index 000000000..4fc9d0f29 --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_2_press_right.png diff --git a/res/drawable-mdpi/ic_home_arrows_3_focus.png b/res/drawable-mdpi/ic_home_arrows_3_focus.png Binary files differnew file mode 100644 index 000000000..7ada5ca3c --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_3_focus.png diff --git a/res/drawable-mdpi/ic_home_arrows_3_focus_right.png b/res/drawable-mdpi/ic_home_arrows_3_focus_right.png Binary files differnew file mode 100644 index 000000000..98d76ef7a --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_3_focus_right.png diff --git a/res/drawable-mdpi/ic_home_arrows_3_normal.png b/res/drawable-mdpi/ic_home_arrows_3_normal.png Binary files differnew file mode 100644 index 000000000..1ee2372ce --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_3_normal.png diff --git a/res/drawable-mdpi/ic_home_arrows_3_normal_right.png b/res/drawable-mdpi/ic_home_arrows_3_normal_right.png Binary files differnew file mode 100644 index 000000000..90a93fada --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_3_normal_right.png diff --git a/res/drawable-mdpi/ic_home_arrows_3_press.png b/res/drawable-mdpi/ic_home_arrows_3_press.png Binary files differnew file mode 100644 index 000000000..7c98a2930 --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_3_press.png diff --git a/res/drawable-mdpi/ic_home_arrows_3_press_right.png b/res/drawable-mdpi/ic_home_arrows_3_press_right.png Binary files differnew file mode 100644 index 000000000..5cfd28c85 --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_3_press_right.png diff --git a/res/drawable-mdpi/ic_home_arrows_4_focus.png b/res/drawable-mdpi/ic_home_arrows_4_focus.png Binary files differnew file mode 100644 index 000000000..84f3a7bff --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_4_focus.png diff --git a/res/drawable-mdpi/ic_home_arrows_4_focus_right.png b/res/drawable-mdpi/ic_home_arrows_4_focus_right.png Binary files differnew file mode 100644 index 000000000..813f863b1 --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_4_focus_right.png diff --git a/res/drawable-mdpi/ic_home_arrows_4_normal.png b/res/drawable-mdpi/ic_home_arrows_4_normal.png Binary files differnew file mode 100644 index 000000000..477f725dd --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_4_normal.png diff --git a/res/drawable-mdpi/ic_home_arrows_4_normal_right.png b/res/drawable-mdpi/ic_home_arrows_4_normal_right.png Binary files differnew file mode 100644 index 000000000..f8a8612e9 --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_4_normal_right.png diff --git a/res/drawable-mdpi/ic_home_arrows_4_press.png b/res/drawable-mdpi/ic_home_arrows_4_press.png Binary files differnew file mode 100644 index 000000000..7b8f2076a --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_4_press.png diff --git a/res/drawable-mdpi/ic_home_arrows_4_press_right.png b/res/drawable-mdpi/ic_home_arrows_4_press_right.png Binary files differnew file mode 100644 index 000000000..4d9c2ca8e --- /dev/null +++ b/res/drawable-mdpi/ic_home_arrows_4_press_right.png diff --git a/res/drawable-mdpi/ic_launcher_application.png b/res/drawable-mdpi/ic_launcher_application.png Binary files differnew file mode 100644 index 000000000..9777d11e4 --- /dev/null +++ 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 differnew file mode 100644 index 000000000..e9371d298 --- /dev/null +++ b/res/drawable-mdpi/ic_launcher_appwidget.png diff --git a/res/drawable-mdpi/ic_launcher_folder.png b/res/drawable-mdpi/ic_launcher_folder.png Binary files differnew file mode 100644 index 000000000..14e0839e2 --- /dev/null +++ b/res/drawable-mdpi/ic_launcher_folder.png diff --git a/res/drawable-mdpi/ic_launcher_folder_open.png b/res/drawable-mdpi/ic_launcher_folder_open.png Binary files differnew file mode 100644 index 000000000..6a61ca6ea --- /dev/null +++ b/res/drawable-mdpi/ic_launcher_folder_open.png diff --git a/res/drawable-mdpi/ic_launcher_home.png b/res/drawable-mdpi/ic_launcher_home.png Binary files differnew file mode 100644 index 000000000..95a50e619 --- /dev/null +++ b/res/drawable-mdpi/ic_launcher_home.png diff --git a/res/drawable-mdpi/ic_launcher_shortcut.png b/res/drawable-mdpi/ic_launcher_shortcut.png Binary files differnew file mode 100644 index 000000000..05bc055e8 --- /dev/null +++ b/res/drawable-mdpi/ic_launcher_shortcut.png diff --git a/res/drawable-mdpi/ic_launcher_wallpaper.png b/res/drawable-mdpi/ic_launcher_wallpaper.png Binary files differnew file mode 100644 index 000000000..982fd882a --- /dev/null +++ b/res/drawable-mdpi/ic_launcher_wallpaper.png diff --git a/res/drawable-mdpi/pattern_carbon_fiber_dark.png b/res/drawable-mdpi/pattern_carbon_fiber_dark.png Binary files differnew file mode 100644 index 000000000..44e050f4c --- /dev/null +++ b/res/drawable-mdpi/pattern_carbon_fiber_dark.png diff --git a/res/drawable-mdpi/placeholder_google.png b/res/drawable-mdpi/placeholder_google.png Binary files differnew file mode 100644 index 000000000..4af30aac2 --- /dev/null +++ b/res/drawable-mdpi/placeholder_google.png diff --git a/res/drawable-mdpi/preview_bg.9.png b/res/drawable-mdpi/preview_bg.9.png Binary files differnew file mode 100644 index 000000000..5647144af --- /dev/null +++ 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 differnew file mode 100644 index 000000000..31200fdcd --- /dev/null +++ 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 differnew file mode 100644 index 000000000..9cb12669e --- /dev/null +++ b/res/drawable-mdpi/preview_bg_press.9.png diff --git a/res/drawable-mdpi/trashcan.png b/res/drawable-mdpi/trashcan.png Binary files differnew file mode 100644 index 000000000..d356f4533 --- /dev/null +++ b/res/drawable-mdpi/trashcan.png diff --git a/res/drawable-mdpi/trashcan_hover.png b/res/drawable-mdpi/trashcan_hover.png Binary files differnew file mode 100644 index 000000000..7dda19e04 --- /dev/null +++ b/res/drawable-mdpi/trashcan_hover.png diff --git a/res/drawable-mdpi/wallpaper_bluedotgrid.jpg b/res/drawable-mdpi/wallpaper_bluedotgrid.jpg Binary files differnew file mode 100644 index 000000000..468edfe43 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_bluedotgrid.jpg diff --git a/res/drawable-mdpi/wallpaper_bluedotgrid_small.jpg b/res/drawable-mdpi/wallpaper_bluedotgrid_small.jpg Binary files differnew file mode 100644 index 000000000..1ff9568ae --- /dev/null +++ b/res/drawable-mdpi/wallpaper_bluedotgrid_small.jpg diff --git a/res/drawable-mdpi/wallpaper_brown.jpg b/res/drawable-mdpi/wallpaper_brown.jpg Binary files differnew file mode 100644 index 000000000..9b7ef2035 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_brown.jpg diff --git a/res/drawable-mdpi/wallpaper_brown_small.jpg b/res/drawable-mdpi/wallpaper_brown_small.jpg Binary files differnew file mode 100644 index 000000000..e5b417e7b --- /dev/null +++ b/res/drawable-mdpi/wallpaper_brown_small.jpg diff --git a/res/drawable-mdpi/wallpaper_canyon.jpg b/res/drawable-mdpi/wallpaper_canyon.jpg Binary files differnew file mode 100644 index 000000000..1b129fd36 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_canyon.jpg diff --git a/res/drawable-mdpi/wallpaper_canyon_small.jpg b/res/drawable-mdpi/wallpaper_canyon_small.jpg Binary files differnew file mode 100644 index 000000000..fd4d72f9e --- /dev/null +++ b/res/drawable-mdpi/wallpaper_canyon_small.jpg diff --git a/res/drawable-mdpi/wallpaper_cloud.jpg b/res/drawable-mdpi/wallpaper_cloud.jpg Binary files differnew file mode 100644 index 000000000..f3b5545cd --- /dev/null +++ b/res/drawable-mdpi/wallpaper_cloud.jpg diff --git a/res/drawable-mdpi/wallpaper_cloud_small.jpg b/res/drawable-mdpi/wallpaper_cloud_small.jpg Binary files differnew file mode 100644 index 000000000..0e4c14cf4 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_cloud_small.jpg diff --git a/res/drawable-mdpi/wallpaper_desert.jpg b/res/drawable-mdpi/wallpaper_desert.jpg Binary files differnew file mode 100644 index 000000000..47daa791a --- /dev/null +++ b/res/drawable-mdpi/wallpaper_desert.jpg diff --git a/res/drawable-mdpi/wallpaper_desert_small.jpg b/res/drawable-mdpi/wallpaper_desert_small.jpg Binary files differnew file mode 100644 index 000000000..9252d368d --- /dev/null +++ b/res/drawable-mdpi/wallpaper_desert_small.jpg diff --git a/res/drawable-mdpi/wallpaper_despair.jpg b/res/drawable-mdpi/wallpaper_despair.jpg Binary files differnew file mode 100644 index 000000000..57e82354a --- /dev/null +++ b/res/drawable-mdpi/wallpaper_despair.jpg diff --git a/res/drawable-mdpi/wallpaper_despair_small.jpg b/res/drawable-mdpi/wallpaper_despair_small.jpg Binary files differnew file mode 100644 index 000000000..fc8e3c678 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_despair_small.jpg diff --git a/res/drawable-mdpi/wallpaper_electric.jpg b/res/drawable-mdpi/wallpaper_electric.jpg Binary files differnew file mode 100644 index 000000000..f7800af1a --- /dev/null +++ b/res/drawable-mdpi/wallpaper_electric.jpg diff --git a/res/drawable-mdpi/wallpaper_electric_small.jpg b/res/drawable-mdpi/wallpaper_electric_small.jpg Binary files differnew file mode 100644 index 000000000..66dd573cf --- /dev/null +++ b/res/drawable-mdpi/wallpaper_electric_small.jpg diff --git a/res/drawable-mdpi/wallpaper_field.jpg b/res/drawable-mdpi/wallpaper_field.jpg Binary files differnew file mode 100644 index 000000000..5bab9b52a --- /dev/null +++ b/res/drawable-mdpi/wallpaper_field.jpg diff --git a/res/drawable-mdpi/wallpaper_field_small.jpg b/res/drawable-mdpi/wallpaper_field_small.jpg Binary files differnew file mode 100644 index 000000000..20d9a48c3 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_field_small.jpg diff --git a/res/drawable-mdpi/wallpaper_galaxy.jpg b/res/drawable-mdpi/wallpaper_galaxy.jpg Binary files differnew file mode 100644 index 000000000..de0f3ff1f --- /dev/null +++ b/res/drawable-mdpi/wallpaper_galaxy.jpg diff --git a/res/drawable-mdpi/wallpaper_galaxy_small.jpg b/res/drawable-mdpi/wallpaper_galaxy_small.jpg Binary files differnew file mode 100644 index 000000000..69d48a2aa --- /dev/null +++ b/res/drawable-mdpi/wallpaper_galaxy_small.jpg diff --git a/res/drawable-mdpi/wallpaper_goldengate.jpg b/res/drawable-mdpi/wallpaper_goldengate.jpg Binary files differnew file mode 100644 index 000000000..227109190 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_goldengate.jpg diff --git a/res/drawable-mdpi/wallpaper_goldengate_small.jpg b/res/drawable-mdpi/wallpaper_goldengate_small.jpg Binary files differnew file mode 100644 index 000000000..e9aca1e99 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_goldengate_small.jpg diff --git a/res/drawable-mdpi/wallpaper_grass.jpg b/res/drawable-mdpi/wallpaper_grass.jpg Binary files differnew file mode 100644 index 000000000..e9dc54175 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_grass.jpg diff --git a/res/drawable-mdpi/wallpaper_grass_night.jpg b/res/drawable-mdpi/wallpaper_grass_night.jpg Binary files differnew file mode 100644 index 000000000..b9c74c99e --- /dev/null +++ b/res/drawable-mdpi/wallpaper_grass_night.jpg diff --git a/res/drawable-mdpi/wallpaper_grass_night_small.jpg b/res/drawable-mdpi/wallpaper_grass_night_small.jpg Binary files differnew file mode 100644 index 000000000..353eb189b --- /dev/null +++ b/res/drawable-mdpi/wallpaper_grass_night_small.jpg diff --git a/res/drawable-mdpi/wallpaper_grass_small.jpg b/res/drawable-mdpi/wallpaper_grass_small.jpg Binary files differnew file mode 100644 index 000000000..dc45738aa --- /dev/null +++ b/res/drawable-mdpi/wallpaper_grass_small.jpg diff --git a/res/drawable-mdpi/wallpaper_gray.jpg b/res/drawable-mdpi/wallpaper_gray.jpg Binary files differnew file mode 100644 index 000000000..913f0533e --- /dev/null +++ b/res/drawable-mdpi/wallpaper_gray.jpg diff --git a/res/drawable-mdpi/wallpaper_gray_small.jpg b/res/drawable-mdpi/wallpaper_gray_small.jpg Binary files differnew file mode 100644 index 000000000..d083a74b0 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_gray_small.jpg diff --git a/res/drawable-mdpi/wallpaper_greengray.jpg b/res/drawable-mdpi/wallpaper_greengray.jpg Binary files differnew file mode 100644 index 000000000..1f3c86cd9 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_greengray.jpg diff --git a/res/drawable-mdpi/wallpaper_greengray_small.jpg b/res/drawable-mdpi/wallpaper_greengray_small.jpg Binary files differnew file mode 100644 index 000000000..ebf706636 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_greengray_small.jpg diff --git a/res/drawable-mdpi/wallpaper_hazybluedots.jpg b/res/drawable-mdpi/wallpaper_hazybluedots.jpg Binary files differnew file mode 100644 index 000000000..fe6aeb40a --- /dev/null +++ b/res/drawable-mdpi/wallpaper_hazybluedots.jpg diff --git a/res/drawable-mdpi/wallpaper_hazybluedots_small.jpg b/res/drawable-mdpi/wallpaper_hazybluedots_small.jpg Binary files differnew file mode 100644 index 000000000..c645dea57 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_hazybluedots_small.jpg diff --git a/res/drawable-mdpi/wallpaper_lightgrad.jpg b/res/drawable-mdpi/wallpaper_lightgrad.jpg Binary files differnew file mode 100644 index 000000000..35a45facb --- /dev/null +++ b/res/drawable-mdpi/wallpaper_lightgrad.jpg diff --git a/res/drawable-mdpi/wallpaper_lightgrad_small.jpg b/res/drawable-mdpi/wallpaper_lightgrad_small.jpg Binary files differnew file mode 100644 index 000000000..f909da7af --- /dev/null +++ b/res/drawable-mdpi/wallpaper_lightgrad_small.jpg diff --git a/res/drawable-mdpi/wallpaper_monumentvalley.jpg b/res/drawable-mdpi/wallpaper_monumentvalley.jpg Binary files differnew file mode 100644 index 000000000..1bb5f2c0e --- /dev/null +++ b/res/drawable-mdpi/wallpaper_monumentvalley.jpg diff --git a/res/drawable-mdpi/wallpaper_monumentvalley_small.jpg b/res/drawable-mdpi/wallpaper_monumentvalley_small.jpg Binary files differnew file mode 100644 index 000000000..9ea3309eb --- /dev/null +++ b/res/drawable-mdpi/wallpaper_monumentvalley_small.jpg diff --git a/res/drawable-mdpi/wallpaper_nexuspattern.jpg b/res/drawable-mdpi/wallpaper_nexuspattern.jpg Binary files differnew file mode 100644 index 000000000..212a7b1d3 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_nexuspattern.jpg diff --git a/res/drawable-mdpi/wallpaper_nexuspattern_small.jpg b/res/drawable-mdpi/wallpaper_nexuspattern_small.jpg Binary files differnew file mode 100644 index 000000000..8e474a5de --- /dev/null +++ b/res/drawable-mdpi/wallpaper_nexuspattern_small.jpg diff --git a/res/drawable-mdpi/wallpaper_nexusrain.jpg b/res/drawable-mdpi/wallpaper_nexusrain.jpg Binary files differnew file mode 100644 index 000000000..46c2971e7 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_nexusrain.jpg diff --git a/res/drawable-mdpi/wallpaper_nexusrain_small.jpg b/res/drawable-mdpi/wallpaper_nexusrain_small.jpg Binary files differnew file mode 100644 index 000000000..a23933948 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_nexusrain_small.jpg diff --git a/res/drawable-mdpi/wallpaper_nexuswallpaper1.png b/res/drawable-mdpi/wallpaper_nexuswallpaper1.png Binary files differnew file mode 100644 index 000000000..2856da02b --- /dev/null +++ b/res/drawable-mdpi/wallpaper_nexuswallpaper1.png diff --git a/res/drawable-mdpi/wallpaper_nexuswallpaper1_small.jpg b/res/drawable-mdpi/wallpaper_nexuswallpaper1_small.jpg Binary files differnew file mode 100644 index 000000000..70882bbe9 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_nexuswallpaper1_small.jpg diff --git a/res/drawable-mdpi/wallpaper_pcut.jpg b/res/drawable-mdpi/wallpaper_pcut.jpg Binary files differnew file mode 100644 index 000000000..bb9914da8 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_pcut.jpg diff --git a/res/drawable-mdpi/wallpaper_pcut_small.jpg b/res/drawable-mdpi/wallpaper_pcut_small.jpg Binary files differnew file mode 100644 index 000000000..bd19775b2 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_pcut_small.jpg diff --git a/res/drawable-mdpi/wallpaper_ropelights.jpg b/res/drawable-mdpi/wallpaper_ropelights.jpg Binary files differnew file mode 100644 index 000000000..ca7862f6a --- /dev/null +++ b/res/drawable-mdpi/wallpaper_ropelights.jpg diff --git a/res/drawable-mdpi/wallpaper_ropelights_small.jpg b/res/drawable-mdpi/wallpaper_ropelights_small.jpg Binary files differnew file mode 100644 index 000000000..ac6fb29e9 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_ropelights_small.jpg diff --git a/res/drawable-mdpi/wallpaper_tree.jpg b/res/drawable-mdpi/wallpaper_tree.jpg Binary files differnew file mode 100644 index 000000000..f998bea35 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_tree.jpg diff --git a/res/drawable-mdpi/wallpaper_tree_small.jpg b/res/drawable-mdpi/wallpaper_tree_small.jpg Binary files differnew file mode 100644 index 000000000..425305af0 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_tree_small.jpg diff --git a/res/drawable-mdpi/wallpaper_x67.jpg b/res/drawable-mdpi/wallpaper_x67.jpg Binary files differnew file mode 100644 index 000000000..400aa27be --- /dev/null +++ b/res/drawable-mdpi/wallpaper_x67.jpg diff --git a/res/drawable-mdpi/wallpaper_x67_small.jpg b/res/drawable-mdpi/wallpaper_x67_small.jpg Binary files differnew file mode 100644 index 000000000..10e0faab6 --- /dev/null +++ b/res/drawable-mdpi/wallpaper_x67_small.jpg diff --git a/res/drawable-mdpi/wallpaper_zanzibar.jpg b/res/drawable-mdpi/wallpaper_zanzibar.jpg Binary files differnew file mode 100644 index 000000000..9218895aa --- /dev/null +++ b/res/drawable-mdpi/wallpaper_zanzibar.jpg diff --git a/res/drawable-mdpi/wallpaper_zanzibar_small.jpg b/res/drawable-mdpi/wallpaper_zanzibar_small.jpg Binary files differnew file mode 100644 index 000000000..affdc8c8b --- /dev/null +++ b/res/drawable-mdpi/wallpaper_zanzibar_small.jpg diff --git a/res/drawable/home_button.xml b/res/drawable/home_button.xml new file mode 100644 index 000000000..032989d52 --- /dev/null +++ b/res/drawable/home_button.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/home_button_pressed" /> + <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/home_button_focused" /> + <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/home_button_normal" /> + <item android:drawable="@drawable/home_button_normal" /> +</selector> + diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml index 2688dd036..bfb54aa4a 100644 --- a/res/layout-land/launcher.xml +++ b/res/layout-land/launcher.xml @@ -22,17 +22,7 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - <com.android.launcher2.AllAppsView - android:id="@+id/all_apps_view" - android:layout_width="match_parent" - android:layout_height="match_parent" - - android:scrollbarStyle="outsideInset" - android:drawSelectorOnTop="false" - android:listSelector="@drawable/grid_selector" - - android:verticalSpacing="10dip" - android:numColumns="4" /> + <include layout="@layout/all_apps" /> <!-- The workspace contains 3 screens of cells --> <com.android.launcher2.Workspace diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml index f73e91c5d..a758a0dc7 100644 --- a/res/layout-port/launcher.xml +++ b/res/layout-port/launcher.xml @@ -22,18 +22,7 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - <com.android.launcher2.AllAppsView - android:id="@+id/all_apps_view" - android:layout_width="match_parent" - android:layout_height="match_parent" - - android:scrollbarStyle="outsideInset" - android:drawSelectorOnTop="false" - android:listSelector="@drawable/grid_selector" - - android:verticalSpacing="10dip" - android:numColumns="4" - /> + <include layout="@layout/all_apps" /> <!-- The workspace contains 3 screens of cells --> <com.android.launcher2.Workspace diff --git a/res/layout/all_apps.xml b/res/layout/all_apps.xml new file mode 100644 index 000000000..7975df40a --- /dev/null +++ b/res/layout/all_apps.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- Replace with AllAppsView to use 2D version --> +<com.android.launcher2.AllApps3D + xmlns:android="http://schemas.android.com/apk/res/android" + + android:id="@+id/all_apps_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + + android:scrollbarStyle="outsideInset" + android:drawSelectorOnTop="false" + android:listSelector="@drawable/grid_selector" + android:verticalSpacing="10dip" + android:numColumns="4" + android:fadingEdgeLength="20dip" + android:padding="2dip" + android:cacheColorHint="#FF000000" + /> diff --git a/res/values/config.xml b/res/values/config.xml new file mode 100644 index 000000000..56717e946 --- /dev/null +++ b/res/values/config.xml @@ -0,0 +1,4 @@ +<resources> + <integer name="config_allAppsFadeInTime">1000</integer> + <integer name="config_allAppsFadeOutTime">250</integer> +</resources> |