diff options
| author | Jean-Baptiste Queru <jbq@google.com> | 2012-05-29 10:40:37 -0700 |
|---|---|---|
| committer | Jean-Baptiste Queru <jbq@google.com> | 2012-05-29 10:40:37 -0700 |
| commit | 8d4190e3a6ad74d2c06b349f91873a038a9c8dc8 (patch) | |
| tree | 2a65c0fc8daf71fd40138a5ab871e5c270912436 /overlay | |
| parent | 150e057022abf927ab342e039530d47e50267f51 (diff) | |
Initial commit of grouper files.
Change-Id: I855f4685d11d3cd16e4efbeb35ae6389045cb200
Kernel: 8dd2eab Audio: Disable UART debug cable detection to support active
Diffstat (limited to 'overlay')
9 files changed, 590 insertions, 0 deletions
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..94cccc8 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,222 @@ +<?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> + <!-- Software blur is too slow on this device. --> + <bool name="config_sf_slowBlur">true</bool> + + <!-- 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],[restoral-timer(ms)],[dependencyMet] --> + <!-- the 5th element "resore-time" indicates the number of milliseconds to delay + before automatically restore the default connection. Set -1 if the connection + does not require auto-restore. --> + <!-- the 6th element indicates boot-time dependency-met value. --> + <string-array translatable="false" name="networkAttributes"> + <item>"wifi,1,1,2,-1,true"</item> + <item>"bluetooth,7,7,0,-1,true"</item> + <item>"wifi_p2p,13,1,0,-1,true"</item> + <item>"ethernet,9,9,9,-1,true"</item> + </string-array> + + <!-- This string array should be overridden by the device to present a list of radio + attributes. This is used by the connectivity manager to decide which networks can coexist + based on the hardware --> + <!-- An Array of "[ConnectivityManager connectionType], + [# simultaneous connection types]" --> + <string-array translatable="false" name="radioAttributes"> + <item>"1,1"</item> + <item>"7,1"</item> + <item>"9,1"</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"> + </string-array> + + <!-- Array of allowable ConnectivityManager network types for tethering --> + <integer-array translatable="false" name="config_tether_upstream_types"> + </integer-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"> + </string-array> + + <!-- List of regexpressions describing the interface (if any) that represent tetherable + bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this + should be empty. --> + <string-array translatable="false" name="config_tether_bluetooth_regexs"> + </string-array> + + <!-- Boolean indicating whether the wifi chipset has dual frequency band support --> + <bool translatable="false" name="config_wifi_dual_band_support">false</bool> + + <!-- Boolean indicating whether the wifi chipset has background scan support --> + <bool translatable="false" name="config_wifi_background_scan_support">true</bool> + + <!-- 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> + + <!-- List of file paths for USB host busses to exclude from USB host support. + For example, if the first USB bus on the device is used to communicate + with the modem or some other restricted hardware, add "/dev/bus/usb/001/" + to this list. If this is empty, no parts of the host USB bus will be excluded. + --> + <string-array name="config_usbHostBlacklist"> + <!-- + --> + <item>/dev/bus/usb/001</item> + </string-array> + + <!-- Flag indicating whether the we should enable the automatic brightness in Settings. + Software implementation will be used if config_hardware_auto_brightness_available is not set --> + <bool name="config_automatic_brightness_available">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>50</item> + <item>200</item> + <item>400</item> + <item>1000</item> + <item>2000</item> + <item>3000</item> + <item>5000</item> + <item>10000</item> + <item>30000</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. + This must be overridden in platform specific overlays --> + <integer-array name="config_autoBrightnessLcdBacklightValues"> + <item>25</item> <!-- 0-10 --> + <item>40</item> <!-- 10-50 --> + <item>40</item> <!-- 50-200 --> + <item>50</item> <!-- 200-400 --> + <item>60</item> <!-- 400-1000 --> + <item>80</item> <!-- 1000-2000 --> + <item>130</item> <!-- 2000-3000 --> + <item>180</item> <!-- 3000-5000 --> + <item>255</item> <!-- 5000-10000 --> + <item>255</item> <!-- 10000-30000 --> + <item>255</item> <!-- 30000+ --> + </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. + This must be overridden in platform specific overlays --> + <integer-array name="config_autoBrightnessButtonBacklightValues"> + <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> + <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> + + <!-- Minimum screen brightness allowed by the power manager. --> + <integer name="config_screenBrightnessDim">10</integer> + + <!-- This device is not "voice capable"; it's data-only. --> + <bool name="config_voice_capable">false</bool> + + <!-- This device does not allow sms service. --> + <bool name="config_sms_capable">false</bool> + + <!-- Enable puk unlockscreen --> + <bool name="config_enable_puk_unlock_screen">true</bool> + + <!-- Number of database connections opened and managed by framework layer + to handle queries on each database. --> + <integer name="db_connection_pool_size">3</integer> + + <!-- Max space (in MB) allocated to DownloadManager to store the downloaded files + if they are to be stored in DownloadManager's data dir, + which typically is /data/data/com.android.providers.downloads/files. --> + <integer name="config_downloadDataDirSize">200</integer> + + <!-- When the free space available in DownloadManager's data dir falls + below the percentage value specified by this param, DownloadManager + starts removing files to try to make percentage of available + free space above this threshold value. --> + <integer name="config_downloadDataDirLowSpaceThreshold">10</integer> + + <!-- When a database query is executed, the results retuned are paginated + in pages of size (in KB) indicated by this value --> + <integer name="config_cursorWindowSize">2048</integer> + + <!-- Is the notification LED intrusive? Used to decide if there should be a disable option --> + <bool name="config_intrusiveNotificationLed">false</bool> + + + <!-- Base "touch slop" value used by ViewConfiguration as a + movement threshold where scrolling should begin. + + --> + <dimen name="config_viewConfigurationTouchSlop">12dp</dimen> + + <!-- Separate software navigation bar required on this device. --> + <bool name="config_showNavigationBar">true</bool> + + <!-- Indicate whether closing the lid causes the device to go to sleep and opening + it causes the device to wake up. + The default is false. --> + <bool name="config_lidControlsSleep">true</bool> + + <!-- If this is true, the screen will come on when you unplug usb/power/whatever. --> + <bool name="config_unplugTurnsOnScreen">true</bool> +</resources> diff --git a/overlay/frameworks/base/core/res/res/values/dimens.xml b/overlay/frameworks/base/core/res/res/values/dimens.xml new file mode 100644 index 0000000..bcf763f --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values/dimens.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- Navigation bar is taller in portrait. --> + <dimen name="navigation_bar_height">56dp</dimen> +</resources> diff --git a/overlay/frameworks/base/core/res/res/xml/eri.xml b/overlay/frameworks/base/core/res/res/xml/eri.xml new file mode 100644 index 0000000..5a93d57 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/xml/eri.xml @@ -0,0 +1,167 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** 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. +*/ +--> + +<!-- Note that IconMode can be only 0, ON or 1, FLASHING + The icon is turned OFF if then IconIndex = 1 --> + +<EriFile VersionNumber="1357" + NumberOfEriEntries="19" + EriFileType="1"> + + <CallPromptId Id="0" + CallPromptText="CallPromptId0"/> + + <CallPromptId Id="1" + CallPromptText="CallPromptId1"/> + + <CallPromptId Id="2" + CallPromptText="CallPromptId2"/> + + <EriInfo RoamingIndicator="0" + IconIndex="0" + IconMode="0" + EriText="" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="1" + IconIndex="1" + IconMode="0" + EriText="Verizon Wireless" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="2" + IconIndex="2" + IconMode="1" + EriText="" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="64" + IconIndex="1" + IconMode="0" + EriText="Verizon Wireless" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="65" + IconIndex="65" + IconMode="0" + EriText="Network Extender" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="66" + IconIndex="1" + IconMode="0" + EriText="Extended Network" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="67" + IconIndex="67" + IconMode="0" + EriText="Extended Network" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="68" + IconIndex="68" + IconMode="0" + EriText="Roaming" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="69" + IconIndex="2" + IconMode="1" + EriText="Extended Network" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="70" + IconIndex="2" + IconMode="1" + EriText="Roaming" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="71" + IconIndex="1" + IconMode="0" + EriText="Extended Network" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="72" + IconIndex="72" + IconMode="0" + EriText="Extended Network" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="73" + IconIndex="73" + IconMode="0" + EriText="Roaming" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="74" + IconIndex="2" + IconMode="1" + EriText="Extended Network" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="75" + IconIndex="2" + IconMode="1" + EriText="Roaming" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="76" + IconIndex="76" + IconMode="0" + EriText="Verizon Wireless" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="77" + IconIndex="2" + IconMode="1" + EriText="Verizon Wireless" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="78" + IconIndex="1" + IconMode="0" + EriText="Network Extender" + CallPromptId="0" + AlertId="0"/> + + <EriInfo RoamingIndicator="79" + IconIndex="2" + IconMode="1" + EriText="Network Extender" + CallPromptId="0" + AlertId="0"/> + +</EriFile> 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..58fd374 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml @@ -0,0 +1,76 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 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. +*/ +--> +<device name="Android"> + <!-- All values are in mA except as noted --> + <item name="none">0</item> + <item name="screen.on">256</item> + <item name="screen.full">318</item> + <item name="bluetooth.active">14.0</item> + <!-- + Bluetooth stereo audio playback 14.0 mA + --> + <item name="bluetooth.on">1.4</item> + <!-- + I measured the following value 1.4 mA + but there is a GPIO fix pending that should + bring this down to 0.2 mA + --> + <item name="wifi.on">2.9</item> + <item name="wifi.active">31.0</item> + <item name="wifi.scan">6.5</item> + <item name="dsp.audio">14.1</item> + <item name="dsp.video">54.0</item> + <item name="gps.on">29.7</item> + <item name="radio.active">71.5</item> + <item name="radio.scanning">1.2</item> + <array name="radio.on"> <!-- Strength 0 to BINS-1 (4) --> + <value>1.2</value> + </array> + <!-- Different CPU speeds as reported in + /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state --> + <array name="cpu.speeds"> + <value>216000</value> <!-- 216 MHz --> + <value>312000</value> <!-- 312 MHz --> + <value>456000</value> <!-- 456 MHz --> + <value>608000</value> <!-- 608 MHz --> + <value>760000</value> <!-- 760 MHz --> + <value>816000</value> <!-- 816 MHz --> + <value>912000</value> <!-- 912 MHz --> + <value>1000000</value> <!-- 1 GHz --> + </array> + <!-- Power consumption when CPU is idle --> + <item name="cpu.idle">3.8</item> + <item name="cpu.awake">54.6</item> + <!-- Power consumption at different speeds --> + <array name="cpu.active"> + <value>100</value> <!-- 216 MHz --> + <value>107</value> <!-- 312 MHz --> + <value>116</value> <!-- 456 MHz --> + <value>123</value> <!-- 608 MHz --> + <value>135</value> <!-- 760 MHz --> + <value>138</value> <!-- 816 MHz --> + <value>142</value> <!-- 912 MHz --> + <value>148</value> <!-- 1 GHz --> + </array> + <!-- This is the battery capacity in mAh --> + <item name="battery.capacity">3260</item> + <!-- + Battery capacity is 3260 mAH (at 7.4 Volts) + --> +</device> diff --git a/overlay/frameworks/base/core/res/res/xml/storage_list.xml b/overlay/frameworks/base/core/res/res/xml/storage_list.xml new file mode 100644 index 0000000..be3d542 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/xml/storage_list.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 2011, 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. +*/ +--> + +<!-- The <device> element should contain one or more <storage> elements. + Exactly one of these should have the attribute primary="true". + This storage will be the primary external storage and should have path="/mnt/sdcard". + Each storage should have both a path and description attribute set. + The following boolean attributes are optional: + + primary: this storage is the primary external storage + removable: this is removable storage (for example, a real SD card) + emulated: the storage is emulated via the FUSE sdcard daemon + mtp-reserve: number of megabytes of storage MTP should reserve for free storage + (used for emulated storage that is shared with system's data partition) + allowMassStorage: (boolean) true if this volume can be shared via USB mass storage + maxFileSize: (integer) maximum file size in megabytes + + A storage should not have both emulated and removable set to true +--> + +<StorageList xmlns:android="http://schemas.android.com/apk/res/android"> + <!-- internal emulated storage --> + <storage android:mountPoint="/storage/sdcard0" + android:storageDescription="@string/storage_internal" + android:primary="true" + android:emulated="true" + android:mtpReserve="100" /> +</StorageList> 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..71f9933 --- /dev/null +++ b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml @@ -0,0 +1,24 @@ +<?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> + <!-- 2 minutes for default screen timeout --> + <integer name="def_screen_off_timeout">120000</integer> + <!-- Set the automatic brightness mode on by default --> + <bool name="def_screen_brightness_automatic_mode">true</bool> +</resources> diff --git a/overlay/packages/apps/Launcher2/res/values/config.xml b/overlay/packages/apps/Launcher2/res/values/config.xml new file mode 100644 index 0000000..3b82809 --- /dev/null +++ b/overlay/packages/apps/Launcher2/res/values/config.xml @@ -0,0 +1,3 @@ +<resources> + <bool name="config_largeHeap">true</bool> +</resources> 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..a9049d7 --- /dev/null +++ b/overlay/packages/apps/Settings/res/values/bools.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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> + <!-- No powercontrol widget for tablets --> + <bool name="has_powercontrol_widget">true</bool> +</resources> diff --git a/overlay/packages/wallpapers/MusicVisualization/res/values/config.xml b/overlay/packages/wallpapers/MusicVisualization/res/values/config.xml new file mode 100644 index 0000000..2fe6f53 --- /dev/null +++ b/overlay/packages/wallpapers/MusicVisualization/res/values/config.xml @@ -0,0 +1,29 @@ +<?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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + + <bool name="config_enable_vis1">false</bool> + <bool name="config_enable_vis2">false</bool> + <bool name="config_enable_vis3">true</bool> + <bool name="config_enable_vis4">false</bool> + <bool name="config_enable_vis5">false</bool> + +</resources> + |
