diff options
Diffstat (limited to 'overlay')
12 files changed, 621 insertions, 0 deletions
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..2d5e460 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values/arrays.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2020 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> + <!-- Device-specific array of SIM slot indexes which are are embedded eUICCs. + e.g. If a device has two physical slots with indexes 0, 1, and slot 1 is an + eUICC, then the value of this array should be: + <integer-array name="non_removable_euicc_slots"> + <item>1</item> + </integer-array> + If a device has three physical slots and slot 1 and 2 are eUICCs, then the value of + this array should be: + <integer-array name="non_removable_euicc_slots"> + <item>1</item> + <item>2</item> + </integer-array> + This is used to differentiate between removable eUICCs and built in eUICCs, and should + be set by OEMs for devices which use eUICCs. --> + <integer-array name="non_removable_euicc_slots"> + <item>1</item> + <item>2</item> + </integer-array> +</resources> + 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..8217f28 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,290 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2016, 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"> + + <!-- Our amoled doesn't animate well. --> + <bool name="config_animateScreenLights">false</bool> + + <bool name="config_ui_enableFadingMarquee">false</bool> + + <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be + autodetected from the Configuration. --> + <bool name="config_showNavigationBar">true</bool> + + <!-- Whether Multiuser UI should be shown --> + <bool name="config_enableMultiUserUI">true</bool> + + <!-- Maximum number of supported users --> + <integer name="config_multiuserMaximumUsers">4</integer> + + <!-- Boolean indicating if current platform supports HFP inband ringing --> + <bool name="config_bluetooth_hfp_inband_ringing_support">true</bool> + + <!-- Whether Hearing Aid profile is supported --> + <bool name="config_hearing_aid_profile_supported">true</bool> + + <!-- Boolean indicating whether the wifi chipset has dual frequency band support --> + <bool translatable="false" name="config_wifi_dual_band_support">true</bool> + + <!-- Enable 802.11ac for Wifi hotspot (SAP) --> + <bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">true</bool> + + <!-- 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>"wlan0"</item> + <item>"softap.*"</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>"usb\\d"</item> + <item>"rndis\\d"</item> + </string-array> + + <!-- When true use the linux /dev/input/event subsystem to detect the switch changes + on the headphone/microphone jack. When false use the older uevent framework. --> + <bool name="config_useDevInputEventForAudioJack">true</bool> + + <string translatable="false" name="config_radio_access_family">GSM|CDMA|EVDO|WCDMA|LTE</string> + + <!-- Enable doze mode + ComponentName of a dream to show whenever the system would otherwise have gone to sleep. --> + <string translatable="false" name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string> + + <!-- Type of the ambient tap sensor. Empty if ambient tap is not supported. --> + <string name="config_dozeTapSensorType" translatable="false">com.google.sensor.single_touch</string> + + <!-- If this is true, the screen will come on when you unplug usb/power/whatever. --> + <bool name="config_unplugTurnsOnScreen">true</bool> + + <!-- If device supports pickup/lift gesture --> + <bool name="config_dozePulsePickup">true</bool> + + <!-- Screen brightness when dozing. --> + <integer name="config_screenBrightnessDoze">34</integer> + + <!-- Whether the always on display mode is available. --> + <bool name="config_dozeAlwaysOnDisplayAvailable">true</bool> + + <!-- Disable AOD by default --> + <bool name="config_dozeAlwaysOnEnabled">false</bool> + + <!-- Specifies whether to decouple the auto-suspend state of the device from the display on/off state. --> + <bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool> + + <!-- Specifies whether to decouple the interactive state of the device from the display on/off state. --> + <bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool> + + <!-- Radius of the software rounded corners at the top of the display in its natural + orientation. If zero, the value of rounded_corner_radius is used. --> + <dimen name="rounded_corner_radius_top">52px</dimen> + + <!-- Radius of the software rounded corners at the bottom of the display in its natural + orientation. If zero, the value of rounded_corner_radius is used. --> + <dimen name="rounded_corner_radius_bottom">52px</dimen> + + <!-- Top adjustment for the software rounded corners since corners are not perfectly + round. This value is used when retrieving the "radius" of the top rounded corner in cases + where the exact bezier curve cannot be retrieved. This value will be subtracted from + rounded_corner_radius_top to more accurately provide a "radius" for the top rounded corners. + --> + <dimen name="rounded_corner_radius_top_adjustment">5px</dimen> + + <!-- Bottom adjustment for the software rounded corners since corners are not perfectly + round. This value is used when retrieving the "radius" of the bottom rounded corner in + cases where the exact bezier curve cannot be retrieved. This value will be subtracted from + rounded_corner_radius_bottom to more accurately provide a "radius" for the bottom rounded + corners. --> + <dimen name="rounded_corner_radius_bottom_adjustment">4px</dimen> + + <!-- Height of the status bar --> + <dimen name="status_bar_height_portrait">28dp</dimen> + + <!-- Height of area above QQS where battery/time go (equal to status bar height if > 48dp) --> + <dimen name="quick_qs_offset_height">171px</dimen> + <!-- Total height of QQS (quick_qs_offset_height + 128dp) --> + <dimen name="quick_qs_total_height">177dp</dimen> + + <!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. --> + <integer name="config_shutdownBatteryTemperature">600</integer> + + <!-- Whether or not we should show the option to show battery percentage --> + <bool name="config_battery_percentage_setting_available">true</bool> + + <!-- Number of physical SIM slots on the device. This includes both eSIM + and pSIM slots, and is not necessarily the same as the number of phones/logical modems + supported by the device. For example, a multi-sim device can have 2 phones/logical modems, + but 3 physical slots, or a single SIM device can have 1 phones/logical modems, but 2 + physical slots (one eSIM and one pSIM) --> + <integer name="config_num_physical_slots">3</integer> + + <!-- Enable CBRS support --> + <bool translatable="false" name="config_cbrs_supported">true</bool> + + <!-- IWLAN--> + <string name="config_wlan_data_service_package">com.google.android.iwlan</string> + <string name="config_wlan_network_service_package">com.google.android.iwlan</string> + <bool name="config_wlan_data_service_conn_persistence_on_restart">false</bool> + <string name="config_qualified_networks_service_package">com.shannon.qualifiednetworksservice</string> + + <!-- Boolean indicating USSD over IMS is allowed. + If it is not supported due to modem limitations, USSD send over the CS pipe instead.--> + <bool name="config_allow_ussd_over_ims">true</bool> + + <!-- Flag specifying whether VoLTE is available on device --> + <bool name="config_device_volte_available">true</bool> + + <!-- Flag specifying whether VoLTE is available on device --> + <bool name="config_device_vt_available">true</bool> + + <!-- Flag specifying whether WFC over IMS is availasble on device --> + <bool name="config_device_wfc_ims_available">true</bool> + + <!-- Whether the new Auto Selection Network UI should be shown --> + <bool name="config_enableNewAutoSelectNetworkUI">true</bool> + + <!-- Is the device capable of hot swapping an UICC Card --> + <bool name="config_hotswapCapable">true</bool> + + <!-- The default refresh rate. P21 manages this using the peak refresh rate setting, so set + this value to 0 so it has no effect. --> + <integer name="config_defaultRefreshRate">0</integer> + + <!-- The default peak refresh rate. --> + <integer name="config_defaultPeakRefreshRate">60</integer> + + <!-- Optional IPsec algorithms enabled by this device, defaulting to empty. OEMs can override + it by providing a list of algorithm names in an overlay config.xml file. + + As Android releases new versions, more algorithms are becoming mandatory. Mandatory + algorithms will be automatically enabled on the device. Optional algorithms need + to be explicitly declared in this resource to be enabled. + * SDK level 28 makes the following algorithms mandatory : "cbc(aes)", "hmac(md5)", + "hmac(sha1)", "hmac(sha256)", "hmac(sha384)", "hmac(sha512)", "rfc4106(gcm(aes))" + * SDK level 31 makes the following algorithms mandatory : "rfc3686(ctr(aes))", + "xcbc(aes)", "rfc7539esp(chacha20,poly1305)" + --> + <string-array name="config_optionalIpSecAlgorithms" translatable="false"> + <!-- Add algorithm here --> + <item>"xcbc(aes)"</item> + <item>"rfc3686(ctr(aes))"</item> + </string-array> + + <!-- List supported color modes. --> + <integer-array name="config_availableColorModes"> + <item>0</item> <!-- COLOR_MODE_NATURAL --> + <item>256</item> <!-- vendor color mode boosted --> + <item>3</item> <!-- COLOR_MODE_AUTOMATIC --> + </integer-array> + + <integer-array name="config_mappedColorModes"> + <item>0</item> <!-- COLOR_MODE_NATURAL --> + <item>256</item> <!-- COLOR_MODE_BOOSTED --> + <item>2</item> <!-- COLOR_MODE_SATURATED --> + <item>3</item> <!-- COLOR_MODE_AUTOMATIC --> + </integer-array> + + <!-- Color mode to use when accessibility transforms are enabled. This color mode must be + supported by the device, but not necessarily appear in config_availableColorModes. The + regularly selected color mode will be used if this value is negative. --> + <integer name="config_accessibilityColorMode">2</integer> + + <!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently + in hardware. --> + <bool name="config_setColorTransformAccelerated">true</bool> + + <!-- Default color temperature, in Kelvin, to tint the screen when night display is + activated. --> + <integer name="config_nightDisplayColorTemperatureDefault">3339</integer> + + <!-- Whether the device enable the standalone (SA) mode of 5G NR.--> + <bool name="config_telephony5gStandalone">true</bool> + <!-- Whether the device enable the non-standalone (NSA) mode of 5G NR.--> + <bool name="config_telephony5gNonStandalone">true</bool> + + <!-- An array of device capabilities defined by GSMA SGP.22 v2.2.2, and their corresponding major + version. --> + <string-array translatable="false" name="config_telephonyEuiccDeviceCapabilities"> + <item>"gsm,8"</item> + <item>"utran,9"</item> + <item>"eutran,15"</item> + <item>"nrepc,15"</item> + <item>"nr5gc,15"</item> + <item>"eutran5gc,15"</item> + </string-array> + + <!-- Auto-brightness sensor type string --> + <string name="config_displayLightSensorType">"com.google.sensor.auto_brightness"</string> + + <!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService + when registering authenticators with BiometricService. Format must be ID:Modality:Strength, + where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java, + and Strength as defined in Authenticators.java --> + <string-array name="config_biometric_sensors" translatable="false" > + <item>0:2:15</item> <!-- ID0:Fingerprint:Strong --> + </string-array> + + <!-- Default list of files pinned by the Pinner Service --> + <string-array translatable="false" name="config_defaultPinnerServiceFiles"> + <item>"/apex/com.android.art/javalib/core-oj.jar"</item> + <item>"/apex/com.android.art/javalib/core-libart.jar"</item> + <item>"/apex/com.android.media/javalib/updatable-media.jar"</item> + <item>"/system/framework/framework.jar"</item> + <item>"/system/framework/services.jar"</item> + <item>"/system_ext/priv-app/SystemUIGoogle/SystemUIGoogle.apk"</item> + </string-array> + + <!-- Should the pinner service pin the Camera application? --> + <bool name="config_pinnerCameraApp">true</bool> + + <!-- Should the pinner service pin the Home application? --> + <bool name="config_pinnerHomeApp">true</bool> + + <!-- Display 90Hz blacklist. Apps that do not work well when the display refreshes at 90Hz. + When these apps are visible, the display's refresh rate gets fixed to 60Hz. --> + <string-array name="config_highRefreshRateBlacklist"> + <item>com.nianticlabs.pokemongo</item> + <item>com.google.android.documentsui</item> + <item>com.activision.callofduty.shooter</item> + <item>jp.konami.epjCastlevania2</item> + </string-array> + + <!-- The default intensity level for haptic feedback. See + Settings.System.HAPTIC_FEEDBACK_INTENSITY more details on the constant values and + meanings. --> + <integer name="config_defaultHapticFeedbackIntensity">3</integer> + <!-- The default intensity level for notification vibrations. See + Settings.System.NOTIFICATION_VIBRATION_INTENSITY more details on the constant values and + meanings. --> + <integer name="config_defaultNotificationVibrationIntensity">3</integer> + <!-- The default intensity level for notification vibrations. See + Settings.System.RING_VIBRATION_INTENSITY more details on the constant values and + meanings. --> + <integer name="config_defaultRingVibrationIntensity">3</integer> + + <!-- Enables or disables haptic effect when the text insertion/selection handle is moved + manually by the user. Off by default, since the expected haptic feedback may not be + available on some devices. --> + <bool name="config_enableHapticTextHandle">true</bool> +</resources> diff --git a/overlay/frameworks/base/packages/SettingsLib/res/drawable-mcc310-mnc004/ic_5g_plus_mobiledata.xml b/overlay/frameworks/base/packages/SettingsLib/res/drawable-mcc310-mnc004/ic_5g_plus_mobiledata.xml new file mode 100644 index 0000000..998db3b --- /dev/null +++ b/overlay/frameworks/base/packages/SettingsLib/res/drawable-mcc310-mnc004/ic_5g_plus_mobiledata.xml @@ -0,0 +1,36 @@ +<!-- + Copyright (C) 2020 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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:viewportWidth="22" + android:viewportHeight="17" + android:width="22dp" + android:height="17dp"> + <group> + <group> + <path android:fillColor="#FF000000" + android:pathData="M19.98,3.54v2.81c0,0.47 -0.15,0.84 -0.44,1.11s-0.69,0.41 -1.2,0.41c-0.5,0 -0.89,-0.13 -1.19,-0.4s-0.44,-0.63 -0.45,-1.09V3.54h0.88v2.82c0,0.28 0.07,0.48 0.2,0.61c0.13,0.13 0.32,0.19 0.56,0.19c0.49,0 0.75,-0.26 0.75,-0.78V3.54H19.98z"/> + <path android:fillColor="#FF000000" + android:pathData="M19.42,12.25l0.57,-3.04h0.88l-0.95,4.27h-0.88l-0.69,-2.85l-0.69,2.85h-0.88l-0.95,-4.27h0.88l0.58,3.03l0.7,-3.03h0.74L19.42,12.25z"/> + </group> + <group> + <path android:fillColor="#FF000000" + android:pathData="M0.94,8.49l0.43,-4.96H5.7v1.17H2.39L2.15,7.41c0.41,-0.29 0.85,-0.43 1.33,-0.43c0.77,0 1.38,0.3 1.83,0.9c0.44,0.6 0.66,1.41 0.66,2.43c0,1.03 -0.24,1.84 -0.72,2.43c-0.48,0.59 -1.14,0.88 -1.98,0.88c-0.75,0 -1.36,-0.24 -1.83,-0.73c-0.47,-0.49 -0.74,-1.16 -0.81,-2.02h1.13c0.07,0.57 0.23,1 0.49,1.29c0.26,0.29 0.59,0.43 1.01,0.43c0.47,0 0.84,-0.2 1.1,-0.61c0.26,-0.41 0.4,-0.96 0.4,-1.65c0,-0.65 -0.14,-1.18 -0.43,-1.59C4.05,8.32 3.67,8.11 3.19,8.11c-0.4,0 -0.72,0.1 -0.96,0.31L1.9,8.75L0.94,8.49z"/> + </group> + <path android:fillColor="#FF000000" + android:pathData="M13.86,12.24l-0.22,0.27c-0.63,0.73 -1.55,1.1 -2.76,1.1c-1.08,0 -1.92,-0.36 -2.53,-1.07c-0.61,-0.71 -0.93,-1.72 -0.94,-3.02V7.56c0,-1.39 0.28,-2.44 0.84,-3.13c0.56,-0.7 1.39,-1.04 2.51,-1.04c0.95,0 1.69,0.26 2.22,0.79c0.54,0.53 0.83,1.28 0.89,2.26h-1.25c-0.05,-0.62 -0.22,-1.1 -0.52,-1.45c-0.29,-0.35 -0.74,-0.52 -1.34,-0.52c-0.72,0 -1.24,0.23 -1.57,0.7C8.85,5.63 8.68,6.37 8.66,7.4v2.03c0,1 0.19,1.77 0.57,2.31c0.38,0.54 0.93,0.8 1.65,0.8c0.67,0 1.19,-0.16 1.54,-0.49l0.18,-0.17V9.59h-1.82V8.52h3.07V12.24z"/> + </group> +</vector> + diff --git a/overlay/frameworks/base/packages/SettingsLib/res/drawable-mcc311-mnc480/ic_5g_plus_mobiledata.xml b/overlay/frameworks/base/packages/SettingsLib/res/drawable-mcc311-mnc480/ic_5g_plus_mobiledata.xml new file mode 100644 index 0000000..998db3b --- /dev/null +++ b/overlay/frameworks/base/packages/SettingsLib/res/drawable-mcc311-mnc480/ic_5g_plus_mobiledata.xml @@ -0,0 +1,36 @@ +<!-- + Copyright (C) 2020 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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:viewportWidth="22" + android:viewportHeight="17" + android:width="22dp" + android:height="17dp"> + <group> + <group> + <path android:fillColor="#FF000000" + android:pathData="M19.98,3.54v2.81c0,0.47 -0.15,0.84 -0.44,1.11s-0.69,0.41 -1.2,0.41c-0.5,0 -0.89,-0.13 -1.19,-0.4s-0.44,-0.63 -0.45,-1.09V3.54h0.88v2.82c0,0.28 0.07,0.48 0.2,0.61c0.13,0.13 0.32,0.19 0.56,0.19c0.49,0 0.75,-0.26 0.75,-0.78V3.54H19.98z"/> + <path android:fillColor="#FF000000" + android:pathData="M19.42,12.25l0.57,-3.04h0.88l-0.95,4.27h-0.88l-0.69,-2.85l-0.69,2.85h-0.88l-0.95,-4.27h0.88l0.58,3.03l0.7,-3.03h0.74L19.42,12.25z"/> + </group> + <group> + <path android:fillColor="#FF000000" + android:pathData="M0.94,8.49l0.43,-4.96H5.7v1.17H2.39L2.15,7.41c0.41,-0.29 0.85,-0.43 1.33,-0.43c0.77,0 1.38,0.3 1.83,0.9c0.44,0.6 0.66,1.41 0.66,2.43c0,1.03 -0.24,1.84 -0.72,2.43c-0.48,0.59 -1.14,0.88 -1.98,0.88c-0.75,0 -1.36,-0.24 -1.83,-0.73c-0.47,-0.49 -0.74,-1.16 -0.81,-2.02h1.13c0.07,0.57 0.23,1 0.49,1.29c0.26,0.29 0.59,0.43 1.01,0.43c0.47,0 0.84,-0.2 1.1,-0.61c0.26,-0.41 0.4,-0.96 0.4,-1.65c0,-0.65 -0.14,-1.18 -0.43,-1.59C4.05,8.32 3.67,8.11 3.19,8.11c-0.4,0 -0.72,0.1 -0.96,0.31L1.9,8.75L0.94,8.49z"/> + </group> + <path android:fillColor="#FF000000" + android:pathData="M13.86,12.24l-0.22,0.27c-0.63,0.73 -1.55,1.1 -2.76,1.1c-1.08,0 -1.92,-0.36 -2.53,-1.07c-0.61,-0.71 -0.93,-1.72 -0.94,-3.02V7.56c0,-1.39 0.28,-2.44 0.84,-3.13c0.56,-0.7 1.39,-1.04 2.51,-1.04c0.95,0 1.69,0.26 2.22,0.79c0.54,0.53 0.83,1.28 0.89,2.26h-1.25c-0.05,-0.62 -0.22,-1.1 -0.52,-1.45c-0.29,-0.35 -0.74,-0.52 -1.34,-0.52c-0.72,0 -1.24,0.23 -1.57,0.7C8.85,5.63 8.68,6.37 8.66,7.4v2.03c0,1 0.19,1.77 0.57,2.31c0.38,0.54 0.93,0.8 1.65,0.8c0.67,0 1.19,-0.16 1.54,-0.49l0.18,-0.17V9.59h-1.82V8.52h3.07V12.24z"/> + </group> +</vector> + diff --git a/overlay/frameworks/base/packages/SettingsLib/res/values-mcc310-mnc004/strings.xml b/overlay/frameworks/base/packages/SettingsLib/res/values-mcc310-mnc004/strings.xml new file mode 100644 index 0000000..f8ed0c0 --- /dev/null +++ b/overlay/frameworks/base/packages/SettingsLib/res/values-mcc310-mnc004/strings.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/** + * Copyright (c) 2020, 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"> + <!-- Content description of the data connection type 5G UW. [CHAR LIMIT=NONE] --> + <string name="data_connection_5g_plus" translatable="false">5G UW</string> +</resources> diff --git a/overlay/frameworks/base/packages/SettingsLib/res/values-mcc311-mnc480/strings.xml b/overlay/frameworks/base/packages/SettingsLib/res/values-mcc311-mnc480/strings.xml new file mode 100644 index 0000000..f8ed0c0 --- /dev/null +++ b/overlay/frameworks/base/packages/SettingsLib/res/values-mcc311-mnc480/strings.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/** + * Copyright (c) 2020, 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"> + <!-- Content description of the data connection type 5G UW. [CHAR LIMIT=NONE] --> + <string name="data_connection_5g_plus" translatable="false">5G UW</string> +</resources> diff --git a/overlay/frameworks/base/packages/SettingsLib/res/values-mcc440-mnc20/config.xml b/overlay/frameworks/base/packages/SettingsLib/res/values-mcc440-mnc20/config.xml new file mode 100644 index 0000000..69c1dac --- /dev/null +++ b/overlay/frameworks/base/packages/SettingsLib/res/values-mcc440-mnc20/config.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2020, 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 my 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Control whether status bar should distinguish HSPA data icon from UMTS + data icon on devices --> + <bool name="config_hspa_data_distinguishable">false</bool> +</resources> diff --git a/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml b/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml new file mode 100644 index 0000000..fd26810 --- /dev/null +++ b/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml @@ -0,0 +1,24 @@ +<!-- + Copyright (C) 2021 The Android Open Source Project + + 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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="176px" + android:height="176px" + android:viewportWidth="176" + android:viewportHeight="176"> + + <path + android:fillColor="#000000" + android:pathData="M 176,0 C 113.73671,2.2722224 103.12805,3.1915621 71.989998,4.9579044 56.517503,6.3013836 48.185745,7.3156476 42.201986,9.2785056 37.462895,10.833074 32.661175,12.708735 28.059795,15.610552 c -3.88932,2.452765 -7.023798,5.159587 -10.156494,8.35715 -3.872981,3.953175 -5.465252,6.525289 -7.692892,10.97322 C 7.6872844,39.978847 5.9561628,46.294254 5.3123092,50.05696 3.3464797,61.545346 2.7390184,75.813278 2.0576757,93.519957 0.99137121,121.23099 1.5482674,135.74135 0,176 V 0 Z" /> +</vector> + diff --git a/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml b/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml new file mode 100644 index 0000000..fd26810 --- /dev/null +++ b/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml @@ -0,0 +1,24 @@ +<!-- + Copyright (C) 2021 The Android Open Source Project + + 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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="176px" + android:height="176px" + android:viewportWidth="176" + android:viewportHeight="176"> + + <path + android:fillColor="#000000" + android:pathData="M 176,0 C 113.73671,2.2722224 103.12805,3.1915621 71.989998,4.9579044 56.517503,6.3013836 48.185745,7.3156476 42.201986,9.2785056 37.462895,10.833074 32.661175,12.708735 28.059795,15.610552 c -3.88932,2.452765 -7.023798,5.159587 -10.156494,8.35715 -3.872981,3.953175 -5.465252,6.525289 -7.692892,10.97322 C 7.6872844,39.978847 5.9561628,46.294254 5.3123092,50.05696 3.3464797,61.545346 2.7390184,75.813278 2.0576757,93.519957 0.99137121,121.23099 1.5482674,135.74135 0,176 V 0 Z" /> +</vector> + diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml new file mode 100644 index 0000000..67dcdc5 --- /dev/null +++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2020, 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> + <!-- Doze: does this device support STATE_DOZE? --> + <bool name="doze_display_state_supported">true</bool> + + <!-- Doze: does this device support STATE_DOZE_SUSPEND? --> + <bool name="doze_suspend_display_state_supported">false</bool> + + <string name="config_rounded_mask">M21,0C19.94,0.01 18.83,0.04 17.73,0.11C16.91,0.17 16.09,0.25 15.3,0.36C14.5,0.48 13.72,0.62 12.95,0.81C11.42,1.19 9.97,1.72 8.65,2.43C7.32,3.14 6.12,4.02 5.08,5.07C4.04,6.11 3.15,7.31 2.44,8.64C1.73,9.97 1.19,11.42 0.82,12.94C0.63,13.7 0.48,14.49 0.37,15.29C0.25,16.09 0.17,16.9 0.12,17.72C0.05,18.82 0.02,19.93 0.01,21.55</string> +</resources> diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml b/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml new file mode 100644 index 0000000..cea6e90 --- /dev/null +++ b/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + * Copyright (c) 2020, 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> + <!-- for 20dp of padding at 3.5px/dp at default density --> + <dimen name="rounded_corner_content_padding">70px</dimen> + + <!-- the padding on the top of the statusbar (usually 0) --> + <dimen name="status_bar_padding_top">1dp</dimen> + + <!-- Padding for the system icons on the keyguard (when no multi user switch is showing). + The icons always have a 4dp padding in the container so we only need 56 extra px of padding + for the corners --> + <dimen name="system_icons_super_container_avatarless_margin_end">56px</dimen> + + <!-- Multi user switch has some intrinsic padding to it --> + <dimen name="multi_user_switch_keyguard_margin">40px</dimen> + + <dimen name="keyguard_carrier_text_margin">70px</dimen> + +</resources> diff --git a/overlay/packages/services/Telephony/res/values/config.xml b/overlay/packages/services/Telephony/res/values/config.xml new file mode 100644 index 0000000..0afa3ca --- /dev/null +++ b/overlay/packages/services/Telephony/res/values/config.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2020 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. +--> + +<!-- Phone app resources that may need to be customized + for different hardware or product builds. --> +<resources> + <!-- String indicating the package name of the device ImsService implementation for MMTEL. --> + <string name="config_ims_mmtel_package">com.shannon.imsservice</string> + + <!-- String indicating the package name of the device ImsService implementation for RCS. --> + <string name="config_ims_rcs_package">com.shannon.rcsservice</string> + + <!-- Flag indicating whether the device supports RTT (real-time text) --> + <bool name="config_support_rtt">true</bool> + + <!-- Show enabled lte option for lte device --> + <bool name="config_enabled_lte" translatable="false">true</bool> + + <!-- String indicating the package name of the device GbaService implementation. --> + <string name="config_gba_package" translatable="false">com.shannon.rcsservice</string> + + <!-- This device requires that emergency calls are placed over the default data SIM. + This is done mainly to avoid placing emergency calls over CROSS SIM when even + though it's the default voice SIM. --> + <bool name="config_gnss_supl_requires_default_data_for_emergency">true</bool> +</resources> |