From 163c7a28554f63d61f26391f223adcbbe0cdb2e3 Mon Sep 17 00:00:00 2001 From: Kolja Dummann Date: Thu, 26 May 2011 23:13:57 +0200 Subject: overlay: code dedup, move overlay to aries-common new update script for radio image fix tethering interface Change-Id: I19583cce1aac14cef01f5ba05b85fb1bfbedb507 --- .../res/res/drawable-hdpi/default_wallpaper.jpg | Bin 0 -> 298259 bytes .../base/core/res/res/values-de/arrays.xml | 26 ++ .../base/core/res/res/values-fi-rFI/arrays.xml | 28 ++ .../base/core/res/res/values-fr/arrays.xml | 25 ++ .../base/core/res/res/values-it/arrays.xml | 31 ++ .../base/core/res/res/values-pt-rBR/arrays.xml | 36 +++ .../base/core/res/res/values-ru/arrays.xml | 10 + .../base/core/res/res/values-sv/arrays.xml | 28 ++ .../base/core/res/res/values-uk/arrays.xml | 10 + .../base/core/res/res/values-zh-rTW/arrays.xml | 39 +++ .../frameworks/base/core/res/res/values/arrays.xml | 125 ++++++++ .../frameworks/base/core/res/res/values/config.xml | 185 ++++++++++++ .../base/core/res/res/xml/power_profile.xml | 60 ++++ .../SettingsProvider/res/values/defaults.xml | 22 ++ .../base/tests/ImfTest/res/values/config.xml | 21 ++ .../packages/apps/Contacts/res/values/config.xml | 21 ++ .../res/drawable-hdpi/wallpaper_grass.jpg | Bin 0 -> 420605 bytes .../res/drawable-hdpi/wallpaper_grass_small.jpg | Bin 0 -> 27168 bytes .../res/drawable-hdpi/wallpaper_mountains.jpg | Bin 0 -> 323665 bytes .../drawable-hdpi/wallpaper_mountains_small.jpg | Bin 0 -> 19299 bytes .../res/drawable-hdpi/wallpaper_phasebeam.jpg | Bin 0 -> 39209 bytes .../drawable-hdpi/wallpaper_phasebeam_small.jpg | Bin 0 -> 6547 bytes .../res/drawable-hdpi/wallpaper_pulse.jpg | Bin 0 -> 42199 bytes .../res/drawable-hdpi/wallpaper_pulse_small.jpg | Bin 0 -> 5871 bytes .../res/drawable-hdpi/wallpaper_shuttle.jpg | Bin 0 -> 154313 bytes .../res/drawable-hdpi/wallpaper_shuttle_small.jpg | Bin 0 -> 8190 bytes .../res/drawable-hdpi/wallpaper_stars.jpg | Bin 0 -> 439193 bytes .../res/drawable-hdpi/wallpaper_stars_small.jpg | Bin 0 -> 33400 bytes .../res/drawable-hdpi/wallpaper_stream.jpg | Bin 0 -> 42360 bytes .../res/drawable-hdpi/wallpaper_stream_small.jpg | Bin 0 -> 5707 bytes .../res/drawable-hdpi/wallpaper_street_lights.jpg | Bin 0 -> 227572 bytes .../wallpaper_street_lights_small.jpg | Bin 0 -> 23522 bytes .../res/drawable-hdpi/wallpaper_sunset.jpg | Bin 0 -> 206025 bytes .../res/drawable-hdpi/wallpaper_sunset_small.jpg | Bin 0 -> 14751 bytes .../apps/Launcher2/res/values-hdpi/wallpapers.xml | 36 +++ overlay/packages/apps/Phone/res/values/config.xml | 36 +++ .../packages/apps/Settings/res/values/bools.xml | 23 ++ .../Basic/res/drawable-hdpi/nexus_thumb.png | Bin 0 -> 14743 bytes .../Basic/res/drawable-hdpi/pyramid_background.png | Bin 0 -> 688177 bytes overlay/packages/wallpapers/Basic/res/raw/nexus.rs | 313 +++++++++++++++++++++ .../wallpapers/Basic/res/values/surfacemode.xml | 18 ++ 41 files changed, 1093 insertions(+) create mode 100644 overlay/frameworks/base/core/res/res/drawable-hdpi/default_wallpaper.jpg create mode 100644 overlay/frameworks/base/core/res/res/values-de/arrays.xml create mode 100644 overlay/frameworks/base/core/res/res/values-fi-rFI/arrays.xml create mode 100644 overlay/frameworks/base/core/res/res/values-fr/arrays.xml create mode 100644 overlay/frameworks/base/core/res/res/values-it/arrays.xml create mode 100755 overlay/frameworks/base/core/res/res/values-pt-rBR/arrays.xml create mode 100644 overlay/frameworks/base/core/res/res/values-ru/arrays.xml create mode 100644 overlay/frameworks/base/core/res/res/values-sv/arrays.xml create mode 100644 overlay/frameworks/base/core/res/res/values-uk/arrays.xml create mode 100644 overlay/frameworks/base/core/res/res/values-zh-rTW/arrays.xml create mode 100644 overlay/frameworks/base/core/res/res/values/arrays.xml create mode 100644 overlay/frameworks/base/core/res/res/values/config.xml create mode 100644 overlay/frameworks/base/core/res/res/xml/power_profile.xml create mode 100644 overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml create mode 100644 overlay/frameworks/base/tests/ImfTest/res/values/config.xml create mode 100644 overlay/packages/apps/Contacts/res/values/config.xml create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass_small.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains_small.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam_small.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse_small.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle_small.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars_small.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream_small.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights_small.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset.jpg create mode 100644 overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset_small.jpg create mode 100644 overlay/packages/apps/Launcher2/res/values-hdpi/wallpapers.xml create mode 100644 overlay/packages/apps/Phone/res/values/config.xml create mode 100644 overlay/packages/apps/Settings/res/values/bools.xml create mode 100644 overlay/packages/wallpapers/Basic/res/drawable-hdpi/nexus_thumb.png create mode 100644 overlay/packages/wallpapers/Basic/res/drawable-hdpi/pyramid_background.png create mode 100644 overlay/packages/wallpapers/Basic/res/raw/nexus.rs create mode 100644 overlay/packages/wallpapers/Basic/res/values/surfacemode.xml (limited to 'overlay') diff --git a/overlay/frameworks/base/core/res/res/drawable-hdpi/default_wallpaper.jpg b/overlay/frameworks/base/core/res/res/drawable-hdpi/default_wallpaper.jpg new file mode 100644 index 0000000..811149b Binary files /dev/null and b/overlay/frameworks/base/core/res/res/drawable-hdpi/default_wallpaper.jpg differ diff --git a/overlay/frameworks/base/core/res/res/values-de/arrays.xml b/overlay/frameworks/base/core/res/res/values-de/arrays.xml new file mode 100644 index 0000000..7f97684 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-de/arrays.xml @@ -0,0 +1,26 @@ + + + + + + Neu starten + Recovery + + diff --git a/overlay/frameworks/base/core/res/res/values-fi-rFI/arrays.xml b/overlay/frameworks/base/core/res/res/values-fi-rFI/arrays.xml new file mode 100644 index 0000000..00eb6cb --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-fi-rFI/arrays.xml @@ -0,0 +1,28 @@ + + + + + + + Käynnistä uudelleen + Recovery + + + diff --git a/overlay/frameworks/base/core/res/res/values-fr/arrays.xml b/overlay/frameworks/base/core/res/res/values-fr/arrays.xml new file mode 100644 index 0000000..69eeb7a --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-fr/arrays.xml @@ -0,0 +1,25 @@ + + + + + Redémarrage + Recovery + + diff --git a/overlay/frameworks/base/core/res/res/values-it/arrays.xml b/overlay/frameworks/base/core/res/res/values-it/arrays.xml new file mode 100644 index 0000000..3984c9a --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-it/arrays.xml @@ -0,0 +1,31 @@ + + + + + + + + + Riavvia + Recovery + + + + diff --git a/overlay/frameworks/base/core/res/res/values-pt-rBR/arrays.xml b/overlay/frameworks/base/core/res/res/values-pt-rBR/arrays.xml new file mode 100755 index 0000000..7cde789 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-pt-rBR/arrays.xml @@ -0,0 +1,36 @@ + + + + + + + -22863878 + -43244097 + + + + 3 + + + + Reiniciar + Recuperação + + diff --git a/overlay/frameworks/base/core/res/res/values-ru/arrays.xml b/overlay/frameworks/base/core/res/res/values-ru/arrays.xml new file mode 100644 index 0000000..88a5b21 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-ru/arrays.xml @@ -0,0 +1,10 @@ + + + + + + Перезагрузить + Recovery + + + diff --git a/overlay/frameworks/base/core/res/res/values-sv/arrays.xml b/overlay/frameworks/base/core/res/res/values-sv/arrays.xml new file mode 100644 index 0000000..d5adb37 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-sv/arrays.xml @@ -0,0 +1,28 @@ + + + + + + + Omstart + Recovery + + + diff --git a/overlay/frameworks/base/core/res/res/values-uk/arrays.xml b/overlay/frameworks/base/core/res/res/values-uk/arrays.xml new file mode 100644 index 0000000..9b0081d --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-uk/arrays.xml @@ -0,0 +1,10 @@ + + + + + + Перезавантажити + Реж. відновлення + + + diff --git a/overlay/frameworks/base/core/res/res/values-zh-rTW/arrays.xml b/overlay/frameworks/base/core/res/res/values-zh-rTW/arrays.xml new file mode 100644 index 0000000..fca8906 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-zh-rTW/arrays.xml @@ -0,0 +1,39 @@ + + + + + + + 25022112 + 121478019 + + + + 3 + + + + + + 重新開機 + Recovery + + + diff --git a/overlay/frameworks/base/core/res/res/values/arrays.xml b/overlay/frameworks/base/core/res/res/values/arrays.xml new file mode 100644 index 0000000..3b32312 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values/arrays.xml @@ -0,0 +1,125 @@ + + + + + + + @drawable/sym_def_app_icon + @drawable/arrow_down_float + @drawable/btn_check + @drawable/btn_check_label_background + @drawable/btn_check_off + @drawable/btn_check_on + @drawable/btn_default + @drawable/btn_default_small + @drawable/btn_dropdown + @drawable/btn_plus + @drawable/btn_minus + @drawable/btn_radio + @drawable/btn_star + @drawable/btn_toggle + @drawable/ic_emergency + @drawable/divider_horizontal_bright + @drawable/divider_horizontal_dark + @drawable/edit_text + @drawable/expander_group + @drawable/list_selector_background + @drawable/menu_background + @drawable/menu_background_fill_parent_width + @drawable/menu_selector + @drawable/panel_background + @drawable/popup_bottom_bright + @drawable/popup_bottom_dark + @drawable/popup_bottom_medium + @drawable/popup_center_bright + @drawable/popup_center_dark + @drawable/popup_full_dark + @drawable/popup_top_bright + @drawable/popup_top_dark + @drawable/progress_horizontal + @drawable/progress_indeterminate_horizontal + @drawable/progress_small + @drawable/progress_small_titlebar + @drawable/screen_background_dark + @drawable/screen_background_light + @drawable/scrollbar_handle_horizontal + @drawable/scrollbar_handle_vertical + @drawable/spinner_dropdown_background + @drawable/text_select_handle_left + @drawable/text_select_handle_middle + @drawable/text_select_handle_right + @drawable/title_bar + @drawable/title_bar_shadow + + @drawable/indicator_code_lock_drag_direction_green_up + @drawable/indicator_code_lock_drag_direction_red_up + @drawable/indicator_code_lock_point_area_default + @drawable/indicator_code_lock_point_area_green + @drawable/indicator_code_lock_point_area_red + + @drawable/overscroll_glow + @drawable/overscroll_edge + + + + + @color/hint_foreground_dark + @color/hint_foreground_light + @color/primary_text_dark + @color/primary_text_dark_disable_only + @color/primary_text_light + @color/primary_text_light_disable_only + @color/primary_text_light_nodisable + @color/secondary_text_dark + @color/secondary_text_light + @color/tab_indicator_text + @color/tertiary_text_dark + @color/tertiary_text_light + #ff000000 + #00000000 + #ffffffff + + + + + 36149777 + -95993398 + + + + 3 + + + + + Reboot + Recovery + + + + + + recovery + + + diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..6336d69 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,185 @@ + + + + + + + true + + + true + + + false + + + true + + + + 10 + 160 + 225 + 320 + 640 + 1280 + 2600 + 10240 + + + + + 20 + 20 + 20 + 20 + 35 + 50 + 50 + 100 + 255 + + + + + 255 + 255 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + com.android.wallpaper/.nexus.NexusWallpaper + + 0 + 1 + + + #ffffffff + + + 9000 + + + com.google.android.location.NetworkLocationProvider + + + com.google.android.location.GeocodeProvider + + + + + + + + "wifi,1,1,1" + "mobile,0,0,0" + "mobile_mms,2,0,2" + "mobile_supl,3,0,2" + "mobile_dun,4,0,4" + "mobile_hipri,5,0,3" + + + + + "usb0" + + + + + "pdp\\d" + "eth\\d" + + + + + "wl0.1" + + + + + false + + + + 30 + + + + + 1 + + + + true + + + + + true + diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml new file mode 100644 index 0000000..a00f060 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml @@ -0,0 +1,60 @@ + + + + + 0 + 49 + 142 + 0.3 + + 35690 + 260 + 4 + 120 + 220 + 88 + 88 + 185 + 50 + 1500 + 88 + + 3.4 + 3.4 + + + 100000 + 200000 + 400000 + 800000 + 1000000 + + + 1.4 + + 44 + + + 55.4 + 82.1 + 113.7 + 205.4 + 259.0 + + diff --git a/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml new file mode 100644 index 0000000..a6af5fd --- /dev/null +++ b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml @@ -0,0 +1,22 @@ + + + + true + true + diff --git a/overlay/frameworks/base/tests/ImfTest/res/values/config.xml b/overlay/frameworks/base/tests/ImfTest/res/values/config.xml new file mode 100644 index 0000000..157d04a --- /dev/null +++ b/overlay/frameworks/base/tests/ImfTest/res/values/config.xml @@ -0,0 +1,21 @@ + + + + true + diff --git a/overlay/packages/apps/Contacts/res/values/config.xml b/overlay/packages/apps/Contacts/res/values/config.xml new file mode 100644 index 0000000..6e48cd8 --- /dev/null +++ b/overlay/packages/apps/Contacts/res/values/config.xml @@ -0,0 +1,21 @@ + + + + + + + true + diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass.jpg new file mode 100644 index 0000000..5518d6d Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass_small.jpg new file mode 100644 index 0000000..a1751e2 Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass_small.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains.jpg new file mode 100644 index 0000000..95c59ea Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains_small.jpg new file mode 100644 index 0000000..956e8f0 Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains_small.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam.jpg new file mode 100644 index 0000000..4bc7ff3 Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam_small.jpg new file mode 100644 index 0000000..f034b33 Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam_small.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse.jpg new file mode 100644 index 0000000..2f96d02 Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse_small.jpg new file mode 100644 index 0000000..34ca847 Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse_small.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle.jpg new file mode 100644 index 0000000..f4a3934 Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle_small.jpg new file mode 100644 index 0000000..d580182 Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle_small.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars.jpg new file mode 100644 index 0000000..8f3ec2d Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars_small.jpg new file mode 100644 index 0000000..ba76f18 Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars_small.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream.jpg new file mode 100644 index 0000000..fdd4aaf Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream_small.jpg new file mode 100644 index 0000000..432d67d Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream_small.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights.jpg new file mode 100644 index 0000000..a8b6880 Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights_small.jpg new file mode 100644 index 0000000..11c253e Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights_small.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset.jpg new file mode 100644 index 0000000..660040e Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset_small.jpg new file mode 100644 index 0000000..ed79925 Binary files /dev/null and b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset_small.jpg differ diff --git a/overlay/packages/apps/Launcher2/res/values-hdpi/wallpapers.xml b/overlay/packages/apps/Launcher2/res/values-hdpi/wallpapers.xml new file mode 100644 index 0000000..40033cf --- /dev/null +++ b/overlay/packages/apps/Launcher2/res/values-hdpi/wallpapers.xml @@ -0,0 +1,36 @@ + + + + + + wallpaper_street_lights + wallpaper_stream + wallpaper_phasebeam + wallpaper_pulse + wallpaper_nexusrain + wallpaper_stars + wallpaper_canyon + wallpaper_grass + wallpaper_zanzibar + wallpaper_cloud + wallpaper_monumentvalley + wallpaper_mountains + wallpaper_sunset + wallpaper_goldengate + wallpaper_shuttle + + diff --git a/overlay/packages/apps/Phone/res/values/config.xml b/overlay/packages/apps/Phone/res/values/config.xml new file mode 100644 index 0000000..69d82c1 --- /dev/null +++ b/overlay/packages/apps/Phone/res/values/config.xml @@ -0,0 +1,36 @@ + + + + + + + + true + true + + + false + + + true + + + true + + diff --git a/overlay/packages/apps/Settings/res/values/bools.xml b/overlay/packages/apps/Settings/res/values/bools.xml new file mode 100644 index 0000000..83d1213 --- /dev/null +++ b/overlay/packages/apps/Settings/res/values/bools.xml @@ -0,0 +1,23 @@ + + + + + + false + + true + diff --git a/overlay/packages/wallpapers/Basic/res/drawable-hdpi/nexus_thumb.png b/overlay/packages/wallpapers/Basic/res/drawable-hdpi/nexus_thumb.png new file mode 100644 index 0000000..84462e2 Binary files /dev/null and b/overlay/packages/wallpapers/Basic/res/drawable-hdpi/nexus_thumb.png differ diff --git a/overlay/packages/wallpapers/Basic/res/drawable-hdpi/pyramid_background.png b/overlay/packages/wallpapers/Basic/res/drawable-hdpi/pyramid_background.png new file mode 100644 index 0000000..2310a91 Binary files /dev/null and b/overlay/packages/wallpapers/Basic/res/drawable-hdpi/pyramid_background.png differ diff --git a/overlay/packages/wallpapers/Basic/res/raw/nexus.rs b/overlay/packages/wallpapers/Basic/res/raw/nexus.rs new file mode 100644 index 0000000..df79689 --- /dev/null +++ b/overlay/packages/wallpapers/Basic/res/raw/nexus.rs @@ -0,0 +1,313 @@ +// 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. + +#pragma version(1) +#pragma stateVertex(PVOrtho) +#pragma stateStore(PSSolid) + +#define MAX_PULSES 20 +#define MAX_EXTRAS 40 +#define PULSE_SIZE 14 // Size in pixels of a cell +#define HALF_PULSE_SIZE 7 +#define GLOW_SIZE 64 // Size of the leading glow in pixels +#define HALF_GLOW_SIZE 32 +#define SPEED 0.2f // (200 / 1000) Pixels per ms +#define SPEED_VARIANCE 0.3f +#define PULSE_NORMAL 0 +#define PULSE_EXTRA 1 +#define TRAIL_SIZE 40 // Number of cells in a trail +#define MAX_DELAY 2000 // Delay between a pulse going offscreen and restarting + +struct pulse_s { + int pulseType; + float originX; + float originY; + int color; + int startTime; + float dx; + float dy; + float scale; + int active; +}; +struct pulse_s gPulses[MAX_PULSES]; + +struct pulse_s gExtras[MAX_EXTRAS]; + +int gNow; + + +void setColor(int c) { + if (State->mode == 1) { + // sholes red + color(0.9f, 0.1f, 0.1f, 0.8f); + } else if (c == 0) { + // red + color(1.0f, 0.0f, 0.0f, 0.8f); + } else if (c == 1) { + // green + color(0.0f, 0.8f, 0.0f, 0.8f); + } else if (c == 2) { + // blue + color(0.0f, 0.4f, 0.9f, 0.8f); + } else if (c == 3) { + // yellow + color(1.0f, 0.8f, 0.0f, 0.8f); + } +} + +void initPulse(struct pulse_s * pulse, int pulseType) { + float scale = randf2(0.7f, 1.7f); + pulse->scale = scale; + if (randf(1) > 0.5f) { + pulse->originX = (int)randf(State->width * 2 / PULSE_SIZE) * PULSE_SIZE; + pulse->dx = 0; + if (randf(1) > 0.5f) { + // Top + pulse->originY = 0; + pulse->dy = scale; + } else { + // Bottom + pulse->originY = State->height / scale; + pulse->dy = -scale; + } + } else { + pulse->originY = (int)randf(State->height / PULSE_SIZE) * PULSE_SIZE; + pulse->dy = 0; + if (randf(1) > 0.5f) { + // Left + pulse->originX = 0; + pulse->dx = scale; + } else { + // Right + pulse->originX = State->width * 2 / scale; + pulse->dx = -scale; + } + } + pulse->startTime = gNow + (int)randf(MAX_DELAY); + + pulse->color = (int)randf(4.0f); + + pulse->pulseType = pulseType; + if (pulseType == PULSE_EXTRA) { + pulse->active = 0; + } else { + pulse->active = 1; + } +} + +void initPulses() { + gNow = uptimeMillis(); + int i; + for (i=0; ipulseType = PULSE_EXTRA; + p->active = 0; + } +} + +void drawBackground(int width, int height) { + bindProgramFragment(NAMED_PFTextureBG); + bindTexture(NAMED_PFTextureBG, 0, NAMED_TBackground); + color(1.0f, 1.0f, 1.0f, 1.0f); + if (State->rotate) { + drawRect(0.0f, 0.0f, height*2, width, 0.0f); + } else { + drawRect(0.0f, 0.0f, width*2, height, 0.0f); + } +} + +void drawPulses(struct pulse_s * pulseSet, int setSize) { + bindProgramFragment(NAMED_PFTexture); + bindProgramFragmentStore(NAMED_PSBlend); + + float matrix[16]; + float modelMatrix[16]; + + int i; + for (i=0; istartTime; + + if (p->active != 0 && delta >= 0) { + + matrixLoadIdentity(modelMatrix); + if (State->rotate) { + //matrixLoadRotate(modelMatrix, 90.0f, 0.0f, 0.0f, 1.0f); + //matrixTranslate(modelMatrix, 0.0f, -height, 1.0f); + // XXX: HAX: do not slide display in landscape + } else { + matrixTranslate(modelMatrix, -(State->xOffset * State->width), 0, 0); + } + matrixScale(modelMatrix, p->scale, p->scale, 1.0f); + vpLoadModelMatrix(modelMatrix); + + float x = p->originX + (p->dx * SPEED * delta); + float y = p->originY + (p->dy * SPEED * delta); + + matrixLoadIdentity(matrix); + if (p->dx < 0) { + vpLoadTextureMatrix(matrix); + float xx = x + (TRAIL_SIZE * PULSE_SIZE); + if (xx <= 0) { + initPulse(p, p->pulseType); + } else { + setColor(p->color); + bindTexture(NAMED_PFTexture, 0, NAMED_TPulse); + drawRect(x, y, xx, y + PULSE_SIZE, 0.0f); + bindTexture(NAMED_PFTexture, 0, NAMED_TGlow); + drawRect(x + HALF_PULSE_SIZE - HALF_GLOW_SIZE, + y + HALF_PULSE_SIZE - HALF_GLOW_SIZE, + x + HALF_PULSE_SIZE + HALF_GLOW_SIZE, + y + HALF_PULSE_SIZE + HALF_GLOW_SIZE, + 0.0f); + } + } else if (p->dx > 0) { + x += PULSE_SIZE; // need to start on the other side of this cell + vpLoadTextureMatrix(matrix); + float xx = x - (TRAIL_SIZE * PULSE_SIZE); + if (xx >= State->width * 2) { + initPulse(p, p->pulseType); + } else { + setColor(p->color); + bindTexture(NAMED_PFTexture, 0, NAMED_TPulse); + drawRect(x, y, xx, y + PULSE_SIZE, 0.0f); + bindTexture(NAMED_PFTexture, 0, NAMED_TGlow); + drawRect(x - HALF_PULSE_SIZE - HALF_GLOW_SIZE, + y + HALF_PULSE_SIZE - HALF_GLOW_SIZE, + x - HALF_PULSE_SIZE + HALF_GLOW_SIZE, + y + HALF_PULSE_SIZE + HALF_GLOW_SIZE, + 0.0f); + } + } else if (p->dy < 0) { + vpLoadTextureMatrix(matrix); + float yy = y + (TRAIL_SIZE * PULSE_SIZE); + if (yy <= 0) { + initPulse(p, p->pulseType); + } else { + setColor(p->color); + bindTexture(NAMED_PFTexture, 0, NAMED_TPulseVert); + drawRect(x, yy, x + PULSE_SIZE, y, 0.0f); + bindTexture(NAMED_PFTexture, 0, NAMED_TGlow); + drawRect(x + HALF_PULSE_SIZE - HALF_GLOW_SIZE, + y + HALF_PULSE_SIZE - HALF_GLOW_SIZE, + x + HALF_PULSE_SIZE + HALF_GLOW_SIZE, + y + HALF_PULSE_SIZE + HALF_GLOW_SIZE, + 0.0f); + } + } else if (p->dy > 0) { + y += PULSE_SIZE; // need to start on the other side of this cell + vpLoadTextureMatrix(matrix); + float yy = y - (TRAIL_SIZE * PULSE_SIZE); + if (yy >= State->height) { + initPulse(p, p->pulseType); + } else { + setColor(p->color); + bindTexture(NAMED_PFTexture, 0, NAMED_TPulseVert); + drawRect(x, yy, x + PULSE_SIZE, y, 0.0f); + bindTexture(NAMED_PFTexture, 0, NAMED_TGlow); + drawRect(x + HALF_PULSE_SIZE - HALF_GLOW_SIZE, + y - HALF_PULSE_SIZE - HALF_GLOW_SIZE, + x + HALF_PULSE_SIZE + HALF_GLOW_SIZE, + y - HALF_PULSE_SIZE + HALF_GLOW_SIZE, + 0.0f); + } + } + } + } + + + matrixLoadIdentity(matrix); + vpLoadTextureMatrix(matrix); +} + +void addTap(int x, int y) { + int i; + int count = 0; + int color = (int)randf(4.0f); + float scale = randf2(0.9f, 1.9f); + x = (int)(x / PULSE_SIZE) * PULSE_SIZE; + y = (int)(y / PULSE_SIZE) * PULSE_SIZE; + for (i=0; iactive == 0) { + p->originX = x/scale; + p->originY = y/scale; + p->scale = scale; + + if (count == 0) { + p->dx = scale; + p->dy = 0.0f; + } else if (count == 1) { + p->dx = -scale; + p->dy = 0.0f; + } else if (count == 2) { + p->dx = 0.0f; + p->dy = scale; + } else if (count == 3) { + p->dx = 0.0f; + p->dy = -scale; + } + + p->active = 1; + p->color = color; + color++; + if (color >= 4) { + color = 0; + } + p->startTime = gNow; + count++; + if (count == 4) { + break; + } + } + } +} + +int main(int index) { + + gNow = uptimeMillis(); + + if (Command->command != 0) { + //debugF("x", Command->x); + //debugF("y", Command->y); + Command->command = 0; + addTap(Command->x, Command->y); + } + + int width = State->width; + int height = State->height; + + float matrix[16]; + matrixLoadIdentity(matrix); + if (State->rotate) { + //matrixLoadRotate(matrix, 90.0f, 0.0f, 0.0f, 1.0f); + //matrixTranslate(matrix, 0.0f, -height, 1.0f); + // XXX: HAX: do not slide display in landscape + } else { + matrixTranslate(matrix, -(State->xOffset * width), 0, 0); + } + + vpLoadModelMatrix(matrix); + + drawBackground(width, height); + + drawPulses(gPulses, MAX_PULSES); + drawPulses(gExtras, MAX_EXTRAS); + + return 45; +} diff --git a/overlay/packages/wallpapers/Basic/res/values/surfacemode.xml b/overlay/packages/wallpapers/Basic/res/values/surfacemode.xml new file mode 100644 index 0000000..37774ed --- /dev/null +++ b/overlay/packages/wallpapers/Basic/res/values/surfacemode.xml @@ -0,0 +1,18 @@ + + + + true + -- cgit v1.1