diff options
Diffstat (limited to 'overlay/frameworks/base/packages/SystemUI')
4 files changed, 113 insertions, 0 deletions
diff --git a/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml b/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml new file mode 100644 index 0000000..fd26810 --- /dev/null +++ b/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml @@ -0,0 +1,24 @@ +<!-- + Copyright (C) 2021 The Android Open Source Project + + 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="176px" + android:height="176px" + android:viewportWidth="176" + android:viewportHeight="176"> + + <path + android:fillColor="#000000" + android:pathData="M 176,0 C 113.73671,2.2722224 103.12805,3.1915621 71.989998,4.9579044 56.517503,6.3013836 48.185745,7.3156476 42.201986,9.2785056 37.462895,10.833074 32.661175,12.708735 28.059795,15.610552 c -3.88932,2.452765 -7.023798,5.159587 -10.156494,8.35715 -3.872981,3.953175 -5.465252,6.525289 -7.692892,10.97322 C 7.6872844,39.978847 5.9561628,46.294254 5.3123092,50.05696 3.3464797,61.545346 2.7390184,75.813278 2.0576757,93.519957 0.99137121,121.23099 1.5482674,135.74135 0,176 V 0 Z" /> +</vector> + diff --git a/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml b/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml new file mode 100644 index 0000000..fd26810 --- /dev/null +++ b/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml @@ -0,0 +1,24 @@ +<!-- + Copyright (C) 2021 The Android Open Source Project + + 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="176px" + android:height="176px" + android:viewportWidth="176" + android:viewportHeight="176"> + + <path + android:fillColor="#000000" + android:pathData="M 176,0 C 113.73671,2.2722224 103.12805,3.1915621 71.989998,4.9579044 56.517503,6.3013836 48.185745,7.3156476 42.201986,9.2785056 37.462895,10.833074 32.661175,12.708735 28.059795,15.610552 c -3.88932,2.452765 -7.023798,5.159587 -10.156494,8.35715 -3.872981,3.953175 -5.465252,6.525289 -7.692892,10.97322 C 7.6872844,39.978847 5.9561628,46.294254 5.3123092,50.05696 3.3464797,61.545346 2.7390184,75.813278 2.0576757,93.519957 0.99137121,121.23099 1.5482674,135.74135 0,176 V 0 Z" /> +</vector> + diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml new file mode 100644 index 0000000..67dcdc5 --- /dev/null +++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2020, 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. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources> + <!-- Doze: does this device support STATE_DOZE? --> + <bool name="doze_display_state_supported">true</bool> + + <!-- Doze: does this device support STATE_DOZE_SUSPEND? --> + <bool name="doze_suspend_display_state_supported">false</bool> + + <string name="config_rounded_mask">M21,0C19.94,0.01 18.83,0.04 17.73,0.11C16.91,0.17 16.09,0.25 15.3,0.36C14.5,0.48 13.72,0.62 12.95,0.81C11.42,1.19 9.97,1.72 8.65,2.43C7.32,3.14 6.12,4.02 5.08,5.07C4.04,6.11 3.15,7.31 2.44,8.64C1.73,9.97 1.19,11.42 0.82,12.94C0.63,13.7 0.48,14.49 0.37,15.29C0.25,16.09 0.17,16.9 0.12,17.72C0.05,18.82 0.02,19.93 0.01,21.55</string> +</resources> diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml b/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml new file mode 100644 index 0000000..cea6e90 --- /dev/null +++ b/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + * Copyright (c) 2020, 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> + <!-- for 20dp of padding at 3.5px/dp at default density --> + <dimen name="rounded_corner_content_padding">70px</dimen> + + <!-- the padding on the top of the statusbar (usually 0) --> + <dimen name="status_bar_padding_top">1dp</dimen> + + <!-- Padding for the system icons on the keyguard (when no multi user switch is showing). + The icons always have a 4dp padding in the container so we only need 56 extra px of padding + for the corners --> + <dimen name="system_icons_super_container_avatarless_margin_end">56px</dimen> + + <!-- Multi user switch has some intrinsic padding to it --> + <dimen name="multi_user_switch_keyguard_margin">40px</dimen> + + <dimen name="keyguard_carrier_text_margin">70px</dimen> + +</resources> |