diff options
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/avd_hidden_lock.xml | 65 | ||||
-rw-r--r-- | res/drawable/avd_hidden_unlock.xml | 63 | ||||
-rw-r--r-- | res/drawable/ic_hidden_locked.xml | 24 | ||||
-rw-r--r-- | res/drawable/ic_hidden_unlocked.xml | 26 |
4 files changed, 178 insertions, 0 deletions
diff --git a/res/drawable/avd_hidden_lock.xml b/res/drawable/avd_hidden_lock.xml new file mode 100644 index 000000000..d208150f9 --- /dev/null +++ b/res/drawable/avd_hidden_lock.xml @@ -0,0 +1,65 @@ +<!-- + Copyright (C) 2019 The LineageOS 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. +--> +<animated-vector + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:aapt="http://schemas.android.com/aapt"> + <aapt:attr name="android:drawable"> + <vector + android:name="visibilitystrike" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:name="strike_thru_path" + android:pathData="M 2 4.27 L 3.27 3 L 3.27 3 L 2 4.27 Z" + android:fillColor="?android:attr/textColorSecondary" + android:strokeWidth="1"/> + <clip-path + android:name="strike_thru_mask" + android:pathData="M 0 0 L 24 0 L 24 24 L 0 24 L 0 0 Z M 4.54 1.73 L 3.27 3 L 3.27 3 L 4.54 1.73 Z"/> + <path + android:name="eye_path" + android:pathData="M 12 4.5 C 7 4.5 2.73 7.61 1 12 C 2.73 16.39 7 19.5 12 19.5 C 17 19.5 21.27 16.39 23 12 C 21.27 7.61 17 4.5 12 4.5 L 12 4.5 Z M 12 17 C 9.24 17 7 14.76 7 12 C 7 9.24 9.24 7 12 7 C 14.76 7 17 9.24 17 12 C 17 14.76 14.76 17 12 17 L 12 17 Z M 12 9 C 10.34 9 9 10.34 9 12 C 9 13.66 10.34 15 12 15 C 13.66 15 15 13.66 15 12 C 15 10.34 13.66 9 12 9 L 12 9 Z" + android:fillColor="?android:attr/textColorSecondary" + android:strokeWidth="1"/> + </vector> + </aapt:attr> + <target android:name="strike_thru_path"> + <aapt:attr name="android:animation"> + <objectAnimator + android:propertyName="pathData" + android:startOffset="268" + android:duration="1271" + android:valueFrom="M 2 4.27 L 3.27 3 L 3.27 3 L 2 4.27 Z" + android:valueTo="M 19.73 22 L 21 20.73 L 3.27 3 L 2 4.27 Z" + android:valueType="pathType" + android:interpolator="@android:interpolator/fast_out_slow_in"/> + </aapt:attr> + </target> + <target android:name="strike_thru_mask"> + <aapt:attr name="android:animation"> + <objectAnimator + android:propertyName="pathData" + android:startOffset="268" + android:duration="1271" + android:valueFrom="M 0 0 L 24 0 L 24 24 L 0 24 L 0 0 Z M 4.54 1.73 L 3.27 3 L 3.27 3 L 4.54 1.73 Z" + android:valueTo="M 0 0 L 24 0 L 24 24 L 0 24 L 0 0 Z M 4.54 1.73 L 3.27 3 L 21 20.73 L 22.27 19.46 Z" + android:valueType="pathType" + android:interpolator="@android:interpolator/fast_out_slow_in"/> + </aapt:attr> + </target> +</animated-vector> diff --git a/res/drawable/avd_hidden_unlock.xml b/res/drawable/avd_hidden_unlock.xml new file mode 100644 index 000000000..2199709fb --- /dev/null +++ b/res/drawable/avd_hidden_unlock.xml @@ -0,0 +1,63 @@ +<!-- + Copyright (C) 2019 The LineageOS 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. +--> +<animated-vector + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:aapt="http://schemas.android.com/aapt"> + <aapt:attr name="android:drawable"> + <vector + android:name="visibilitystrike" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:name="strike_thru_path" + android:pathData="M 2 4.27 L 3.27 3 L 3.27 3 L 2 4.27 Z" + android:fillColor="?android:attr/textColorSecondary" + android:strokeWidth="1"/> + <clip-path + android:name="strike_thru_mask" + android:pathData="M 0 0 L 24 0 L 24 24 L 0 24 L 0 0 Z M 4.54 1.73 L 3.27 3 L 3.27 3 L 4.54 1.73 Z"/> + <path + android:name="eye_path" + android:pathData="M 12 4.5 C 7 4.5 2.73 7.61 1 12 C 2.73 16.39 7 19.5 12 19.5 C 17 19.5 21.27 16.39 23 12 C 21.27 7.61 17 4.5 12 4.5 L 12 4.5 Z M 12 17 C 9.24 17 7 14.76 7 12 C 7 9.24 9.24 7 12 7 C 14.76 7 17 9.24 17 12 C 17 14.76 14.76 17 12 17 L 12 17 Z M 12 9 C 10.34 9 9 10.34 9 12 C 9 13.66 10.34 15 12 15 C 13.66 15 15 13.66 15 12 C 15 10.34 13.66 9 12 9 L 12 9 Z" + android:fillColor="?android:attr/textColorSecondary" + android:strokeWidth="1"/> + </vector> + </aapt:attr> + <target android:name="strike_thru_path"> + <aapt:attr name="android:animation"> + <objectAnimator + android:propertyName="pathData" + android:duration="1271" + android:valueFrom="M 19.73 22 L 21 20.73 L 3.27 3 L 2 4.27 Z" + android:valueTo="M 2 4.27 L 3.27 3 L 3.27 3 L 2 4.27 Z" + android:valueType="pathType" + android:interpolator="@android:interpolator/fast_out_slow_in"/> + </aapt:attr> + </target> + <target android:name="strike_thru_mask"> + <aapt:attr name="android:animation"> + <objectAnimator + android:propertyName="pathData" + android:duration="1271" + android:valueFrom="M 0 0 L 24 0 L 24 24 L 0 24 L 0 0 Z M 4.54 1.73 L 3.27 3 L 21 20.73 L 22.27 19.46 Z" + android:valueTo="M 0 0 L 24 0 L 24 24 L 0 24 L 0 0 Z M 4.54 1.73 L 3.27 3 L 3.27 3 L 4.54 1.73 Z" + android:valueType="pathType" + android:interpolator="@android:interpolator/fast_out_slow_in"/> + </aapt:attr> + </target> +</animated-vector> diff --git a/res/drawable/ic_hidden_locked.xml b/res/drawable/ic_hidden_locked.xml new file mode 100644 index 000000000..4cf3a0b67 --- /dev/null +++ b/res/drawable/ic_hidden_locked.xml @@ -0,0 +1,24 @@ +<!-- + Copyright (C) 2019 The LineageOS 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="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:fillColor="?android:attr/textColorSecondary" + android:pathData="M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z" /> +</vector> diff --git a/res/drawable/ic_hidden_unlocked.xml b/res/drawable/ic_hidden_unlocked.xml new file mode 100644 index 000000000..c98d1813e --- /dev/null +++ b/res/drawable/ic_hidden_unlocked.xml @@ -0,0 +1,26 @@ +<!-- + Copyright (C) 2019 The LineageOS 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:name="visibilitystrike" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:pathData="M 12 4.5 C 7 4.5 2.73 7.61 1 12 C 2.73 16.39 7 19.5 12 19.5 C 17 19.5 21.27 16.39 23 12 C 21.27 7.61 17 4.5 12 4.5 L 12 4.5 Z M 12 17 C 9.24 17 7 14.76 7 12 C 7 9.24 9.24 7 12 7 C 14.76 7 17 9.24 17 12 C 17 14.76 14.76 17 12 17 L 12 17 Z M 12 9 C 10.34 9 9 10.34 9 12 C 9 13.66 10.34 15 12 15 C 13.66 15 15 13.66 15 12 C 15 10.34 13.66 9 12 9 L 12 9 Z" + android:fillColor="?android:attr/textColorSecondary" + android:strokeWidth="1"/> +</vector> |