summaryrefslogtreecommitdiffstats
path: root/res/values-watch
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-03-10 18:24:23 -0800
committerSteve Kondik <steve@cyngn.com>2016-03-10 18:24:23 -0800
commite002f536cba85cb90655e44e15497054c1a5651a (patch)
tree82ced13a5969a87673836a935a0f67d3cf16d5b5 /res/values-watch
parentcb079ef38ce9881687ab9c89e1c321ded722c1b3 (diff)
parentb145bb2c34c495a51b83bf755e560d7b931ea8f7 (diff)
downloadandroid_packages_apps_PackageInstaller-staging/cm-13.0+r22.tar.gz
android_packages_apps_PackageInstaller-staging/cm-13.0+r22.tar.bz2
android_packages_apps_PackageInstaller-staging/cm-13.0+r22.zip
Merge tag 'android-6.0.1_r22' of https://android.googlesource.com/platform/packages/apps/PackageInstaller into cm-13.0staging/cm-13.0+r22
Android 6.0.1 release 22
Diffstat (limited to 'res/values-watch')
-rw-r--r--res/values-watch/attrs.xml35
-rw-r--r--res/values-watch/colors.xml36
-rw-r--r--res/values-watch/dimens.xml57
-rw-r--r--res/values-watch/integers.xml22
-rw-r--r--res/values-watch/strings.xml37
-rw-r--r--res/values-watch/styles.xml49
-rw-r--r--res/values-watch/themes.xml64
7 files changed, 300 insertions, 0 deletions
diff --git a/res/values-watch/attrs.xml b/res/values-watch/attrs.xml
new file mode 100644
index 00000000..e220f4c8
--- /dev/null
+++ b/res/values-watch/attrs.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 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>
+ <!-- START: Ported from WearableSupport -->
+ <declare-styleable name="CircledImageView">
+ <attr name="android:src" />
+ <attr name="circle_color" format="color" />
+ <attr name="circle_radius" format="dimension" />
+ <attr name="circle_radius_pressed" format="dimension" />
+ <attr name="circle_border_width" format="dimension" />
+ <attr name="circle_border_color" format="color" />
+ <attr name="circle_padding" format="dimension" />
+ <attr name="shadow_width" format="dimension" />
+ <attr name="image_circle_percentage" format="dimension" />
+ <attr name="image_horizontal_offcenter_percentage" format="dimension" />
+ <attr name="image_tint" format="color" />
+ <attr name="circle_radius_percent" format="fraction" />
+ <attr name="circle_radius_pressed_percent" format="fraction" />
+ </declare-styleable>
+ <!-- END: Ported from WearableSupport -->
+</resources>
diff --git a/res/values-watch/colors.xml b/res/values-watch/colors.xml
new file mode 100644
index 00000000..b81d6e3b
--- /dev/null
+++ b/res/values-watch/colors.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 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>
+ <color name="grant_permissions_app_color">@color/grant_permissions_white_text_alpha_100</color>
+ <color name="grant_permissions_progress_color">@color/grant_permissions_white_text_alpha_100</color>
+ <color name="grant_permissions_title_color">@color/grant_permissions_white_text_alpha_70</color>
+
+ <color name="grant_permissions_white_text_alpha_100">@color/off_white</color>
+ <color name="grant_permissions_white_text_alpha_70">#b2eeeeee</color>
+
+ <color name="permissions_settings_item_color">#FFFFFFFF</color>
+
+ <color name="off_white">#ffeeeeee</color>
+
+ <color name="primary_text_light">#424242</color>
+
+ <!-- Copied from wearable support -->
+ <color name="circular_button_disabled">#757575</color>
+
+ <!-- Copied from wearable Clockwork Settings -->
+ <color name="cw_dark_gray">#424242</color>
+</resources>
diff --git a/res/values-watch/dimens.xml b/res/values-watch/dimens.xml
new file mode 100644
index 00000000..96f32148
--- /dev/null
+++ b/res/values-watch/dimens.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 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>
+ <dimen name="grant_permissions_app_icon_size">20dp</dimen>
+ <dimen name="grant_permissions_app_icon_margin_top">6dp</dimen>
+
+ <dimen name="grant_permissions_app_breadcrumb_margin_top">6dp</dimen>
+ <dimen name="grant_permissions_title_margin_top">6dp</dimen>
+ <dimen name="grant_permissions_message_side_padding">32dp</dimen>
+
+ <dimen name="action_dialog_z">16dp</dimen>
+
+ <!-- Dimensions for the Grant permissions Confirmation Dialog -->
+ <dimen name="conf_diag_floating_height">16dp</dimen>
+ <dimen name="conf_diag_button_container_top_margin">6dp</dimen>
+ <dimen name="conf_diag_button_container_height">72dp</dimen>
+ <dimen name="conf_diag_2button_margin_side">16dp</dimen>
+ <dimen name="conf_diag_2button_margin_top">9dp</dimen>
+ <dimen name="conf_diag_3button_padding_side">32dp</dimen>
+ <dimen name="conf_diag_3button_padding_bottom">22dp</dimen>
+ <dimen name="conf_diag_content_padding_top">6dp</dimen>
+ <!-- On square screens, the message can be at the top of the screen. -->
+ <dimen name="conf_diag_min_space_above_message">0dp</dimen>
+
+
+ <!-- START: Ported values -->
+ <item name="default_settings_circle_radius_percent" format="fraction" type="dimen">40%</item>
+ <item name="selected_settings_circle_radius_percent" format="fraction" type="dimen">50%</item>
+ <dimen name="round_content_padding_left">40dp</dimen>
+ <dimen name="round_content_padding_right">24dp</dimen>
+ <dimen name="content_padding_left">12dp</dimen>
+ <dimen name="settings_wearable_list_view_vertical_padding_round">14dp</dimen>
+ <dimen name="setting_header_extra_line_height">16dp</dimen>
+ <dimen name="setting_long_header_text_size">20dp</dimen>
+ <dimen name="settings_header_base_height">50dp</dimen>
+ <dimen name="settings_header_top_margin">14dp</dimen>
+ <dimen name="settings_header_top_margin_circular">18dp</dimen>
+ <dimen name="settings_header_top_margin_multiline">6dp</dimen>
+ <dimen name="settings_header_top_margin_circular_multiline">16dp</dimen>
+ <dimen name="setting_short_header_text_size">24dp</dimen>
+ <dimen name="settings_text_margin_left">10dp</dimen>
+ <!-- END: Ported values -->
+</resources>
diff --git a/res/values-watch/integers.xml b/res/values-watch/integers.xml
new file mode 100644
index 00000000..365ac3ab
--- /dev/null
+++ b/res/values-watch/integers.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 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">
+ <!-- START: Ported values -->
+ <integer name="short_title_length">13</integer>
+ <integer name="char_limit_per_line">18</integer>
+ <!-- END: Ported values -->
+</resources>
diff --git a/res/values-watch/strings.xml b/res/values-watch/strings.xml
new file mode 100644
index 00000000..82fe4ae9
--- /dev/null
+++ b/res/values-watch/strings.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 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">
+ <!-- Title for the dialog button to deny a permission grant and never ask the user again. [CHAR LIMIT=29]-->
+ <string name="grant_dialog_button_deny_dont_ask_again">Deny, don\'t ask again</string>
+
+ <!-- Template for the current permission from the total number of permissions. -->
+ <string name="current_permission_template">
+ <xliff:g id="current_permission_index" example="1">%1$s</xliff:g> /
+ <xliff:g id="permission_count" example="2">%2$s</xliff:g>
+ </string>
+
+ <!-- Preference row title for showing system apps. -->
+ <string name="preference_show_system_apps">Show system apps</string>
+
+ <!-- Summary of a permission switch when it's enforced by policy [CHAR LIMIT=17] -->
+ <string name="permission_summary_enforced_by_policy">Can\'t be changed</string>
+
+ <!-- Generic text to indicate that a setting is enabled. Should be in all caps. [CHAR LIMIT=40] -->
+ <string name="generic_enabled">ENABLED</string>
+ <!-- Generic text to indicate that a setting is disabled. Should be in all caps. [CHAR LIMIT=40] -->
+ <string name="generic_disabled">DISABLED</string>
+</resources>
diff --git a/res/values-watch/styles.xml b/res/values-watch/styles.xml
new file mode 100644
index 00000000..01ab90eb
--- /dev/null
+++ b/res/values-watch/styles.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 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>
+ <style name="Theme.DialogWhenLarge" parent="@android:style/Theme.DeviceDefault.NoActionBar"/>
+
+ <!-- START: Ported values -->
+ <style name="TextAppearance.Wearable.Small" parent="android:TextAppearance.Medium">
+ <item name="android:textSize">16sp</item>
+ <item name="android:textColor">@color/primary_text_light</item>
+ </style>
+
+ <style name="TextView.Small" parent="@android:style/Widget.Holo.Light">
+ <item name="android:fontFamily">sans-serif-condensed</item>
+ <item name="android:textAppearance">@style/TextAppearance.Wearable.Small</item>
+ </style>
+
+ <style name="TextView.Small.Light">
+ <item name="android:fontFamily">sans-serif-condensed-light</item>
+ <item name="android:textAppearance">@style/TextAppearance.Wearable.Small</item>
+ </style>
+
+ <style name="TextAppearance.Settings.Label" parent="android:TextAppearance.Medium">
+ <item name="android:textSize">14sp</item>
+ <item name="android:textColor">#FFFFFFFF</item>
+ </style>
+
+ <style name="TextAppearance.Settings.Label.Large">
+ <item name="android:textSize">16sp</item>
+ </style>
+
+ <style name="TextView.Settings.Label" parent="TextView.Small.Light">
+ <item name="android:textAppearance">@style/TextAppearance.Settings.Label</item>
+ </style>
+ <!-- END: Ported values -->
+</resources>
diff --git a/res/values-watch/themes.xml b/res/values-watch/themes.xml
new file mode 100644
index 00000000..dea42907
--- /dev/null
+++ b/res/values-watch/themes.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2015 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>
+ <style name="Settings" parent="@android:style/Theme.DeviceDefault.NoActionBar">
+ <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Permissions</item>
+ <item name="android:windowBackground">@color/cw_dark_gray</item>
+ <item name="android:colorBackground">@color/cw_dark_gray</item>
+ </style>
+
+ <style name="GrantPermissions" parent="Settings">
+ <item name="android:windowIsFloating">true</item>
+ <item name="android:windowElevation">@dimen/action_dialog_z</item>
+ <item name="android:windowSwipeToDismiss">false</item>
+ </style>
+
+ <style name="GrantPermissions.BreadcrumbText">
+ <item name="android:fontFamily">sans-serif-condensed</item>
+ <item name="android:textSize">16sp</item>
+ <item name="android:textColor">@color/grant_permissions_progress_color</item>
+ </style>
+
+ <style name="GrantPermissions.TitleText">
+ <item name="android:fontFamily">sans-serif-condensed-light</item>
+ <item name="android:textSize">18sp</item>
+ <item name="android:textColor">@color/grant_permissions_title_color</item>
+ <item name="android:lineSpacingMultiplier">1.221</item>
+ </style>
+
+ <!-- Copied from WearableSupport lib -->
+ <style name="TextAppearance.WearDiag" parent="android:TextAppearance.Medium">
+ <item name="android:textColor">#FFFFFF</item>
+ <item name="android:textSize">16sp</item>
+ </style>
+ <style name="TextAppearance.WearDiag.Button">
+ <item name="android:textSize">16sp</item>
+ </style>
+ <style name="Widget.WearDiag.Button" parent="@android:style/Widget.DeviceDefault.Button">
+ <item name="android:fontFamily">sans-serif-condensed-light</item>
+ <item name="android:gravity">center_vertical|left</item>
+ <item name="android:textAppearance">@style/TextAppearance.WearDiag.Button</item>
+ <item name="android:background">@android:color/transparent</item>
+ <item name="android:minLines">1</item>
+ <item name="android:maxLines">3</item>
+ <item name="android:ellipsize">marquee</item>
+ <item name="android:layout_height">60dp</item>
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:drawablePadding">12dp</item>
+ </style>
+</resources>