diff options
| author | Faiz Authar <faizauthar@gmail.com> | 2019-05-03 18:45:52 +0700 |
|---|---|---|
| committer | Faiz Authar <faizauthar@gmail.com> | 2019-05-03 18:45:52 +0700 |
| commit | de13e7e68d08f6ec2ea20ba521a0e9b13590b2fa (patch) | |
| tree | 0fc4ebab7722d1707a1c683f5e46be98ba3b4465 | |
| parent | 2c7ad967d1c9be71a50a9c27e336e180c035e648 (diff) | |
msm8996-common: rebreand overlay-lineage to overlay-aicp
Change-Id: I28e06fe2166538c3d93ef336e8ff544ab78d87c0
14 files changed, 35 insertions, 401 deletions
@@ -29,7 +29,7 @@ $(call inherit-product, vendor/zuk/msm8996-common/msm8996-common-vendor.mk) # Overlays DEVICE_PACKAGE_OVERLAYS += \ $(LOCAL_PATH)/overlay \ - $(LOCAL_PATH)/overlay-lineage + $(LOCAL_PATH)/overlay-aicp PRODUCT_ENFORCE_RRO_TARGETS := \ framework-res diff --git a/overlay-lineage/frameworks/base/core/res/res/values/config.xml b/overlay-aicp/frameworks/base/core/res/res/values/config.xml index d144901a..633e7f1a 100644 --- a/overlay-lineage/frameworks/base/core/res/res/values/config.xml +++ b/overlay-aicp/frameworks/base/core/res/res/values/config.xml @@ -18,6 +18,40 @@ for different hardware and product builds. Do not translate. --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Default value for proximity check on screen wake + NOTE ! - Enable for devices that have a fast response proximity sensor (ideally < 300ms)--> + <bool name="config_proximityCheckOnWake">true</bool> + <integer name="config_proximityCheckTimeout">3000</integer> + <bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool> + + <!-- Hardware keys present on the device, stored as a bit field. + This integer should equal the sum of the corresponding value for each + of the following keys present: + 1 - Home + 2 - Back + 4 - Menu + 8 - Assistant (search) + 16 - App switch + 32 - Camera + 64 - Volume rocker + For example, a device with Home, Back and Menu keys would set this + config to 7. --> + <integer name="config_deviceHardwareKeys">95</integer> + + <!-- Hardware keys present on the device with the ability to wake, stored as a bit field. + This integer should equal the sum of the corresponding value for each + of the following keys present: + 1 - Home + 2 - Back + 4 - Menu + 8 - Assistant (search) + 16 - App switch + 32 - Camera + 64 - Volume rocker + For example, a device with Home, Back and Menu keys would set this + config to 7. --> + <integer name="config_deviceHardwareWakeKeys">79</integer> + <!-- Support in Surfaceflinger for blur layers. NOTE: This requires additional hardware-specific code. --> <!--bool name="config_uiBlurEnabled">true</bool--> diff --git a/overlay-lineage/packages/apps/CellBroadcastReceiver/res/values/config.xml b/overlay-aicp/packages/apps/CellBroadcastReceiver/res/values/config.xml index a4714775..a4714775 100644 --- a/overlay-lineage/packages/apps/CellBroadcastReceiver/res/values/config.xml +++ b/overlay-aicp/packages/apps/CellBroadcastReceiver/res/values/config.xml diff --git a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml deleted file mode 100644 index 61a385df..00000000 --- a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - Copyright (C) 2015-2016 The CyanogenMod Project - 2017 The LineageOS 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> - <!-- Default value for proximity check on screen wake - NOTE ! - Enable for devices that have a fast response proximity sensor (ideally < 300ms)--> - <bool name="config_proximityCheckOnWake">true</bool> - <integer name="config_proximityCheckTimeout">3000</integer> - <bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool> - - <!-- Hardware keys present on the device, stored as a bit field. - This integer should equal the sum of the corresponding value for each - of the following keys present: - 1 - Home - 2 - Back - 4 - Menu - 8 - Assistant (search) - 16 - App switch - 32 - Camera - 64 - Volume rocker - For example, a device with Home, Back and Menu keys would set this - config to 7. --> - <integer name="config_deviceHardwareKeys">95</integer> - - <!-- Hardware keys present on the device with the ability to wake, stored as a bit field. - This integer should equal the sum of the corresponding value for each - of the following keys present: - 1 - Home - 2 - Back - 4 - Menu - 8 - Assistant (search) - 16 - App switch - 32 - Camera - 64 - Volume rocker - For example, a device with Home, Back and Menu keys would set this - config to 7. --> - <integer name="config_deviceHardwareWakeKeys">79</integer> -</resources> diff --git a/overlay-lineage/packages/apps/LineageParts/res/values-es/strings.xml b/overlay-lineage/packages/apps/LineageParts/res/values-es/strings.xml deleted file mode 100644 index 5da67bf3..00000000 --- a/overlay-lineage/packages/apps/LineageParts/res/values-es/strings.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"> - - <string name="hardware_keys_swipe_right_key_title">Deslizar hacia la derecha</string> - <string name="hardware_keys_swipe_left_key_title">Deslizar hacia la izquierda</string> - <string name="hardware_keys_long_tap_key_title">Mantener pulsado</string> - <string name="hardware_keys_swipe_tap_title">Acción al deslizar</string> - <string name="hardware_keys_long_tap_title">Acción al mantener pulsado</string> - -</resources> diff --git a/overlay-lineage/packages/apps/LineageParts/res/values-hi/string.xml b/overlay-lineage/packages/apps/LineageParts/res/values-hi/string.xml deleted file mode 100644 index e17343a4..00000000 --- a/overlay-lineage/packages/apps/LineageParts/res/values-hi/string.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"> - - <string name="hardware_keys_swipe_right_key_title">स्वाइप राइट</string> - <string name="hardware_keys_swipe_left_key_title">स्वाइप लेफ्ट</string> - <string name="hardware_keys_long_tap_key_title">लोंग टैप</string> - <string name="hardware_keys_swipe_tap_title">स्वाइप एक्शन</string> - <string name="hardware_keys_long_tap_title">लॉन्ग टैप एक्शन</string> - -</resources> diff --git a/overlay-lineage/packages/apps/LineageParts/res/values-it/strings.xml b/overlay-lineage/packages/apps/LineageParts/res/values-it/strings.xml deleted file mode 100644 index 2006f912..00000000 --- a/overlay-lineage/packages/apps/LineageParts/res/values-it/strings.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"> - - <string name="hardware_keys_swipe_right_key_title">Scorrimento verso destra</string> - <string name="hardware_keys_swipe_left_key_title">Scorrimento verso sinistra</string> - <string name="hardware_keys_long_tap_key_title">Tocco prolungato</string> - <string name="hardware_keys_swipe_tap_title">Azione dello scorrimento</string> - <string name="hardware_keys_long_tap_title">Azione del tocco prolungato</string> - -</resources> diff --git a/overlay-lineage/packages/apps/LineageParts/res/values-pl/strings.xml b/overlay-lineage/packages/apps/LineageParts/res/values-pl/strings.xml deleted file mode 100644 index 2f951cbd..00000000 --- a/overlay-lineage/packages/apps/LineageParts/res/values-pl/strings.xml +++ /dev/null @@ -1,9 +0,0 @@ -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - - <string name="hardware_keys_swipe_right_key_title">Ruch w prawo</string> - <string name="hardware_keys_swipe_left_key_title">Ruch w lewo</string> - <string name="hardware_keys_long_tap_key_title">długi dotyk</string> - <string name="hardware_keys_swipe_tap_title">akcja ruszania</string> - <string name="hardware_keys_long_tap_title">Akcja długiego dotyku</string> - -</resources> diff --git a/overlay-lineage/packages/apps/LineageParts/res/values-pt-rBR/string.xml b/overlay-lineage/packages/apps/LineageParts/res/values-pt-rBR/string.xml deleted file mode 100644 index e344cd82..00000000 --- a/overlay-lineage/packages/apps/LineageParts/res/values-pt-rBR/string.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"> - - <string name="hardware_keys_swipe_right_key_title">Deslizar para direita</string> - <string name="hardware_keys_swipe_left_key_title">Deslizar para esquerda</string> - <string name="hardware_keys_long_tap_key_title">Toque longo</string> - <string name="hardware_keys_swipe_tap_title">Ação ao deslizar</string> - <string name="hardware_keys_long_tap_title">Ação de toque longo</string> - -</resources> diff --git a/overlay-lineage/packages/apps/LineageParts/res/values-ro/strings.xml b/overlay-lineage/packages/apps/LineageParts/res/values-ro/strings.xml deleted file mode 100644 index 966e63da..00000000 --- a/overlay-lineage/packages/apps/LineageParts/res/values-ro/strings.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"> - - <string name="hardware_keys_swipe_right_key_title">Glisați spre dreapta</string> - <string name="hardware_keys_swipe_left_key_title">Glisați spre stânga</string> - <string name="hardware_keys_long_tap_key_title">Apăsare prolungată</string> - <string name="hardware_keys_swipe_tap_title">Acțiune la glisare</string> - <string name="hardware_keys_long_tap_title">Acțiune la apăsare prolungată</string> - -</resources> diff --git a/overlay-lineage/packages/apps/LineageParts/res/values-ru/strings.xml b/overlay-lineage/packages/apps/LineageParts/res/values-ru/strings.xml deleted file mode 100644 index e726ab11..00000000 --- a/overlay-lineage/packages/apps/LineageParts/res/values-ru/strings.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"> - - <string name="hardware_keys_swipe_right_key_title">Свайп вправо</string> - <string name="hardware_keys_swipe_left_key_title">Свайп влево</string> - <string name="hardware_keys_long_tap_key_title">Долгое касание</string> - <string name="hardware_keys_swipe_tap_title">Действие на свайп</string> - <string name="hardware_keys_long_tap_title">Действие на долгое касание</string> - -</resources> diff --git a/overlay-lineage/packages/apps/LineageParts/res/values-zh-rCN/strings.xml b/overlay-lineage/packages/apps/LineageParts/res/values-zh-rCN/strings.xml deleted file mode 100644 index fe15b354..00000000 --- a/overlay-lineage/packages/apps/LineageParts/res/values-zh-rCN/strings.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"> - - <string name="hardware_keys_swipe_right_key_title">右滑</string> - <string name="hardware_keys_swipe_left_key_title">左滑</string> - <string name="hardware_keys_long_tap_key_title">长轻触</string> - <string name="hardware_keys_swipe_tap_title">滑动操作</string> - <string name="hardware_keys_long_tap_title">长轻触操作</string> - -</resources> diff --git a/overlay-lineage/packages/apps/LineageParts/res/values/strings.xml b/overlay-lineage/packages/apps/LineageParts/res/values/strings.xml deleted file mode 100644 index a2241edc..00000000 --- a/overlay-lineage/packages/apps/LineageParts/res/values/strings.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"> - - <string name="hardware_keys_swipe_right_key_title">Swipe right</string> - <string name="hardware_keys_swipe_left_key_title">Swipe left</string> - <string name="hardware_keys_long_tap_key_title">Long Tap</string> - <string name="hardware_keys_swipe_tap_title">Swipe action</string> - <string name="hardware_keys_long_tap_title">Long Tap action</string> - -</resources> diff --git a/overlay-lineage/packages/apps/LineageParts/res/xml/button_settings.xml b/overlay-lineage/packages/apps/LineageParts/res/xml/button_settings.xml deleted file mode 100644 index 2895a34c..00000000 --- a/overlay-lineage/packages/apps/LineageParts/res/xml/button_settings.xml +++ /dev/null @@ -1,261 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2008 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:lineage="http://schemas.android.com/apk/res/lineageos.platform" - android:key="button_settings" - android:title="@string/button_pref_title"> - - <SwitchPreference - android:key="disable_nav_keys" - android:title="@string/disable_navkeys_title" - android:summary="@string/disable_navkeys_summary" - android:defaultValue="false" /> - - <org.lineageos.lineageparts.input.ButtonBacklightBrightness - android:key="button_backlight" - android:title="@string/button_backlight_title" - android:dialogTitle="@string/button_backlight_title" - android:persistent="false" /> - - <PreferenceCategory - android:key="navigation_bar_category" - android:title="@string/navigation_bar_category" > - - <lineageos.preference.LineageSystemSettingSwitchPreference - android:key="navigation_bar_menu_arrow_keys" - android:title="@string/navigation_bar_arrow_keys_title" - android:summary="@string/navigation_bar_arrow_keys_summary" - android:defaultValue="false" /> - - <PreferenceScreen - android:key="navigation_bar" - android:title="@string/navigation_bar_title"> - <intent android:action="com.android.settings.action.NAV_BAR_TUNER" /> - </PreferenceScreen> - - <ListPreference - android:key="navigation_home_long_press" - android:dialogTitle="@string/navigation_bar_home_long_press_title" - android:title="@string/navigation_bar_home_long_press_title" - android:entries="@array/hardware_keys_action_entries" - android:entryValues="@array/hardware_keys_action_values" - android:persistent="false" /> - - <ListPreference - android:key="navigation_home_double_tap" - android:dialogTitle="@string/navigation_bar_home_double_tap_title" - android:title="@string/navigation_bar_home_double_tap_title" - android:entries="@array/hardware_keys_action_entries" - android:entryValues="@array/hardware_keys_action_values" - android:persistent="false" /> - - <ListPreference - android:key="navigation_app_switch_long_press" - android:dialogTitle="@string/navigation_bar_app_switch_long_press_title" - android:title="@string/navigation_bar_app_switch_long_press_title" - android:entries="@array/hardware_keys_action_entries" - android:entryValues="@array/hardware_keys_action_values" - android:persistent="false" /> - - </PreferenceCategory> - - <PreferenceCategory - android:key="power_key" - android:title="@string/hardware_keys_power_key_title" > - - <PreferenceScreen - android:key="power_menu" - android:title="@string/power_menu_title" - android:fragment="org.lineageos.lineageparts.input.PowerMenuActions" /> - - <SwitchPreference - android:key="power_end_call" - android:title="@string/power_end_call_title" - android:summary="@string/power_end_call_summary" - android:persistent="false"/> - - <lineageos.preference.LineageSystemSettingSwitchPreference - android:key="torch_long_press_power_gesture" - android:title="@string/torch_long_press_power_gesture_title" - android:summary="@string/torch_long_press_power_gesture_desc" - android:defaultValue="false" - lineage:requiresConfig="@*android:bool/config_supportLongPressPowerWhenNonInteractive" /> - - <ListPreference - android:key="torch_long_press_power_timeout" - android:dialogTitle="@string/torch_long_press_power_timeout_title" - android:title="@string/torch_long_press_power_timeout_title" - android:entries="@array/torch_long_press_power_timeout_entries" - android:entryValues="@array/torch_long_press_power_timeout_values" - android:dependency="torch_long_press_power_gesture" - android:persistent="false" /> - - </PreferenceCategory> - - <PreferenceCategory - android:key="home_key" - android:title="@string/hardware_keys_home_key_title" > - - <lineageos.preference.LineageSystemSettingSwitchPreference - android:key="home_wake_screen" - android:title="@string/button_wake_title" - android:defaultValue="true" /> - - <SwitchPreference - android:key="home_answer_call" - android:title="@string/home_answer_call_title" - android:summary="@string/home_answer_call_summary" - android:persistent="false"/> - - <ListPreference - android:key="hardware_keys_home_long_press" - android:dialogTitle="@string/hardware_keys_long_press_title" - android:title="@string/hardware_keys_long_press_title" - android:entries="@array/hardware_keys_action_entries" - android:entryValues="@array/hardware_keys_action_values" - android:persistent="false" /> - - <ListPreference - android:key="hardware_keys_home_double_tap" - android:dialogTitle="@string/hardware_keys_double_tap_title" - android:title="@string/hardware_keys_double_tap_title" - android:entries="@array/hardware_keys_action_entries" - android:entryValues="@array/hardware_keys_action_values" - android:persistent="false" /> - - </PreferenceCategory> - - <PreferenceCategory - android:key="menu_key" - android:title="@string/hardware_keys_swipe_right_key_title" > - - <ListPreference - android:key="hardware_keys_menu_press" - android:dialogTitle="@string/hardware_keys_swipe_tap_title" - android:title="@string/hardware_keys_swipe_tap_title" - android:entries="@array/hardware_keys_action_entries" - android:entryValues="@array/hardware_keys_action_values" - android:persistent="false" /> - - </PreferenceCategory> - - <PreferenceCategory - android:key="app_switch_key" - android:title="@string/hardware_keys_swipe_left_key_title" > - - <lineageos.preference.LineageSystemSettingSwitchPreference - android:key="app_switch_wake_screen" - android:title="@string/button_wake_title" - android:defaultValue="false" /> - - <ListPreference - android:key="hardware_keys_app_switch_press" - android:dialogTitle="@string/hardware_keys_swipe_tap_title" - android:title="@string/hardware_keys_swipe_tap_title" - android:entries="@array/hardware_keys_action_entries" - android:entryValues="@array/hardware_keys_action_values" - android:persistent="false" /> - - </PreferenceCategory> - - <PreferenceCategory - android:key="assist_key" - android:title="@string/hardware_keys_long_tap_key_title" > - - <ListPreference - android:key="hardware_keys_assist_press" - android:dialogTitle="@string/hardware_keys_long_tap_title" - android:title="@string/hardware_keys_long_tap_title" - android:entries="@array/hardware_keys_action_entries" - android:entryValues="@array/hardware_keys_action_values" - android:persistent="false" /> - - </PreferenceCategory> - - <PreferenceCategory - android:key="camera_key" - android:title="@string/hardware_keys_camera_key_title"> - - <lineageos.preference.LineageSystemSettingSwitchPreference - android:key="camera_wake_screen" - android:title="@string/button_wake_title" - android:defaultValue="false" /> - - <lineageos.preference.LineageSystemSettingSwitchPreference - android:key="camera_sleep_on_release" - android:title="@string/camera_sleep_on_release_title" - android:summary="@string/camera_sleep_on_release_summary" - android:defaultValue="false" /> - - <lineageos.preference.LineageSystemSettingSwitchPreference - android:key="camera_launch" - android:title="@string/camera_launch_title" - android:summary="@string/camera_launch_summary" - android:defaultValue="false" /> - - </PreferenceCategory> - - <PreferenceCategory - android:key="volume_keys" - android:title="@string/hardware_keys_volume_keys_title" > - - <lineageos.preference.LineageSystemSettingSwitchPreference - android:key="volume_wake_screen" - android:title="@string/button_wake_title" - android:defaultValue="false" /> - - <lineageos.preference.LineageSystemSettingSwitchPreference - android:key="volume_answer_call" - android:title="@string/volume_answer_call_title" - android:summary="@string/volume_answer_call_summary" - android:defaultValue="false" /> - - <lineageos.preference.LineageSystemSettingSwitchPreference - android:key="volbtn_music_controls" - android:title="@string/volbtn_music_controls_title" - android:summary="@string/volbtn_music_controls_summary" - android:defaultValue="true" /> - - <ListPreference - android:key="volume_key_cursor_control" - android:dialogTitle="@string/volbtn_cursor_control_title" - android:title="@string/volbtn_cursor_control_title" - android:entries="@array/volbtn_cursor_control_entries" - android:entryValues="@array/volbtn_cursor_control_values" - android:persistent="false" /> - - <SwitchPreference - android:key="swap_volume_buttons" - android:title="@string/swap_volume_buttons_title" - android:summary="@string/swap_volume_buttons_summary" /> - </PreferenceCategory> - - <PreferenceCategory - android:key="extras_category" - android:title="@string/extras_title" > - - <lineageos.preference.RemotePreference - android:key="additional_buttons" - android:title="@string/additional_buttons_title" - lineage:requiresAction="org.lineageos.settings.device.ADDITIONAL_BUTTONS_SETTINGS"> - <intent - android:action="org.lineageos.settings.device.ADDITIONAL_BUTTONS_SETTINGS" /> - </lineageos.preference.RemotePreference> - - </PreferenceCategory> - -</PreferenceScreen> |
