Loading packages/SystemUI/res/drawable/ic_qs_location_battery_saving.xml 0 → 100644 +28 −0 Original line number Diff line number Diff line <!-- 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="48.0" android:viewportHeight="48.0"> <path android:fillColor="#4DFFFFFF" android:pathData="M24.0,4.0c-7.7,0.0 -14.0,6.3 -14.0,14.0c0.0,10.5 14.0,26.0 14.0,26.0s14.0,-15.5 14.0,-26.0C38.0,10.3 31.7,4.0 24.0,4.0zM24.0,23.0c-2.8,0.0 -5.0,-2.2 -5.0,-5.0s2.2,-5.0 5.0,-5.0c2.8,0.0 5.0,2.2 5.0,5.0S26.8,23.0 24.0,23.0z"/> <path android:pathData="M24.0,4.0c-7.7,0.0 -14.0,6.3 -14.0,14.0c0.0,10.5 14.0,26.0 14.0,26.0l0.0,-21.0 c-2.8,0.0 -5.0,-2.2 -5.0,-5.0s2.2,-5.0 5.0,-5.0l0.0,-9.0z" android:fillColor="#FFFFFFFF"/> </vector> packages/SystemUI/res/drawable/ic_qs_location_off.xml 0 → 100644 +28 −0 Original line number Diff line number Diff line <!-- 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="48.0" android:viewportHeight="48.0"> <path android:fillColor="#4DFFFFFF" android:pathData="M24.0,13.0c2.8,0.0 5.0,2.2 5.0,5.0c0.0,1.5 -0.7,2.8 -1.7,3.7l7.3,7.3c2.0,-3.7 3.4,-7.6 3.4,-11.0c0.0,-7.7 -6.3,-14.0 -14.0,-14.0c-4.0,0.0 -7.5,1.6 -10.1,4.3l6.4,6.4C21.2,13.6 22.5,13.0 24.0,13.0zM32.7,32.2l-9.3,-9.3l-0.2,-0.2L6.5,6.0L4.0,8.5l6.4,6.4c-0.2,1.0 -0.4,2.0 -0.4,3.1c0.0,10.5 14.0,26.0 14.0,26.0s3.3,-3.7 6.8,-8.7l6.7,6.7l2.5,-2.5L32.7,32.2z"/> <path android:pathData="M23.5,22.9l0.0,0.0 -0.20000076,-0.19999886z" android:fillColor="#4DFFFFFF"/> </vector> packages/SystemUI/res/layout/qs_detail_items_list.xml +4 −3 Original line number Diff line number Diff line Loading @@ -25,16 +25,17 @@ <ListView android:id="@android:id/list" android:divider="@null" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" /> <LinearLayout android:id="@android:id/empty" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" android:gravity="center_horizontal" android:gravity="center" android:orientation="vertical" > <ImageView Loading packages/SystemUI/res/layout/qs_settings.xml +7 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,13 @@ systemui:defaultValue="1" systemui:table="cm_secure" /> <com.android.systemui.qs.QSBooleanSettingRow style="@style/SettingRow" android:title="@string/quick_settings_title_advanced_location" android:key="qs_location_advanced" systemui:defaultValue="0" systemui:table="cm_secure" /> <LinearLayout android:id="@+id/reset_tiles" style="@style/SettingRow"> Loading packages/SystemUI/res/values/cm_strings.xml +38 −0 Original line number Diff line number Diff line Loading @@ -198,4 +198,42 @@ <string name="accessibility_quick_settings_live_display_changed_day">LiveDisplay changed to day mode.</string> <string name="accessibility_quick_settings_live_display_changed_night">LiveDisplay changed to night mode.</string> <string name="accessibility_quick_settings_live_display_changed_outdoor">LiveDisplay changed to outdoor mode.</string> <string name="quick_settings_title_advanced_location">Tri-state location</string> <!-- Content description of the location tile in quick settings when on, battery saving mode (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_location_battery_saving">Location reporting: battery saving mode.</string> <!-- Content description of the location tile in quick settings when on, sensors only mode (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_location_gps_only">Location reporting: sensors only mode.</string> <!-- Content description of the location tile in quick settings when on, high accuracy mode (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_location_high_accuracy">Location reporting: high accuracy mode.</string> <!-- QuickSettings: Location (On, low-power) [CHAR LIMIT=NONE] --> <string name="quick_settings_location_battery_saving_label">Battery saving</string> <!-- QuickSettings: Location (On, gps-only) [CHAR LIMIT=NONE] --> <string name="quick_settings_location_gps_only_label">GPS only</string> <!-- QuickSettings: Location (On, high-accuracy) [CHAR LIMIT=NONE] --> <string name="quick_settings_location_high_accuracy_label">High accuracy</string> <!-- QuickSettings: Location detail panel title [CHAR LIMIT=NONE] --> <string name="quick_settings_location_detail_title">Location</string> <!-- QuickSettings: Location detail panel menu title [CHAR LIMIT=NONE] --> <string name="quick_settings_location_detail_menu_title">Select mode:</string> <!-- [CHAR LIMIT=30] Location detail panel, high accuracy location mode --> <string name="quick_settings_location_detail_mode_high_accuracy_title">High accuracy</string> <!-- [CHAR LIMIT=30] Location detail panel, battery saving location mode --> <string name="quick_settings_location_detail_mode_battery_saving_title">Battery saving</string> <!-- [CHAR LIMIT=30] Location detail panel, device only location mode --> <string name="quick_settings_location_detail_mode_sensors_only_title">Device only</string> <!-- [CHAR LIMIT=130] Location detail panel, description for high accuracy mode --> <string name="quick_settings_location_detail_mode_high_accuracy_description">Use GPS, Wi\u2011Fi, and cellular networks to determine location </string> <!-- [CHAR LIMIT=130] Location detail panel, description for battery saving mode --> <string name="quick_settings_location_detail_mode_battery_saving_description">Use Wi\u2011Fi and cellular networks to determine location</string> <!-- [CHAR LIMIT=130] Location detail panel, description for sensors only mode --> <string name="quick_settings_location_detail_mode_sensors_only_description">Use GPS to determine your location</string> <!-- Announcement made when the location tile changes to battery saving (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_location_changed_battery_saving">Location reporting changed to battery saving mode.</string> <!-- Announcement made when the location tile changes to sensors only (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_location_changed_gps_only">Location reporting changed to sensors only mode.</string> <!-- Announcement made when the location tile changes to high accuracy (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_location_changed_high_accuracy">Location reporting changed to high accuracy mode.</string> </resources> Loading
packages/SystemUI/res/drawable/ic_qs_location_battery_saving.xml 0 → 100644 +28 −0 Original line number Diff line number Diff line <!-- 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="48.0" android:viewportHeight="48.0"> <path android:fillColor="#4DFFFFFF" android:pathData="M24.0,4.0c-7.7,0.0 -14.0,6.3 -14.0,14.0c0.0,10.5 14.0,26.0 14.0,26.0s14.0,-15.5 14.0,-26.0C38.0,10.3 31.7,4.0 24.0,4.0zM24.0,23.0c-2.8,0.0 -5.0,-2.2 -5.0,-5.0s2.2,-5.0 5.0,-5.0c2.8,0.0 5.0,2.2 5.0,5.0S26.8,23.0 24.0,23.0z"/> <path android:pathData="M24.0,4.0c-7.7,0.0 -14.0,6.3 -14.0,14.0c0.0,10.5 14.0,26.0 14.0,26.0l0.0,-21.0 c-2.8,0.0 -5.0,-2.2 -5.0,-5.0s2.2,-5.0 5.0,-5.0l0.0,-9.0z" android:fillColor="#FFFFFFFF"/> </vector>
packages/SystemUI/res/drawable/ic_qs_location_off.xml 0 → 100644 +28 −0 Original line number Diff line number Diff line <!-- 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="48.0" android:viewportHeight="48.0"> <path android:fillColor="#4DFFFFFF" android:pathData="M24.0,13.0c2.8,0.0 5.0,2.2 5.0,5.0c0.0,1.5 -0.7,2.8 -1.7,3.7l7.3,7.3c2.0,-3.7 3.4,-7.6 3.4,-11.0c0.0,-7.7 -6.3,-14.0 -14.0,-14.0c-4.0,0.0 -7.5,1.6 -10.1,4.3l6.4,6.4C21.2,13.6 22.5,13.0 24.0,13.0zM32.7,32.2l-9.3,-9.3l-0.2,-0.2L6.5,6.0L4.0,8.5l6.4,6.4c-0.2,1.0 -0.4,2.0 -0.4,3.1c0.0,10.5 14.0,26.0 14.0,26.0s3.3,-3.7 6.8,-8.7l6.7,6.7l2.5,-2.5L32.7,32.2z"/> <path android:pathData="M23.5,22.9l0.0,0.0 -0.20000076,-0.19999886z" android:fillColor="#4DFFFFFF"/> </vector>
packages/SystemUI/res/layout/qs_detail_items_list.xml +4 −3 Original line number Diff line number Diff line Loading @@ -25,16 +25,17 @@ <ListView android:id="@android:id/list" android:divider="@null" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" /> <LinearLayout android:id="@android:id/empty" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" android:gravity="center_horizontal" android:gravity="center" android:orientation="vertical" > <ImageView Loading
packages/SystemUI/res/layout/qs_settings.xml +7 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,13 @@ systemui:defaultValue="1" systemui:table="cm_secure" /> <com.android.systemui.qs.QSBooleanSettingRow style="@style/SettingRow" android:title="@string/quick_settings_title_advanced_location" android:key="qs_location_advanced" systemui:defaultValue="0" systemui:table="cm_secure" /> <LinearLayout android:id="@+id/reset_tiles" style="@style/SettingRow"> Loading
packages/SystemUI/res/values/cm_strings.xml +38 −0 Original line number Diff line number Diff line Loading @@ -198,4 +198,42 @@ <string name="accessibility_quick_settings_live_display_changed_day">LiveDisplay changed to day mode.</string> <string name="accessibility_quick_settings_live_display_changed_night">LiveDisplay changed to night mode.</string> <string name="accessibility_quick_settings_live_display_changed_outdoor">LiveDisplay changed to outdoor mode.</string> <string name="quick_settings_title_advanced_location">Tri-state location</string> <!-- Content description of the location tile in quick settings when on, battery saving mode (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_location_battery_saving">Location reporting: battery saving mode.</string> <!-- Content description of the location tile in quick settings when on, sensors only mode (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_location_gps_only">Location reporting: sensors only mode.</string> <!-- Content description of the location tile in quick settings when on, high accuracy mode (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_location_high_accuracy">Location reporting: high accuracy mode.</string> <!-- QuickSettings: Location (On, low-power) [CHAR LIMIT=NONE] --> <string name="quick_settings_location_battery_saving_label">Battery saving</string> <!-- QuickSettings: Location (On, gps-only) [CHAR LIMIT=NONE] --> <string name="quick_settings_location_gps_only_label">GPS only</string> <!-- QuickSettings: Location (On, high-accuracy) [CHAR LIMIT=NONE] --> <string name="quick_settings_location_high_accuracy_label">High accuracy</string> <!-- QuickSettings: Location detail panel title [CHAR LIMIT=NONE] --> <string name="quick_settings_location_detail_title">Location</string> <!-- QuickSettings: Location detail panel menu title [CHAR LIMIT=NONE] --> <string name="quick_settings_location_detail_menu_title">Select mode:</string> <!-- [CHAR LIMIT=30] Location detail panel, high accuracy location mode --> <string name="quick_settings_location_detail_mode_high_accuracy_title">High accuracy</string> <!-- [CHAR LIMIT=30] Location detail panel, battery saving location mode --> <string name="quick_settings_location_detail_mode_battery_saving_title">Battery saving</string> <!-- [CHAR LIMIT=30] Location detail panel, device only location mode --> <string name="quick_settings_location_detail_mode_sensors_only_title">Device only</string> <!-- [CHAR LIMIT=130] Location detail panel, description for high accuracy mode --> <string name="quick_settings_location_detail_mode_high_accuracy_description">Use GPS, Wi\u2011Fi, and cellular networks to determine location </string> <!-- [CHAR LIMIT=130] Location detail panel, description for battery saving mode --> <string name="quick_settings_location_detail_mode_battery_saving_description">Use Wi\u2011Fi and cellular networks to determine location</string> <!-- [CHAR LIMIT=130] Location detail panel, description for sensors only mode --> <string name="quick_settings_location_detail_mode_sensors_only_description">Use GPS to determine your location</string> <!-- Announcement made when the location tile changes to battery saving (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_location_changed_battery_saving">Location reporting changed to battery saving mode.</string> <!-- Announcement made when the location tile changes to sensors only (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_location_changed_gps_only">Location reporting changed to sensors only mode.</string> <!-- Announcement made when the location tile changes to high accuracy (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_location_changed_high_accuracy">Location reporting changed to high accuracy mode.</string> </resources>