diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-01-20 09:38:15 +0100 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-01-20 09:38:15 +0100 |
commit | a3edd3be2ce0504cb485573b34cc32d60fecfe7a (patch) | |
tree | d29d0b9980fccf25d5ef55e4f088484d218ba85f /packages/SystemUI/res | |
parent | 69a68b55dfbb1603ca549610bfd14dd4698a3c67 (diff) | |
parent | d1295657d03c605ea20f0881f6adff2762167e04 (diff) | |
download | frameworks_base-a3edd3be2ce0504cb485573b34cc32d60fecfe7a.zip frameworks_base-a3edd3be2ce0504cb485573b34cc32d60fecfe7a.tar.gz frameworks_base-a3edd3be2ce0504cb485573b34cc32d60fecfe7a.tar.bz2 |
Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_frameworks_base into replicant-6.0
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'packages/SystemUI/res')
-rw-r--r-- | packages/SystemUI/res/drawable/ic_qs_battery_saver_off.xml | 26 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/ic_qs_battery_saver_on.xml | 26 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/ic_qs_heads_up_off.xml | 25 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/ic_qs_heads_up_on.xml | 25 | ||||
-rw-r--r-- | packages/SystemUI/res/layout/qs_tile_top.xml | 8 | ||||
-rw-r--r-- | packages/SystemUI/res/values/cm_colors.xml | 13 | ||||
-rw-r--r-- | packages/SystemUI/res/values/cm_dimens.xml | 3 | ||||
-rw-r--r-- | packages/SystemUI/res/values/cm_strings.xml | 22 |
8 files changed, 143 insertions, 5 deletions
diff --git a/packages/SystemUI/res/drawable/ic_qs_battery_saver_off.xml b/packages/SystemUI/res/drawable/ic_qs_battery_saver_off.xml new file mode 100644 index 0000000..0301872 --- /dev/null +++ b/packages/SystemUI/res/drawable/ic_qs_battery_saver_off.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2015 The CyanogenMod 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:width="64dp" + android:height="64dp" + android:viewportWidth="24" + android:viewportHeight="24"> + + <path + android:fillColor="#4DFFFFFF" + android:pathData="M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.67C6,21.4 6.6,22 7.33,22H16.67A1.33,1.33 0 0,0 18,20.67V5.33C18,4.6 17.4,4 16.67,4Z" /> +</vector> diff --git a/packages/SystemUI/res/drawable/ic_qs_battery_saver_on.xml b/packages/SystemUI/res/drawable/ic_qs_battery_saver_on.xml new file mode 100644 index 0000000..0e11796 --- /dev/null +++ b/packages/SystemUI/res/drawable/ic_qs_battery_saver_on.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2015 The CyanogenMod 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:width="64dp" + android:height="64dp" + android:viewportWidth="24" + android:viewportHeight="24"> + + <path + android:fillColor="#FFFFFFFF" + android:pathData="M16.67,4C17.4,4 18,4.6 18,5.33V20.67A1.33,1.33 0 0,1 16.67,22H7.33C6.6,22 6,21.4 6,20.67V5.33A1.33,1.33 0 0,1 7.33,4H9V2H15V4H16.67M16,14V12H13V9H11V12H8V14H11V17H13V14H16Z" /> +</vector> diff --git a/packages/SystemUI/res/drawable/ic_qs_heads_up_off.xml b/packages/SystemUI/res/drawable/ic_qs_heads_up_off.xml new file mode 100644 index 0000000..904ccdf --- /dev/null +++ b/packages/SystemUI/res/drawable/ic_qs_heads_up_off.xml @@ -0,0 +1,25 @@ +<!-- +Copyright (C) 2014 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:width="64dp" + android:height="64dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + + <path + android:fillColor="#FFFFFFFF" + android:pathData="M11.5,22.0c1.1,0.0 2.0,-0.9 2.0,-2.0l-4.0,0.0C9.5,21.1 10.4,22.0 11.5,22.0zM18.0,10.5c0.0,-3.1 -2.1,-5.6 -5.0,-6.3L13.0,3.5C13.0,2.7 12.3,2.0 11.5,2.0C10.7,2.0 10.0,2.7 10.0,3.5l0.0,0.7C9.5,4.3 9.0,4.5 8.6,4.7l9.4,9.4L18.0,10.5zM17.7,19.0l2.0,2.0l1.3,-1.3L4.3,3.0L3.0,4.3l2.9,2.9C5.3,8.2 5.0,9.3 5.0,10.5L5.0,16.0l-2.0,2.0l0.0,1.0L17.7,19.0z" /> +</vector> diff --git a/packages/SystemUI/res/drawable/ic_qs_heads_up_on.xml b/packages/SystemUI/res/drawable/ic_qs_heads_up_on.xml new file mode 100644 index 0000000..9c5983d --- /dev/null +++ b/packages/SystemUI/res/drawable/ic_qs_heads_up_on.xml @@ -0,0 +1,25 @@ +<!-- +Copyright (C) 2014 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:width="64dp" + android:height="64dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + + <path + android:fillColor="#FFFFFFFF" + android:pathData="M11.5,22.0c1.1,0.0 2.0,-0.9 2.0,-2.0l-4.0,0.0C9.5,21.1 10.4,22.0 11.5,22.0zM18.0,16.0l0.0,-5.5c0.0,-3.1 -2.1,-5.6 -5.0,-6.3L13.0,3.5C13.0,2.7 12.3,2.0 11.5,2.0C10.7,2.0 10.0,2.7 10.0,3.5l0.0,0.7c-2.9,0.7 -5.0,3.2 -5.0,6.3L5.0,16.0l-2.0,2.0l0.0,1.0l17.0,0.0l0.0,-1.0L18.0,16.0z"/> +</vector> diff --git a/packages/SystemUI/res/layout/qs_tile_top.xml b/packages/SystemUI/res/layout/qs_tile_top.xml index 0a6736a..4413ec3 100644 --- a/packages/SystemUI/res/layout/qs_tile_top.xml +++ b/packages/SystemUI/res/layout/qs_tile_top.xml @@ -17,11 +17,12 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/qs_panel_top" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:paddingTop="@dimen/qs_brightness_padding_top" + android:clipToPadding="false" + android:layout_height="wrap_content"> <!-- brightness --> <include android:id="@+id/brightness_container" - android:paddingTop="@dimen/qs_brightness_padding_top" layout="@layout/quick_settings_brightness_dialog"/> <!-- delete target --> @@ -29,7 +30,6 @@ android:id="@+id/delete_container" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingTop="@dimen/qs_brightness_padding_top" android:paddingLeft="16dp" android:paddingRight="16dp" android:orientation="horizontal"> @@ -49,7 +49,6 @@ android:id="@+id/edit_container" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingTop="@dimen/qs_brightness_padding_top" android:paddingLeft="16dp" android:paddingRight="16dp" android:orientation="horizontal"> @@ -75,7 +74,6 @@ <TextView android:id="@+id/qs_toast" android:layout_height="match_parent" - android:paddingTop="@dimen/qs_brightness_padding_top" android:paddingLeft="16dp" android:paddingRight="16dp" android:gravity="center_vertical" diff --git a/packages/SystemUI/res/values/cm_colors.xml b/packages/SystemUI/res/values/cm_colors.xml index cedeeee..85b3d58 100644 --- a/packages/SystemUI/res/values/cm_colors.xml +++ b/packages/SystemUI/res/values/cm_colors.xml @@ -74,6 +74,13 @@ <color name="qs_edit_header_instruction_text_color">@android:color/white</color> <color name="qs_row_text_color">@android:color/white</color> + <!-- natural color of the trash can --> + <color name="qs_tile_trash">#FFFFFF</color> + <!-- tint to color trash can when tile is hovering over it --> + <color name="qs_tile_trash_delete_tint">#FF0000</color> + <!-- tint to color trash can when hovering edit tile, user cannot delete it --> + <color name="qs_tile_trash_delete_tint_warning">#FF9C00</color> + <!-- More exposed hard coded colors --> <color name="toggle_slider_text_color">#666666</color> <color name="no_recent_apps_text_color">@android:color/holo_blue_light</color> @@ -103,4 +110,10 @@ <color name="qs_detailed_expansion_indicator_color">@color/qs_title_text_color</color> <color name="qs_detailed_title_text_color">@color/qs_title_text_color</color> <color name="qs_detailed_icon_tint_color">@color/qs_title_text_color</color> + + <!-- Quick tile text color when the tile is disabled --> + <color name="qs_tile_text_disabled">#ff747474</color> + + <!-- Active color for volume slider --> + <color name="volume_slider_active">@color/system_accent_color</color> </resources> diff --git a/packages/SystemUI/res/values/cm_dimens.xml b/packages/SystemUI/res/values/cm_dimens.xml index 73608b7..3bce97b 100644 --- a/packages/SystemUI/res/values/cm_dimens.xml +++ b/packages/SystemUI/res/values/cm_dimens.xml @@ -39,6 +39,9 @@ <!-- Padding end for weather text --> <dimen name="status_bar_weather_padding_end">16dp</dimen> + <!-- height of the qs page indicator --> + <dimen name="qs_panel_page_indicator_height">8dp</dimen> + <dimen name="lockscreen_icon_side_padding">10dp</dimen> <dimen name="lockscreen_icon_size">35dp</dimen> <dimen name="phone_side_padding">10dp</dimen> diff --git a/packages/SystemUI/res/values/cm_strings.xml b/packages/SystemUI/res/values/cm_strings.xml index 481bdf5..cfad226 100644 --- a/packages/SystemUI/res/values/cm_strings.xml +++ b/packages/SystemUI/res/values/cm_strings.xml @@ -101,6 +101,8 @@ <string name="quick_settings_nfc_label">NFC</string> <string name="quick_settings_profiles">System profiles</string> <string name="quick_settings_profiles_off">Profiles disabled</string> + <string name="quick_settings_heads_up_label">Heads up</string> + <string name="quick_settings_battery_saver_label">Battery saver</string> <!-- Content description of the sync tile in quick settings when off (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_sync_off">Sync off.</string> @@ -168,6 +170,26 @@ <!-- Announcement made when ambient display changes to on (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_ambient_display_changed_on">Ambient display turned on.</string> + <!-- Content description of the heads up tile in quick settings when off (not shown on the screen). [CHAR LIMIT=NONE] --> + <string name="accessibility_quick_settings_heads_up_off">Heads up off.</string> + <!-- Content description of the heads up tile in quick settings when on (not shown on the screen). [CHAR LIMIT=NONE] --> + <string name="accessibility_quick_settings_heads_up_on">Heads up on.</string> + + <!-- Announcement made when heads up changes to off (not shown on the screen). [CHAR LIMIT=NONE] --> + <string name="accessibility_quick_settings_heads_up_changed_off">Heads up turned off.</string> + <!-- Announcement made when heads up changes to on (not shown on the screen). [CHAR LIMIT=NONE] --> + <string name="accessibility_quick_settings_heads_up_changed_on">Heads up turned on.</string> + + <!-- Content description of the battery saver tile in quick settings when off (not shown on the screen). [CHAR LIMIT=NONE] --> + <string name="accessibility_quick_settings_battery_saver_off">Battery saver off.</string> + <!-- Content description of the battery saver tile in quick settings when on (not shown on the screen). [CHAR LIMIT=NONE] --> + <string name="accessibility_quick_settings_battery_saver_on">Battery saver on.</string> + + <!-- Announcement made when battery saver changes to off (not shown on the screen). [CHAR LIMIT=NONE] --> + <string name="accessibility_quick_settings_battery_saver_changed_off">Battery saver turned off.</string> + <!-- Announcement made when battery saver changes to on (not shown on the screen). [CHAR LIMIT=NONE] --> + <string name="accessibility_quick_settings_battery_saver_changed_on">Battery saver turned on.</string> + <!-- Dynamic tiles --> <string name="quick_settings_dynamic_tile_detail_title">Dynamic tile</string> <string name="dynamic_qs_tile_next_alarm_label">Next alarm</string> |