diff options
author | Kolja Dummann <k.dummann@gmail.com> | 2011-05-26 23:43:07 +0200 |
---|---|---|
committer | Kolja Dummann <k.dummann@gmail.com> | 2011-05-28 20:47:00 +0200 |
commit | 248feabe4a4b543d6eb79c75414d9ef3170b0e64 (patch) | |
tree | 3d27abc91dd2936b3df9dfc9646033ac6d18597b /overlay | |
parent | 20a2bf19740713c0411e64ca3d9095f08b0a4f7a (diff) | |
download | device_samsung_galaxysmtd-248feabe4a4b543d6eb79c75414d9ef3170b0e64.zip device_samsung_galaxysmtd-248feabe4a4b543d6eb79c75414d9ef3170b0e64.tar.gz device_samsung_galaxysmtd-248feabe4a4b543d6eb79c75414d9ef3170b0e64.tar.bz2 |
overlay: code dedup, move overlay to aries-common
fix mobile data interface name
new pre build kernel
Change-Id: Ice8b7e840341e9e810833aee9473384b7e674e23
Diffstat (limited to 'overlay')
41 files changed, 0 insertions, 1091 deletions
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 Binary files differdeleted file mode 100644 index 811149b..0000000 --- a/overlay/frameworks/base/core/res/res/drawable-hdpi/default_wallpaper.jpg +++ /dev/null diff --git a/overlay/frameworks/base/core/res/res/values-de/arrays.xml b/overlay/frameworks/base/core/res/res/values-de/arrays.xml deleted file mode 100644 index 7f97684..0000000 --- a/overlay/frameworks/base/core/res/res/values-de/arrays.xml +++ /dev/null @@ -1,26 +0,0 @@ -<!-- -/* //device/apps/common/assets/res/any/colors.xml -** -** Copyright 2006, 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. -*/ ---> - -<!-- Defines the shutdown options shown in the reboot dialog. --> -<resources> - <array name="shutdown_reboot_options"> - <item>Neu starten</item> - <item>Recovery</item> - </array> -</resources> 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 deleted file mode 100644 index 00eb6cb..0000000 --- a/overlay/frameworks/base/core/res/res/values-fi-rFI/arrays.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* //device/apps/common/assets/res/any/colors.xml -** -** Copyright 2006, Google Inc. -** -** 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. -*/ ---> -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - - <!-- Defines the shutdown options shown in the reboot dialog. --> - <array name="shutdown_reboot_options"> - <item>Käynnistä uudelleen</item> - <item>Recovery</item> - </array> - -</resources> diff --git a/overlay/frameworks/base/core/res/res/values-fr/arrays.xml b/overlay/frameworks/base/core/res/res/values-fr/arrays.xml deleted file mode 100644 index 69eeb7a..0000000 --- a/overlay/frameworks/base/core/res/res/values-fr/arrays.xml +++ /dev/null @@ -1,25 +0,0 @@ -<!-- -/* //device/apps/common/assets/res/any/colors.xml -** -** Copyright 2006, 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. -*/ ---> -<resources> - <!-- Defines the shutdown options shown in the reboot dialog. --> - <array name="shutdown_reboot_options"> - <item>Redémarrage</item> - <item>Recovery</item> - </array> -</resources> diff --git a/overlay/frameworks/base/core/res/res/values-it/arrays.xml b/overlay/frameworks/base/core/res/res/values-it/arrays.xml deleted file mode 100644 index 3984c9a..0000000 --- a/overlay/frameworks/base/core/res/res/values-it/arrays.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* //device/apps/common/assets/res/any/colors.xml -** -** Copyright 2006, 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. -*/ ---> -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - - - - <!-- Defines the shutdown options shown in the reboot dialog. --> - <array name="shutdown_reboot_options"> - <item>Riavvia</item> - <item>Recovery</item> - </array> - - -</resources> 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 deleted file mode 100755 index 7cde789..0000000 --- a/overlay/frameworks/base/core/res/res/values-pt-rBR/arrays.xml +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* //device/apps/common/assets/res/any/colors.xml -** -** Copyright 2006, Google Inc. -** -** 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. -*/ ---> -<resources> - - <!-- Do not translate. --> - <integer-array name="maps_starting_lat_lng"> - <item>-22863878</item> - <item>-43244097</item> - </integer-array> - <!-- Do not translate. --> - <integer-array name="maps_starting_zoom"> - <item>3</item> - </integer-array> - - <array name="shutdown_reboot_options"> - <item>Reiniciar</item> - <item>Recuperação</item> - </array> -</resources> diff --git a/overlay/frameworks/base/core/res/res/values-ru/arrays.xml b/overlay/frameworks/base/core/res/res/values-ru/arrays.xml deleted file mode 100644 index 88a5b21..0000000 --- a/overlay/frameworks/base/core/res/res/values-ru/arrays.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> - -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - - <array name="shutdown_reboot_options"> - <item>Перезагрузить</item> - <item>Recovery</item> - </array> - -</resources> diff --git a/overlay/frameworks/base/core/res/res/values-sv/arrays.xml b/overlay/frameworks/base/core/res/res/values-sv/arrays.xml deleted file mode 100644 index d5adb37..0000000 --- a/overlay/frameworks/base/core/res/res/values-sv/arrays.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* //device/apps/common/assets/res/any/colors.xml -** -** Copyright 2006, 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. -*/ ---> -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - - <!-- Defines the shutdown options shown in the reboot dialog. --> - <array name="shutdown_reboot_options"> - <item>Omstart</item> - <item>Recovery</item> - </array> - -</resources> diff --git a/overlay/frameworks/base/core/res/res/values-uk/arrays.xml b/overlay/frameworks/base/core/res/res/values-uk/arrays.xml deleted file mode 100644 index 9b0081d..0000000 --- a/overlay/frameworks/base/core/res/res/values-uk/arrays.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> - -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - - <array name="shutdown_reboot_options"> - <item>Перезавантажити</item> - <item>Реж. відновлення</item> - </array> - -</resources> 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 deleted file mode 100644 index fca8906..0000000 --- a/overlay/frameworks/base/core/res/res/values-zh-rTW/arrays.xml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* //device/apps/common/assets/res/any/colors.xml -** -** Copyright 2006, Google Inc. -** -** 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. -*/ ---> -<resources> - - <!-- Do not translate. --> - <integer-array name="maps_starting_lat_lng"> - <item>25022112</item> - <item>121478019</item> - </integer-array> - <!-- Do not translate. --> - <integer-array name="maps_starting_zoom"> - <item>3</item> - </integer-array> - - - <!-- Defines the shutdown options shown in the reboot dialog. --> - <array name="shutdown_reboot_options"> - <item>重新開機</item> - <item>Recovery</item> - </array> - -</resources> diff --git a/overlay/frameworks/base/core/res/res/values/arrays.xml b/overlay/frameworks/base/core/res/res/values/arrays.xml deleted file mode 100644 index 3b32312..0000000 --- a/overlay/frameworks/base/core/res/res/values/arrays.xml +++ /dev/null @@ -1,125 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* //device/apps/common/assets/res/any/colors.xml -** -** Copyright 2006, 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. -*/ ---> -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - - <!-- Do not translate. These are all of the drawable resources that should be preloaded by - the zygote process before it starts forking application processes. --> - <array name="preloaded_drawables"> - <item>@drawable/sym_def_app_icon</item> - <item>@drawable/arrow_down_float</item> - <item>@drawable/btn_check</item> - <item>@drawable/btn_check_label_background</item> - <item>@drawable/btn_check_off</item> - <item>@drawable/btn_check_on</item> - <item>@drawable/btn_default</item> - <item>@drawable/btn_default_small</item> - <item>@drawable/btn_dropdown</item> - <item>@drawable/btn_plus</item> - <item>@drawable/btn_minus</item> - <item>@drawable/btn_radio</item> - <item>@drawable/btn_star</item> - <item>@drawable/btn_toggle</item> - <item>@drawable/ic_emergency</item> - <item>@drawable/divider_horizontal_bright</item> - <item>@drawable/divider_horizontal_dark</item> - <item>@drawable/edit_text</item> - <item>@drawable/expander_group</item> - <item>@drawable/list_selector_background</item> - <item>@drawable/menu_background</item> - <item>@drawable/menu_background_fill_parent_width</item> - <item>@drawable/menu_selector</item> - <item>@drawable/panel_background</item> - <item>@drawable/popup_bottom_bright</item> - <item>@drawable/popup_bottom_dark</item> - <item>@drawable/popup_bottom_medium</item> - <item>@drawable/popup_center_bright</item> - <item>@drawable/popup_center_dark</item> - <item>@drawable/popup_full_dark</item> - <item>@drawable/popup_top_bright</item> - <item>@drawable/popup_top_dark</item> - <item>@drawable/progress_horizontal</item> - <item>@drawable/progress_indeterminate_horizontal</item> - <item>@drawable/progress_small</item> - <item>@drawable/progress_small_titlebar</item> - <item>@drawable/screen_background_dark</item> - <item>@drawable/screen_background_light</item> - <item>@drawable/scrollbar_handle_horizontal</item> - <item>@drawable/scrollbar_handle_vertical</item> - <item>@drawable/spinner_dropdown_background</item> - <item>@drawable/text_select_handle_left</item> - <item>@drawable/text_select_handle_middle</item> - <item>@drawable/text_select_handle_right</item> - <item>@drawable/title_bar</item> - <item>@drawable/title_bar_shadow</item> - <!-- Visual lock screen --> - <item>@drawable/indicator_code_lock_drag_direction_green_up</item> - <item>@drawable/indicator_code_lock_drag_direction_red_up</item> - <item>@drawable/indicator_code_lock_point_area_default</item> - <item>@drawable/indicator_code_lock_point_area_green</item> - <item>@drawable/indicator_code_lock_point_area_red</item> - <!-- overscroll --> - <item>@drawable/overscroll_glow</item> - <item>@drawable/overscroll_edge</item> - </array> - - <!-- Do not translate. These are all of the color state list resources that should be - preloaded by the zygote process before it starts forking application processes. --> - <array name="preloaded_color_state_lists"> - <item>@color/hint_foreground_dark</item> - <item>@color/hint_foreground_light</item> - <item>@color/primary_text_dark</item> - <item>@color/primary_text_dark_disable_only</item> - <item>@color/primary_text_light</item> - <item>@color/primary_text_light_disable_only</item> - <item>@color/primary_text_light_nodisable</item> - <item>@color/secondary_text_dark</item> - <item>@color/secondary_text_light</item> - <item>@color/tab_indicator_text</item> - <item>@color/tertiary_text_dark</item> - <item>@color/tertiary_text_light</item> - <item>#ff000000</item> - <item>#00000000</item> - <item>#ffffffff</item> - </array> - - <!-- Do not translate. --> - <integer-array name="maps_starting_lat_lng"> - <item>36149777</item> - <item>-95993398</item> - </integer-array> - <!-- Do not translate. --> - <integer-array name="maps_starting_zoom"> - <item>3</item> - </integer-array> - - <!-- Defines the shutdown options shown in the reboot dialog. --> - <array name="shutdown_reboot_options"> - <item>Reboot</item> - <item>Recovery</item> - </array> - - <!-- Do not translate. Defines the shutdown actions passed to the kernel. - The first item should be empty for regular reboot. --> - <string-array name="shutdown_reboot_actions"> - <item></item> - <item>recovery</item> - </string-array> - -</resources> diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml deleted file mode 100644 index b70d394..0000000 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ /dev/null @@ -1,185 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* -** Copyright 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. -*/ ---> - -<!-- These resources are around just to allow their values to be customized - for different hardware and product builds. --> -<resources> - <!-- Flag indicating whether we should enable the automatic brightness in Settings. - config_hardware_automatic_brightness_available is not set, so we will use software implementation --> - <bool name="config_automatic_brightness_available">true</bool> - - <!-- There is no charging LED. --> - <bool name="config_unplugTurnsOnScreen">true</bool> - - <!-- Our amoled doesn't animate well. --> - <bool name="config_animateScreenLights">false</bool> - - <!-- disable menu hard key on Crespo in non-pattern lockscreen --> - <bool name="config_disableMenuKeyInLockScreen">true</bool> - - <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. - The N entries of this array define N + 1 zones as follows: - - Zone 0: 0 <= LUX < array[0] - Zone 1: array[0] <= LUX < array[1] - ... - Zone N: array[N - 1] <= LUX < array[N] - Zone N + 1: array[N] <= LUX < infinity - - Must be overridden in platform specific overlays --> - <integer-array name="config_autoBrightnessLevels"> - <item>10</item> - <item>160</item> - <item>225</item> - <item>320</item> - <item>640</item> - <item>1280</item> - <item>2600</item> - <item>10240</item> - </integer-array> - - <!-- Array of output values for LCD backlight corresponding to the LUX values - in the config_autoBrightnessLevels array. This array should have size one greater - than the size of the config_autoBrightnessLevels array. - --> - <integer-array name="config_autoBrightnessLcdBacklightValues"> - <item>20</item> - <item>20</item> - <item>20</item> - <item>20</item> - <item>35</item> - <item>50</item> - <item>50</item> - <item>100</item> - <item>255</item> - </integer-array> - - <!-- Array of output values for button backlight corresponding to the LUX values - in the config_autoBrightnessLevels array. This array should have size one greater - than the size of the config_autoBrightnessLevels array. - --> - <integer-array name="config_autoBrightnessButtonBacklightValues"> - <item>255</item> - <item>255</item> - <item>0</item> - <item>0</item> - <item>0</item> - <item>0</item> - <item>0</item> - <item>0</item> - <item>0</item> - </integer-array> - - <!-- Array of output values for keyboard backlight corresponding to the LUX values - in the config_autoBrightnessLevels array. This array should have size one greater - than the size of the config_autoBrightnessLevels array. - Crespo has no keyboard so all values are zero. - --> - <integer-array name="config_autoBrightnessKeyboardBacklightValues"> - <item>0</item> - <item>0</item> - <item>0</item> - <item>0</item> - <item>0</item> - <item>0</item> - <item>0</item> - <item>0</item> - <item>0</item> - </integer-array> - - <!-- Component name of the default wallpaper. This will be ImageWallpaper if not - specified --> - <string name="default_wallpaper_component">com.android.wallpaper/.nexus.NexusWallpaper</string> - - <integer name="config_deskDockKeepsScreenOn">0</integer> - <integer name="config_carDockKeepsScreenOn">1</integer> - - <!-- Default color for notification LED is white --> - <color name="config_defaultNotificationColor">#ffffffff</color> - - <!-- Default blink frequency for notification LED is 9 seconds. --> - <integer name="config_defaultNotificationLedOff">9000</integer> - - <!-- Component name of the service providing network location support. --> - <string name="config_networkLocationProvider">com.google.android.location.NetworkLocationProvider</string> - - <!-- Component name of the service providing geocoder API support. --> - <string name="config_geocodeProvider">com.google.android.location.GeocodeProvider</string> - - - <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION. - Please don't copy them, copy anything else. --> - - <!-- This string array should be overridden by the device to present a list of network - attributes. This is used by the connectivity manager to decide which networks can coexist - based on the hardware --> - <!-- An Array of "[Connection name],[ConnectivityManager connection type], - [associated radio-type],[priority] --> - <string-array translatable="false" name="networkAttributes"> - <item>"wifi,1,1,1"</item> - <item>"mobile,0,0,0"</item> - <item>"mobile_mms,2,0,2"</item> - <item>"mobile_supl,3,0,2"</item> - <item>"mobile_dun,4,0,4"</item> - <item>"mobile_hipri,5,0,3"</item> - </string-array> - - <!-- List of regexpressions describing the interface (if any) that represent tetherable - USB interfaces. If the device doesn't want to support tething over USB this should - be empty. An example would be "usb.*" --> - <string-array translatable="false" name="config_tether_usb_regexs"> - <item>"usb0"</item> - </string-array> - - <!-- Regex array of allowable upstream ifaces for tethering - for example if you want - tethering on a new interface called "foo2" add <item>"foo\\d"</item> to the array --> - <string-array translatable="false" name="config_tether_upstream_regexs"> - <item>"rmnet\\d"</item> - <item>"eth\\d"</item> - </string-array> - - <!-- List of regexpressions describing the interface (if any) that represent tetherable - Wifi interfaces. If the device doesn't want to support tethering over Wifi this - should be empty. An example would be "softap.*" --> - <string-array translatable="false" name="config_tether_wifi_regexs"> - <item>"wl0.1"</item> - </string-array> - - - <!-- Boolean indicating if we require the use of DUN on mobile for tethering --> - <bool translatable="false" name="config_tether_dun_required">false</bool> - - <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap --> - <integer-array name="config_keyboardTapVibePattern"> - <item>30</item> - </integer-array> - - <!-- Vibrator pattern for feedback about booting with safe mode disabled --> - <integer-array name="config_safeModeDisabledVibePattern"> - <item>1</item> - </integer-array> - - <!-- crespo doesn't handle this blur effect very quickly. --> - <bool name="config_sf_slowBlur">true</bool> - - - <!-- Boolean indicating if restoring network selection should be skipped --> - <!-- The restoring is handled by modem if it is true --> - <bool translatable="false" name="skip_restoring_network_selection">true</bool> -</resources> diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml deleted file mode 100644 index a00f060..0000000 --- a/overlay/frameworks/base/core/res/res/xml/power_profile.xml +++ /dev/null @@ -1,60 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -** -** Copyright 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. -*/ ---> - -<device name="Android"> - <item name="none">0</item> - <item name="screen.on">49</item> - <item name="bluetooth.active">142</item> <!-- In call --> - <item name="bluetooth.on">0.3</item> - <!-- CPU wakelock held for 830ms on bluetooth headset at command. 43mA * 830 --> - <item name="bluetooth.at">35690</item> - <item name="screen.full">260</item> - <item name="wifi.on">4</item> - <item name="wifi.active">120</item> - <item name="wifi.scan">220</item> - <item name="dsp.audio">88</item> - <item name="dsp.video">88</item> - <item name="radio.active">185</item> - <item name="gps.on">50</item> - <item name="battery.capacity">1500</item> - <item name="radio.scanning">88</item> - <array name="radio.on"> <!-- Strength 0 to BINS-1 --> - <value>3.4</value> - <value>3.4</value> - </array> - <array name="cpu.speeds"> - <value>100000</value> - <value>200000</value> - <value>400000</value> - <value>800000</value> - <value>1000000</value> - </array> - <!-- Power consumption in suspend --> - <item name="cpu.idle">1.4</item> - <!-- Power consumption due to wake lock held --> - <item name="cpu.awake">44</item> - <!-- Power consumption at different speeds --> - <array name="cpu.active"> - <value>55.4</value> - <value>82.1</value> - <value>113.7</value> - <value>205.4</value> - <value>259.0</value> - </array> -</device> diff --git a/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml deleted file mode 100644 index a6af5fd..0000000 --- a/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?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. - */ ---> -<resources> - <bool name="def_accelerometer_rotation">true</bool> - <bool name="def_screen_brightness_automatic_mode">true</bool> -</resources> diff --git a/overlay/frameworks/base/tests/ImfTest/res/values/config.xml b/overlay/frameworks/base/tests/ImfTest/res/values/config.xml deleted file mode 100644 index 157d04a..0000000 --- a/overlay/frameworks/base/tests/ImfTest/res/values/config.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?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. - */ ---> -<resources> - <bool name="def_expect_ime_autopop">true</bool> -</resources> diff --git a/overlay/packages/apps/Contacts/res/values/config.xml b/overlay/packages/apps/Contacts/res/values/config.xml deleted file mode 100644 index 6e48cd8..0000000 --- a/overlay/packages/apps/Contacts/res/values/config.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?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. ---> - -<!-- Crespo-specific Contacts app resources. --> -<resources> - <!-- Enable the onscreen "Dial" button in the dialer. --> - <bool name="config_show_onscreen_dial_button">true</bool> -</resources> diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass.jpg Binary files differdeleted file mode 100644 index 5518d6d..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass.jpg +++ /dev/null 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 Binary files differdeleted file mode 100644 index a1751e2..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass_small.jpg +++ /dev/null diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains.jpg Binary files differdeleted file mode 100644 index 95c59ea..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains.jpg +++ /dev/null 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 Binary files differdeleted file mode 100644 index 956e8f0..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains_small.jpg +++ /dev/null diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam.jpg Binary files differdeleted file mode 100644 index 4bc7ff3..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam.jpg +++ /dev/null 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 Binary files differdeleted file mode 100644 index f034b33..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam_small.jpg +++ /dev/null diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse.jpg Binary files differdeleted file mode 100644 index 2f96d02..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse.jpg +++ /dev/null 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 Binary files differdeleted file mode 100644 index 34ca847..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse_small.jpg +++ /dev/null diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle.jpg Binary files differdeleted file mode 100644 index f4a3934..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle.jpg +++ /dev/null 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 Binary files differdeleted file mode 100644 index d580182..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle_small.jpg +++ /dev/null diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars.jpg Binary files differdeleted file mode 100644 index 8f3ec2d..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars.jpg +++ /dev/null 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 Binary files differdeleted file mode 100644 index ba76f18..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars_small.jpg +++ /dev/null diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream.jpg Binary files differdeleted file mode 100644 index fdd4aaf..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream.jpg +++ /dev/null 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 Binary files differdeleted file mode 100644 index 432d67d..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream_small.jpg +++ /dev/null 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 Binary files differdeleted file mode 100644 index a8b6880..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights.jpg +++ /dev/null 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 Binary files differdeleted file mode 100644 index 11c253e..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights_small.jpg +++ /dev/null diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset.jpg Binary files differdeleted file mode 100644 index 660040e..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset.jpg +++ /dev/null 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 Binary files differdeleted file mode 100644 index ed79925..0000000 --- a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset_small.jpg +++ /dev/null diff --git a/overlay/packages/apps/Launcher2/res/values-hdpi/wallpapers.xml b/overlay/packages/apps/Launcher2/res/values-hdpi/wallpapers.xml deleted file mode 100644 index 40033cf..0000000 --- a/overlay/packages/apps/Launcher2/res/values-hdpi/wallpapers.xml +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - * Copyright (C) 2009 Google Inc. - * - * 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. - --> - -<resources> - <string-array name="wallpapers" translatable="false"> - <item>wallpaper_street_lights</item> - <item>wallpaper_stream</item> - <item>wallpaper_phasebeam</item> - <item>wallpaper_pulse</item> - <item>wallpaper_nexusrain</item> - <item>wallpaper_stars</item> - <item>wallpaper_canyon</item> - <item>wallpaper_grass</item> - <item>wallpaper_zanzibar</item> - <item>wallpaper_cloud</item> - <item>wallpaper_monumentvalley</item> - <item>wallpaper_mountains</item> - <item>wallpaper_sunset</item> - <item>wallpaper_goldengate</item> - <item>wallpaper_shuttle</item> - </string-array> -</resources> diff --git a/overlay/packages/apps/Phone/res/values/config.xml b/overlay/packages/apps/Phone/res/values/config.xml deleted file mode 100644 index 69d82c1..0000000 --- a/overlay/packages/apps/Phone/res/values/config.xml +++ /dev/null @@ -1,36 +0,0 @@ -<?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. ---> - -<!-- Crespo-specific phone app resources. --> -<resources> - - <!-- Enable the onscreen touch UI for all states of the in-call UI. --> - <bool name="allow_incoming_call_touch_ui">true</bool> - <bool name="allow_in_call_touch_ui">true</bool> - - <!-- This is a device with capacitive buttons, so disable the feature - where BACK rejects the current incoming call. (Since it's so - easy to press the key accidentally as you pull the phone out of - your pocket.) --> - <bool name="allow_back_key_to_reject_incoming_call">false</bool> - - <!-- Enable the onscreen "Dial" button in the emergency dialer. --> - <bool name="config_show_onscreen_dial_button">true</bool> - - <!-- This device implements a noise suppression device for in call audio--> - <bool name="has_in_call_noise_suppression">true</bool> - -</resources> diff --git a/overlay/packages/apps/Settings/res/values/bools.xml b/overlay/packages/apps/Settings/res/values/bools.xml deleted file mode 100644 index cc816c0..0000000 --- a/overlay/packages/apps/Settings/res/values/bools.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?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. ---> - -<resources> - <!-- Whether or not there is a notification led that is too intrusive to be pulsing - constantly --> - <bool name="has_intrusive_led">false</bool> -</resources> diff --git a/overlay/packages/wallpapers/Basic/res/drawable-hdpi/nexus_thumb.png b/overlay/packages/wallpapers/Basic/res/drawable-hdpi/nexus_thumb.png Binary files differdeleted file mode 100644 index 84462e2..0000000 --- a/overlay/packages/wallpapers/Basic/res/drawable-hdpi/nexus_thumb.png +++ /dev/null diff --git a/overlay/packages/wallpapers/Basic/res/drawable-hdpi/pyramid_background.png b/overlay/packages/wallpapers/Basic/res/drawable-hdpi/pyramid_background.png Binary files differdeleted file mode 100644 index 2310a91..0000000 --- a/overlay/packages/wallpapers/Basic/res/drawable-hdpi/pyramid_background.png +++ /dev/null diff --git a/overlay/packages/wallpapers/Basic/res/raw/nexus.rs b/overlay/packages/wallpapers/Basic/res/raw/nexus.rs deleted file mode 100644 index df79689..0000000 --- a/overlay/packages/wallpapers/Basic/res/raw/nexus.rs +++ /dev/null @@ -1,313 +0,0 @@ -// 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; i<MAX_PULSES; i++) { - initPulse(&gPulses[i], PULSE_NORMAL); - } - for (i=0; i<MAX_EXTRAS; i++) { - struct pulse_s * p = &gExtras[i]; - p->pulseType = 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; i<setSize; i++) { - struct pulse_s * p = &pulseSet[i]; - - int delta = gNow - p->startTime; - - 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; i<MAX_EXTRAS; i++) { - struct pulse_s * p = &gExtras[i]; - if (p->active == 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 deleted file mode 100644 index 37774ed..0000000 --- a/overlay/packages/wallpapers/Basic/res/values/surfacemode.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?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. ---> -<resources> - <bool name="use_32bit">true</bool> -</resources> |