diff options
author | Steve Kondik <steve@cyngn.com> | 2016-04-13 18:14:32 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2016-04-14 20:35:15 -0700 |
commit | 712426f2495cad60273c58cc3ea1427213dc2cbb (patch) | |
tree | 5145c53ac3188b7359626d958375f64038c393ca /cm/res | |
parent | 763e39ad54cc231f10c71722c2024654320e123d (diff) | |
download | vendor_cmsdk-712426f2495cad60273c58cc3ea1427213dc2cbb.zip vendor_cmsdk-712426f2495cad60273c58cc3ea1427213dc2cbb.tar.gz vendor_cmsdk-712426f2495cad60273c58cc3ea1427213dc2cbb.tar.bz2 |
livedisplay: Publish our own damn tile!
Change-Id: If765cb1fe1cbc34c857dc6237cd25a1fb27f848e
Diffstat (limited to 'cm/res')
-rw-r--r-- | cm/res/res/drawable/ic_livedisplay_auto.xml | 29 | ||||
-rw-r--r-- | cm/res/res/drawable/ic_livedisplay_day.xml | 30 | ||||
-rw-r--r-- | cm/res/res/drawable/ic_livedisplay_night.xml | 29 | ||||
-rw-r--r-- | cm/res/res/drawable/ic_livedisplay_off.xml | 29 | ||||
-rw-r--r-- | cm/res/res/drawable/ic_livedisplay_outdoor.xml | 27 | ||||
-rw-r--r-- | cm/res/res/values/arrays.xml | 28 | ||||
-rw-r--r-- | cm/res/res/values/strings.xml | 11 | ||||
-rw-r--r-- | cm/res/res/values/symbols.xml | 3 |
8 files changed, 186 insertions, 0 deletions
diff --git a/cm/res/res/drawable/ic_livedisplay_auto.xml b/cm/res/res/drawable/ic_livedisplay_auto.xml new file mode 100644 index 0000000..39d1f8c --- /dev/null +++ b/cm/res/res/drawable/ic_livedisplay_auto.xml @@ -0,0 +1,29 @@ +<?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="#FFFFFF" + android:pathData="M19,5v14H5V5H19 +M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3L19,3z +M10.7,13.3h2.6L12,9.2L10.7,13.3z +M14.6,17l-0.8-2.2h-3.6L9.4,17H7.3l3.6-10h2.2l3.6,10H14.6z" /> +</vector>
\ No newline at end of file diff --git a/cm/res/res/drawable/ic_livedisplay_day.xml b/cm/res/res/drawable/ic_livedisplay_day.xml new file mode 100644 index 0000000..f454d81 --- /dev/null +++ b/cm/res/res/drawable/ic_livedisplay_day.xml @@ -0,0 +1,30 @@ +<?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="#FFFFFF" + android:pathData="M19,5v14H5V5H19 +M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3L19,3z +M14,12c0,1.1-0.9,2-2,2s-2-0.9-2-2s0.9-2,2-2S14,10.9,14,12z +M16,13.7l1.7-1.7L16,10.3V8h-2.3L12,6.3L10.3,8H8v2.3L6.3,12L8,13.7 +V16h2.3l1.7,1.7l1.7-1.7H16V13.7z" /> +</vector>
\ No newline at end of file diff --git a/cm/res/res/drawable/ic_livedisplay_night.xml b/cm/res/res/drawable/ic_livedisplay_night.xml new file mode 100644 index 0000000..88a6764 --- /dev/null +++ b/cm/res/res/drawable/ic_livedisplay_night.xml @@ -0,0 +1,29 @@ +<?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="#FFFFFF" + android:pathData="M15.5,15.5c0.4-0.4,0.7-0.8,0.9-1.2c-1.9,1-4.3,0.7-5.8-0.9s-1.9-4-0.9-5.8C9.2,7.8,8.8,8.1,8.5,8.5 +c-2,2-2,5.1,0,7.1S13.6,17.5,15.5,15.5z M19,5v14H5V5H19 +M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5 +C21,3.9,20.1,3,19,3L19,3z" /> +</vector>
\ No newline at end of file diff --git a/cm/res/res/drawable/ic_livedisplay_off.xml b/cm/res/res/drawable/ic_livedisplay_off.xml new file mode 100644 index 0000000..fb68c00 --- /dev/null +++ b/cm/res/res/drawable/ic_livedisplay_off.xml @@ -0,0 +1,29 @@ +<?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="#FFFFFF" + android:pathData="M2.7,2.7L1.3,4.1L3,5.8V19c0,1.1,0.9,2,2,2h13.2l1.7,1.7l1.4-1.4L2.7,2.7z +M5,19V7.8l2.8,2.8L6.3,12L8,13.7 V16h2.3l1.7,1.7l1.4-1.4l2.8,2.8H5z +M7.8,5l-2-2H19c1.1,0,2,0.9,2,2v13.2l-2-2V5H7.8z +M16,8v2.3l1.7,1.7l-1.4,1.4l-5.7-5.7L12,6.3 L13.7,8H16z" /> +</vector>
\ No newline at end of file diff --git a/cm/res/res/drawable/ic_livedisplay_outdoor.xml b/cm/res/res/drawable/ic_livedisplay_outdoor.xml new file mode 100644 index 0000000..66ead51 --- /dev/null +++ b/cm/res/res/drawable/ic_livedisplay_outdoor.xml @@ -0,0 +1,27 @@ +<?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="#FFFFFF" + android:pathData="M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3z +M19,19H5V5h14V19z M14,12.3l-2.8,3.5l-2-2.4L6.5,17h11L14,12.3z" /> +</vector>
\ No newline at end of file diff --git a/cm/res/res/values/arrays.xml b/cm/res/res/values/arrays.xml index ec3fceb..13d0573 100644 --- a/cm/res/res/values/arrays.xml +++ b/cm/res/res/values/arrays.xml @@ -60,4 +60,32 @@ <item>1</item> <item>3</item> </string-array> + + <!-- LiveDisplay drawables --> + <string-array name="live_display_drawables" translatable="false"> + <item>@drawable/ic_livedisplay_auto</item> + <item>@drawable/ic_livedisplay_off</item> + <item>@drawable/ic_livedisplay_day</item> + <item>@drawable/ic_livedisplay_night</item> + <item>@drawable/ic_livedisplay_outdoor</item> + </string-array> + + <!-- LiveDisplay description--> + <string-array name="live_display_description" translatable="false"> + <item>@string/accessibility_quick_settings_live_display_auto</item> + <item>@string/accessibility_quick_settings_live_display_off</item> + <item>@string/accessibility_quick_settings_live_display_day</item> + <item>@string/accessibility_quick_settings_live_display_night</item> + <item>@string/accessibility_quick_settings_live_display_outdoor</item> + </string-array> + + <!-- LiveDisplay announcement--> + <string-array name="live_display_announcement" translatable="false"> + <item>@string/accessibility_quick_settings_live_display_changed_auto</item> + <item>@string/accessibility_quick_settings_live_display_changed_off</item> + <item>@string/accessibility_quick_settings_live_display_changed_day</item> + <item>@string/accessibility_quick_settings_live_display_changed_night</item> + <item>@string/accessibility_quick_settings_live_display_changed_outdoor</item> + </string-array> + </resources> diff --git a/cm/res/res/values/strings.xml b/cm/res/res/values/strings.xml index 12f0167..18bfd6a 100644 --- a/cm/res/res/values/strings.xml +++ b/cm/res/res/values/strings.xml @@ -121,6 +121,17 @@ <string name="live_display_outdoor_summary">Use outdoor settings only</string> <string name="live_display_hint">LiveDisplay can help reduce eyestrain and help you sleep at night. Click here to try it out!</string> + <string name="accessibility_quick_settings_live_display_off">LiveDisplay off.</string> + <string name="accessibility_quick_settings_live_display_auto">LiveDisplay: auto mode.</string> + <string name="accessibility_quick_settings_live_display_day">LiveDisplay: day mode.</string> + <string name="accessibility_quick_settings_live_display_night">LiveDisplay: night mode.</string> + <string name="accessibility_quick_settings_live_display_outdoor">LiveDisplay: outdoor mode.</string> + <string name="accessibility_quick_settings_live_display_changed_off">LiveDisplay turned off.</string> + <string name="accessibility_quick_settings_live_display_changed_auto">LiveDisplay changed to auto mode.</string> + <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> + <!-- Third party keyguard permission label --> <string name="permlab_thirdPartyKeyguard">third party lock screen</string> <!-- Third party keyguard permission description --> diff --git a/cm/res/res/values/symbols.xml b/cm/res/res/values/symbols.xml index 9d52390..8d256f8 100644 --- a/cm/res/res/values/symbols.xml +++ b/cm/res/res/values/symbols.xml @@ -63,6 +63,9 @@ <java-symbol type="string" name="live_display_outdoor_summary" /> <java-symbol type="drawable" name="ic_livedisplay_notif" /> + <java-symbol type="array" name="live_display_announcement" /> + <java-symbol type="array" name="live_display_description" /> + <java-symbol type="array" name="live_display_drawables" /> <java-symbol type="array" name="live_display_entries" /> <java-symbol type="array" name="live_display_summaries" /> <java-symbol type="array" name="live_display_values" /> |