diff --git a/color-check-baseline.xml b/color-check-baseline.xml index bd90b981ff5..457303e4cd0 100644 --- a/color-check-baseline.xml +++ b/color-check-baseline.xml @@ -661,12 +661,12 @@ priority="4" summary="Using hardcoded color" explanation="Hardcoded color values are bad because theme changes cannot be uniformly applied.Instead use the theme specific colors such as `?android:attr/textColorPrimary` in attributes. This ensures that a theme change from a light to a dark theme can be uniformlyapplied across the app." - errorLine1=" android:textColor="@color/power_anomaly_primary_button_text_color"" - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + errorLine1=" <item android:offset="0" android:color="#00669DF6"/>" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> + file="res/drawable-night/accessibility_shortcut_type_gesture_preview.xml" + line="26" + column="34"/> + errorLine1=" <item android:offset="0" android:color="#001A73E8"/>" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> + file="res/drawable/accessibility_shortcut_type_gesture_preview.xml" + line="26" + column="34"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + errorLine1=" <color name="udfps_moving_target_fill">#475670</color>" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + errorLine1=" <color name="homepage_system_background">#9E9E9E</color>" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -1445,11 +1733,11 @@ priority="4" summary="Using hardcoded color" explanation="Hardcoded color values are bad because theme changes cannot be uniformly applied.Instead use the theme specific colors such as `?android:attr/textColorPrimary` in attributes. This ensures that a theme change from a light to a dark theme can be uniformlyapplied across the app." - errorLine1=" <color name="homepage_system_background">#9E9E9E</color>" - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + errorLine1=" <color name="udfps_moving_target_fill_error">#80475670</color>" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -1477,8 +1765,8 @@ priority="4" summary="Using hardcoded color" explanation="Hardcoded color values are bad because theme changes cannot be uniformly applied.Instead use the theme specific colors such as `?android:attr/textColorPrimary` in attributes. This ensures that a theme change from a light to a dark theme can be uniformlyapplied across the app." - errorLine1=" <color name="udfps_moving_target_fill_error">#80475670</color>" - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + errorLine1=" <color name="udfps_enroll_progress">#7DA7F1</color>" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + errorLine1=" <color name="udfps_enroll_progress_help">#607DA7F1</color>" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + errorLine1=" <color name="udfps_enroll_progress_help_with_talkback">#FFEE675C</color>" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + errorLine1=" <color name="screen_flash_color_button_outer_circle_stroke_color">#FFFFFF</color>" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -1597,22 +1885,6 @@ column="5"/> - - - - @@ -2477,22 +2749,6 @@ column="5"/> - - - - @@ -2521,7 +2777,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2537,7 +2793,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2553,7 +2809,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2569,7 +2825,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2585,7 +2841,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2601,7 +2857,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2617,7 +2873,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2633,7 +2889,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2649,7 +2905,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2665,7 +2921,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2681,7 +2937,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2697,7 +2953,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2713,7 +2969,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2729,7 +2985,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2745,7 +3001,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2761,7 +3017,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2777,7 +3033,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2793,7 +3049,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2809,7 +3065,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2825,7 +3081,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2841,7 +3097,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2857,7 +3113,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2873,7 +3129,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2889,7 +3145,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2905,7 +3161,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2921,7 +3177,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2937,7 +3193,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2953,7 +3209,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2969,7 +3225,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -2985,7 +3241,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -3001,7 +3257,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -3017,7 +3273,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -3949,22 +4205,6 @@ column="13"/> - - - - @raw/accessibility_color_inversion_banner_tablet @raw/accessibility_magnification_banner - @raw/accessibility_magnification_banner_tablet @raw/extra_dim_banner @raw/extra_dim_banner_tablet diff --git a/res-product/values/drawables.xml b/res-product/values/drawables.xml index 9353030be9c..68b2115f51f 100644 --- a/res-product/values/drawables.xml +++ b/res-product/values/drawables.xml @@ -14,9 +14,6 @@ limitations under the License. --> - @drawable/accessibility_button_preview_base - @drawable/accessibility_button_preview_base_tablet - @drawable/accessibility_button_preview_large_floating_menu @drawable/accessibility_button_preview_large_floating_menu_tablet @@ -29,8 +26,6 @@ @drawable/accessibility_captioning_banner @drawable/accessibility_captioning_banner_tablet - @drawable/accessibility_shortcut_type_quick_settings - @drawable/accessibility_shortcut_type_hardware @drawable/accessibility_shortcut_type_hardware_tablet diff --git a/res/drawable-night/accessibility_button_preview_base.xml b/res/drawable-night/accessibility_button_preview_base.xml deleted file mode 100644 index a5b0bfa9b26..00000000000 --- a/res/drawable-night/accessibility_button_preview_base.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - diff --git a/res/drawable-night/accessibility_button_preview_base_tablet.xml b/res/drawable-night/accessibility_button_preview_base_tablet.xml deleted file mode 100644 index 633ce689896..00000000000 --- a/res/drawable-night/accessibility_button_preview_base_tablet.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - diff --git a/res/drawable-night/accessibility_shortcut_type_fab_size_large_preview.xml b/res/drawable-night/accessibility_shortcut_type_fab_size_large_preview.xml new file mode 100644 index 00000000000..e535453f238 --- /dev/null +++ b/res/drawable-night/accessibility_shortcut_type_fab_size_large_preview.xml @@ -0,0 +1,21 @@ + + + + + + + + diff --git a/res/drawable-night/accessibility_shortcut_type_fab_size_small_preview.xml b/res/drawable-night/accessibility_shortcut_type_fab_size_small_preview.xml new file mode 100644 index 00000000000..c1383d3155e --- /dev/null +++ b/res/drawable-night/accessibility_shortcut_type_fab_size_small_preview.xml @@ -0,0 +1,21 @@ + + + + + + + + diff --git a/res/drawable-night/accessibility_shortcut_type_gesture.xml b/res/drawable-night/accessibility_shortcut_type_gesture.xml new file mode 100644 index 00000000000..4c049a66afb --- /dev/null +++ b/res/drawable-night/accessibility_shortcut_type_gesture.xml @@ -0,0 +1,25 @@ + + + + + + + + + + diff --git a/res/drawable-night/accessibility_shortcut_type_gesture_preview.xml b/res/drawable-night/accessibility_shortcut_type_gesture_preview.xml new file mode 100644 index 00000000000..5b69b1cb00d --- /dev/null +++ b/res/drawable-night/accessibility_shortcut_type_gesture_preview.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable-night/accessibility_shortcut_type_gesture_preview_touch_explore_on.xml b/res/drawable-night/accessibility_shortcut_type_gesture_preview_touch_explore_on.xml new file mode 100644 index 00000000000..bf20de3cc19 --- /dev/null +++ b/res/drawable-night/accessibility_shortcut_type_gesture_preview_touch_explore_on.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable-night/accessibility_shortcut_type_gesture_touch_explore_on.xml b/res/drawable-night/accessibility_shortcut_type_gesture_touch_explore_on.xml new file mode 100644 index 00000000000..c283a63ac0a --- /dev/null +++ b/res/drawable-night/accessibility_shortcut_type_gesture_touch_explore_on.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + diff --git a/res/drawable-night/accessibility_shortcut_type_navbar.xml b/res/drawable-night/accessibility_shortcut_type_navbar.xml new file mode 100644 index 00000000000..32d8619d3c9 --- /dev/null +++ b/res/drawable-night/accessibility_shortcut_type_navbar.xml @@ -0,0 +1,26 @@ + + + + + + + + diff --git a/res/drawable-night/accessibility_shortcut_type_quick_settings.xml b/res/drawable-night/accessibility_shortcut_type_quick_settings.xml new file mode 100644 index 00000000000..7ae8140c7f6 --- /dev/null +++ b/res/drawable-night/accessibility_shortcut_type_quick_settings.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + diff --git a/res/drawable-night/accessibility_shortcut_type_volume_keys.xml b/res/drawable-night/accessibility_shortcut_type_volume_keys.xml new file mode 100644 index 00000000000..38421b80f17 --- /dev/null +++ b/res/drawable-night/accessibility_shortcut_type_volume_keys.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable/accessibility_button_preview_base.xml b/res/drawable/accessibility_button_preview_base.xml deleted file mode 100644 index b75b1a8027c..00000000000 --- a/res/drawable/accessibility_button_preview_base.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - diff --git a/res/drawable/accessibility_button_preview_base_tablet.xml b/res/drawable/accessibility_button_preview_base_tablet.xml deleted file mode 100644 index 1b6a2f72f98..00000000000 --- a/res/drawable/accessibility_button_preview_base_tablet.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - diff --git a/res/drawable/accessibility_shortcut_type_fab_size_large_preview.xml b/res/drawable/accessibility_shortcut_type_fab_size_large_preview.xml new file mode 100644 index 00000000000..e67fc001d28 --- /dev/null +++ b/res/drawable/accessibility_shortcut_type_fab_size_large_preview.xml @@ -0,0 +1,21 @@ + + + + + + + + diff --git a/res/drawable/accessibility_shortcut_type_fab_size_small_preview.xml b/res/drawable/accessibility_shortcut_type_fab_size_small_preview.xml new file mode 100644 index 00000000000..d79a4321a5d --- /dev/null +++ b/res/drawable/accessibility_shortcut_type_fab_size_small_preview.xml @@ -0,0 +1,21 @@ + + + + + + + + diff --git a/res/drawable/accessibility_shortcut_type_gesture.xml b/res/drawable/accessibility_shortcut_type_gesture.xml new file mode 100644 index 00000000000..c2a1c685827 --- /dev/null +++ b/res/drawable/accessibility_shortcut_type_gesture.xml @@ -0,0 +1,25 @@ + + + + + + + + + + diff --git a/res/drawable/accessibility_shortcut_type_gesture_preview.xml b/res/drawable/accessibility_shortcut_type_gesture_preview.xml new file mode 100644 index 00000000000..4c2cb9f75ac --- /dev/null +++ b/res/drawable/accessibility_shortcut_type_gesture_preview.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable/accessibility_shortcut_type_gesture_preview_touch_explore_on.xml b/res/drawable/accessibility_shortcut_type_gesture_preview_touch_explore_on.xml new file mode 100644 index 00000000000..12e59efd4d0 --- /dev/null +++ b/res/drawable/accessibility_shortcut_type_gesture_preview_touch_explore_on.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable/accessibility_shortcut_type_gesture_touch_explore_on.xml b/res/drawable/accessibility_shortcut_type_gesture_touch_explore_on.xml new file mode 100644 index 00000000000..ecc6966fbe0 --- /dev/null +++ b/res/drawable/accessibility_shortcut_type_gesture_touch_explore_on.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + diff --git a/res/drawable/accessibility_shortcut_type_navbar.xml b/res/drawable/accessibility_shortcut_type_navbar.xml new file mode 100644 index 00000000000..45e1635fc67 --- /dev/null +++ b/res/drawable/accessibility_shortcut_type_navbar.xml @@ -0,0 +1,26 @@ + + + + + + + + diff --git a/res/drawable/accessibility_shortcut_type_quick_settings.xml b/res/drawable/accessibility_shortcut_type_quick_settings.xml index 112250b5c6f..fa3a16190bb 100644 --- a/res/drawable/accessibility_shortcut_type_quick_settings.xml +++ b/res/drawable/accessibility_shortcut_type_quick_settings.xml @@ -1,56 +1,28 @@ - - - - - - - - - - - - - + android:width="412dp" + android:height="300dp" + android:viewportWidth="412" + android:viewportHeight="300"> + + + + + + + + + - - - diff --git a/res/drawable/accessibility_shortcut_type_volume_keys.xml b/res/drawable/accessibility_shortcut_type_volume_keys.xml new file mode 100644 index 00000000000..307ec140149 --- /dev/null +++ b/res/drawable/accessibility_shortcut_type_volume_keys.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable/ic_modes_time.xml b/res/drawable/ic_modes_time.xml deleted file mode 100644 index dff3c43933d..00000000000 --- a/res/drawable/ic_modes_time.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/res/drawable/ic_zen_mode_type_bedtime.xml b/res/drawable/ic_zen_mode_type_bedtime.xml new file mode 100644 index 00000000000..7428a71b262 --- /dev/null +++ b/res/drawable/ic_zen_mode_type_bedtime.xml @@ -0,0 +1,25 @@ + + + + \ No newline at end of file diff --git a/res/drawable/ic_zen_mode_type_driving.xml b/res/drawable/ic_zen_mode_type_driving.xml new file mode 100644 index 00000000000..3cc0066c46b --- /dev/null +++ b/res/drawable/ic_zen_mode_type_driving.xml @@ -0,0 +1,25 @@ + + + + \ No newline at end of file diff --git a/res/drawable/ic_zen_mode_type_immersive.xml b/res/drawable/ic_zen_mode_type_immersive.xml new file mode 100644 index 00000000000..70913579b62 --- /dev/null +++ b/res/drawable/ic_zen_mode_type_immersive.xml @@ -0,0 +1,25 @@ + + + + \ No newline at end of file diff --git a/res/drawable/ic_zen_mode_type_managed.xml b/res/drawable/ic_zen_mode_type_managed.xml new file mode 100644 index 00000000000..5e224ebbf72 --- /dev/null +++ b/res/drawable/ic_zen_mode_type_managed.xml @@ -0,0 +1,25 @@ + + + + \ No newline at end of file diff --git a/res/drawable/ic_zen_mode_type_other.xml b/res/drawable/ic_zen_mode_type_other.xml new file mode 100644 index 00000000000..d236b0d7202 --- /dev/null +++ b/res/drawable/ic_zen_mode_type_other.xml @@ -0,0 +1,25 @@ + + + + \ No newline at end of file diff --git a/res/drawable/ic_modes_event.xml b/res/drawable/ic_zen_mode_type_schedule_calendar.xml similarity index 100% rename from res/drawable/ic_modes_event.xml rename to res/drawable/ic_zen_mode_type_schedule_calendar.xml diff --git a/res/drawable/ic_zen_mode_type_schedule_time.xml b/res/drawable/ic_zen_mode_type_schedule_time.xml new file mode 100644 index 00000000000..57d596a98f6 --- /dev/null +++ b/res/drawable/ic_zen_mode_type_schedule_time.xml @@ -0,0 +1,26 @@ + + + + + \ No newline at end of file diff --git a/res/drawable/ic_zen_mode_type_theater.xml b/res/drawable/ic_zen_mode_type_theater.xml new file mode 100644 index 00000000000..cc66b32391a --- /dev/null +++ b/res/drawable/ic_zen_mode_type_theater.xml @@ -0,0 +1,25 @@ + + + + \ No newline at end of file diff --git a/res/drawable/ic_zen_mode_type_unknown.xml b/res/drawable/ic_zen_mode_type_unknown.xml new file mode 100644 index 00000000000..c1afd44ecfc --- /dev/null +++ b/res/drawable/ic_zen_mode_type_unknown.xml @@ -0,0 +1,25 @@ + + + + \ No newline at end of file diff --git a/res/layout/accessibility_shortcut_option_checkable.xml b/res/layout/accessibility_shortcut_option_checkable.xml index 3218ca38655..d10e8afb9b1 100644 --- a/res/layout/accessibility_shortcut_option_checkable.xml +++ b/res/layout/accessibility_shortcut_option_checkable.xml @@ -77,8 +77,8 @@ android:layout_marginTop="@dimen/settingslib_illustration_padding" android:layout_marginBottom="@dimen/settingslib_illustration_padding" android:adjustViewBounds="true" - android:background="@drawable/protection_background" android:maxHeight="@dimen/accessibility_imageview_size" + android:scaleType="fitStart" app:layout_constrainedHeight="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0" diff --git a/res/raw/accessibility_magnification_banner.json b/res/raw/accessibility_magnification_banner.json index 23cd15497c2..e703bafe764 100644 --- a/res/raw/accessibility_magnification_banner.json +++ b/res/raw/accessibility_magnification_banner.json @@ -1,19 +1,469 @@ { - "v": "5.6.5", + "v": "5.12.1", "fr": 60, "ip": 0, "op": 540, "w": 412, "h": 300, - "nm": "Magnification", + "nm": "Magnification_cream_v4_export", "ddd": 0, "assets": [ { "id": "comp_0", + "nm": "Crop_dup", + "fr": 60, "layers": [ { "ddd": 0, "ind": 1, + "ty": 4, + "nm": ".yellow700", + "cl": "yellow700", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.67 + ], + "y": [ + 1 + ] + }, + "o": { + "x": [ + 0.17 + ], + "y": [ + 0.17 + ] + }, + "t": 0, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.776 + ], + "y": [ + 1 + ] + }, + "o": { + "x": [ + 0.165 + ], + "y": [ + 0 + ] + }, + "t": 23, + "s": [ + 100 + ] + }, + { + "i": { + "x": [ + 0.83 + ], + "y": [ + 0.83 + ] + }, + "o": { + "x": [ + 0.33 + ], + "y": [ + 0 + ] + }, + "t": 460, + "s": [ + 100 + ] + }, + { + "t": 475, + "s": [ + 0 + ] + } + ], + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + 206, + 150, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 0, + "k": [ + 100, + 100, + 100 + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + 0, + 0 + ], + [ + 0, + -8.837 + ], + [ + 0, + 0 + ], + [ + -8.837, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 8.837 + ], + [ + 0, + 0 + ], + [ + 8.837, + 0 + ] + ], + "o": [ + [ + -8.837, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 8.837 + ], + [ + 0, + 0 + ], + [ + 8.837, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + -8.837 + ], + [ + 0, + 0 + ] + ], + "v": [ + [ + -178, + -138 + ], + [ + -194, + -122 + ], + [ + -194, + 122 + ], + [ + -178, + 138 + ], + [ + 178, + 138 + ], + [ + 194, + 122 + ], + [ + 194, + -122 + ], + [ + 178, + -138 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ind": 1, + "ty": "sh", + "ix": 2, + "ks": { + "a": 0, + "k": { + "i": [ + [ + 0, + 0 + ], + [ + -15.464, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + -15.464 + ], + [ + 0, + 0 + ], + [ + 15.464, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 15.464 + ] + ], + "o": [ + [ + 0, + -15.464 + ], + [ + 0, + 0 + ], + [ + 15.464, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 15.464 + ], + [ + 0, + 0 + ], + [ + -15.464, + 0 + ], + [ + 0, + 0 + ] + ], + "v": [ + [ + -206, + -122 + ], + [ + -178, + -150 + ], + [ + 178, + -150 + ], + [ + 206, + -122 + ], + [ + 206, + 122 + ], + [ + 178, + 150 + ], + [ + -178, + 150 + ], + [ + -206, + 122 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 2", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 0.949019610882, + 0.600000023842, + 0, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Rectangle 68986 (Stroke)", + "np": 3, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 1800, + "st": 0, + "ct": 1, + "bm": 0 + }, + { + "ddd": 0, + "ind": 2, "ty": 3, "nm": "MoveA+Dots", "sr": 1, @@ -42,18 +492,18 @@ }, "t": 170, "s": [ - 206, - 150, + 206.419, + 149.916, 0 ], "to": [ - 4.167, - -0.833, + 6.292, + -0.755, 0 ], "ti": [ - -4.167, - 0.833, + -6.292, + 0.755, 0 ] }, @@ -68,8 +518,8 @@ }, "t": 207, "s": [ - 231, - 145, + 244.169, + 145.386, 0 ], "to": [ @@ -94,18 +544,18 @@ }, "t": 214, "s": [ - 231, - 145, + 244.169, + 145.386, 0 ], "to": [ - -0.833, - 5, + -1.258, + 7.047, 0 ], "ti": [ - 0.833, - -5, + 1.258, + -7.047, 0 ] }, @@ -120,8 +570,8 @@ }, "t": 247, "s": [ - 226, - 175, + 236.619, + 187.666, 0 ], "to": [ @@ -142,35 +592,36 @@ }, "o": { "x": 0.735, - "y": 0.034 + "y": 0.022 }, "t": 438, "s": [ - 226, - 175, + 236.619, + 187.666, 0 ], "to": [ - -3.333, - -4.167, + -5.033, + -6.292, 0 ], "ti": [ - 3.333, - 4.167, + 5.033, + 6.292, 0 ] }, { "t": 478, "s": [ - 206, - 150, + 206.419, + 149.916, 0 ] } ], - "ix": 2 + "ix": 2, + "l": 2 }, "a": { "a": 0, @@ -179,16 +630,18 @@ 0, 0 ], - "ix": 1 + "ix": 1, + "l": 2 }, "s": { "a": 0, "k": [ - 100, - 100, + 151, + 151, 100 ], - "ix": 6 + "ix": 6, + "l": 2 } }, "ao": 0, @@ -199,10 +652,10 @@ }, { "ddd": 0, - "ind": 2, + "ind": 3, "ty": 4, - "nm": ".yellow600", - "cl": "yellow600", + "nm": ".blue400", + "cl": "blue400", "sr": 1, "ks": { "o": { @@ -518,7 +971,8 @@ ] } ], - "ix": 2 + "ix": 2, + "l": 2 }, "a": { "a": 0, @@ -527,7 +981,8 @@ 0, 0 ], - "ix": 1 + "ix": 1, + "l": 2 }, "s": { "a": 0, @@ -536,7 +991,8 @@ 100, 100 ], - "ix": 6 + "ix": 6, + "l": 2 } }, "ao": 0, @@ -761,44 +1217,14 @@ "mn": "ADBE Vector Shape - Ellipse", "hd": false }, - { - "ty": "st", - "c": { - "a": 0, - "k": [ - 0.4, - 0.615685975318, - 0.96470600203, - 1 - ], - "ix": 3 - }, - "o": { - "a": 0, - "k": 100, - "ix": 4 - }, - "w": { - "a": 0, - "k": 7, - "ix": 5 - }, - "lc": 1, - "lj": 1, - "ml": 4, - "bm": 0, - "nm": "Stroke 1", - "mn": "ADBE Vector Graphic - Stroke", - "hd": true - }, { "ty": "fl", "c": { "a": 0, "k": [ - 0.976470588235, - 0.670588235294, - 0, + 0.4, + 0.61568627451, + 0.964705882353, 1 ], "ix": 4 @@ -875,15 +1301,16 @@ "ip": 438, "op": 540, "st": 0, + "ct": 1, "bm": 0 }, { "ddd": 0, - "ind": 3, + "ind": 4, "ty": 4, - "nm": ".yellow600", - "cl": "yellow600", - "parent": 1, + "nm": ".blue400", + "cl": "blue400", + "parent": 2, "sr": 1, "ks": { "o": { @@ -1103,7 +1530,8 @@ ] } ], - "ix": 2 + "ix": 2, + "l": 2 }, "a": { "a": 0, @@ -1112,7 +1540,8 @@ 0, 0 ], - "ix": 1 + "ix": 1, + "l": 2 }, "s": { "a": 0, @@ -1121,7 +1550,8 @@ 100, 100 ], - "ix": 6 + "ix": 6, + "l": 2 } }, "ao": 0, @@ -1292,44 +1722,14 @@ "mn": "ADBE Vector Shape - Ellipse", "hd": false }, - { - "ty": "st", - "c": { - "a": 0, - "k": [ - 0.4, - 0.615685975318, - 0.96470600203, - 1 - ], - "ix": 3 - }, - "o": { - "a": 0, - "k": 100, - "ix": 4 - }, - "w": { - "a": 0, - "k": 7, - "ix": 5 - }, - "lc": 1, - "lj": 1, - "ml": 4, - "bm": 0, - "nm": "Stroke 1", - "mn": "ADBE Vector Graphic - Stroke", - "hd": true - }, { "ty": "fl", "c": { "a": 0, "k": [ - 0.976470588235, - 0.670588235294, - 0, + 0.40000000596, + 0.615686297417, + 0.964705884457, 1 ], "ix": 4 @@ -1406,14 +1806,15 @@ "ip": 0, "op": 438, "st": 0, + "ct": 1, "bm": 0 }, { "ddd": 0, - "ind": 4, + "ind": 5, "ty": 4, - "nm": ".yellow600", - "cl": "yellow600", + "nm": ".blue400", + "cl": "blue400", "sr": 1, "ks": { "o": { @@ -1847,7 +2248,8 @@ ] } ], - "ix": 2 + "ix": 2, + "l": 2 }, "a": { "a": 0, @@ -1856,7 +2258,8 @@ 0, 0 ], - "ix": 1 + "ix": 1, + "l": 2 }, "s": { "a": 0, @@ -1865,7 +2268,8 @@ 100, 100 ], - "ix": 6 + "ix": 6, + "l": 2 } }, "ao": 0, @@ -2171,44 +2575,14 @@ "mn": "ADBE Vector Shape - Ellipse", "hd": false }, - { - "ty": "st", - "c": { - "a": 0, - "k": [ - 0.4, - 0.615685975318, - 0.96470600203, - 1 - ], - "ix": 3 - }, - "o": { - "a": 0, - "k": 100, - "ix": 4 - }, - "w": { - "a": 0, - "k": 7, - "ix": 5 - }, - "lc": 1, - "lj": 1, - "ml": 4, - "bm": 0, - "nm": "Stroke 1", - "mn": "ADBE Vector Graphic - Stroke", - "hd": true - }, { "ty": "fl", "c": { "a": 0, "k": [ - 0.976470588235, - 0.670588235294, - 0, + 0.40000000596, + 0.615686297417, + 0.964705884457, 1 ], "ix": 4 @@ -2285,15 +2659,16 @@ "ip": 438, "op": 540, "st": 0, + "ct": 1, "bm": 0 }, { "ddd": 0, - "ind": 5, + "ind": 6, "ty": 4, - "nm": ".yellow600", - "cl": "yellow600", - "parent": 1, + "nm": ".blue400", + "cl": "blue400", + "parent": 2, "sr": 1, "ks": { "o": { @@ -2631,7 +3006,8 @@ ] } ], - "ix": 2 + "ix": 2, + "l": 2 }, "a": { "a": 0, @@ -2640,7 +3016,8 @@ 0, 0 ], - "ix": 1 + "ix": 1, + "l": 2 }, "s": { "a": 0, @@ -2649,7 +3026,8 @@ 100, 100 ], - "ix": 6 + "ix": 6, + "l": 2 } }, "ao": 0, @@ -2901,44 +3279,14 @@ "mn": "ADBE Vector Shape - Ellipse", "hd": false }, - { - "ty": "st", - "c": { - "a": 0, - "k": [ - 0.4, - 0.615685975318, - 0.96470600203, - 1 - ], - "ix": 3 - }, - "o": { - "a": 0, - "k": 100, - "ix": 4 - }, - "w": { - "a": 0, - "k": 7, - "ix": 5 - }, - "lc": 1, - "lj": 1, - "ml": 4, - "bm": 0, - "nm": "Stroke 1", - "mn": "ADBE Vector Graphic - Stroke", - "hd": true - }, { "ty": "fl", "c": { "a": 0, "k": [ - 0.976470588235, - 0.670588235294, - 0, + 0.40000000596, + 0.615686297417, + 0.964705884457, 1 ], "ix": 4 @@ -3015,19 +3363,16 @@ "ip": 0, "op": 438, "st": 0, + "ct": 1, "bm": 0 - } - ] - }, - { - "id": "comp_1", - "layers": [ + }, { "ddd": 0, - "ind": 1, + "ind": 7, "ty": 4, - "nm": ".yellow600", - "cl": "yellow600", + "nm": ".cream", + "cl": "cream", + "parent": 8, "sr": 1, "ks": { "o": { @@ -3043,20 +3388,22 @@ "p": { "a": 0, "k": [ - 206, - 150, + 0.175, + 0.195, 0 ], - "ix": 2 + "ix": 2, + "l": 2 }, "a": { "a": 0, "k": [ - 206, - 150, + 132.391, + 67.66, 0 ], - "ix": 1 + "ix": 1, + "l": 2 }, "s": { "a": 0, @@ -3065,7 +3412,8 @@ 100, 100 ], - "ix": 6 + "ix": 6, + "l": 2 } }, "ao": 0, @@ -3082,7 +3430,63 @@ "k": { "i": [ [ - 5.251, + 12.66, + 0 + ], + [ + 5.22, + 2.4 + ], + [ + 3.6, + 4.02 + ], + [ + 1.14, + 3.36 + ], + [ + -0.9, + 2.22 + ], + [ + -2.28, + 1.02 + ], + [ + -2.16, + -0.66 + ], + [ + -1.08, + -1.98 + ], + [ + -2.16, + -2.7 + ], + [ + -2.88, + -1.62 + ], + [ + -4.08, + 0 + ], + [ + -4.08, + 4.26 + ], + [ + 0, + 5.94 + ], + [ + 4.56, + 3.78 + ], + [ + 6.6, 0 ], [ @@ -3090,725 +3494,460 @@ 0 ], [ - 0, - -5.252 + 1.68, + 1.62 ], [ 0, - 0 + 2.28 ], [ - -5.251, + -1.68, + 1.62 + ], + [ + -2.28, 0 ], [ 0, 0 ], + [ + -3.9, + 3.54 + ], [ 0, - 5.252 + 5.88 + ], + [ + 3.6, + 3.42 + ], + [ + 5.94, + 0 + ], + [ + 2.52, + -1.26 + ], + [ + 1.86, + -2.04 + ], + [ + 1.26, + -1.68 + ], + [ + 2.28, + -0.48 + ], + [ + 2.1, + 1.32 + ], + [ + 0.66, + 2.34 + ], + [ + -1.38, + 2.7 + ], + [ + -3.54, + 3.3 + ], + [ + -4.62, + 1.8 + ], + [ + -6.18, + 0 + ], + [ + -6.96, + -6.3 + ], + [ + 0, + -10.2 + ], + [ + 3.18, + -5.04 + ], + [ + 5.7, + -2.1 ], [ 0, 0 + ], + [ + -3.9, + -5.64 + ], + [ + 0, + -7.86 + ], + [ + 8.04, + -7.38 ] ], "o": [ [ - 0, + -7.14, 0 ], [ - -5.251, + -5.16, + -2.4 + ], + [ + -3.6, + -4.02 + ], + [ + -1.14, + -3.42 + ], + [ + 0.9, + -2.28 + ], + [ + 2.28, + -1.08 + ], + [ + 2.22, + 0.66 + ], + [ + 1.08, + 1.98 + ], + [ + 2.22, + 2.7 + ], + [ + 2.88, + 1.56 + ], + [ + 6.6, 0 ], + [ + 4.14, + -4.26 + ], + [ + 0, + -6.78 + ], + [ + -4.56, + -3.78 + ], [ 0, 0 ], + [ + -2.28, + 0 + ], + [ + -1.68, + -1.68 + ], [ 0, - 5.252 + -2.28 + ], + [ + 1.68, + -1.68 ], [ 0, 0 ], [ - 5.251, + 6.06, 0 ], + [ + 3.96, + -3.54 + ], + [ + 0, + -5.46 + ], + [ + -3.54, + -3.42 + ], + [ + -3.3, + 0 + ], + [ + -2.46, + 1.2 + ], + [ + -1.86, + 2.04 + ], + [ + -1.2, + 1.68 + ], + [ + -2.22, + 0.48 + ], + [ + -2.04, + -1.38 + ], + [ + -0.6, + -2.4 + ], + [ + 1.38, + -2.76 + ], + [ + 3.54, + -3.36 + ], + [ + 4.68, + -1.8 + ], + [ + 11.76, + 0 + ], + [ + 6.96, + 6.24 + ], + [ + 0, + 7.02 + ], + [ + -3.18, + 4.98 + ], [ 0, 0 ], + [ + 7.02, + 2.58 + ], + [ + 3.96, + 5.58 + ], [ 0, - -5.252 + 11.16 + ], + [ + -8.04, + 7.38 ] ], "v": [ [ - 54.68, - -123.622 + -1.53, + 67.41 ], [ - -54.68, - -123.622 + -20.07, + 63.81 ], [ - -64.188, - -114.113 + -33.21, + 54.18 ], [ - -64.188, - 114.113 + -40.32, + 43.11 ], [ - -54.68, - 123.622 + -40.68, + 34.65 ], [ - 54.68, - 123.622 + -35.91, + 29.7 ], [ - 64.188, - 114.113 + -29.25, + 29.07 ], [ - 64.188, - -114.113 - ] - ], - "c": true - }, - "ix": 2 - }, - "nm": "Path 1", - "mn": "ADBE Vector Shape - Group", - "hd": false - }, - { - "ind": 1, - "ty": "sh", - "ix": 2, - "ks": { - "a": 0, - "k": { - "i": [ - [ - 0, - 0 + -24.3, + 33.03 ], [ - 0, - -3.038 + -19.44, + 40.05 ], [ - 0, - 0 + -11.79, + 46.53 ], [ - 3.037, - 0 + -1.35, + 48.87 ], [ - 0, - 0 + 14.67, + 42.48 ], [ - 0, - 3.038 + 20.88, + 27.18 ], [ - 0, - 0 + 14.04, + 11.34 ], [ - -3.037, - 0 - ] - ], - "o": [ - [ - 3.037, - 0 + -2.7, + 5.67 ], [ - 0, - 0 + -6.75, + 5.67 ], [ - 0, - 3.038 + -12.69, + 3.24 ], [ - 0, - 0 + -15.21, + -2.7 ], [ - -3.037, - 0 + -12.69, + -8.55 ], [ - 0, - 0 + -6.75, + -11.07 ], [ - 0, - -3.038 + -3.87, + -11.07 ], [ - 0, - 0 - ] - ], - "v": [ - [ - 54.68, - -119.622 + 11.07, + -16.38 ], [ - 60.188, - -114.113 + 17.01, + -30.51 ], [ - 60.188, - 114.113 + 11.61, + -43.83 ], [ - 54.68, - 119.622 + -2.61, + -48.96 ], [ - -54.68, - 119.622 + -11.34, + -47.07 ], [ - -60.188, - 114.113 + -17.82, + -42.21 ], [ - -60.188, - -114.113 + -22.5, + -36.63 ], [ - -54.68, - -119.622 - ] - ], - "c": true - }, - "ix": 2 - }, - "nm": "Path 2", - "mn": "ADBE Vector Shape - Group", - "hd": false - }, - { - "ty": "mm", - "mm": 1, - "nm": "Merge Paths 1", - "mn": "ADBE Vector Filter - Merge", - "hd": false - }, - { - "ty": "fl", - "c": { - "a": 1, - "k": [ - { - "i": { - "x": [ - 0.667 - ], - "y": [ - 1 - ] - }, - "o": { - "x": [ - 0.167 - ], - "y": [ - 0.197 - ] - }, - "t": 0, - "s": [ - 0, - 0, - 0, - 1 - ] - }, - { - "i": { - "x": [ - 0.667 - ], - "y": [ - 1 - ] - }, - "o": { - "x": [ - 0.333 - ], - "y": [ - 0 - ] - }, - "t": 23, - "s": [ - 0.949019607843, - 0.6, - 0, - 1 - ] - }, - { - "i": { - "x": [ - 0.667 - ], - "y": [ - 1 - ] - }, - "o": { - "x": [ - 0.333 - ], - "y": [ - 0 - ] - }, - "t": 62, - "s": [ - 0.976470588235, - 0.670588235294, - 0, - 1 - ] - }, - { - "i": { - "x": [ - 0.833 - ], - "y": [ - 1.197 - ] - }, - "o": { - "x": [ - 0.333 - ], - "y": [ - 0 - ] - }, - "t": 460, - "s": [ - 0.949019607843, - 0.6, - 0, - 1 - ] - }, - { - "t": 475, - "s": [ - 0, - 0, - 0, - 1 - ] - } - ], - "ix": 4 - }, - "o": { - "a": 0, - "k": 100, - "ix": 5 - }, - "r": 1, - "bm": 0, - "nm": "Fill 1", - "mn": "ADBE Vector Graphic - Fill", - "hd": false - }, - { - "ty": "tr", - "p": { - "a": 0, - "k": [ - 206, - 150 - ], - "ix": 2 - }, - "a": { - "a": 0, - "k": [ - 0, - 0 - ], - "ix": 1 - }, - "s": { - "a": 0, - "k": [ - 100, - 100 - ], - "ix": 3 - }, - "r": { - "a": 0, - "k": 0, - "ix": 6 - }, - "o": { - "a": 0, - "k": 100, - "ix": 7 - }, - "sk": { - "a": 0, - "k": 0, - "ix": 4 - }, - "sa": { - "a": 0, - "k": 0, - "ix": 5 - }, - "nm": "Transform" - } - ], - "nm": "Group 2", - "np": 4, - "cix": 2, - "bm": 0, - "ix": 1, - "mn": "ADBE Vector Group", - "hd": false - } - ], - "ip": 0, - "op": 540, - "st": 0, - "bm": 0 - } - ] - }, - { - "id": "comp_2", - "layers": [ - { - "ddd": 0, - "ind": 1, - "ty": 4, - "nm": ".white", - "cl": "white", - "sr": 1, - "ks": { - "o": { - "a": 0, - "k": 100, - "ix": 11 - }, - "r": { - "a": 0, - "k": 0, - "ix": 10 - }, - "p": { - "a": 0, - "k": [ - 206, - 150, - 0 - ], - "ix": 2 - }, - "a": { - "a": 0, - "k": [ - 0, - 0, - 0 - ], - "ix": 1 - }, - "s": { - "a": 1, - "k": [ - { - "i": { - "x": [ - 0.18, - 0.18, - 0.667 - ], - "y": [ - 1, - 1, - 1 - ] - }, - "o": { - "x": [ - 0.333, - 0.333, - 0.333 - ], - "y": [ - 0, - 0, - 0 - ] - }, - "t": 76, - "s": [ - 30, - 30, - 100 - ] - }, - { - "i": { - "x": [ - 0.667, - 0.667, - 0.667 - ], - "y": [ - 1, - 1, - 1 - ] - }, - "o": { - "x": [ - 0.333, - 0.333, - 0.333 - ], - "y": [ - 0, - 0, - 0 - ] - }, - "t": 95, - "s": [ - 119, - 119, - 100 - ] - }, - { - "i": { - "x": [ - 0.257, - 0.257, - 0.667 - ], - "y": [ - 1, - 1, - 1 - ] - }, - "o": { - "x": [ - 0.333, - 0.333, - 0.333 - ], - "y": [ - 0, - 0, - 0 - ] - }, - "t": 352, - "s": [ - 119, - 119, - 100 - ] - }, - { - "i": { - "x": [ - 0.667, - 0.667, - 0.667 - ], - "y": [ - 1, - 1, - 1 - ] - }, - "o": { - "x": [ - 0.333, - 0.333, - 0.333 - ], - "y": [ - 0, - 0, - 0 - ] - }, - "t": 393, - "s": [ - 161, - 161, - 100 - ] - }, - { - "i": { - "x": [ - 0.667, - 0.667, - 0.667 - ], - "y": [ - 1, - 1, - 1 - ] - }, - "o": { - "x": [ - 0.735, - 0.735, - 0.333 - ], - "y": [ - -0.008, - -0.008, - 0 - ] - }, - "t": 438, - "s": [ - 161, - 161, - 100 - ] - }, - { - "t": 478, - "s": [ - 30, - 30, - 100 - ] - } - ], - "ix": 6 - } - }, - "ao": 0, - "shapes": [ - { - "ty": "gr", - "it": [ - { - "ind": 0, - "ty": "sh", - "ix": 1, - "ks": { - "a": 0, - "k": { - "i": [ - [ - 0, - 0 + -27.72, + -33.39 ], [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ] - ], - "o": [ - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ] - ], - "v": [ - [ - 13.974, - 5.25 - ], - [ - 4.524, - -21.75 - ], - [ - 0.624, + -34.2, -34.65 ], [ - -0.576, - -34.65 + -38.25, + -40.23 ], [ - -4.476, - -21.75 + -37.08, + -47.88 ], [ - -14.076, - 5.25 + -29.7, + -56.97 + ], + [ + -17.46, + -64.71 + ], + [ + -1.17, + -67.41 + ], + [ + 26.91, + -57.96 + ], + [ + 37.35, + -33.3 + ], + [ + 32.58, + -15.21 + ], + [ + 19.26, + -4.59 + ], + [ + 19.26, + -3.96 + ], + [ + 35.64, + 8.37 + ], + [ + 41.58, + 28.53 + ], + [ + 29.52, + 56.34 ] ], "c": true @@ -3819,131 +3958,14 @@ "mn": "ADBE Vector Shape - Group", "hd": false }, - { - "ind": 1, - "ty": "sh", - "ix": 2, - "ks": { - "a": 0, - "k": { - "i": [ - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ] - ], - "o": [ - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 0 - ] - ], - "v": [ - [ - -11.676, - -57.9 - ], - [ - 11.574, - -57.9 - ], - [ - 51.924, - 49.5 - ], - [ - 29.574, - 49.5 - ], - [ - 20.574, - 23.85 - ], - [ - -20.526, - 23.85 - ], - [ - -29.526, - 49.5 - ], - [ - -51.876, - 49.5 - ] - ], - "c": true - }, - "ix": 2 - }, - "nm": "Path 2", - "mn": "ADBE Vector Shape - Group", - "hd": false - }, { "ty": "fl", "c": { "a": 0, "k": [ 1, - 1, - 1, + 0.980392216701, + 0.941176530427, 1 ], "ix": 4 @@ -3964,739 +3986,8 @@ "p": { "a": 0, "k": [ - 0, - 0 - ], - "ix": 2 - }, - "a": { - "a": 0, - "k": [ - 0, - 0 - ], - "ix": 1 - }, - "s": { - "a": 0, - "k": [ - 100, - 100 - ], - "ix": 3 - }, - "r": { - "a": 0, - "k": 0, - "ix": 6 - }, - "o": { - "a": 0, - "k": 100, - "ix": 7 - }, - "sk": { - "a": 0, - "k": 0, - "ix": 4 - }, - "sa": { - "a": 0, - "k": 0, - "ix": 5 - }, - "nm": "Transform" - } - ], - "nm": "Group 1", - "np": 3, - "cix": 2, - "bm": 0, - "ix": 1, - "mn": "ADBE Vector Group", - "hd": false - } - ], - "ip": 0, - "op": 540, - "st": 0, - "bm": 0 - } - ] - }, - { - "id": "comp_3", - "layers": [ - { - "ddd": 0, - "ind": 1, - "ty": 4, - "nm": ".grey300", - "cl": "grey300", - "sr": 1, - "ks": { - "o": { - "a": 0, - "k": 100, - "ix": 11 - }, - "r": { - "a": 0, - "k": 0, - "ix": 10 - }, - "p": { - "a": 0, - "k": [ - 206, - 150, - 0 - ], - "ix": 2 - }, - "a": { - "a": 0, - "k": [ - 0, - 0, - 0 - ], - "ix": 1 - }, - "s": { - "a": 0, - "k": [ - 100, - 100, - 100 - ], - "ix": 6 - } - }, - "ao": 0, - "shapes": [ - { - "ty": "gr", - "it": [ - { - "ind": 0, - "ty": "sh", - "ix": 1, - "ks": { - "a": 0, - "k": { - "i": [ - [ - 0, - 0 - ], - [ - 5.243, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 5.244 - ], - [ - 0, - 0 - ], - [ - -5.243, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - -5.244 - ] - ], - "o": [ - [ - 0, - 5.244 - ], - [ - 0, - 0 - ], - [ - -5.243, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - -5.244 - ], - [ - 0, - 0 - ], - [ - 5.243, - 0 - ], - [ - 0, - 0 - ] - ], - "v": [ - [ - 64.12, - 114.112 - ], - [ - 54.611, - 123.622 - ], - [ - -54.747, - 123.622 - ], - [ - -64.256, - 114.112 - ], - [ - -64.256, - -114.112 - ], - [ - -54.747, - -123.622 - ], - [ - 54.611, - -123.622 - ], - [ - 64.12, - -114.112 - ] - ], - "c": true - }, - "ix": 2 - }, - "nm": "Path 1", - "mn": "ADBE Vector Shape - Group", - "hd": false - }, - { - "ind": 1, - "ty": "sh", - "ix": 2, - "ks": { - "a": 0, - "k": { - "i": [ - [ - 0, - 1.313 - ], - [ - 0, - 0 - ], - [ - 1.313, - 0 - ], - [ - 0, - 0 - ], - [ - 6.554, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - -6.555 - ], - [ - 0, - 0 - ], - [ - -6.554, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 6.555 - ], - [ - 0, - 0 - ], - [ - 0, - 1.313 - ], - [ - 0, - 0 - ], - [ - 1.313, - 0 - ], - [ - 0, - 0 - ] - ], - "o": [ - [ - 0, - 0 - ], - [ - 0, - -1.313 - ], - [ - 0, - 0 - ], - [ - 0, - -6.555 - ], - [ - 0, - 0 - ], - [ - -6.554, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 6.555 - ], - [ - 0, - 0 - ], - [ - 6.554, - 0 - ], - [ - 0, - 0 - ], - [ - 1.313, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - -1.313 - ], - [ - 0, - 0 - ], - [ - 1.313, - 0 - ] - ], - "v": [ - [ - 68.875, - -52.302 - ], - [ - 68.875, - -61.811 - ], - [ - 66.498, - -64.188 - ], - [ - 66.498, - -114.112 - ], - [ - 54.611, - -126 - ], - [ - -54.747, - -126 - ], - [ - -66.634, - -114.112 - ], - [ - -66.634, - 114.112 - ], - [ - -54.747, - 126 - ], - [ - 54.611, - 126 - ], - [ - 66.498, - 114.112 - ], - [ - 66.498, - -2.378 - ], - [ - 68.875, - -4.755 - ], - [ - 68.875, - -28.528 - ], - [ - 66.498, - -30.906 - ], - [ - 66.498, - -49.924 - ] - ], - "c": true - }, - "ix": 2 - }, - "nm": "Path 2", - "mn": "ADBE Vector Shape - Group", - "hd": false - }, - { - "ty": "fl", - "c": { - "a": 0, - "k": [ - 0.854901969433, - 0.86274510622, - 0.878431379795, - 1 - ], - "ix": 4 - }, - "o": { - "a": 0, - "k": 100, - "ix": 5 - }, - "r": 1, - "bm": 0, - "nm": "Fill 1", - "mn": "ADBE Vector Graphic - Fill", - "hd": false - }, - { - "ty": "tr", - "p": { - "a": 0, - "k": [ - 0, - 0 - ], - "ix": 2 - }, - "a": { - "a": 0, - "k": [ - 0, - 0 - ], - "ix": 1 - }, - "s": { - "a": 0, - "k": [ - 100, - 100 - ], - "ix": 3 - }, - "r": { - "a": 0, - "k": 0, - "ix": 6 - }, - "o": { - "a": 0, - "k": 100, - "ix": 7 - }, - "sk": { - "a": 0, - "k": 0, - "ix": 4 - }, - "sa": { - "a": 0, - "k": 0, - "ix": 5 - }, - "nm": "Transform" - } - ], - "nm": "Group 1", - "np": 3, - "cix": 2, - "bm": 0, - "ix": 1, - "mn": "ADBE Vector Group", - "hd": false - } - ], - "ip": 0, - "op": 607, - "st": 0, - "bm": 0 - } - ] - }, - { - "id": "comp_4", - "layers": [ - { - "ddd": 0, - "ind": 1, - "ty": 4, - "nm": ".black", - "cl": "black", - "sr": 1, - "ks": { - "o": { - "a": 0, - "k": 100, - "ix": 11 - }, - "r": { - "a": 0, - "k": 0, - "ix": 10 - }, - "p": { - "a": 0, - "k": [ - 206, - 150, - 0 - ], - "ix": 2 - }, - "a": { - "a": 0, - "k": [ - 0, - 0, - 0 - ], - "ix": 1 - }, - "s": { - "a": 0, - "k": [ - 100, - 100, - 100 - ], - "ix": 6 - } - }, - "ao": 0, - "shapes": [ - { - "ty": "gr", - "it": [ - { - "ind": 0, - "ty": "sh", - "ix": 1, - "ks": { - "a": 0, - "k": { - "i": [ - [ - 0, - 0 - ], - [ - 5.243, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 5.244 - ], - [ - 0, - 0 - ], - [ - -5.243, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - -5.244 - ] - ], - "o": [ - [ - 0, - 5.244 - ], - [ - 0, - 0 - ], - [ - -5.243, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - -5.244 - ], - [ - 0, - 0 - ], - [ - 5.243, - 0 - ], - [ - 0, - 0 - ] - ], - "v": [ - [ - 64.12, - 114.112 - ], - [ - 54.611, - 123.622 - ], - [ - -54.747, - 123.622 - ], - [ - -64.256, - 114.112 - ], - [ - -64.256, - -114.112 - ], - [ - -54.747, - -123.622 - ], - [ - 54.611, - -123.622 - ], - [ - 64.12, - -114.112 - ] - ], - "c": true - }, - "ix": 2 - }, - "nm": "Path 1", - "mn": "ADBE Vector Shape - Group", - "hd": false - }, - { - "ty": "fl", - "c": { - "a": 0, - "k": [ - 0, - 0, - 0, - 1 - ], - "ix": 4 - }, - "o": { - "a": 0, - "k": 100, - "ix": 5 - }, - "r": 1, - "bm": 0, - "nm": "Fill 1", - "mn": "ADBE Vector Graphic - Fill", - "hd": false - }, - { - "ty": "tr", - "p": { - "a": 0, - "k": [ - 0, - 0 + 222.666, + 67.66 ], "ix": 2 }, @@ -4746,11 +4037,1351 @@ "ix": 1, "mn": "ADBE Vector Group", "hd": false + }, + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + 0, + 0 + ], + [ + 2.46, + 2.34 + ], + [ + 0, + 3.42 + ], + [ + -0.72, + 1.38 + ], + [ + -0.96, + 1.02 + ], + [ + 0, + 0 + ], + [ + -2.52, + 4.68 + ], + [ + 0, + 4.44 + ], + [ + 3.54, + 3.42 + ], + [ + 5.94, + 0 + ], + [ + 2.16, + -0.96 + ], + [ + 2.16, + -1.8 + ], + [ + 1.44, + -2.4 + ], + [ + 2.46, + -0.6 + ], + [ + 2.34, + 1.2 + ], + [ + 0.78, + 2.52 + ], + [ + -1.68, + 3.3 + ], + [ + -3.48, + 3.24 + ], + [ + -4.68, + 1.92 + ], + [ + -6.9, + 0 + ], + [ + -7.38, + -6.84 + ], + [ + 0, + -10.98 + ], + [ + 3.42, + -6.78 + ], + [ + 7.32, + -7.44 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + -1.86, + -1.86 + ], + [ + 0, + -2.52 + ], + [ + 1.86, + -1.86 + ], + [ + 2.58, + 0 + ] + ], + "o": [ + [ + -3.48, + 0 + ], + [ + -2.4, + -2.34 + ], + [ + 0, + -1.92 + ], + [ + 0.78, + -1.44 + ], + [ + 0, + 0 + ], + [ + 5.88, + -6.24 + ], + [ + 2.52, + -4.68 + ], + [ + 0, + -5.64 + ], + [ + -3.48, + -3.42 + ], + [ + -3.36, + 0 + ], + [ + -2.16, + 0.9 + ], + [ + -2.16, + 1.74 + ], + [ + -1.38, + 2.4 + ], + [ + -2.46, + 0.6 + ], + [ + -2.28, + -1.2 + ], + [ + -0.78, + -2.52 + ], + [ + 1.68, + -3.3 + ], + [ + 3.48, + -3.24 + ], + [ + 4.74, + -1.92 + ], + [ + 11.4, + 0 + ], + [ + 7.44, + 6.78 + ], + [ + 0, + 6.6 + ], + [ + -3.36, + 6.72 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 2.58, + 0 + ], + [ + 1.86, + 1.86 + ], + [ + 0, + 2.58 + ], + [ + -1.86, + 1.8 + ], + [ + 0, + 0 + ] + ], + "v": [ + [ + -29.385, + 65.925 + ], + [ + -38.295, + 62.415 + ], + [ + -41.895, + 53.775 + ], + [ + -40.815, + 48.825 + ], + [ + -38.205, + 45.135 + ], + [ + 1.935, + 2.295 + ], + [ + 14.535, + -14.085 + ], + [ + 18.315, + -27.765 + ], + [ + 13.005, + -41.355 + ], + [ + -1.125, + -46.485 + ], + [ + -9.405, + -45.045 + ], + [ + -15.885, + -40.995 + ], + [ + -21.285, + -34.785 + ], + [ + -27.045, + -30.285 + ], + [ + -34.245, + -31.185 + ], + [ + -38.835, + -36.765 + ], + [ + -37.485, + -45.495 + ], + [ + -29.745, + -55.305 + ], + [ + -17.505, + -63.045 + ], + [ + -0.045, + -65.925 + ], + [ + 28.125, + -55.665 + ], + [ + 39.285, + -29.025 + ], + [ + 34.155, + -8.955 + ], + [ + 18.135, + 12.285 + ], + [ + -14.895, + 46.665 + ], + [ + -14.625, + 47.205 + ], + [ + 32.445, + 47.205 + ], + [ + 39.105, + 49.995 + ], + [ + 41.895, + 56.565 + ], + [ + 39.105, + 63.225 + ], + [ + 32.445, + 65.925 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 1, + 0.980392216701, + 0.941176530427, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 120.844, + 66.175 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Group 2", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 2, + "mn": "ADBE Vector Group", + "hd": false + }, + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + 2.82, + 0 + ], + [ + 2.04, + 1.98 + ], + [ + 0, + 2.88 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 2.46, + 0.36 + ], + [ + 1.44, + 1.92 + ], + [ + -0.42, + 2.52 + ], + [ + -2.1, + 1.5 + ], + [ + 0, + 0 + ], + [ + -0.78, + 0.42 + ], + [ + -1.32, + 0 + ], + [ + -1.86, + -1.92 + ], + [ + 0, + -2.7 + ], + [ + 0, + 0 + ], + [ + 2.04, + -2.04 + ] + ], + "o": [ + [ + -2.82, + 0 + ], + [ + -1.98, + -2.04 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + -1.98, + 1.44 + ], + [ + -2.4, + -0.42 + ], + [ + -1.56, + -2.04 + ], + [ + 0.42, + -2.52 + ], + [ + 0, + 0 + ], + [ + 0.72, + -0.54 + ], + [ + 0.84, + -0.42 + ], + [ + 2.7, + 0 + ], + [ + 1.86, + 1.92 + ], + [ + 0, + 0 + ], + [ + 0, + 2.88 + ], + [ + -2.04, + 1.98 + ] + ], + "v": [ + [ + 14.152, + 65.43 + ], + [ + 6.862, + 62.46 + ], + [ + 3.892, + 55.08 + ], + [ + 3.892, + -37.44 + ], + [ + -10.238, + -27.36 + ], + [ + -16.898, + -25.74 + ], + [ + -22.658, + -29.25 + ], + [ + -24.368, + -36.09 + ], + [ + -20.588, + -42.12 + ], + [ + 9.382, + -63.36 + ], + [ + 11.632, + -64.8 + ], + [ + 14.872, + -65.43 + ], + [ + 21.712, + -62.55 + ], + [ + 24.502, + -55.62 + ], + [ + 24.502, + 55.08 + ], + [ + 21.442, + 62.46 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 1, + 0.980392216701, + 0.941176530427, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 25.038, + 67.75 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Group 3", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 3, + "mn": "ADBE Vector Group", + "hd": false } ], "ip": 0, - "op": 607, + "op": 540, "st": 0, + "ct": 1, + "bm": 0 + }, + { + "ddd": 0, + "ind": 8, + "ty": 3, + "nm": "abc", + "parent": 9, + "sr": 1, + "ks": { + "o": { + "a": 0, + "k": 100, + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + -97.379, + 0.847, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + -43.411, + -0.166, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.2, + 0.2, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 352, + "s": [ + 220.751, + 220.751, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 397, + "s": [ + 300.751, + 300.751, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.735, + 0.735, + 0.735 + ], + "y": [ + 0.008, + 0.008, + -0.008 + ] + }, + "t": 438, + "s": [ + 300.751, + 300.751, + 100 + ] + }, + { + "t": 478, + "s": [ + 220.751, + 220.751, + 100 + ] + } + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "ip": 0, + "op": 542, + "st": 0, + "ct": 1, + "bm": 0 + }, + { + "ddd": 0, + "ind": 9, + "ty": 3, + "nm": ".grey100", + "cl": "grey100", + "parent": 2, + "sr": 1, + "ks": { + "o": { + "a": 0, + "k": 100, + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 1, + "k": [ + { + "i": { + "x": 0.18, + "y": 1 + }, + "o": { + "x": 0.333, + "y": 0 + }, + "t": 76, + "s": [ + 0, + 0, + 0 + ], + "to": [ + 0, + 0, + 0 + ], + "ti": [ + 0, + 0, + 0 + ] + }, + { + "i": { + "x": 0.18, + "y": 0.18 + }, + "o": { + "x": 0.333, + "y": 0.333 + }, + "t": 95, + "s": [ + 168.623, + 77.974, + 0 + ], + "to": [ + 0, + 0, + 0 + ], + "ti": [ + 0, + 0, + 0 + ] + }, + { + "i": { + "x": 0.667, + "y": 1 + }, + "o": { + "x": 0.333, + "y": 0 + }, + "t": 438, + "s": [ + 168.623, + 77.974, + 0 + ], + "to": [ + 0, + 0, + 0 + ], + "ti": [ + 0, + 0, + 0 + ] + }, + { + "t": 478, + "s": [ + 0, + 0, + 0 + ] + } + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.18, + 0.18, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 76, + "s": [ + 30, + 30, + 100 + ] + }, + { + "i": { + "x": [ + 0.18, + 0.18, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 95, + "s": [ + 119, + 119, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 438, + "s": [ + 119, + 119, + 100 + ] + }, + { + "t": 478, + "s": [ + 30, + 30, + 100 + ] + } + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "ip": 0, + "op": 540, + "st": 0, + "ct": 1, + "bm": 0 + }, + { + "ddd": 0, + "ind": 10, + "ty": 4, + "nm": ".black", + "cl": "black", + "sr": 1, + "ks": { + "o": { + "a": 0, + "k": 100, + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + 206, + 150, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 0, + "k": [ + 100, + 100, + 100 + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ty": "rc", + "d": 1, + "s": { + "a": 0, + "k": [ + 412, + 300 + ], + "ix": 2 + }, + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 28, + "ix": 4 + }, + "nm": "Rectangle Path 1", + "mn": "ADBE Vector Shape - Rect", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 0, + 0, + 0, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Rectangle 68986", + "np": 3, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 540, + "st": 0, + "ct": 1, "bm": 0 } ] @@ -4760,13 +5391,15 @@ { "ddd": 0, "ind": 1, - "ty": 3, - "nm": "MoveA+Dots 2", + "ty": 4, + "nm": ".black", + "cl": "black", + "td": 1, "sr": 1, "ks": { "o": { "a": 0, - "k": 0, + "k": 100, "ix": 11 }, "r": { @@ -4775,148 +5408,14 @@ "ix": 10 }, "p": { - "a": 1, + "a": 0, "k": [ - { - "i": { - "x": 0.351, - "y": 1 - }, - "o": { - "x": 0.167, - "y": 0.167 - }, - "t": 170, - "s": [ - 206, - 150, - 0 - ], - "to": [ - 4.167, - -0.833, - 0 - ], - "ti": [ - -4.167, - 0.833, - 0 - ] - }, - { - "i": { - "x": 0.667, - "y": 0.667 - }, - "o": { - "x": 0.333, - "y": 0.333 - }, - "t": 207, - "s": [ - 231, - 145, - 0 - ], - "to": [ - 0, - 0, - 0 - ], - "ti": [ - 0, - 0, - 0 - ] - }, - { - "i": { - "x": 0.423, - "y": 1 - }, - "o": { - "x": 0.488, - "y": 0 - }, - "t": 214, - "s": [ - 231, - 145, - 0 - ], - "to": [ - -0.833, - 5, - 0 - ], - "ti": [ - 0.833, - -5, - 0 - ] - }, - { - "i": { - "x": 0.667, - "y": 0.667 - }, - "o": { - "x": 0.333, - "y": 0.333 - }, - "t": 247, - "s": [ - 226, - 175, - 0 - ], - "to": [ - 0, - 0, - 0 - ], - "ti": [ - 0, - 0, - 0 - ] - }, - { - "i": { - "x": 0.667, - "y": 1 - }, - "o": { - "x": 0.735, - "y": 0.034 - }, - "t": 438, - "s": [ - 226, - 175, - 0 - ], - "to": [ - -3.333, - -4.167, - 0 - ], - "ti": [ - 3.333, - 4.167, - 0 - ] - }, - { - "t": 478, - "s": [ - 206, - 150, - 0 - ] - } + 206, + 150, + 0 ], - "ix": 2 + "ix": 2, + "l": 2 }, "a": { "a": 0, @@ -4925,7 +5424,8 @@ 0, 0 ], - "ix": 1 + "ix": 1, + "l": 2 }, "s": { "a": 0, @@ -4934,20 +5434,137 @@ 100, 100 ], - "ix": 6 + "ix": 6, + "l": 2 } }, "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ty": "rc", + "d": 1, + "s": { + "a": 0, + "k": [ + 412, + 300 + ], + "ix": 2 + }, + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 28, + "ix": 4 + }, + "nm": "Rectangle Path 1", + "mn": "ADBE Vector Shape - Rect", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 0, + 0, + 0, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Rectangle 68986", + "np": 3, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], "ip": 0, "op": 540, "st": 0, + "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 2, "ty": 0, - "nm": "Dots", + "nm": "Crop_dup", + "tt": 1, + "tp": 1, "refId": "comp_0", "sr": 1, "ks": { @@ -4968,7 +5585,8 @@ 150, 0 ], - "ix": 2 + "ix": 2, + "l": 2 }, "a": { "a": 0, @@ -4977,371 +5595,8 @@ 150, 0 ], - "ix": 1 - }, - "s": { - "a": 0, - "k": [ - 100, - 100, - 100 - ], - "ix": 6 - } - }, - "ao": 0, - "w": 412, - "h": 300, - "ip": 0, - "op": 540, - "st": 0, - "bm": 0 - }, - { - "ddd": 0, - "ind": 3, - "ty": 0, - "nm": "Outline", - "refId": "comp_1", - "sr": 1, - "ks": { - "o": { - "a": 0, - "k": 100, - "ix": 11 - }, - "r": { - "a": 0, - "k": 0, - "ix": 10 - }, - "p": { - "a": 0, - "k": [ - 206, - 150, - 0 - ], - "ix": 2 - }, - "a": { - "a": 0, - "k": [ - 206, - 150, - 0 - ], - "ix": 1 - }, - "s": { - "a": 0, - "k": [ - 100, - 100, - 100 - ], - "ix": 6 - } - }, - "ao": 0, - "w": 412, - "h": 300, - "ip": 0, - "op": 540, - "st": 0, - "bm": 0 - }, - { - "ddd": 0, - "ind": 4, - "ty": 4, - "nm": "screenMatte", - "td": 1, - "sr": 1, - "ks": { - "o": { - "a": 0, - "k": 100, - "ix": 11 - }, - "r": { - "a": 0, - "k": 0, - "ix": 10 - }, - "p": { - "a": 0, - "k": [ - 207.176, - 150, - 0 - ], - "ix": 2 - }, - "a": { - "a": 0, - "k": [ - 207.176, - 150, - 0 - ], - "ix": 1 - }, - "s": { - "a": 0, - "k": [ - 99.6, - 99.4, - 100 - ], - "ix": 6 - } - }, - "ao": 0, - "shapes": [ - { - "ty": "gr", - "it": [ - { - "ind": 0, - "ty": "sh", - "ix": 1, - "ks": { - "a": 0, - "k": { - "i": [ - [ - 0, - 0 - ], - [ - 5.243, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 5.243 - ], - [ - 0, - 0 - ], - [ - -5.243, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - -5.243 - ] - ], - "o": [ - [ - 0, - 5.243 - ], - [ - 0, - 0 - ], - [ - -5.243, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - -5.243 - ], - [ - 0, - 0 - ], - [ - 5.243, - 0 - ], - [ - 0, - 0 - ] - ], - "v": [ - [ - 63, - 114.112 - ], - [ - 53.491, - 123.622 - ], - [ - -55.867, - 123.622 - ], - [ - -65.376, - 114.112 - ], - [ - -65.376, - -114.113 - ], - [ - -55.867, - -123.622 - ], - [ - 53.491, - -123.622 - ], - [ - 63, - -114.113 - ] - ], - "c": true - }, - "ix": 2 - }, - "nm": "Path 1", - "mn": "ADBE Vector Shape - Group", - "hd": false - }, - { - "ty": "fl", - "c": { - "a": 0, - "k": [ - 0, - 0, - 0, - 1 - ], - "ix": 4 - }, - "o": { - "a": 0, - "k": 100, - "ix": 5 - }, - "r": 1, - "bm": 0, - "nm": "Fill 1", - "mn": "ADBE Vector Graphic - Fill", - "hd": false - }, - { - "ty": "tr", - "p": { - "a": 0, - "k": [ - 207.176, - 150 - ], - "ix": 2 - }, - "a": { - "a": 0, - "k": [ - 0, - 0 - ], - "ix": 1 - }, - "s": { - "a": 0, - "k": [ - 100, - 100 - ], - "ix": 3 - }, - "r": { - "a": 0, - "k": 0, - "ix": 6 - }, - "o": { - "a": 0, - "k": 100, - "ix": 7 - }, - "sk": { - "a": 0, - "k": 0, - "ix": 4 - }, - "sa": { - "a": 0, - "k": 0, - "ix": 5 - }, - "nm": "Transform" - } - ], - "nm": "Group 1", - "np": 2, - "cix": 2, - "bm": 0, "ix": 1, - "mn": "ADBE Vector Group", - "hd": false - } - ], - "ip": 0, - "op": 540, - "st": 0, - "bm": 0 - }, - { - "ddd": 0, - "ind": 5, - "ty": 0, - "nm": "A", - "parent": 1, - "tt": 1, - "refId": "comp_2", - "sr": 1, - "ks": { - "o": { - "a": 0, - "k": 100, - "ix": 11 - }, - "r": { - "a": 0, - "k": 0, - "ix": 10 - }, - "p": { - "a": 0, - "k": [ - 0, - 0, - 0 - ], - "ix": 2 - }, - "a": { - "a": 0, - "k": [ - 206, - 150, - 0 - ], - "ix": 1 + "l": 2 }, "s": { "a": 0, @@ -5350,7 +5605,8 @@ 100, 100 ], - "ix": 6 + "ix": 6, + "l": 2 } }, "ao": 0, @@ -5360,370 +5616,8 @@ "op": 540, "st": 0, "bm": 0 - }, - { - "ddd": 0, - "ind": 6, - "ty": 0, - "nm": "Phone", - "refId": "comp_3", - "sr": 1, - "ks": { - "o": { - "a": 0, - "k": 100, - "ix": 11 - }, - "r": { - "a": 0, - "k": 0, - "ix": 10 - }, - "p": { - "a": 0, - "k": [ - 206, - 150, - 0 - ], - "ix": 2 - }, - "a": { - "a": 0, - "k": [ - 206, - 150, - 0 - ], - "ix": 1 - }, - "s": { - "a": 0, - "k": [ - 100, - 100, - 100 - ], - "ix": 6 - } - }, - "ao": 0, - "w": 412, - "h": 300, - "ip": 0, - "op": 540, - "st": 0, - "bm": 0 - }, - { - "ddd": 0, - "ind": 7, - "ty": 0, - "nm": "ScreenBlack", - "refId": "comp_4", - "sr": 1, - "ks": { - "o": { - "a": 0, - "k": 100, - "ix": 11 - }, - "r": { - "a": 0, - "k": 0, - "ix": 10 - }, - "p": { - "a": 0, - "k": [ - 206, - 150, - 0 - ], - "ix": 2 - }, - "a": { - "a": 0, - "k": [ - 206, - 150, - 0 - ], - "ix": 1 - }, - "s": { - "a": 0, - "k": [ - 100, - 100, - 100 - ], - "ix": 6 - } - }, - "ao": 0, - "w": 412, - "h": 300, - "ip": 0, - "op": 600, - "st": 0, - "bm": 0 - }, - { - "ddd": 0, - "ind": 8, - "ty": 4, - "nm": ".white", - "cl": "white", - "hd": true, - "sr": 1, - "ks": { - "o": { - "a": 0, - "k": 100, - "ix": 11 - }, - "r": { - "a": 0, - "k": 0, - "ix": 10 - }, - "p": { - "a": 0, - "k": [ - 206.106, - 150.168, - 0 - ], - "ix": 2 - }, - "a": { - "a": 0, - "k": [ - 206.106, - 150.168, - 0 - ], - "ix": 1 - }, - "s": { - "a": 0, - "k": [ - 100, - 100, - 100 - ], - "ix": 6 - } - }, - "ao": 0, - "shapes": [ - { - "ty": "gr", - "it": [ - { - "ind": 0, - "ty": "sh", - "ix": 1, - "ks": { - "a": 0, - "k": { - "i": [ - [ - 15.291, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 15.653 - ], - [ - 0, - 0 - ], - [ - -15.291, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - -15.652 - ], - [ - 0, - 0 - ] - ], - "o": [ - [ - 0, - 0 - ], - [ - -15.291, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - -15.652 - ], - [ - 0, - 0 - ], - [ - 15.185, - 0 - ], - [ - 0, - 0 - ], - [ - 0, - 15.543 - ] - ], - "v": [ - [ - 178.285, - 150.168 - ], - [ - -178.073, - 150.168 - ], - [ - -205.894, - 121.689 - ], - [ - -205.894, - -121.354 - ], - [ - -178.073, - -149.832 - ], - [ - 178.391, - -149.832 - ], - [ - 206.106, - -121.354 - ], - [ - 206.106, - 121.799 - ] - ], - "c": true - }, - "ix": 2 - }, - "nm": "Path 1", - "mn": "ADBE Vector Shape - Group", - "hd": false - }, - { - "ty": "fl", - "c": { - "a": 0, - "k": [ - 1, - 1, - 1, - 1 - ], - "ix": 4 - }, - "o": { - "a": 0, - "k": 100, - "ix": 5 - }, - "r": 1, - "bm": 0, - "nm": "Fill 1", - "mn": "ADBE Vector Graphic - Fill", - "hd": false - }, - { - "ty": "tr", - "p": { - "a": 0, - "k": [ - 206.106, - 150.168 - ], - "ix": 2 - }, - "a": { - "a": 0, - "k": [ - 0, - 0 - ], - "ix": 1 - }, - "s": { - "a": 0, - "k": [ - 100, - 100 - ], - "ix": 3 - }, - "r": { - "a": 0, - "k": 0, - "ix": 6 - }, - "o": { - "a": 0, - "k": 100, - "ix": 7 - }, - "sk": { - "a": 0, - "k": 0, - "ix": 4 - }, - "sa": { - "a": 0, - "k": 0, - "ix": 5 - }, - "nm": "Transform" - } - ], - "nm": "Group 3", - "np": 4, - "cix": 2, - "bm": 0, - "ix": 1, - "mn": "ADBE Vector Group", - "hd": false - } - ], - "ip": 0, - "op": 540, - "st": 0, - "bm": 0 } ], - "markers": [] + "markers": [], + "props": {} } \ No newline at end of file diff --git a/res/raw/accessibility_magnification_banner_tablet.json b/res/raw/accessibility_magnification_banner_tablet.json deleted file mode 100644 index 81422670017..00000000000 --- a/res/raw/accessibility_magnification_banner_tablet.json +++ /dev/null @@ -1 +0,0 @@ -{"v":"5.10.0","fr":60,"ip":0,"op":540,"w":412,"h":300,"nm":"Magnification_Tablet","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":2,"ty":3,"nm":"MoveA+Dots","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.351,"y":1},"o":{"x":0.167,"y":0.167},"t":170,"s":[206,150,0],"to":[4.167,-0.833,0],"ti":[-4.167,0.833,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.333,"y":0.333},"t":207,"s":[231,145,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.423,"y":1},"o":{"x":0.488,"y":0},"t":214,"s":[231,145,0],"to":[-0.833,5,0],"ti":[0.833,-5,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.333,"y":0.333},"t":247,"s":[226,175,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.735,"y":0.034},"t":438,"s":[226,175,0],"to":[-3.333,-4.167,0],"ti":[3.333,4.167,0]},{"t":478,"s":[206,150,0]}],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"ip":0,"op":540,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":".yellow600","cl":"yellow600","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":146,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":155,"s":[85]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":270,"s":[85]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":279,"s":[50]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":325,"s":[50]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":334,"s":[85]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":465,"s":[85]},{"t":472,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":298,"s":[226,175,0],"to":[-0.5,-1.667,0],"ti":[0.5,1.667,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.167,"y":0.167},"t":305,"s":[223,165,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.257,"y":1},"o":{"x":0.333,"y":0},"t":352,"s":[223,165,0],"to":[1.667,-1.667,0],"ti":[-1.667,1.667,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.167,"y":0.167},"t":393,"s":[233,155,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.568,"y":0.036},"t":438,"s":[233,155,0],"to":[-3.833,0,0],"ti":[3.833,0,0]},{"t":478,"s":[210,155,0]}],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":146,"s":[13,13]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":163,"s":[19,19]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":270,"s":[19,19]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":279,"s":[13,13]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":325,"s":[13,13]},{"i":{"x":[0.833,0.833],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":334,"s":[19,19]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0,0]},"t":445,"s":[19,19]},{"t":474,"s":[13,13]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.976470588235,0.670588235294,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":438,"op":540,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":".yellow600","cl":"yellow600","parent":2,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":146,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":155,"s":[85]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":270,"s":[85]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":279,"s":[50]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":325,"s":[50]},{"t":334,"s":[85]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":298,"s":[0,0,0],"to":[-0.5,-1.667,0],"ti":[0.5,1.667,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.167,"y":0.167},"t":305,"s":[-3,-10,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.257,"y":1},"o":{"x":0.333,"y":0},"t":352,"s":[-3,-10,0],"to":[1.667,-1.667,0],"ti":[-1.667,1.667,0]},{"t":393,"s":[7,-20,0]}],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":146,"s":[13,13]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":163,"s":[19,19]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":270,"s":[19,19]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":279,"s":[13,13]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":325,"s":[13,13]},{"t":334,"s":[19,19]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.976470588235,0.670588235294,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":438,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":".yellow600","cl":"yellow600","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":40,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":49,"s":[85]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":67,"s":[50]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":143,"s":[50]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":157,"s":[85]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":270,"s":[85]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":279,"s":[50]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":325,"s":[50]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":334,"s":[85]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":465,"s":[85]},{"t":472,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":114,"s":[226,175,0],"to":[-5.333,0,0],"ti":[5.333,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":135,"s":[194,175,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":298,"s":[194,175,0],"to":[0.5,1.667,0],"ti":[-0.5,-1.667,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.167,"y":0.167},"t":305,"s":[197,185,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.257,"y":1},"o":{"x":0.333,"y":0},"t":352,"s":[197,185,0],"to":[-1.667,1.667,0],"ti":[1.667,-1.667,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.167,"y":0.167},"t":393,"s":[187,195,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.568,"y":0.019},"t":438,"s":[187,195,0],"to":[2.833,-6.667,0],"ti":[-2.833,6.667,0]},{"t":478,"s":[204,155,0]}],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":40,"s":[13,13]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":57,"s":[19,19]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":69,"s":[13,13]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":143,"s":[13,13]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":157,"s":[19,19]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0,0]},"t":270,"s":[19,19]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":279,"s":[13,13]},{"i":{"x":[0.833,0.833],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":325,"s":[13,13]},{"i":{"x":[0.833,0.833],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0]},"t":334,"s":[19,19]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0,0]},"t":445,"s":[19,19]},{"t":474,"s":[13,13]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.976470588235,0.670588235294,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":438,"op":540,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":".yellow600","cl":"yellow600","parent":2,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":40,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":49,"s":[85]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":67,"s":[50]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":143,"s":[50]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":157,"s":[85]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":270,"s":[85]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":279,"s":[50]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":325,"s":[50]},{"t":334,"s":[85]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":114,"s":[0,0,0],"to":[-5.333,0,0],"ti":[5.333,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":135,"s":[-32,0,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":298,"s":[-32,0,0],"to":[0.5,1.667,0],"ti":[-0.5,-1.667,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.167,"y":0.167},"t":305,"s":[-29,10,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.257,"y":1},"o":{"x":0.333,"y":0},"t":352,"s":[-29,10,0],"to":[-1.667,1.667,0],"ti":[1.667,-1.667,0]},{"t":393,"s":[-39,20,0]}],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":40,"s":[13,13]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":57,"s":[19,19]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":69,"s":[13,13]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":143,"s":[13,13]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":157,"s":[19,19]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0,0]},"t":270,"s":[19,19]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":279,"s":[13,13]},{"i":{"x":[0.833,0.833],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":325,"s":[13,13]},{"t":334,"s":[19,19]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.976470588235,0.670588235294,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":438,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":".grey300","cl":"grey300","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[205.999,150,0],"ix":2,"l":2},"a":{"a":0,"k":[205.999,150,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[201.948,319.538],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":16,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[0.854901969433,0.86274510622,0.878431379795,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2.5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":-90,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"frame","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tr","p":{"a":0,"k":[205.999,151.162],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[-100,-100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"frame","np":1,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,-1.372],[0,0],[0,0],[1.367,0]],"o":[[-1.367,0],[0,0],[0,0],[0,-1.372],[0,0]],"v":[[-4.457,-1.74],[-6.933,0.746],[0.99,0.746],[6.933,0.746],[4.457,-1.74]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.854901969433,0.86274510622,0.878431379795,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"button2","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tr","p":{"a":0,"k":[318.382,49.604],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"button2","np":1,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,-1.372],[0,0],[0,0],[1.367,0]],"o":[[-1.367,0],[0,0],[0,0],[0,-1.372],[0,0]],"v":[[-10.894,-1.74],[-13.37,0.746],[0.495,0.746],[13.37,0.746],[10.894,-1.74]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.854901969433,0.86274510622,0.878431379795,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"button1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tr","p":{"a":0,"k":[276.958,49.604],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"button1","np":1,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":540,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":".yellow600","cl":"yellow600","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.17],"y":[0.17]},"t":0,"s":[0]},{"i":{"x":[0.776],"y":[1]},"o":{"x":[0.165],"y":[0]},"t":23,"s":[100]},{"i":{"x":[0.83],"y":[0.83]},"o":{"x":[0.33],"y":[0]},"t":460,"s":[100]},{"t":475,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[205.998,151.162,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[-100,-100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[201.948,319.538],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":16,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"op","nm":"Offset Paths 1","a":{"a":0,"k":-3,"ix":1},"lj":1,"ml":{"a":0,"k":4,"ix":3},"ix":2,"mn":"ADBE Vector Filter - Offset","hd":false},{"ty":"st","c":{"a":0,"k":[0.976470589638,0.670588254929,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":-90,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Highlight","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":540,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"screenMatte","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[205.999,151.162,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[-100,-100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[201.948,319.538],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":16,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":-90,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"BG","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":540,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":".grey100","cl":"grey100","parent":2,"tt":1,"tp":9,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0.18,0.18,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":76,"s":[30,30,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":95,"s":[119,119,100]},{"i":{"x":[0.257,0.257,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":352,"s":[119,119,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":393,"s":[161,161,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.735,0.735,0.333],"y":[-0.008,-0.008,0]},"t":438,"s":[161,161,100]},{"t":478,"s":[30,30,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[13.974,5.25],[4.524,-21.75],[0.624,-34.65],[-0.576,-34.65],[-4.476,-21.75],[-14.076,5.25]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[-11.676,-57.9],[11.574,-57.9],[51.924,49.5],[29.574,49.5],[20.574,23.85],[-20.526,23.85],[-29.526,49.5],[-51.876,49.5]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.945098039216,0.952941176471,0.956862745098,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,8],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[155,155],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":540,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":12,"ty":4,"nm":".black","cl":"black","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[205.999,151.162,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[-100,-100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[201.948,319.538],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":16,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":-90,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"BG","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":540,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":13,"ty":4,"nm":".white","cl":"white","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[206,150,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[15.4,0],[0,0],[0,15.4],[0,0],[-15.4,0],[0,0],[0,-15.4],[0,0]],"o":[[0,0],[-15.4,0],[0,0],[0,-15.4],[0,0],[15.4,0],[0,0],[0,15.4]],"v":[[178,150],[-178,150],[-206,122],[-206,-122],[-178,-150],[178,-150],[206,-122],[206,122]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1800,"st":0,"ct":1,"bm":0}],"markers":[]} \ No newline at end of file diff --git a/res/raw/accessibility_shortcut_type_2finger_doubletap.json b/res/raw/accessibility_shortcut_type_2finger_doubletap.json new file mode 100644 index 00000000000..73299d5f313 --- /dev/null +++ b/res/raw/accessibility_shortcut_type_2finger_doubletap.json @@ -0,0 +1,2804 @@ +{ + "v": "5.12.1", + "fr": 60, + "ip": 0, + "op": 120, + "w": 412, + "h": 300, + "nm": "Accessibility_Two_Tap_v5_export", + "ddd": 0, + "assets": [], + "layers": [ + { + "ddd": 0, + "ind": 1, + "ty": 4, + "nm": ".blue400", + "cl": "blue400", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 0, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 2.473, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 8.406, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 11.865, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 17.135, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 19.609, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 25.539, + "s": [ + 50 + ] + }, + { + "t": 29, + "s": [ + 0 + ] + } + ], + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + 290.932, + 149.932, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 0, + "s": [ + 150, + 150, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 4.943, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 8.406, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 11.865, + "s": [ + 150, + 150, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 17.135, + "s": [ + 150, + 150, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 22.078, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 25.539, + "s": [ + 100, + 100, + 100 + ] + }, + { + "t": 29, + "s": [ + 150, + 150, + 100 + ] + } + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + -20.621, + 0 + ], + [ + 0, + 20.621 + ], + [ + 20.621, + 0 + ], + [ + 0, + -20.621 + ] + ], + "o": [ + [ + 20.621, + 0 + ], + [ + 0, + -20.621 + ], + [ + -20.621, + 0 + ], + [ + 0, + 20.621 + ] + ], + "v": [ + [ + 0, + 37.338 + ], + [ + 37.338, + 0 + ], + [ + 0, + -37.338 + ], + [ + -37.338, + 0 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "st", + "c": { + "a": 0, + "k": [ + 0.40000000596, + 0.615686297417, + 0.964705884457, + 1 + ], + "ix": 3 + }, + "o": { + "a": 0, + "k": 100, + "ix": 4 + }, + "w": { + "a": 0, + "k": 2.764, + "ix": 5 + }, + "lc": 1, + "lj": 1, + "ml": 4, + "bm": 0, + "nm": "Stroke 1", + "mn": "ADBE Vector Graphic - Stroke", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 0.40000000596, + 0.615686297417, + 0.964705884457, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Vector", + "np": 3, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 1740, + "st": -60, + "ct": 1, + "bm": 0 + }, + { + "ddd": 0, + "ind": 2, + "ty": 4, + "nm": ".blue400", + "cl": "blue400", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 0, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 2.473, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 8.406, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 11.865, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 17.135, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 19.609, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 25.539, + "s": [ + 50 + ] + }, + { + "t": 29, + "s": [ + 0 + ] + } + ], + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + 290.934, + 149.934, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 0, + "s": [ + 90, + 90, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 4.943, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 8.406, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 11.865, + "s": [ + 90, + 90, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 17.135, + "s": [ + 90, + 90, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 22.078, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 25.539, + "s": [ + 100, + 100, + 100 + ] + }, + { + "t": 29, + "s": [ + 90, + 90, + 100 + ] + } + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + -31.444, + 0 + ], + [ + 0, + 31.444 + ], + [ + 31.444, + 0 + ], + [ + 0, + -31.444 + ] + ], + "o": [ + [ + 31.444, + 0 + ], + [ + 0, + -31.444 + ], + [ + -31.444, + 0 + ], + [ + 0, + 31.444 + ] + ], + "v": [ + [ + 0, + 56.934 + ], + [ + 56.934, + 0 + ], + [ + 0, + -56.934 + ], + [ + -56.934, + 0 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "st", + "c": { + "a": 0, + "k": [ + 0.40000000596, + 0.615686297417, + 0.964705884457, + 1 + ], + "ix": 3 + }, + "o": { + "a": 0, + "k": 100, + "ix": 4 + }, + "w": { + "a": 0, + "k": 2.764, + "ix": 5 + }, + "lc": 1, + "lj": 1, + "ml": 4, + "bm": 0, + "nm": "Stroke 1", + "mn": "ADBE Vector Graphic - Stroke", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 0.40000000596, + 0.615686297417, + 0.964705884457, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Vector", + "np": 3, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 1740, + "st": -60, + "ct": 1, + "bm": 0 + }, + { + "ddd": 0, + "ind": 3, + "ty": 4, + "nm": ".blue400", + "cl": "blue400", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 0.273, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 2.746, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 8.68, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 12.137, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 17.135, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 19.607, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 25.541, + "s": [ + 50 + ] + }, + { + "t": 29, + "s": [ + 0 + ] + } + ], + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + 121.932, + 149.932, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 0.273, + "s": [ + 150, + 150, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 5.219, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 8.68, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 12.137, + "s": [ + 150, + 150, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 17.135, + "s": [ + 150, + 150, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 22.08, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 25.541, + "s": [ + 100, + 100, + 100 + ] + }, + { + "t": 29, + "s": [ + 150, + 150, + 100 + ] + } + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + -20.621, + 0 + ], + [ + 0, + 20.621 + ], + [ + 20.621, + 0 + ], + [ + 0, + -20.621 + ] + ], + "o": [ + [ + 20.621, + 0 + ], + [ + 0, + -20.621 + ], + [ + -20.621, + 0 + ], + [ + 0, + 20.621 + ] + ], + "v": [ + [ + 0, + 37.338 + ], + [ + 37.338, + 0 + ], + [ + 0, + -37.338 + ], + [ + -37.338, + 0 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "st", + "c": { + "a": 0, + "k": [ + 0.40000000596, + 0.615686297417, + 0.964705884457, + 1 + ], + "ix": 3 + }, + "o": { + "a": 0, + "k": 100, + "ix": 4 + }, + "w": { + "a": 0, + "k": 2.764, + "ix": 5 + }, + "lc": 1, + "lj": 1, + "ml": 4, + "bm": 0, + "nm": "Stroke 1", + "mn": "ADBE Vector Graphic - Stroke", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 0.40000000596, + 0.615686297417, + 0.964705884457, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Vector", + "np": 3, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": -1, + "op": 1739, + "st": -61, + "ct": 1, + "bm": 0 + }, + { + "ddd": 0, + "ind": 4, + "ty": 4, + "nm": ".blue400", + "cl": "blue400", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 0.273, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 2.746, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 8.68, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 12.137, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 17.135, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 19.607, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 25.541, + "s": [ + 50 + ] + }, + { + "t": 29, + "s": [ + 0 + ] + } + ], + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + 121.934, + 149.934, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 0.273, + "s": [ + 90, + 90, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 5.219, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 8.68, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 12.137, + "s": [ + 90, + 90, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 17.135, + "s": [ + 90, + 90, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 22.08, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 25.541, + "s": [ + 100, + 100, + 100 + ] + }, + { + "t": 29, + "s": [ + 90, + 90, + 100 + ] + } + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + -31.444, + 0 + ], + [ + 0, + 31.444 + ], + [ + 31.444, + 0 + ], + [ + 0, + -31.444 + ] + ], + "o": [ + [ + 31.444, + 0 + ], + [ + 0, + -31.444 + ], + [ + -31.444, + 0 + ], + [ + 0, + 31.444 + ] + ], + "v": [ + [ + 0, + 56.934 + ], + [ + 56.934, + 0 + ], + [ + 0, + -56.934 + ], + [ + -56.934, + 0 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "st", + "c": { + "a": 0, + "k": [ + 0.40000000596, + 0.615686297417, + 0.964705884457, + 1 + ], + "ix": 3 + }, + "o": { + "a": 0, + "k": 100, + "ix": 4 + }, + "w": { + "a": 0, + "k": 2.764, + "ix": 5 + }, + "lc": 1, + "lj": 1, + "ml": 4, + "bm": 0, + "nm": "Stroke 1", + "mn": "ADBE Vector Graphic - Stroke", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 0.40000000596, + 0.615686297417, + 0.964705884457, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Vector", + "np": 3, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": -1, + "op": 1739, + "st": -61, + "ct": 1, + "bm": 0 + }, + { + "ddd": 0, + "ind": 5, + "ty": 4, + "nm": ".black", + "cl": "black", + "sr": 1, + "ks": { + "o": { + "a": 0, + "k": 100, + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + 206, + 150, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 0, + "k": [ + 100, + 100, + 100 + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + -15.3, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 15.5 + ], + [ + 0, + 0 + ], + [ + 15.2, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + -15.7 + ], + [ + 0, + 0 + ] + ], + "o": [ + [ + 0, + 0 + ], + [ + 15.3, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + -15.7 + ], + [ + 0, + 0 + ], + [ + -15.3, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 15.7 + ] + ], + "v": [ + [ + -178.2, + 150 + ], + [ + 178.2, + 150 + ], + [ + 206, + 121.7 + ], + [ + 206, + -121.5 + ], + [ + 178.3, + -150 + ], + [ + -178.2, + -150 + ], + [ + -206, + -121.5 + ], + [ + -206, + 121.5 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 0, + 0, + 0, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Vector", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 1800, + "st": 0, + "ct": 1, + "bm": 0 + } + ], + "markers": [ + { + "tm": 119, + "cm": "2", + "dr": 0 + }, + { + "tm": 240, + "cm": "1", + "dr": 0 + } + ], + "props": {} +} \ No newline at end of file diff --git a/res/raw/accessibility_shortcut_type_fab.json b/res/raw/accessibility_shortcut_type_fab.json new file mode 100644 index 00000000000..6029d918cf1 --- /dev/null +++ b/res/raw/accessibility_shortcut_type_fab.json @@ -0,0 +1,1506 @@ +{ + "v": "5.12.1", + "fr": 60, + "ip": 0, + "op": 181, + "w": 412, + "h": 300, + "nm": "Accessibility_Shortcut_export", + "ddd": 0, + "assets": [], + "layers": [ + { + "ddd": 0, + "ind": 1, + "ty": 3, + "nm": "Null 1", + "sr": 1, + "ks": { + "o": { + "a": 0, + "k": 0, + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 1, + "k": [ + { + "i": { + "x": 0.8, + "y": 0.15 + }, + "o": { + "x": 0.3, + "y": 0 + }, + "t": 30, + "s": [ + 412, + 154, + 0 + ], + "to": [ + 0, + 0.609, + 0 + ], + "ti": [ + 0, + 0, + 0 + ] + }, + { + "i": { + "x": 0.1, + "y": 1 + }, + "o": { + "x": 0.05, + "y": 0.7 + }, + "t": 35, + "s": [ + 412, + 178.4, + 0 + ], + "to": [ + 0, + 0, + 0 + ], + "ti": [ + 0, + -5.757, + 0 + ] + }, + { + "i": { + "x": 0.833, + "y": 0.833 + }, + "o": { + "x": 0.167, + "y": 0.167 + }, + "t": 60, + "s": [ + 412, + 215, + 0 + ], + "to": [ + 0, + 0, + 0 + ], + "ti": [ + 0, + 0, + 0 + ] + }, + { + "i": { + "x": 0.8, + "y": 0.15 + }, + "o": { + "x": 0.3, + "y": 0 + }, + "t": 120, + "s": [ + 412, + 215, + 0 + ], + "to": [ + 0, + -0.609, + 0 + ], + "ti": [ + 0, + 0, + 0 + ] + }, + { + "i": { + "x": 0.1, + "y": 1 + }, + "o": { + "x": 0.05, + "y": 0.7 + }, + "t": 125, + "s": [ + 412, + 190.6, + 0 + ], + "to": [ + 0, + 0, + 0 + ], + "ti": [ + 0, + 5.757, + 0 + ] + }, + { + "t": 150, + "s": [ + 412, + 154, + 0 + ] + } + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.8, + 0.8, + 0.8 + ], + "y": [ + 0.15, + 0.15, + 1 + ] + }, + "o": { + "x": [ + 0.3, + 0.3, + 0.3 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 30, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.1, + 0.1, + 0.1 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.05, + 0.05, + 0.05 + ], + "y": [ + 0.7, + 0.7, + 0 + ] + }, + "t": 35, + "s": [ + 79.2, + 79.2, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 60, + "s": [ + 48, + 48, + 100 + ] + }, + { + "i": { + "x": [ + 0.8, + 0.8, + 0.8 + ], + "y": [ + 0.15, + 0.15, + 1 + ] + }, + "o": { + "x": [ + 0.3, + 0.3, + 0.3 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 120, + "s": [ + 48, + 48, + 100 + ] + }, + { + "i": { + "x": [ + 0.1, + 0.1, + 0.1 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.05, + 0.05, + 0.05 + ], + "y": [ + 0.7, + 0.7, + 0 + ] + }, + "t": 125, + "s": [ + 68.8, + 68.8, + 100 + ] + }, + { + "t": 150, + "s": [ + 100, + 100, + 100 + ] + } + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "ip": 0, + "op": 600, + "st": 0, + "bm": 0 + }, + { + "ddd": 0, + "ind": 2, + "ty": 4, + "nm": ".grey200", + "cl": "grey200", + "parent": 3, + "sr": 1, + "ks": { + "o": { + "a": 0, + "k": 100, + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + -3, + -1, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 0, + "k": [ + 100, + 100, + 100 + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + -12.194, + 8.13 + ], + [ + -14.642, + -0.049 + ], + [ + -13.858, + -13.91 + ], + [ + 0, + -19.64 + ], + [ + 8.129, + -12.146 + ], + [ + 13.516, + -5.632 + ], + [ + 14.348, + 2.841 + ], + [ + 10.333, + 10.334 + ], + [ + 2.889, + 14.35 + ], + [ + -5.583, + 13.518 + ] + ], + "o": [ + [ + 12.194, + -8.13 + ], + [ + 19.637, + 0 + ], + [ + 13.858, + 13.861 + ], + [ + 0, + 14.595 + ], + [ + -8.129, + 12.195 + ], + [ + -13.516, + 5.583 + ], + [ + -14.348, + -2.89 + ], + [ + -10.333, + -10.383 + ], + [ + -2.889, + -14.35 + ], + [ + 5.583, + -13.518 + ] + ], + "v": [ + [ + -41.079, + -61.559 + ], + [ + 0.055, + -74 + ], + [ + 52.355, + -52.303 + ], + [ + 74, + 0.005 + ], + [ + 61.513, + 41.097 + ], + [ + 28.311, + 68.377 + ], + [ + -14.44, + 72.589 + ], + [ + -52.343, + 52.313 + ], + [ + -72.567, + 14.404 + ], + [ + -68.356, + -28.353 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ind": 1, + "ty": "sh", + "ix": 2, + "ks": { + "a": 0, + "k": { + "i": [ + [ + 1.322, + 1.469 + ], + [ + 1.959, + 0.147 + ], + [ + 1.028, + -0.343 + ], + [ + 0.784, + -0.735 + ], + [ + 0.441, + -0.98 + ], + [ + 0, + -1.077 + ], + [ + -0.441, + -0.98 + ], + [ + -0.784, + -0.735 + ], + [ + -1.028, + -0.343 + ], + [ + -1.077, + 0.049 + ], + [ + -1.322, + 1.42 + ], + [ + 0, + 1.959 + ] + ], + "o": [ + [ + -1.322, + -1.42 + ], + [ + -1.077, + -0.098 + ], + [ + -1.028, + 0.343 + ], + [ + -0.784, + 0.735 + ], + [ + -0.392, + 0.98 + ], + [ + 0, + 1.077 + ], + [ + 0.441, + 0.98 + ], + [ + 0.784, + 0.735 + ], + [ + 1.028, + 0.392 + ], + [ + 1.959, + -0.196 + ], + [ + 1.322, + -1.42 + ], + [ + 0, + -1.959 + ] + ], + "v": [ + [ + 5.148, + -35.895 + ], + [ + 0.055, + -38.344 + ], + [ + -3.128, + -37.952 + ], + [ + -5.87, + -36.336 + ], + [ + -7.731, + -33.741 + ], + [ + -8.367, + -30.605 + ], + [ + -7.731, + -27.471 + ], + [ + -5.87, + -24.875 + ], + [ + -3.128, + -23.259 + ], + [ + 0.055, + -22.819 + ], + [ + 5.148, + -25.317 + ], + [ + 7.205, + -30.605 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 2", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ind": 2, + "ty": "sh", + "ix": 3, + "ks": { + "a": 0, + "k": { + "i": [ + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + -7.688, + 1.959 + ], + [ + 0, + 0 + ], + [ + 21.645, + 5.143 + ], + [ + 0, + 0 + ], + [ + -7.835, + -0.637 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ] + ], + "o": [ + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 7.933, + -0.588 + ], + [ + 0, + 0 + ], + [ + -21.645, + 5.143 + ], + [ + 0, + 0 + ], + [ + 7.639, + 1.959 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ] + ], + "v": [ + [ + 11.661, + 39.187 + ], + [ + 11.661, + -11.211 + ], + [ + 11.465, + -11.211 + ], + [ + 34.922, + -15.08 + ], + [ + 33.012, + -22.819 + ], + [ + -32.901, + -22.819 + ], + [ + -34.86, + -15.08 + ], + [ + -11.6, + -11.211 + ], + [ + -11.6, + 39.138 + ], + [ + -3.862, + 39.138 + ], + [ + -3.862, + 15.874 + ], + [ + 3.924, + 15.874 + ], + [ + 3.924, + 39.187 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 3", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 0.909803921569, + 0.917647058824, + 0.929411764706, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Vector", + "np": 4, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 600, + "st": 0, + "ct": 1, + "bm": 0 + }, + { + "ddd": 0, + "ind": 3, + "ty": 4, + "nm": ".grey200", + "cl": "grey200", + "parent": 1, + "sr": 1, + "ks": { + "o": { + "a": 0, + "k": 100, + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 98, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 0, + "k": [ + 100, + 100, + 100 + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 17.884, + 17.997 + ], + [ + 0, + 25.479 + ], + [ + -17.884, + 17.997 + ], + [ + -25.32, + 0 + ], + [ + 0, + 0 + ] + ], + "o": [ + [ + 0, + 0 + ], + [ + -25.32, + 0 + ], + [ + -17.884, + -17.997 + ], + [ + 0, + -25.479 + ], + [ + 17.884, + -18.046 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ] + ], + "v": [ + [ + 98, + 96 + ], + [ + -2.6, + 96 + ], + [ + -70.056, + 67.88 + ], + [ + -98, + 0.001 + ], + [ + -70.056, + -67.88 + ], + [ + -2.6, + -96 + ], + [ + 98, + -96 + ] + ], + "c": false + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "st", + "c": { + "a": 0, + "k": [ + 0.909803921569, + 0.917647058824, + 0.929411764706, + 1 + ], + "ix": 3 + }, + "o": { + "a": 0, + "k": 100, + "ix": 4 + }, + "w": { + "a": 0, + "k": 4, + "ix": 5 + }, + "lc": 1, + "lj": 1, + "ml": 4, + "bm": 0, + "nm": "Stroke 1", + "mn": "ADBE Vector Graphic - Stroke", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Vector", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 600, + "st": 0, + "ct": 1, + "bm": 0 + }, + { + "ddd": 0, + "ind": 4, + "ty": 4, + "nm": ".black", + "cl": "black", + "sr": 1, + "ks": { + "o": { + "a": 0, + "k": 100, + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + 206, + 150, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 0, + "k": [ + 100, + 100, + 100 + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + -15.3, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 15.5 + ], + [ + 0, + 0 + ], + [ + 15.2, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + -15.7 + ], + [ + 0, + 0 + ] + ], + "o": [ + [ + 0, + 0 + ], + [ + 15.3, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + -15.7 + ], + [ + 0, + 0 + ], + [ + -15.3, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 15.7 + ] + ], + "v": [ + [ + -178.2, + 150 + ], + [ + 178.2, + 150 + ], + [ + 206, + 121.7 + ], + [ + 206, + -121.5 + ], + [ + 178.3, + -150 + ], + [ + -178.2, + -150 + ], + [ + -206, + -121.5 + ], + [ + -206, + 121.5 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 0, + 0, + 0, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Vector", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 600, + "st": 0, + "ct": 1, + "bm": 0 + } + ], + "markers": [], + "props": {} +} \ No newline at end of file diff --git a/res/raw/accessibility_shortcut_type_tripletap.json b/res/raw/accessibility_shortcut_type_tripletap.json new file mode 100644 index 00000000000..18f1736ae17 --- /dev/null +++ b/res/raw/accessibility_shortcut_type_tripletap.json @@ -0,0 +1,2817 @@ +{ + "v": "5.12.1", + "fr": 60, + "ip": 0, + "op": 135, + "w": 412, + "h": 300, + "nm": "Accessibility_Triple_Tap_v5_export", + "ddd": 0, + "assets": [], + "layers": [ + { + "ddd": 0, + "ind": 1, + "ty": 4, + "nm": ".blue400", + "cl": "blue400", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 0, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 1.832, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 9.623, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 11.91, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 16.543, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 18.377, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 26.164, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 28.457, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 33.09, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 34.922, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 42.711, + "s": [ + 50 + ] + }, + { + "t": 45, + "s": [ + 0 + ] + } + ], + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + 206.01, + 150.01, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 0, + "s": [ + 120, + 120, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 5.498, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 7.328, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 11.91, + "s": [ + 120, + 120, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 16.543, + "s": [ + 120, + 120, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 22.043, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 23.873, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 28.457, + "s": [ + 120, + 120, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 33.09, + "s": [ + 120, + 120, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 38.588, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 40.418, + "s": [ + 100, + 100, + 100 + ] + }, + { + "t": 45, + "s": [ + 120, + 120, + 100 + ] + } + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + -20.621, + 0 + ], + [ + 0, + 20.621 + ], + [ + 20.621, + 0 + ], + [ + 0, + -20.621 + ] + ], + "o": [ + [ + 20.621, + 0 + ], + [ + 0, + -20.621 + ], + [ + -20.621, + 0 + ], + [ + 0, + 20.621 + ] + ], + "v": [ + [ + 0, + 37.338 + ], + [ + 37.338, + 0 + ], + [ + 0, + -37.338 + ], + [ + -37.338, + 0 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "st", + "c": { + "a": 0, + "k": [ + 0.40000000596, + 0.615686297417, + 0.964705884457, + 1 + ], + "ix": 3 + }, + "o": { + "a": 0, + "k": 100, + "ix": 4 + }, + "w": { + "a": 0, + "k": 2.764, + "ix": 5 + }, + "lc": 1, + "lj": 1, + "ml": 4, + "bm": 0, + "nm": "Stroke 1", + "mn": "ADBE Vector Graphic - Stroke", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 0.40000000596, + 0.615686297417, + 0.964705884457, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Vector", + "np": 3, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 1800, + "st": 0, + "ct": 1, + "bm": 0 + }, + { + "ddd": 0, + "ind": 2, + "ty": 4, + "nm": ".blue400", + "cl": "blue400", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 0, + "s": [ + 1 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 1.832, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 9.623, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 11.91, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 16.543, + "s": [ + 1 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 18.377, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 26.164, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 28.457, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 33.09, + "s": [ + 1 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 34.922, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 42.711, + "s": [ + 50 + ] + }, + { + "t": 45, + "s": [ + 0 + ] + } + ], + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + 206.012, + 150.012, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 0, + "s": [ + 80, + 80, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 5.498, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 7.328, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 11.91, + "s": [ + 80, + 80, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 16.543, + "s": [ + 80, + 80, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 22.043, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 23.873, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 28.457, + "s": [ + 80, + 80, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 33.09, + "s": [ + 80, + 80, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 38.588, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 40.418, + "s": [ + 100, + 100, + 100 + ] + }, + { + "t": 45, + "s": [ + 80, + 80, + 100 + ] + } + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + -31.444, + 0 + ], + [ + 0, + 31.444 + ], + [ + 31.444, + 0 + ], + [ + 0, + -31.444 + ] + ], + "o": [ + [ + 31.444, + 0 + ], + [ + 0, + -31.444 + ], + [ + -31.444, + 0 + ], + [ + 0, + 31.444 + ] + ], + "v": [ + [ + 0, + 56.934 + ], + [ + 56.934, + 0 + ], + [ + 0, + -56.934 + ], + [ + -56.934, + 0 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "st", + "c": { + "a": 0, + "k": [ + 0.40000000596, + 0.615686297417, + 0.964705884457, + 1 + ], + "ix": 3 + }, + "o": { + "a": 0, + "k": 100, + "ix": 4 + }, + "w": { + "a": 0, + "k": 2.764, + "ix": 5 + }, + "lc": 1, + "lj": 1, + "ml": 4, + "bm": 0, + "nm": "Stroke 1", + "mn": "ADBE Vector Graphic - Stroke", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 0.40000000596, + 0.615686297417, + 0.964705884457, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Vector", + "np": 3, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 1800, + "st": 0, + "ct": 1, + "bm": 0 + }, + { + "ddd": 0, + "ind": 3, + "ty": 4, + "nm": ".blue400", + "cl": "blue400", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 0, + "s": [ + 1 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 1.832, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 9.623, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 11.91, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 16.543, + "s": [ + 1 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 18.377, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 26.164, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 28.457, + "s": [ + 0 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 33.09, + "s": [ + 1 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 34.922, + "s": [ + 50 + ] + }, + { + "i": { + "x": [ + 0.833 + ], + "y": [ + 0.833 + ] + }, + "o": { + "x": [ + 0.167 + ], + "y": [ + 0.167 + ] + }, + "t": 42.711, + "s": [ + 50 + ] + }, + { + "t": 45, + "s": [ + 0 + ] + } + ], + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + 206, + 150, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 1, + "k": [ + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 0, + "s": [ + 60, + 60, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 5.498, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 7.328, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 11.91, + "s": [ + 60, + 60, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 16.543, + "s": [ + 60, + 60, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 22.043, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 23.873, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 28.457, + "s": [ + 60, + 60, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 33.09, + "s": [ + 60, + 60, + 100 + ] + }, + { + "i": { + "x": [ + 0.833, + 0.833, + 0.833 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.333, + 0.333, + 0.333 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 38.588, + "s": [ + 100, + 100, + 100 + ] + }, + { + "i": { + "x": [ + 0.667, + 0.667, + 0.667 + ], + "y": [ + 1, + 1, + 1 + ] + }, + "o": { + "x": [ + 0.167, + 0.167, + 0.167 + ], + "y": [ + 0, + 0, + 0 + ] + }, + "t": 40.418, + "s": [ + 100, + 100, + 100 + ] + }, + { + "t": 45, + "s": [ + 60, + 60, + 100 + ] + } + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + -41.974, + 0 + ], + [ + 0, + 41.974 + ], + [ + 41.974, + 0 + ], + [ + 0, + -41.974 + ] + ], + "o": [ + [ + 41.974, + 0 + ], + [ + 0, + -41.974 + ], + [ + -41.974, + 0 + ], + [ + 0, + 41.974 + ] + ], + "v": [ + [ + 0, + 76 + ], + [ + 76, + 0 + ], + [ + 0, + -76 + ], + [ + -76, + 0 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "st", + "c": { + "a": 0, + "k": [ + 0.40000000596, + 0.615686297417, + 0.964705884457, + 1 + ], + "ix": 3 + }, + "o": { + "a": 0, + "k": 100, + "ix": 4 + }, + "w": { + "a": 0, + "k": 2.764, + "ix": 5 + }, + "lc": 1, + "lj": 1, + "ml": 4, + "bm": 0, + "nm": "Stroke 1", + "mn": "ADBE Vector Graphic - Stroke", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 0.40000000596, + 0.615686297417, + 0.964705884457, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Vector", + "np": 3, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 1800, + "st": 0, + "ct": 1, + "bm": 0 + }, + { + "ddd": 0, + "ind": 4, + "ty": 4, + "nm": ".black", + "cl": "black", + "sr": 1, + "ks": { + "o": { + "a": 0, + "k": 100, + "ix": 11 + }, + "r": { + "a": 0, + "k": 0, + "ix": 10 + }, + "p": { + "a": 0, + "k": [ + 206, + 150, + 0 + ], + "ix": 2, + "l": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0, + 0 + ], + "ix": 1, + "l": 2 + }, + "s": { + "a": 0, + "k": [ + 100, + 100, + 100 + ], + "ix": 6, + "l": 2 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [ + -15.3, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 15.5 + ], + [ + 0, + 0 + ], + [ + 15.2, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + -15.7 + ], + [ + 0, + 0 + ] + ], + "o": [ + [ + 0, + 0 + ], + [ + 15.3, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + -15.7 + ], + [ + 0, + 0 + ], + [ + -15.3, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 15.7 + ] + ], + "v": [ + [ + -178.2, + 150 + ], + [ + 178.2, + 150 + ], + [ + 206, + 121.7 + ], + [ + 206, + -121.5 + ], + [ + 178.3, + -150 + ], + [ + -178.2, + -150 + ], + [ + -206, + -121.5 + ], + [ + -206, + 121.5 + ] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [ + 0, + 0, + 0, + 1 + ], + "ix": 4 + }, + "o": { + "a": 0, + "k": 100, + "ix": 5 + }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 2 + }, + "a": { + "a": 0, + "k": [ + 0, + 0 + ], + "ix": 1 + }, + "s": { + "a": 0, + "k": [ + 100, + 100 + ], + "ix": 3 + }, + "r": { + "a": 0, + "k": 0, + "ix": 6 + }, + "o": { + "a": 0, + "k": 100, + "ix": 7 + }, + "sk": { + "a": 0, + "k": 0, + "ix": 4 + }, + "sa": { + "a": 0, + "k": 0, + "ix": 5 + }, + "nm": "Transform" + } + ], + "nm": "Vector", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 1800, + "st": 0, + "ct": 1, + "bm": 0 + } + ], + "markers": [ + { + "tm": 135, + "cm": "1", + "dr": 0 + } + ], + "props": {} +} \ No newline at end of file diff --git a/src/com/android/settings/accessibility/AccessibilityButtonPreviewPreferenceController.java b/src/com/android/settings/accessibility/AccessibilityButtonPreviewPreferenceController.java index 22552eaaf19..e9838a709e0 100644 --- a/src/com/android/settings/accessibility/AccessibilityButtonPreviewPreferenceController.java +++ b/src/com/android/settings/accessibility/AccessibilityButtonPreviewPreferenceController.java @@ -46,7 +46,6 @@ public class AccessibilityButtonPreviewPreferenceController extends BasePreferen private final ContentResolver mContentResolver; @VisibleForTesting final ContentObserver mContentObserver; - private AccessibilityLayerDrawable mAccessibilityPreviewDrawable; @VisibleForTesting IllustrationPreference mIllustrationPreference; @@ -108,34 +107,23 @@ public class AccessibilityButtonPreviewPreferenceController extends BasePreferen if (AccessibilityUtil.isFloatingMenuEnabled(mContext)) { final int size = Settings.Secure.getInt(mContentResolver, Settings.Secure.ACCESSIBILITY_FLOATING_MENU_SIZE, DEFAULT_SIZE); + // The alpha range when set on a drawable is [0-255] final int opacity = (int) (Settings.Secure.getFloat(mContentResolver, - Settings.Secure.ACCESSIBILITY_FLOATING_MENU_OPACITY, DEFAULT_OPACITY) * 100); + Settings.Secure.ACCESSIBILITY_FLOATING_MENU_OPACITY, DEFAULT_OPACITY) * 255); final int floatingMenuIconId = (size == SMALL_SIZE) - ? R.drawable.a11y_button_preview_small_floating_menu - : R.drawable.a11y_button_preview_large_floating_menu; - mIllustrationPreference.setImageDrawable( - getAccessibilityPreviewDrawable(floatingMenuIconId, opacity)); + ? R.drawable.accessibility_shortcut_type_fab_size_small_preview + : R.drawable.accessibility_shortcut_type_fab_size_large_preview; + Drawable fabDrawable = mContext.getDrawable(floatingMenuIconId); + fabDrawable.setAlpha(opacity); + mIllustrationPreference.setImageDrawable(fabDrawable); } else if (AccessibilityUtil.isGestureNavigateEnabled(mContext)) { mIllustrationPreference.setImageDrawable(mContext.getDrawable( AccessibilityUtil.isTouchExploreEnabled(mContext) - ? R.drawable.a11y_button_preview_three_finger - : R.drawable.a11y_button_preview_two_finger)); + ? R.drawable.accessibility_shortcut_type_gesture_touch_explore_on + : R.drawable.accessibility_shortcut_type_gesture)); } else { mIllustrationPreference.setImageDrawable( - mContext.getDrawable(R.drawable.a11y_button_navigation)); + mContext.getDrawable(R.drawable.accessibility_shortcut_type_navbar)); } } - - private Drawable getAccessibilityPreviewDrawable(int resId, int opacity) { - if (mAccessibilityPreviewDrawable == null) { - mAccessibilityPreviewDrawable = AccessibilityLayerDrawable.createLayerDrawable( - mContext, resId, opacity); - } else { - mAccessibilityPreviewDrawable.updateLayerDrawable(mContext, resId, opacity); - // Only change alpha (opacity) value did not change drawable id. It needs to force to - // redraw. - mAccessibilityPreviewDrawable.invalidateSelf(); - } - return mAccessibilityPreviewDrawable; - } } diff --git a/src/com/android/settings/accessibility/AccessibilityLayerDrawable.java b/src/com/android/settings/accessibility/AccessibilityLayerDrawable.java deleted file mode 100644 index 8b4fd02b346..00000000000 --- a/src/com/android/settings/accessibility/AccessibilityLayerDrawable.java +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Copyright (C) 2021 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. - */ - -package com.android.settings.accessibility; - -import android.content.Context; -import android.graphics.drawable.Drawable; -import android.graphics.drawable.LayerDrawable; - -import androidx.annotation.NonNull; -import androidx.annotation.VisibleForTesting; - -import com.android.settings.R; - -import java.util.Objects; - -/** LayerDrawable that contains device icon as background and given icon as foreground. */ -public class AccessibilityLayerDrawable extends LayerDrawable { - - private AccessibilityLayerDrawableState mState; - - /** - * Creates a new layer drawable with the list of specified layers. - * - * @param layers a list of drawables to use as layers in this new drawable, - * must be non-null - */ - private AccessibilityLayerDrawable(@NonNull Drawable[] layers) { - super(layers); - } - - /** - * Create the {@link LayerDrawable} that contains device icon as background and given menu icon - * with given {@code opacity} value as foreground. - * - * @param context the valid context used to get the icon - * @param resId the resource ID of the given icon - * @param opacity the opacity to apply to the given icon - * @return the drawable that combines the device icon and the given icon - */ - public static AccessibilityLayerDrawable createLayerDrawable(Context context, int resId, - int opacity) { - final Drawable bg = context.getDrawable(R.drawable.a11y_button_preview_base); - final AccessibilityLayerDrawable basicDrawable = new AccessibilityLayerDrawable( - new Drawable[]{bg, null}); - - basicDrawable.updateLayerDrawable(context, resId, opacity); - return basicDrawable; - } - - /** - * Update the drawable with given {@code resId} drawable and {@code opacity}(alpha) - * value at index 1 layer. - * - * @param context the valid context used to get the icon - * @param resId the resource ID of the given icon - * @param opacity the opacity to apply to the given icon - */ - public void updateLayerDrawable(Context context, int resId, int opacity) { - final Drawable icon = context.getDrawable(resId); - icon.setAlpha(opacity); - this.setDrawable(/* index= */ 1, icon); - this.setConstantState(context, resId, opacity); - } - - @Override - public ConstantState getConstantState() { - return mState; - } - - /** Stores the constant state and data to the given drawable. */ - private void setConstantState(Context context, int resId, int opacity) { - mState = new AccessibilityLayerDrawableState(context, resId, opacity); - } - - /** {@link ConstantState} to store the data of {@link AccessibilityLayerDrawable}. */ - @VisibleForTesting - static class AccessibilityLayerDrawableState extends ConstantState { - - private final Context mContext; - private final int mResId; - private final int mOpacity; - - AccessibilityLayerDrawableState(Context context, int resId, int opacity) { - mContext = context; - mResId = resId; - mOpacity = opacity; - } - - @NonNull - @Override - public Drawable newDrawable() { - return createLayerDrawable(mContext, mResId, mOpacity); - } - - @Override - public int getChangingConfigurations() { - return 0; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - final AccessibilityLayerDrawableState that = (AccessibilityLayerDrawableState) o; - return mResId == that.mResId - && mOpacity == that.mOpacity - && Objects.equals(mContext, that.mContext); - } - - @Override - public int hashCode() { - return Objects.hash(mContext, mResId, mOpacity); - } - } -} diff --git a/src/com/android/settings/accessibility/AccessibilityShortcutsTutorial.java b/src/com/android/settings/accessibility/AccessibilityShortcutsTutorial.java index 306bba75580..e286c63f0ce 100644 --- a/src/com/android/settings/accessibility/AccessibilityShortcutsTutorial.java +++ b/src/com/android/settings/accessibility/AccessibilityShortcutsTutorial.java @@ -246,8 +246,9 @@ public final class AccessibilityShortcutsTutorial { final ImageView imageView = view.findViewById(R.id.image); final int gestureSettingsImageResId = - isTouchExploreEnabled ? R.drawable.a11y_gesture_navigation_three_finger_preview - : R.drawable.a11y_gesture_navigation_two_finger_preview; + isTouchExploreEnabled + ? R.drawable.accessibility_shortcut_type_gesture_preview_touch_explore_on + : R.drawable.accessibility_shortcut_type_gesture_preview; imageView.setImageResource(gestureSettingsImageResId); final TextView textView = view.findViewById(R.id.gesture_tutorial_message); @@ -408,7 +409,7 @@ public final class AccessibilityShortcutsTutorial { final CharSequence title = context.getText(R.string.accessibility_tutorial_dialog_title_volume); final View image = - createIllustrationView(context, R.drawable.a11y_shortcut_type_hardware); + createIllustrationView(context, R.drawable.accessibility_shortcut_type_volume_keys); final ImageView indicatorIcon = createImageView(context, R.drawable.ic_accessibility_page_indicator); final CharSequence instruction = @@ -424,7 +425,7 @@ public final class AccessibilityShortcutsTutorial { context.getText(R.string.accessibility_tutorial_dialog_title_triple); final View image = createIllustrationViewWithImageRawResource(context, - R.raw.a11y_shortcut_type_triple_tap); + R.raw.accessibility_shortcut_type_tripletap); final CharSequence instruction = context.getString( R.string.accessibility_tutorial_dialog_tripletap_instruction, 3); final ImageView indicatorIcon = @@ -439,10 +440,9 @@ public final class AccessibilityShortcutsTutorial { final int numFingers = 2; final CharSequence title = context.getString( R.string.accessibility_tutorial_dialog_title_two_finger_double, numFingers); - // TODO(b/308088945): Update tutorial image when UX provides them final View image = createIllustrationViewWithImageRawResource(context, - R.raw.a11y_shortcut_type_triple_tap); + R.raw.accessibility_shortcut_type_2finger_doubletap); final CharSequence instruction = context.getString( R.string.accessibility_tutorial_dialog_twofinger_doubletap_instruction, numFingers); final ImageView indicatorIcon = @@ -459,7 +459,7 @@ public final class AccessibilityShortcutsTutorial { context.getText(R.string.accessibility_tutorial_dialog_title_quick_setting); final View image = createIllustrationView(context, - R.drawable.a11y_shortcut_type_quick_settings); + R.drawable.accessibility_shortcut_type_quick_settings); // Remove the unneeded background, since the main image already includes a background image.findViewById(R.id.image_background).setVisibility(GONE); final int numFingers = AccessibilityUtil.isTouchExploreEnabled(context) ? 2 : 1; @@ -526,13 +526,14 @@ public final class AccessibilityShortcutsTutorial { private static View createSoftwareImage(Context context) { int resId; if (AccessibilityUtil.isFloatingMenuEnabled(context)) { - resId = R.drawable.a11y_shortcut_type_software_floating; + return createIllustrationViewWithImageRawResource( + context, R.raw.accessibility_shortcut_type_fab); } else if (AccessibilityUtil.isGestureNavigateEnabled(context)) { resId = AccessibilityUtil.isTouchExploreEnabled(context) - ? R.drawable.a11y_shortcut_type_software_gesture_talkback - : R.drawable.a11y_shortcut_type_software_gesture; + ? R.drawable.accessibility_shortcut_type_gesture_touch_explore_on + : R.drawable.accessibility_shortcut_type_gesture; } else { - resId = R.drawable.a11y_shortcut_type_software; + resId = R.drawable.accessibility_shortcut_type_navbar; } return createIllustrationView(context, resId); } diff --git a/src/com/android/settings/accessibility/ToggleScreenMagnificationPreferenceFragment.java b/src/com/android/settings/accessibility/ToggleScreenMagnificationPreferenceFragment.java index f804e332664..fc75cded3d1 100644 --- a/src/com/android/settings/accessibility/ToggleScreenMagnificationPreferenceFragment.java +++ b/src/com/android/settings/accessibility/ToggleScreenMagnificationPreferenceFragment.java @@ -60,6 +60,7 @@ import com.android.settings.accessibility.AccessibilityUtil.UserShortcutType; import com.android.settings.accessibility.shortcuts.EditShortcutsPreferenceFragment; import com.android.settings.utils.LocaleUtils; import com.android.settingslib.core.AbstractPreferenceController; +import com.android.settingslib.widget.IllustrationPreference; import com.google.android.setupcompat.util.WizardManagerHelper; @@ -130,6 +131,11 @@ public class ToggleScreenMagnificationPreferenceFragment extends @Override public void onResume() { super.onResume(); + final IllustrationPreference illustrationPreference = + getPreferenceScreen().findPreference(KEY_ANIMATED_IMAGE); + if (illustrationPreference != null) { + illustrationPreference.applyDynamicColor(); + } final AccessibilityManager am = getPrefContext().getSystemService( AccessibilityManager.class); diff --git a/src/com/android/settings/accessibility/shortcuts/FloatingButtonShortcutOptionController.java b/src/com/android/settings/accessibility/shortcuts/FloatingButtonShortcutOptionController.java index f3c427a4f20..2242cabba8a 100644 --- a/src/com/android/settings/accessibility/shortcuts/FloatingButtonShortcutOptionController.java +++ b/src/com/android/settings/accessibility/shortcuts/FloatingButtonShortcutOptionController.java @@ -44,8 +44,7 @@ public class FloatingButtonShortcutOptionController if (preference instanceof ShortcutOptionPreference shortcutOptionPreference) { shortcutOptionPreference.setTitle( R.string.accessibility_shortcut_edit_dialog_title_software); - shortcutOptionPreference.setIntroImageResId( - R.drawable.a11y_shortcut_type_software_floating); + shortcutOptionPreference.setIntroImageRawResId(R.raw.accessibility_shortcut_type_fab); } } diff --git a/src/com/android/settings/accessibility/shortcuts/GestureShortcutOptionController.java b/src/com/android/settings/accessibility/shortcuts/GestureShortcutOptionController.java index 7ea30b6a0ff..e65aab9a14a 100644 --- a/src/com/android/settings/accessibility/shortcuts/GestureShortcutOptionController.java +++ b/src/com/android/settings/accessibility/shortcuts/GestureShortcutOptionController.java @@ -45,8 +45,8 @@ public class GestureShortcutOptionController extends SoftwareShortcutOptionPrefe R.string.accessibility_shortcut_edit_dialog_title_software_by_gesture); int resId = AccessibilityUtil.isTouchExploreEnabled(mContext) - ? R.drawable.a11y_shortcut_type_software_gesture_talkback - : R.drawable.a11y_shortcut_type_software_gesture; + ? R.drawable.accessibility_shortcut_type_gesture_touch_explore_on + : R.drawable.accessibility_shortcut_type_gesture; shortcutOptionPreference.setIntroImageResId(resId); } } diff --git a/src/com/android/settings/accessibility/shortcuts/NavButtonShortcutOptionController.java b/src/com/android/settings/accessibility/shortcuts/NavButtonShortcutOptionController.java index 32c8da2e7ac..9f8f0ffbd67 100644 --- a/src/com/android/settings/accessibility/shortcuts/NavButtonShortcutOptionController.java +++ b/src/com/android/settings/accessibility/shortcuts/NavButtonShortcutOptionController.java @@ -47,7 +47,8 @@ public class NavButtonShortcutOptionController extends SoftwareShortcutOptionPre if (preference instanceof ShortcutOptionPreference shortcutOptionPreference) { shortcutOptionPreference.setTitle( R.string.accessibility_shortcut_edit_dialog_title_software); - shortcutOptionPreference.setIntroImageResId(R.drawable.a11y_shortcut_type_software); + shortcutOptionPreference.setIntroImageResId( + R.drawable.accessibility_shortcut_type_navbar); shortcutOptionPreference.setSummaryProvider( new Preference.SummaryProvider() { @Override diff --git a/src/com/android/settings/accessibility/shortcuts/QuickSettingsShortcutOptionController.java b/src/com/android/settings/accessibility/shortcuts/QuickSettingsShortcutOptionController.java index f96e1b02b80..eeecd1f3050 100644 --- a/src/com/android/settings/accessibility/shortcuts/QuickSettingsShortcutOptionController.java +++ b/src/com/android/settings/accessibility/shortcuts/QuickSettingsShortcutOptionController.java @@ -65,7 +65,7 @@ public class QuickSettingsShortcutOptionController extends ShortcutOptionPrefere shortcutOptionPreference.setTitle( R.string.accessibility_shortcut_edit_dialog_title_quick_settings); shortcutOptionPreference.setIntroImageResId( - R.drawable.a11y_shortcut_type_quick_settings); + R.drawable.accessibility_shortcut_type_quick_settings); } } diff --git a/src/com/android/settings/accessibility/shortcuts/ShortcutOptionPreference.java b/src/com/android/settings/accessibility/shortcuts/ShortcutOptionPreference.java index 53d84b3e02b..26855d55bd3 100644 --- a/src/com/android/settings/accessibility/shortcuts/ShortcutOptionPreference.java +++ b/src/com/android/settings/accessibility/shortcuts/ShortcutOptionPreference.java @@ -97,7 +97,7 @@ public class ShortcutOptionPreference extends CheckBoxPreference { result)); imageView.setAnimation(mIntroImageRawResId); imageView.setRepeatCount(LottieDrawable.INFINITE); - LottieColorUtils.applyDynamicColors(getContext(), imageView); + LottieColorUtils.applyDynamicColors(imageView.getContext(), imageView); imageView.playAnimation(); } else { imageView.setImageResource(mIntroImageResId); diff --git a/src/com/android/settings/accessibility/shortcuts/TripleTapShortcutOptionController.java b/src/com/android/settings/accessibility/shortcuts/TripleTapShortcutOptionController.java index a4cc70bc2e4..bdec9a6f290 100644 --- a/src/com/android/settings/accessibility/shortcuts/TripleTapShortcutOptionController.java +++ b/src/com/android/settings/accessibility/shortcuts/TripleTapShortcutOptionController.java @@ -57,7 +57,7 @@ public class TripleTapShortcutOptionController extends ShortcutOptionPreferenceC shortcutOptionPreference.setSummary(summary); shortcutOptionPreference.setIntroImageRawResId( - R.raw.a11y_shortcut_type_triple_tap); + R.raw.accessibility_shortcut_type_tripletap); } } diff --git a/src/com/android/settings/accessibility/shortcuts/TwoFingerDoubleTapShortcutOptionController.java b/src/com/android/settings/accessibility/shortcuts/TwoFingerDoubleTapShortcutOptionController.java index 0fc9f8e9508..26e8386efbc 100644 --- a/src/com/android/settings/accessibility/shortcuts/TwoFingerDoubleTapShortcutOptionController.java +++ b/src/com/android/settings/accessibility/shortcuts/TwoFingerDoubleTapShortcutOptionController.java @@ -63,9 +63,8 @@ public class TwoFingerDoubleTapShortcutOptionController numFingers); shortcutOptionPreference.setSummary(summary); - // TODO (b/306153204): Update shortcut image when UX provides them shortcutOptionPreference.setIntroImageRawResId( - R.raw.a11y_shortcut_type_triple_tap); + R.raw.accessibility_shortcut_type_2finger_doubletap); } } diff --git a/src/com/android/settings/accessibility/shortcuts/VolumeKeysShortcutOptionController.java b/src/com/android/settings/accessibility/shortcuts/VolumeKeysShortcutOptionController.java index e8e261cc790..f3da35b66da 100644 --- a/src/com/android/settings/accessibility/shortcuts/VolumeKeysShortcutOptionController.java +++ b/src/com/android/settings/accessibility/shortcuts/VolumeKeysShortcutOptionController.java @@ -53,7 +53,7 @@ public class VolumeKeysShortcutOptionController extends ShortcutOptionPreference shortcutOptionPreference.setSummary( R.string.accessibility_shortcut_edit_dialog_summary_hardware); shortcutOptionPreference.setIntroImageResId( - R.drawable.a11y_shortcut_type_hardware); + R.drawable.accessibility_shortcut_type_volume_keys); } } diff --git a/src/com/android/settings/biometrics/face/FaceSettings.java b/src/com/android/settings/biometrics/face/FaceSettings.java index 061487aa5f1..8884ce36253 100644 --- a/src/com/android/settings/biometrics/face/FaceSettings.java +++ b/src/com/android/settings/biometrics/face/FaceSettings.java @@ -19,6 +19,7 @@ package com.android.settings.biometrics.face; import static android.app.Activity.RESULT_OK; import static android.app.admin.DevicePolicyResources.Strings.Settings.FACE_SETTINGS_FOR_WORK_TITLE; +import static com.android.settings.Utils.isPrivateProfile; import static com.android.settings.biometrics.BiometricEnrollBase.CONFIRM_REQUEST; import static com.android.settings.biometrics.BiometricEnrollBase.ENROLL_REQUEST; import static com.android.settings.biometrics.BiometricEnrollBase.RESULT_FINISHED; @@ -172,6 +173,10 @@ public class FaceSettings extends DashboardFragment { mDevicePolicyManager.getResources().getString(FACE_SETTINGS_FOR_WORK_TITLE, () -> getActivity().getResources().getString( R.string.security_settings_face_profile_preference_title))); + } else if (isPrivateProfile(mUserId, getContext())) { + getActivity().setTitle( + getActivity().getResources().getString( + R.string.private_space_face_unlock_title)); } mLockscreenController = Utils.isMultipleBiometricsSupported(context) diff --git a/src/com/android/settings/biometrics/fingerprint/FingerprintSettings.java b/src/com/android/settings/biometrics/fingerprint/FingerprintSettings.java index 76511769ecf..db87c0facac 100644 --- a/src/com/android/settings/biometrics/fingerprint/FingerprintSettings.java +++ b/src/com/android/settings/biometrics/fingerprint/FingerprintSettings.java @@ -22,6 +22,7 @@ import static android.app.admin.DevicePolicyResources.Strings.Settings.WORK_PROF import static android.app.admin.DevicePolicyResources.UNDEFINED; import static com.android.settings.Utils.SETTINGS_PACKAGE_NAME; +import static com.android.settings.Utils.isPrivateProfile; import static com.android.settings.biometrics.BiometricEnrollBase.EXTRA_FROM_SETTINGS_SUMMARY; import static com.android.settings.biometrics.BiometricEnrollBase.EXTRA_KEY_CHALLENGE; @@ -127,7 +128,10 @@ public class FingerprintSettings extends SubSettings { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - CharSequence msg = getText(R.string.security_settings_fingerprint_preference_title); + final int userId = getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); + CharSequence msg = getText(isPrivateProfile(userId, this) + ? R.string.private_space_fingerprint_unlock_title + : R.string.security_settings_fingerprint_preference_title); setTitle(msg); } diff --git a/src/com/android/settings/connecteddevice/AvailableMediaDeviceGroupController.java b/src/com/android/settings/connecteddevice/AvailableMediaDeviceGroupController.java index d64bcbb6c2c..420fb970f11 100644 --- a/src/com/android/settings/connecteddevice/AvailableMediaDeviceGroupController.java +++ b/src/com/android/settings/connecteddevice/AvailableMediaDeviceGroupController.java @@ -17,6 +17,7 @@ package com.android.settings.connecteddevice; import static com.android.settingslib.Utils.isAudioModeOngoingCall; +import android.app.settings.SettingsEnums; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothLeBroadcast; import android.bluetooth.BluetoothLeBroadcastAssistant; @@ -47,6 +48,7 @@ import com.android.settings.connecteddevice.audiosharing.AudioSharingDialogHandl import com.android.settings.connecteddevice.audiosharing.AudioSharingUtils; import com.android.settings.core.BasePreferenceController; import com.android.settings.dashboard.DashboardFragment; +import com.android.settings.overlay.FeatureFactory; import com.android.settingslib.bluetooth.BluetoothCallback; import com.android.settingslib.bluetooth.BluetoothUtils; import com.android.settingslib.bluetooth.CachedBluetoothDevice; @@ -279,6 +281,8 @@ public class AvailableMediaDeviceGroupController extends BasePreferenceControlle ((BluetoothDevicePreference) preference).getBluetoothDevice(); if (AudioSharingUtils.isFeatureEnabled() && mDialogHandler != null) { mDialogHandler.handleDeviceConnected(cachedDevice, /* userTriggered= */ true); + FeatureFactory.getFeatureFactory().getMetricsFeatureProvider() + .action(mContext, SettingsEnums.ACTION_MEDIA_DEVICE_CLICK); } else { cachedDevice.setActive(); } diff --git a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingBluetoothDeviceUpdater.java b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingBluetoothDeviceUpdater.java index 50517fb4692..4d7e6991589 100644 --- a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingBluetoothDeviceUpdater.java +++ b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingBluetoothDeviceUpdater.java @@ -16,6 +16,7 @@ package com.android.settings.connecteddevice.audiosharing; +import android.app.settings.SettingsEnums; import android.content.Context; import android.util.Log; @@ -70,6 +71,7 @@ public class AudioSharingBluetoothDeviceUpdater extends BluetoothDeviceUpdater @Override public boolean onPreferenceClick(Preference preference) { mMetricsFeatureProvider.logClickedPreference(preference, mMetricsCategory); + mMetricsFeatureProvider.action(mContext, SettingsEnums.ACTION_AUDIO_SHARING_DEVICE_CLICK); return true; } diff --git a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCallAudioDialogFragment.java b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCallAudioDialogFragment.java index db82619ca60..75b4acf8636 100644 --- a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCallAudioDialogFragment.java +++ b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCallAudioDialogFragment.java @@ -51,7 +51,7 @@ public class AudioSharingCallAudioDialogFragment extends InstrumentedDialogFragm @Override public int getMetricsCategory() { - return SettingsEnums.DIALOG_AUDIO_SHARING_SWITCH_ACTIVE; + return SettingsEnums.DIALOG_AUDIO_SHARING_CALL_AUDIO; } /** diff --git a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCompatibilityPreferenceController.java b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCompatibilityPreferenceController.java index 84b769d0581..d2f23edfe8a 100644 --- a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCompatibilityPreferenceController.java +++ b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCompatibilityPreferenceController.java @@ -16,6 +16,7 @@ package com.android.settings.connecteddevice.audiosharing; +import android.app.settings.SettingsEnums; import android.bluetooth.BluetoothLeBroadcast; import android.bluetooth.BluetoothLeBroadcastMetadata; import android.content.Context; @@ -32,9 +33,11 @@ import androidx.preference.TwoStatePreference; import com.android.settings.R; import com.android.settings.bluetooth.Utils; import com.android.settings.core.TogglePreferenceController; +import com.android.settings.overlay.FeatureFactory; import com.android.settingslib.bluetooth.LocalBluetoothLeBroadcast; import com.android.settingslib.bluetooth.LocalBluetoothManager; import com.android.settingslib.bluetooth.LocalBluetoothProfileManager; +import com.android.settingslib.core.instrumentation.MetricsFeatureProvider; import com.android.settingslib.utils.ThreadUtils; import java.util.concurrent.Executor; @@ -53,6 +56,7 @@ public class AudioSharingCompatibilityPreferenceController extends TogglePrefere @Nullable private final LocalBluetoothLeBroadcast mBroadcast; @Nullable private TwoStatePreference mPreference; private final Executor mExecutor; + private final MetricsFeatureProvider mMetricsFeatureProvider; private AtomicBoolean mCallbacksRegistered = new AtomicBoolean(false); private final BluetoothLeBroadcast.Callback mBroadcastCallback = @@ -108,6 +112,7 @@ public class AudioSharingCompatibilityPreferenceController extends TogglePrefere mProfileManager = mBtManager == null ? null : mBtManager.getProfileManager(); mBroadcast = mProfileManager == null ? null : mProfileManager.getLeAudioBroadcastProfile(); mExecutor = Executors.newSingleThreadExecutor(); + mMetricsFeatureProvider = FeatureFactory.getFeatureFactory().getMetricsFeatureProvider(); } @Override @@ -178,6 +183,8 @@ public class AudioSharingCompatibilityPreferenceController extends TogglePrefere } mBroadcast.setImproveCompatibility(isChecked); // TODO: call updateBroadcast once framework change ready. + mMetricsFeatureProvider.action( + mContext, SettingsEnums.ACTION_AUDIO_SHARING_IMPROVE_COMPATIBILITY, isChecked); return true; } diff --git a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingConfirmDialogFragment.java b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingConfirmDialogFragment.java index 9dd466d2def..e9013d7d6c2 100644 --- a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingConfirmDialogFragment.java +++ b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingConfirmDialogFragment.java @@ -17,6 +17,7 @@ package com.android.settings.connecteddevice.audiosharing; import android.app.Dialog; +import android.app.settings.SettingsEnums; import android.os.Bundle; import android.util.Log; @@ -33,8 +34,7 @@ public class AudioSharingConfirmDialogFragment extends InstrumentedDialogFragmen @Override public int getMetricsCategory() { - // TODO: add metrics category. - return 0; + return SettingsEnums.DIALOG_AUDIO_SHARING_CONFIRMATION; } /** @@ -63,7 +63,7 @@ public class AudioSharingConfirmDialogFragment extends InstrumentedDialogFragmen .setTitleIcon(com.android.settingslib.R.drawable.ic_bt_le_audio_sharing) .setIsCustomBodyEnabled(true) .setCustomMessage(R.string.audio_sharing_comfirm_dialog_content) - .setPositiveButton(com.android.settings.R.string.okay, (d, w) -> dismiss()) + .setPositiveButton(com.android.settings.R.string.okay, (d, w) -> {}) .build(); dialog.setCanceledOnTouchOutside(true); return dialog; diff --git a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingDeviceVolumeControlUpdater.java b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingDeviceVolumeControlUpdater.java index 257ae774f92..660229d55b8 100644 --- a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingDeviceVolumeControlUpdater.java +++ b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingDeviceVolumeControlUpdater.java @@ -16,6 +16,7 @@ package com.android.settings.connecteddevice.audiosharing; +import android.app.settings.SettingsEnums; import android.bluetooth.BluetoothCsipSetCoordinator; import android.bluetooth.BluetoothDevice; import android.content.Context; @@ -156,6 +157,10 @@ public class AudioSharingDeviceVolumeControlUpdater extends BluetoothDeviceUpdat if (mVolumeControl != null) { mVolumeControl.setDeviceVolume( cachedDevice.getDevice(), progress, /* isGroupOp= */ true); + mMetricsFeatureProvider.action( + mContext, + SettingsEnums.ACTION_AUDIO_SHARING_CHANGE_MEDIA_DEVICE_VOLUME, + /* isPrimary= */ false); } } @@ -170,6 +175,10 @@ public class AudioSharingDeviceVolumeControlUpdater extends BluetoothDeviceUpdat - audioManager.getStreamMinVolume(AudioManager.STREAM_MUSIC); int volume = Math.round((float) progress * streamVolumeRange / seekbarRange); audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); + mMetricsFeatureProvider.action( + mContext, + SettingsEnums.ACTION_AUDIO_SHARING_CHANGE_MEDIA_DEVICE_VOLUME, + /* isPrimary= */ true); } catch (RuntimeException e) { Log.e(TAG, "Fail to setAudioManagerStreamVolumeForFallbackDevice, error = " + e); } diff --git a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingJoinDialogFragment.java b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingJoinDialogFragment.java index 0a5961dead5..4982179ccfc 100644 --- a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingJoinDialogFragment.java +++ b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingJoinDialogFragment.java @@ -56,7 +56,7 @@ public class AudioSharingJoinDialogFragment extends InstrumentedDialogFragment { @Override public int getMetricsCategory() { return AudioSharingUtils.isBroadcasting(Utils.getLocalBtManager(getContext())) - ? SettingsEnums.DIALOG_START_AUDIO_SHARING + ? SettingsEnums.DIALOG_AUDIO_SHARING_ADD_DEVICE : SettingsEnums.DIALOG_START_AUDIO_SHARING; } diff --git a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingPlaySoundPreferenceController.java b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingPlaySoundPreferenceController.java index e6e11affe13..46c7f9c63cc 100644 --- a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingPlaySoundPreferenceController.java +++ b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingPlaySoundPreferenceController.java @@ -16,6 +16,7 @@ package com.android.settings.connecteddevice.audiosharing; +import android.app.settings.SettingsEnums; import android.content.ContentResolver; import android.content.Context; import android.media.AudioAttributes; @@ -31,6 +32,8 @@ import androidx.lifecycle.LifecycleOwner; import androidx.preference.PreferenceScreen; import com.android.settings.R; +import com.android.settings.overlay.FeatureFactory; +import com.android.settingslib.core.instrumentation.MetricsFeatureProvider; public class AudioSharingPlaySoundPreferenceController extends AudioSharingBasePreferenceController { @@ -39,6 +42,7 @@ public class AudioSharingPlaySoundPreferenceController private static final String PREF_KEY = "audio_sharing_play_sound"; + private final MetricsFeatureProvider mMetricsFeatureProvider; private Ringtone mRingtone; public AudioSharingPlaySoundPreferenceController(Context context) { @@ -47,6 +51,7 @@ public class AudioSharingPlaySoundPreferenceController if (mRingtone != null) { mRingtone.setStreamType(AudioManager.STREAM_MUSIC); } + mMetricsFeatureProvider = FeatureFactory.getFeatureFactory().getMetricsFeatureProvider(); } @Override @@ -74,6 +79,9 @@ public class AudioSharingPlaySoundPreferenceController .build()); if (!mRingtone.isPlaying()) { mRingtone.play(); + mMetricsFeatureProvider.action( + mContext, + SettingsEnums.ACTION_AUDIO_SHARING_PLAY_TEST_SOUND); } } catch (Throwable e) { Log.w(TAG, "Fail to play sample, error = " + e); diff --git a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingReceiver.java b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingReceiver.java index eda42567b6a..2b976d2dd48 100644 --- a/src/com/android/settings/connecteddevice/audiosharing/AudioSharingReceiver.java +++ b/src/com/android/settings/connecteddevice/audiosharing/AudioSharingReceiver.java @@ -20,6 +20,7 @@ import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; +import android.app.settings.SettingsEnums; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; @@ -30,8 +31,10 @@ import androidx.core.app.NotificationCompat; import com.android.settings.R; import com.android.settings.bluetooth.Utils; +import com.android.settings.overlay.FeatureFactory; import com.android.settingslib.bluetooth.LocalBluetoothLeBroadcast; import com.android.settingslib.bluetooth.LocalBluetoothManager; +import com.android.settingslib.core.instrumentation.MetricsFeatureProvider; public class AudioSharingReceiver extends BroadcastReceiver { private static final String TAG = "AudioSharingNotification"; @@ -54,6 +57,8 @@ public class AudioSharingReceiver extends BroadcastReceiver { Log.w(TAG, "Received unexpected intent with null action."); return; } + MetricsFeatureProvider metricsFeatureProvider = + FeatureFactory.getFeatureFactory().getMetricsFeatureProvider(); switch (action) { case LocalBluetoothLeBroadcast.ACTION_LE_AUDIO_SHARING_STATE_CHANGE: int state = @@ -61,8 +66,12 @@ public class AudioSharingReceiver extends BroadcastReceiver { LocalBluetoothLeBroadcast.EXTRA_LE_AUDIO_SHARING_STATE, -1); if (state == LocalBluetoothLeBroadcast.BROADCAST_STATE_ON) { showSharingNotification(context); + metricsFeatureProvider.action( + context, SettingsEnums.ACTION_SHOW_AUDIO_SHARING_NOTIFICATION); } else if (state == LocalBluetoothLeBroadcast.BROADCAST_STATE_OFF) { cancelSharingNotification(context); + metricsFeatureProvider.action( + context, SettingsEnums.ACTION_CANCEL_AUDIO_SHARING_NOTIFICATION); } else { Log.w( TAG, @@ -72,6 +81,8 @@ public class AudioSharingReceiver extends BroadcastReceiver { case ACTION_LE_AUDIO_SHARING_STOP: LocalBluetoothManager manager = Utils.getLocalBtManager(context); AudioSharingUtils.stopBroadcasting(manager); + metricsFeatureProvider.action( + context, SettingsEnums.ACTION_STOP_AUDIO_SHARING_FROM_NOTIFICATION); break; default: Log.w(TAG, "Received unexpected intent " + intent.getAction()); @@ -98,7 +109,11 @@ public class AudioSharingReceiver extends BroadcastReceiver { stopIntent, PendingIntent.FLAG_IMMUTABLE); Intent settingsIntent = - new Intent(ACTION_LE_AUDIO_SHARING_SETTINGS).setPackage(context.getPackageName()); + new Intent(ACTION_LE_AUDIO_SHARING_SETTINGS) + .setPackage(context.getPackageName()) + .putExtra( + MetricsFeatureProvider.EXTRA_SOURCE_METRICS_CATEGORY, + SettingsEnums.NOTIFICATION_AUDIO_SHARING); PendingIntent settingsPendingIntent = PendingIntent.getActivity( context, diff --git a/src/com/android/settings/localepicker/LocalePickerWithRegionActivity.java b/src/com/android/settings/localepicker/LocalePickerWithRegionActivity.java index b8c80f33d13..6e596e16883 100644 --- a/src/com/android/settings/localepicker/LocalePickerWithRegionActivity.java +++ b/src/com/android/settings/localepicker/LocalePickerWithRegionActivity.java @@ -16,6 +16,8 @@ package com.android.settings.localepicker; +import static android.window.OnBackInvokedDispatcher.PRIORITY_DEFAULT; + import android.app.FragmentTransaction; import android.content.Intent; import android.os.Bundle; @@ -23,6 +25,7 @@ import android.os.LocaleList; import android.provider.Settings; import android.util.Log; import android.view.MenuItem; +import android.window.OnBackInvokedCallback; import androidx.core.view.ViewCompat; @@ -39,6 +42,10 @@ public class LocalePickerWithRegionActivity extends SettingsBaseActivity private LocalePickerWithRegion mSelector; + private final OnBackInvokedCallback mOnBackInvokedCallback = () -> { + handleBackPressed(); + }; + @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); @@ -52,7 +59,8 @@ public class LocalePickerWithRegionActivity extends SettingsBaseActivity : bundle.getParcelable(Settings.EXTRA_EXPLICIT_LOCALES, LocaleList.class); Log.i(TAG, "Has explicit locales : " + explicitLocales); } - + getOnBackInvokedDispatcher() + .registerOnBackInvokedCallback(PRIORITY_DEFAULT, mOnBackInvokedCallback); mSelector = LocalePickerWithRegion.createLanguagePicker( this, LocalePickerWithRegionActivity.this, @@ -68,6 +76,12 @@ public class LocalePickerWithRegionActivity extends SettingsBaseActivity .commit(); } + @Override + public void onDestroy() { + super.onDestroy(); + getOnBackInvokedDispatcher().unregisterOnBackInvokedCallback(mOnBackInvokedCallback); + } + @Override public boolean onOptionsItemSelected(MenuItem item) { if (item.getItemId() == android.R.id.home) { @@ -85,11 +99,6 @@ public class LocalePickerWithRegionActivity extends SettingsBaseActivity finish(); } - @Override - public void onBackPressed() { - handleBackPressed(); - } - private void handleBackPressed() { if (getFragmentManager().getBackStackEntryCount() > 1) { super.onBackPressed(); diff --git a/src/com/android/settings/notification/modes/IconLoader.java b/src/com/android/settings/notification/modes/IconLoader.java index b7a6c9526ac..8a02093633e 100644 --- a/src/com/android/settings/notification/modes/IconLoader.java +++ b/src/com/android/settings/notification/modes/IconLoader.java @@ -56,47 +56,42 @@ class IconLoader { @Nullable // Until first usage private static IconLoader sInstance; - private final Context mContext; private final LruCache mCache; private final ListeningExecutorService mBackgroundExecutor; - static IconLoader getInstance(Context context) { + static IconLoader getInstance() { if (sInstance == null) { - sInstance = new IconLoader(context); + sInstance = new IconLoader(); } return sInstance; } - private IconLoader(Context context) { - this(context, Executors.newFixedThreadPool(4)); + private IconLoader() { + this(Executors.newFixedThreadPool(4)); } @VisibleForTesting - IconLoader(Context context, ExecutorService backgroundExecutor) { - mContext = context.getApplicationContext(); + IconLoader(ExecutorService backgroundExecutor) { mCache = new LruCache<>(50); mBackgroundExecutor = MoreExecutors.listeningDecorator(backgroundExecutor); } - Context getContext() { - return mContext; - } - @NonNull - ListenableFuture getIcon(@NonNull AutomaticZenRule rule) { + ListenableFuture getIcon(Context context, @NonNull AutomaticZenRule rule) { if (rule.getIconResId() == 0) { - return Futures.immediateFuture(getFallbackIcon(rule.getType())); + return Futures.immediateFuture(getFallbackIcon(context, rule.getType())); } - return FluentFuture.from(loadIcon(rule.getPackageName(), rule.getIconResId())) + return FluentFuture.from(loadIcon(context, rule.getPackageName(), rule.getIconResId())) .transform(icon -> - icon != null ? icon : getFallbackIcon(rule.getType()), + icon != null ? icon : getFallbackIcon(context, rule.getType()), MoreExecutors.directExecutor()); } @NonNull - private ListenableFuture loadIcon(String pkg, int iconResId) { + private ListenableFuture loadIcon(Context context, String pkg, + int iconResId) { String cacheKey = pkg + ":" + iconResId; synchronized (mCache) { Drawable cachedValue = mCache.get(cacheKey); @@ -107,9 +102,9 @@ class IconLoader { return FluentFuture.from(mBackgroundExecutor.submit(() -> { if (TextUtils.isEmpty(pkg) || SystemZenRules.PACKAGE_ANDROID.equals(pkg)) { - return mContext.getDrawable(iconResId); + return context.getDrawable(iconResId); } else { - Context appContext = mContext.createPackageContext(pkg, 0); + Context appContext = context.createPackageContext(pkg, 0); Drawable appDrawable = AppCompatResources.getDrawable(appContext, iconResId); return getMonochromeIconIfPresent(appDrawable); } @@ -126,21 +121,21 @@ class IconLoader { }, MoreExecutors.directExecutor()); } - private Drawable getFallbackIcon(int ruleType) { + private static Drawable getFallbackIcon(Context context, int ruleType) { int iconResIdFromType = switch (ruleType) { - // TODO: b/333528437 - continue replacing with proper default icons - case AutomaticZenRule.TYPE_UNKNOWN -> R.drawable.ic_do_not_disturb_on_24dp; - case AutomaticZenRule.TYPE_OTHER -> R.drawable.ic_do_not_disturb_on_24dp; - case AutomaticZenRule.TYPE_SCHEDULE_TIME -> R.drawable.ic_modes_time; - case AutomaticZenRule.TYPE_SCHEDULE_CALENDAR -> R.drawable.ic_modes_event; - case AutomaticZenRule.TYPE_BEDTIME -> R.drawable.ic_do_not_disturb_on_24dp; - case AutomaticZenRule.TYPE_DRIVING -> R.drawable.ic_do_not_disturb_on_24dp; - case AutomaticZenRule.TYPE_IMMERSIVE -> R.drawable.ic_do_not_disturb_on_24dp; - case AutomaticZenRule.TYPE_THEATER -> R.drawable.ic_do_not_disturb_on_24dp; - case AutomaticZenRule.TYPE_MANAGED -> R.drawable.ic_do_not_disturb_on_24dp; - default -> R.drawable.ic_do_not_disturb_on_24dp; + case AutomaticZenRule.TYPE_UNKNOWN -> R.drawable.ic_zen_mode_type_unknown; + case AutomaticZenRule.TYPE_OTHER -> R.drawable.ic_zen_mode_type_other; + case AutomaticZenRule.TYPE_SCHEDULE_TIME -> R.drawable.ic_zen_mode_type_schedule_time; + case AutomaticZenRule.TYPE_SCHEDULE_CALENDAR -> + R.drawable.ic_zen_mode_type_schedule_calendar; + case AutomaticZenRule.TYPE_BEDTIME -> R.drawable.ic_zen_mode_type_bedtime; + case AutomaticZenRule.TYPE_DRIVING -> R.drawable.ic_zen_mode_type_driving; + case AutomaticZenRule.TYPE_IMMERSIVE -> R.drawable.ic_zen_mode_type_immersive; + case AutomaticZenRule.TYPE_THEATER -> R.drawable.ic_zen_mode_type_theater; + case AutomaticZenRule.TYPE_MANAGED -> R.drawable.ic_zen_mode_type_managed; + default -> R.drawable.ic_zen_mode_type_unknown; }; - return requireNonNull(mContext.getDrawable(iconResIdFromType)); + return requireNonNull(context.getDrawable(iconResIdFromType)); } private static Drawable getMonochromeIconIfPresent(Drawable icon) { diff --git a/src/com/android/settings/notification/modes/ZenMode.java b/src/com/android/settings/notification/modes/ZenMode.java index 058799b6225..1be7e5fda1e 100644 --- a/src/com/android/settings/notification/modes/ZenMode.java +++ b/src/com/android/settings/notification/modes/ZenMode.java @@ -118,14 +118,14 @@ class ZenMode { } @NonNull - public ListenableFuture getIcon(@NonNull IconLoader iconLoader) { - Context context = iconLoader.getContext(); + public ListenableFuture getIcon(@NonNull Context context, + @NonNull IconLoader iconLoader) { if (mIsManualDnd) { return Futures.immediateFuture(requireNonNull( context.getDrawable(R.drawable.ic_do_not_disturb_on_24dp))); } - return iconLoader.getIcon(mRule); + return iconLoader.getIcon(context, mRule); } @NonNull diff --git a/src/com/android/settings/notification/modes/ZenModeHeaderController.java b/src/com/android/settings/notification/modes/ZenModeHeaderController.java index fc20710ab78..ba6e9d9a22e 100644 --- a/src/com/android/settings/notification/modes/ZenModeHeaderController.java +++ b/src/com/android/settings/notification/modes/ZenModeHeaderController.java @@ -62,7 +62,7 @@ class ZenModeHeaderController extends AbstractZenModePreferenceController { } FutureUtil.whenDone( - zenMode.getIcon(IconLoader.getInstance(mContext)), + zenMode.getIcon(mContext, IconLoader.getInstance()), icon -> mHeaderController.setIcon(icon) .setLabel(zenMode.getRule().getName()) .done(false /* rebindActions */), diff --git a/src/com/android/settings/notification/modes/ZenModeListPreference.java b/src/com/android/settings/notification/modes/ZenModeListPreference.java index 78bae81481c..a106bddf964 100644 --- a/src/com/android/settings/notification/modes/ZenModeListPreference.java +++ b/src/com/android/settings/notification/modes/ZenModeListPreference.java @@ -23,6 +23,7 @@ import android.os.Bundle; import com.android.settings.core.SubSettingLauncher; import com.android.settingslib.RestrictedPreference; +import com.android.settingslib.Utils; /** * Preference representing a single mode item on the modes aggregator page. Clicking on this @@ -54,10 +55,15 @@ class ZenModeListPreference extends RestrictedPreference { mZenMode = zenMode; setTitle(mZenMode.getRule().getName()); setSummary(mZenMode.getRule().getTriggerDescription()); + setIconSize(ICON_SIZE_SMALL); FutureUtil.whenDone( - mZenMode.getIcon(IconLoader.getInstance(mContext)), - icon -> setIcon(icon), + mZenMode.getIcon(mContext, IconLoader.getInstance()), + icon -> { + icon.setTintList( + Utils.getColorAttr(mContext, android.R.attr.colorControlNormal)); + setIcon(icon); + }, mContext.getMainExecutor()); } } diff --git a/src/com/android/settings/vpn2/VpnSettings.java b/src/com/android/settings/vpn2/VpnSettings.java index 0ee21b9e26e..093d2bec6c8 100644 --- a/src/com/android/settings/vpn2/VpnSettings.java +++ b/src/com/android/settings/vpn2/VpnSettings.java @@ -61,6 +61,7 @@ import com.android.internal.net.LegacyVpnInfo; import com.android.internal.net.VpnConfig; import com.android.internal.net.VpnProfile; import com.android.settings.R; +import com.android.settings.Utils; import com.android.settings.dashboard.RestrictedDashboardFragment; import com.android.settings.overlay.FeatureFactory; import com.android.settings.widget.GearPreference; @@ -592,6 +593,9 @@ public class VpnSettings extends RestrictedDashboardFragment implements // Mark connected third-party services Set connections = new ArraySet<>(); for (UserHandle profile : mUserManager.getUserProfiles()) { + if (Utils.shouldHideUser(profile, mUserManager)) { + continue; + } VpnConfig config = mVpnManager.getVpnConfig(profile.getIdentifier()); if (config != null && !config.legacy) { connections.add(new AppVpnInfo(profile.getIdentifier(), config.user)); @@ -604,6 +608,9 @@ public class VpnSettings extends RestrictedDashboardFragment implements private Set getAlwaysOnAppVpnInfos() { Set result = new ArraySet<>(); for (UserHandle profile : mUserManager.getUserProfiles()) { + if (Utils.shouldHideUser(profile, mUserManager)) { + continue; + } final int profileId = profile.getIdentifier(); final String packageName = mVpnManager.getAlwaysOnVpnPackageForUser(profileId); if (packageName != null) { @@ -627,7 +634,11 @@ public class VpnSettings extends RestrictedDashboardFragment implements final Set profileIds; if (includeProfiles) { profileIds = new ArraySet<>(); - for (UserHandle profile : UserManager.get(context).getUserProfiles()) { + UserManager userManager = UserManager.get(context); + for (UserHandle profile : userManager.getUserProfiles()) { + if (Utils.shouldHideUser(profile, userManager)) { + continue; + } profileIds.add(profile.getIdentifier()); } } else { diff --git a/tests/robotests/src/com/android/settings/accessibility/AccessibilityButtonPreviewPreferenceControllerTest.java b/tests/robotests/src/com/android/settings/accessibility/AccessibilityButtonPreviewPreferenceControllerTest.java index a2b27136578..ef9ca60d834 100644 --- a/tests/robotests/src/com/android/settings/accessibility/AccessibilityButtonPreviewPreferenceControllerTest.java +++ b/tests/robotests/src/com/android/settings/accessibility/AccessibilityButtonPreviewPreferenceControllerTest.java @@ -19,18 +19,18 @@ package com.android.settings.accessibility; import static android.provider.Settings.Secure.ACCESSIBILITY_BUTTON_MODE_FLOATING_MENU; import static android.provider.Settings.Secure.ACCESSIBILITY_BUTTON_MODE_NAVIGATION_BAR; -import static com.android.settings.testutils.ImageTestUtils.drawableToBitmap; - import static com.google.common.truth.Truth.assertThat; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; +import static org.robolectric.Shadows.shadowOf; import android.content.ContentResolver; import android.content.Context; import android.graphics.drawable.Drawable; import android.provider.Settings; +import androidx.preference.PreferenceScreen; import androidx.test.core.app.ApplicationProvider; import com.android.settings.R; @@ -45,6 +45,7 @@ import org.mockito.Spy; import org.mockito.junit.MockitoJUnit; import org.mockito.junit.MockitoRule; import org.robolectric.RobolectricTestRunner; +import org.robolectric.shadows.ShadowDrawable; /** Tests for {@link AccessibilityButtonPreviewPreferenceController}. */ @RunWith(RobolectricTestRunner.class) @@ -52,18 +53,22 @@ public class AccessibilityButtonPreviewPreferenceControllerTest { @Rule public MockitoRule mocks = MockitoJUnit.rule(); - + private static final String PREF_KEY = "test_key"; @Spy private final Context mContext = ApplicationProvider.getApplicationContext(); @Mock private ContentResolver mContentResolver; + @Mock + private PreferenceScreen mPreferenceScreen; private AccessibilityButtonPreviewPreferenceController mController; @Before public void setUp() { when(mContext.getContentResolver()).thenReturn(mContentResolver); - mController = new AccessibilityButtonPreviewPreferenceController(mContext, "test_key"); + mController = new AccessibilityButtonPreviewPreferenceController(mContext, PREF_KEY); mController.mIllustrationPreference = new IllustrationPreference(mContext); + when(mPreferenceScreen.findPreference(PREF_KEY)) + .thenReturn(mController.mIllustrationPreference); } @Test @@ -73,29 +78,31 @@ public class AccessibilityButtonPreviewPreferenceControllerTest { mController.mContentObserver.onChange(false); - final Drawable navigationBarDrawable = mContext.getDrawable( - R.drawable.a11y_button_navigation); - assertThat(drawableToBitmap(mController.mIllustrationPreference.getImageDrawable()).sameAs( - drawableToBitmap(navigationBarDrawable))).isTrue(); + ShadowDrawable drawable = shadowOf(mController.mIllustrationPreference.getImageDrawable()); + assertThat(drawable.getCreatedFromResId()) + .isEqualTo(R.drawable.accessibility_shortcut_type_navbar); } @Test - public void onChange_updatePreviewPreferenceWithConfig_expectedPreviewDrawable() { + public void onChange_updateFloatingMenuSize_expectedPreviewDrawable() { Settings.Secure.putInt(mContentResolver, Settings.Secure.ACCESSIBILITY_BUTTON_MODE, ACCESSIBILITY_BUTTON_MODE_FLOATING_MENU); Settings.Secure.putInt(mContentResolver, Settings.Secure.ACCESSIBILITY_FLOATING_MENU_SIZE, /* small size */ 0); - Settings.Secure.putFloat(mContentResolver, - Settings.Secure.ACCESSIBILITY_FLOATING_MENU_OPACITY, 0.1f); + mController.displayPreference(mPreferenceScreen); + Drawable actualDrawable = mController.mIllustrationPreference.getImageDrawable(); + ShadowDrawable shadowDrawable = shadowOf(actualDrawable); + assertThat(shadowDrawable.getCreatedFromResId()) + .isEqualTo(R.drawable.accessibility_shortcut_type_fab_size_small_preview); + Settings.Secure.putInt(mContentResolver, + Settings.Secure.ACCESSIBILITY_FLOATING_MENU_SIZE, /* large size */ 1); mController.mContentObserver.onChange(false); - final Drawable smallFloatingMenuWithTenOpacityDrawable = - AccessibilityLayerDrawable.createLayerDrawable(mContext, - R.drawable.a11y_button_preview_small_floating_menu, 10); - assertThat( - mController.mIllustrationPreference.getImageDrawable().getConstantState()) - .isEqualTo(smallFloatingMenuWithTenOpacityDrawable.getConstantState()); + actualDrawable = mController.mIllustrationPreference.getImageDrawable(); + shadowDrawable = shadowOf(actualDrawable); + assertThat(shadowDrawable.getCreatedFromResId()) + .isEqualTo(R.drawable.accessibility_shortcut_type_fab_size_large_preview); } @Test diff --git a/tests/robotests/src/com/android/settings/accessibility/AccessibilityLayerDrawableTest.java b/tests/robotests/src/com/android/settings/accessibility/AccessibilityLayerDrawableTest.java deleted file mode 100644 index 1dfd4092213..00000000000 --- a/tests/robotests/src/com/android/settings/accessibility/AccessibilityLayerDrawableTest.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (C) 2021 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. - */ - -package com.android.settings.accessibility; - -import static com.google.common.truth.Truth.assertThat; - -import android.content.Context; -import android.graphics.drawable.Drawable; - -import androidx.test.core.app.ApplicationProvider; - -import com.android.settings.R; -import com.android.settings.testutils.ImageTestUtils; - -import org.junit.Test; -import org.junit.runner.RunWith; -import org.robolectric.RobolectricTestRunner; - -/** Tests for {@link AccessibilityLayerDrawable}. */ -@RunWith(RobolectricTestRunner.class) -public class AccessibilityLayerDrawableTest { - - private static final int TEST_RES_ID = - com.android.internal.R.drawable.ic_accessibility_magnification; - private static final int TEST_RES_ID_2 = - com.android.internal.R.drawable.ic_accessibility_color_inversion; - private final Context mContext = ApplicationProvider.getApplicationContext(); - - @Test - public void createLayerDrawable_configCorrect() { - final Drawable expected1stDrawable = mContext.getDrawable( - R.drawable.a11y_button_preview_base); - final Drawable expected2ndDrawable = mContext.getDrawable(TEST_RES_ID); - - final AccessibilityLayerDrawable actualDrawable = - AccessibilityLayerDrawable.createLayerDrawable(mContext, TEST_RES_ID, - /* opacity= */ 27); - - final Drawable actual1stDrawable = actualDrawable.getDrawable(0); - final Drawable actual2ndDrawable = actualDrawable.getDrawable(1); - assertThat(ImageTestUtils.drawableToBitmap(actual1stDrawable).sameAs( - ImageTestUtils.drawableToBitmap(expected1stDrawable))).isTrue(); - assertThat(ImageTestUtils.drawableToBitmap(actual2ndDrawable).sameAs( - ImageTestUtils.drawableToBitmap(expected2ndDrawable))).isTrue(); - } - - @Test - public void updateLayerDrawable_expectedFloatingMenuLayerDrawableState() { - final AccessibilityLayerDrawable originalDrawable = - AccessibilityLayerDrawable.createLayerDrawable(mContext, TEST_RES_ID, /* opacity= */ - 72); - - originalDrawable.updateLayerDrawable(mContext, TEST_RES_ID_2, /* opacity= */ 27); - - assertThat(originalDrawable.getConstantState()).isEqualTo( - new AccessibilityLayerDrawable.AccessibilityLayerDrawableState(mContext, - TEST_RES_ID_2, /* opacity= */ 27)); - } -} diff --git a/tests/robotests/src/com/android/settings/accessibility/shortcuts/ShortcutOptionPreferenceTest.java b/tests/robotests/src/com/android/settings/accessibility/shortcuts/ShortcutOptionPreferenceTest.java index 981b86d03b5..954c72d5ce6 100644 --- a/tests/robotests/src/com/android/settings/accessibility/shortcuts/ShortcutOptionPreferenceTest.java +++ b/tests/robotests/src/com/android/settings/accessibility/shortcuts/ShortcutOptionPreferenceTest.java @@ -61,7 +61,8 @@ public class ShortcutOptionPreferenceTest { @Test public void bindViewHolder_imageResIdSet_shouldShowImageView() { - mShortcutOptionPreference.setIntroImageResId(R.drawable.a11y_shortcut_type_hardware); + mShortcutOptionPreference.setIntroImageResId( + R.drawable.accessibility_shortcut_type_hardware); mShortcutOptionPreference.onBindViewHolder(mViewHolder); diff --git a/tests/robotests/src/com/android/settings/connecteddevice/AvailableMediaDeviceGroupControllerTest.java b/tests/robotests/src/com/android/settings/connecteddevice/AvailableMediaDeviceGroupControllerTest.java index ab95c2c1180..976ddf17dcc 100644 --- a/tests/robotests/src/com/android/settings/connecteddevice/AvailableMediaDeviceGroupControllerTest.java +++ b/tests/robotests/src/com/android/settings/connecteddevice/AvailableMediaDeviceGroupControllerTest.java @@ -30,6 +30,7 @@ import static org.mockito.Mockito.when; import static org.robolectric.Shadows.shadowOf; import static org.robolectric.shadows.ShadowLooper.shadowMainLooper; +import android.app.settings.SettingsEnums; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothLeBroadcast; @@ -58,6 +59,7 @@ import com.android.settings.bluetooth.AvailableMediaBluetoothDeviceUpdater; import com.android.settings.bluetooth.BluetoothDevicePreference; import com.android.settings.bluetooth.Utils; import com.android.settings.connecteddevice.audiosharing.AudioSharingDialogHandler; +import com.android.settings.testutils.FakeFeatureFactory; import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; import com.android.settings.testutils.shadow.ShadowAudioManager; import com.android.settings.testutils.shadow.ShadowBluetoothAdapter; @@ -128,6 +130,7 @@ public class AvailableMediaDeviceGroupControllerTest { private PreferenceGroup mPreferenceGroup; private Context mContext; private FragmentManager mFragManager; + private FakeFeatureFactory mFeatureFactory; private Preference mPreference; private AvailableMediaDeviceGroupController mAvailableMediaDeviceGroupController; private AudioManager mAudioManager; @@ -157,6 +160,7 @@ public class AvailableMediaDeviceGroupControllerTest { BluetoothStatusCodes.FEATURE_NOT_SUPPORTED); ShadowBluetoothUtils.sLocalBluetoothManager = mLocalBluetoothManager; mLocalBluetoothManager = Utils.getLocalBtManager(mContext); + mFeatureFactory = FakeFeatureFactory.setupForTest(); mAudioManager = mContext.getSystemService(AudioManager.class); doReturn(mEventManager).when(mLocalBluetoothManager).getEventManager(); when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalBtProfileManager); @@ -414,6 +418,8 @@ public class AvailableMediaDeviceGroupControllerTest { mAvailableMediaDeviceGroupController.onDeviceClick(preference); verify(mDialogHandler) .handleDeviceConnected(mCachedBluetoothDevice, /* userTriggered= */ true); + verify(mFeatureFactory.metricsFeatureProvider) + .action(mContext, SettingsEnums.ACTION_MEDIA_DEVICE_CLICK); } private void setUpBroadcast() { diff --git a/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingBluetoothDeviceUpdaterTest.java b/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingBluetoothDeviceUpdaterTest.java index f1c31265f9a..23be20846fd 100644 --- a/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingBluetoothDeviceUpdaterTest.java +++ b/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingBluetoothDeviceUpdaterTest.java @@ -26,6 +26,7 @@ import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import static org.robolectric.Shadows.shadowOf; +import android.app.settings.SettingsEnums; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothLeBroadcastReceiveState; @@ -43,6 +44,7 @@ import androidx.test.core.app.ApplicationProvider; import com.android.settings.bluetooth.BluetoothDevicePreference; import com.android.settings.bluetooth.Utils; import com.android.settings.connecteddevice.DevicePreferenceCallback; +import com.android.settings.testutils.FakeFeatureFactory; import com.android.settings.testutils.shadow.ShadowBluetoothAdapter; import com.android.settings.testutils.shadow.ShadowBluetoothUtils; import com.android.settings.testutils.shadow.ShadowThreadUtils; @@ -102,6 +104,7 @@ public class AudioSharingBluetoothDeviceUpdaterTest { private AudioSharingBluetoothDeviceUpdater mDeviceUpdater; private Collection mCachedDevices; private ShadowBluetoothAdapter mShadowBluetoothAdapter; + private FakeFeatureFactory mFeatureFactory; @Before public void setUp() { @@ -113,6 +116,7 @@ public class AudioSharingBluetoothDeviceUpdaterTest { mShadowBluetoothAdapter.setIsLeAudioBroadcastAssistantSupported( BluetoothStatusCodes.FEATURE_SUPPORTED); ShadowBluetoothUtils.sLocalBluetoothManager = mLocalBtManager; + mFeatureFactory = FakeFeatureFactory.setupForTest(); mLocalBtManager = Utils.getLocalBtManager(mContext); when(mLocalBtManager.getCachedDeviceManager()).thenReturn(mCachedDeviceManager); when(mLocalBtManager.getProfileManager()).thenReturn(mLocalBtProfileManager); @@ -255,6 +259,14 @@ public class AudioSharingBluetoothDeviceUpdaterTest { assertThat(mDeviceUpdater.getPreferenceKey()).isEqualTo(PREF_KEY); } + @Test + public void onPreferenceClick_logClick() { + Preference preference = new Preference(mContext); + mDeviceUpdater.onPreferenceClick(preference); + verify(mFeatureFactory.metricsFeatureProvider) + .action(mContext, SettingsEnums.ACTION_AUDIO_SHARING_DEVICE_CLICK); + } + private void setupPreferenceMapWithDevice() { // Add device to preferenceMap mSetFlagsRule.enableFlags(Flags.FLAG_ENABLE_LE_AUDIO_SHARING); diff --git a/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCallAudioDialogFragmentTest.java b/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCallAudioDialogFragmentTest.java index 4477fa3bff2..979f149b8a6 100644 --- a/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCallAudioDialogFragmentTest.java +++ b/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCallAudioDialogFragmentTest.java @@ -20,6 +20,7 @@ import static com.google.common.truth.Truth.assertThat; import static org.robolectric.shadows.ShadowLooper.shadowMainLooper; +import android.app.settings.SettingsEnums; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothStatusCodes; import android.platform.test.flag.junit.SetFlagsRule; @@ -82,6 +83,12 @@ public class AudioSharingCallAudioDialogFragmentTest { mParent, FragmentActivity.class, /* containerViewId= */ 0, /* bundle= */ null); } + @Test + public void getMetricsCategory_correctValue() { + assertThat(mFragment.getMetricsCategory()) + .isEqualTo(SettingsEnums.DIALOG_AUDIO_SHARING_CALL_AUDIO); + } + @Test public void onCreateDialog_flagOff_dialogNotExist() { mSetFlagsRule.disableFlags(Flags.FLAG_ENABLE_LE_AUDIO_SHARING); diff --git a/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCompatibilityPreferenceControllerTest.java b/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCompatibilityPreferenceControllerTest.java index a39571689b4..1a9d09e4148 100644 --- a/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCompatibilityPreferenceControllerTest.java +++ b/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingCompatibilityPreferenceControllerTest.java @@ -27,9 +27,11 @@ import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.verifyNoInteractions; import static org.mockito.Mockito.when; import static org.robolectric.Shadows.shadowOf; +import android.app.settings.SettingsEnums; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothLeBroadcast; import android.bluetooth.BluetoothStatusCodes; @@ -44,6 +46,7 @@ import androidx.test.core.app.ApplicationProvider; import com.android.settings.R; import com.android.settings.bluetooth.Utils; +import com.android.settings.testutils.FakeFeatureFactory; import com.android.settings.testutils.shadow.ShadowBluetoothAdapter; import com.android.settings.testutils.shadow.ShadowBluetoothUtils; import com.android.settings.testutils.shadow.ShadowThreadUtils; @@ -94,6 +97,7 @@ public class AudioSharingCompatibilityPreferenceControllerTest { private AudioSharingCompatibilityPreferenceController mController; private ShadowBluetoothAdapter mShadowBluetoothAdapter; private LocalBluetoothManager mLocalBluetoothManager; + private FakeFeatureFactory mFeatureFactory; private Lifecycle mLifecycle; private LifecycleOwner mLifecycleOwner; @@ -109,6 +113,7 @@ public class AudioSharingCompatibilityPreferenceControllerTest { mLifecycle = new Lifecycle(mLifecycleOwner); ShadowBluetoothUtils.sLocalBluetoothManager = mLocalBtManager; mLocalBluetoothManager = Utils.getLocalBtManager(mContext); + mFeatureFactory = FakeFeatureFactory.setupForTest(); when(mLocalBluetoothManager.getEventManager()).thenReturn(mBtEventManager); when(mLocalBluetoothManager.getProfileManager()).thenReturn(mBtProfileManager); when(mBtProfileManager.getLeAudioBroadcastProfile()).thenReturn(mBroadcast); @@ -258,6 +263,8 @@ public class AudioSharingCompatibilityPreferenceControllerTest { doNothing().when(mBroadcast).setImproveCompatibility(anyBoolean()); boolean setChecked = mController.setChecked(false); verify(mBroadcast).setImproveCompatibility(false); + verify(mFeatureFactory.metricsFeatureProvider) + .action(mContext, SettingsEnums.ACTION_AUDIO_SHARING_IMPROVE_COMPATIBILITY, false); assertThat(setChecked).isTrue(); } @@ -266,6 +273,7 @@ public class AudioSharingCompatibilityPreferenceControllerTest { when(mBroadcast.getImproveCompatibility()).thenReturn(true); boolean setChecked = mController.setChecked(true); verify(mBroadcast, times(0)).setImproveCompatibility(anyBoolean()); + verifyNoInteractions(mFeatureFactory.metricsFeatureProvider); assertThat(setChecked).isFalse(); } } diff --git a/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingDeviceVolumeControlUpdaterTest.java b/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingDeviceVolumeControlUpdaterTest.java index a8563d12b18..7a21f02f676 100644 --- a/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingDeviceVolumeControlUpdaterTest.java +++ b/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingDeviceVolumeControlUpdaterTest.java @@ -28,6 +28,7 @@ import static org.mockito.Mockito.verifyNoInteractions; import static org.mockito.Mockito.when; import static org.robolectric.Shadows.shadowOf; +import android.app.settings.SettingsEnums; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothLeBroadcastReceiveState; import android.bluetooth.BluetoothProfile; @@ -42,6 +43,7 @@ import androidx.test.core.app.ApplicationProvider; import com.android.settings.bluetooth.Utils; import com.android.settings.connecteddevice.DevicePreferenceCallback; +import com.android.settings.testutils.FakeFeatureFactory; import com.android.settings.testutils.shadow.ShadowBluetoothUtils; import com.android.settingslib.bluetooth.CachedBluetoothDevice; import com.android.settingslib.bluetooth.CachedBluetoothDeviceManager; @@ -96,12 +98,14 @@ public class AudioSharingDeviceVolumeControlUpdaterTest { private Context mContext; private AudioSharingDeviceVolumeControlUpdater mDeviceUpdater; private Collection mCachedDevices; + private FakeFeatureFactory mFeatureFactory; @Before public void setUp() { mContext = spy(ApplicationProvider.getApplicationContext()); ShadowBluetoothUtils.sLocalBluetoothManager = mLocalBtManager; mLocalBtManager = Utils.getLocalBtManager(mContext); + mFeatureFactory = FakeFeatureFactory.setupForTest(); when(mLocalBtManager.getCachedDeviceManager()).thenReturn(mCachedDeviceManager); when(mLocalBtManager.getProfileManager()).thenReturn(mLocalBtProfileManager); when(mLocalBtProfileManager.getLeAudioBroadcastProfile()).thenReturn(mBroadcast); @@ -250,6 +254,11 @@ public class AudioSharingDeviceVolumeControlUpdaterTest { verify(mVolumeControl).setDeviceVolume(mBluetoothDevice, 255, true); verifyNoInteractions(mAudioManager); + verify(mFeatureFactory.metricsFeatureProvider) + .action( + mContext, + SettingsEnums.ACTION_AUDIO_SHARING_CHANGE_MEDIA_DEVICE_VOLUME, + /* isPrimary= */ false); } @Test @@ -272,6 +281,11 @@ public class AudioSharingDeviceVolumeControlUpdaterTest { verifyNoInteractions(mVolumeControl); verify(mAudioManager).setStreamVolume(AudioManager.STREAM_MUSIC, 10, 0); + verify(mFeatureFactory.metricsFeatureProvider) + .action( + mContext, + SettingsEnums.ACTION_AUDIO_SHARING_CHANGE_MEDIA_DEVICE_VOLUME, + /* isPrimary= */ true); } @Test diff --git a/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingJoinDialogFragmentTest.java b/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingJoinDialogFragmentTest.java index 5d43ccca145..2d55d97d4e1 100644 --- a/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingJoinDialogFragmentTest.java +++ b/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingJoinDialogFragmentTest.java @@ -21,6 +21,7 @@ import static com.google.common.truth.Truth.assertThat; import static org.mockito.Mockito.when; import static org.robolectric.shadows.ShadowLooper.shadowMainLooper; +import android.app.settings.SettingsEnums; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothStatusCodes; import android.platform.test.flag.junit.SetFlagsRule; @@ -30,9 +31,14 @@ import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentActivity; import com.android.settings.R; +import com.android.settings.bluetooth.Utils; import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; import com.android.settings.testutils.shadow.ShadowBluetoothAdapter; +import com.android.settings.testutils.shadow.ShadowBluetoothUtils; import com.android.settingslib.bluetooth.CachedBluetoothDevice; +import com.android.settingslib.bluetooth.LocalBluetoothLeBroadcast; +import com.android.settingslib.bluetooth.LocalBluetoothManager; +import com.android.settingslib.bluetooth.LocalBluetoothProfileManager; import com.android.settingslib.flags.Flags; import org.junit.Before; @@ -55,6 +61,7 @@ import java.util.concurrent.atomic.AtomicBoolean; shadows = { ShadowAlertDialogCompat.class, ShadowBluetoothAdapter.class, + ShadowBluetoothUtils.class, }) public class AudioSharingJoinDialogFragmentTest { @@ -78,6 +85,9 @@ public class AudioSharingJoinDialogFragmentTest { @Mock private CachedBluetoothDevice mCachedDevice1; @Mock private CachedBluetoothDevice mCachedDevice2; + @Mock private LocalBluetoothManager mLocalBtManager; + @Mock private LocalBluetoothProfileManager mBtProfileManager; + @Mock private LocalBluetoothLeBroadcast mBroadcast; private Fragment mParent; private AudioSharingJoinDialogFragment mFragment; private ShadowBluetoothAdapter mShadowBluetoothAdapter; @@ -98,11 +108,32 @@ public class AudioSharingJoinDialogFragmentTest { when(mCachedDevice1.getName()).thenReturn(TEST_DEVICE_NAME1); when(mCachedDevice2.getName()).thenReturn(TEST_DEVICE_NAME2); mFragment = new AudioSharingJoinDialogFragment(); + ShadowBluetoothUtils.sLocalBluetoothManager = mLocalBtManager; + mLocalBtManager = Utils.getLocalBtManager(mFragment.getContext()); + when(mLocalBtManager.getProfileManager()).thenReturn(mBtProfileManager); + when(mBtProfileManager.getLeAudioBroadcastProfile()).thenReturn(mBroadcast); mParent = new Fragment(); FragmentController.setupFragment( mParent, FragmentActivity.class, /* containerViewId= */ 0, /* bundle= */ null); } + @Test + public void getMetricsCategory_notInSharing_correctValue() { + when(mBroadcast.isEnabled(null)).thenReturn(false); + int category = mFragment.getMetricsCategory(); + shadowMainLooper().idle(); + assertThat(category).isEqualTo(SettingsEnums.DIALOG_START_AUDIO_SHARING); + } + + @Test + public void getMetricsCategory_inSharing_correctValue() { + mSetFlagsRule.enableFlags(Flags.FLAG_ENABLE_LE_AUDIO_SHARING); + when(mBroadcast.isEnabled(null)).thenReturn(true); + int category = mFragment.getMetricsCategory(); + shadowMainLooper().idle(); + assertThat(category).isEqualTo(SettingsEnums.DIALOG_AUDIO_SHARING_ADD_DEVICE); + } + @Test public void onCreateDialog_flagOff_dialogNotExist() { mSetFlagsRule.disableFlags(Flags.FLAG_ENABLE_LE_AUDIO_SHARING); diff --git a/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingPlaySoundPreferenceControllerTest.java b/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingPlaySoundPreferenceControllerTest.java index f811930ee44..43e3ba6ea35 100644 --- a/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingPlaySoundPreferenceControllerTest.java +++ b/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingPlaySoundPreferenceControllerTest.java @@ -26,6 +26,7 @@ import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; +import android.app.settings.SettingsEnums; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothStatusCodes; import android.content.Context; @@ -39,6 +40,7 @@ import androidx.preference.Preference; import androidx.preference.PreferenceScreen; import androidx.test.core.app.ApplicationProvider; +import com.android.settings.testutils.FakeFeatureFactory; import com.android.settings.testutils.shadow.ShadowBluetoothAdapter; import com.android.settingslib.core.lifecycle.Lifecycle; import com.android.settingslib.flags.Flags; @@ -71,6 +73,7 @@ public class AudioSharingPlaySoundPreferenceControllerTest { private Lifecycle mLifecycle; private LifecycleOwner mLifecycleOwner; private Preference mPreference; + private FakeFeatureFactory mFeatureFactory; @Before public void setUp() { @@ -80,6 +83,7 @@ public class AudioSharingPlaySoundPreferenceControllerTest { BluetoothStatusCodes.FEATURE_SUPPORTED); mShadowBluetoothAdapter.setIsLeAudioBroadcastAssistantSupported( BluetoothStatusCodes.FEATURE_SUPPORTED); + mFeatureFactory = FakeFeatureFactory.setupForTest(); mLifecycleOwner = () -> mLifecycle; mLifecycle = new Lifecycle(mLifecycleOwner); when(mRingtone.getStreamType()).thenReturn(AudioManager.STREAM_MUSIC); @@ -165,6 +169,8 @@ public class AudioSharingPlaySoundPreferenceControllerTest { mController.displayPreference(mScreen); mPreference.performClick(); verify(mRingtone).play(); + verify(mFeatureFactory.metricsFeatureProvider) + .action(mContext, SettingsEnums.ACTION_AUDIO_SHARING_PLAY_TEST_SOUND); } @Test diff --git a/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingReceiverTest.java b/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingReceiverTest.java index d750297b665..d542b985bc2 100644 --- a/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingReceiverTest.java +++ b/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/AudioSharingReceiverTest.java @@ -32,6 +32,7 @@ import static org.mockito.Mockito.when; import android.app.Notification; import android.app.NotificationManager; +import android.app.settings.SettingsEnums; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothStatusCodes; import android.content.BroadcastReceiver; @@ -40,6 +41,7 @@ import android.content.Intent; import android.platform.test.flag.junit.SetFlagsRule; import com.android.settings.bluetooth.Utils; +import com.android.settings.testutils.FakeFeatureFactory; import com.android.settings.testutils.shadow.ShadowBluetoothAdapter; import com.android.settings.testutils.shadow.ShadowBluetoothUtils; import com.android.settingslib.R; @@ -77,6 +79,7 @@ public class AudioSharingReceiverTest { private ShadowApplication mShadowApplication; private ShadowBluetoothAdapter mShadowBluetoothAdapter; private LocalBluetoothManager mLocalBluetoothManager; + private FakeFeatureFactory mFeatureFactory; @Mock private LocalBluetoothProfileManager mLocalBtProfileManager; @Mock private LocalBluetoothLeBroadcast mBroadcast; @Mock private LocalBluetoothManager mLocalBtManager; @@ -97,6 +100,7 @@ public class AudioSharingReceiverTest { mLocalBluetoothManager = Utils.getLocalBtManager(mContext); when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalBtProfileManager); when(mLocalBtProfileManager.getLeAudioBroadcastProfile()).thenReturn(mBroadcast); + mFeatureFactory = FakeFeatureFactory.setupForTest(); } @Test @@ -156,6 +160,8 @@ public class AudioSharingReceiverTest { verify(mNm, times(1)) .notify(eq(R.drawable.ic_bt_le_audio_sharing), any(Notification.class)); + verify(mFeatureFactory.metricsFeatureProvider) + .action(mContext, SettingsEnums.ACTION_SHOW_AUDIO_SHARING_NOTIFICATION); } @Test @@ -170,6 +176,8 @@ public class AudioSharingReceiverTest { audioSharingReceiver.onReceive(mContext, intent); verify(mNm, times(1)).cancel(R.drawable.ic_bt_le_audio_sharing); + verify(mFeatureFactory.metricsFeatureProvider) + .action(mContext, SettingsEnums.ACTION_CANCEL_AUDIO_SHARING_NOTIFICATION); } @Test @@ -196,6 +204,8 @@ public class AudioSharingReceiverTest { audioSharingReceiver.onReceive(mContext, intent); verify(mBroadcast, times(1)).stopBroadcast(broadcastId); + verify(mFeatureFactory.metricsFeatureProvider) + .action(mContext, SettingsEnums.ACTION_STOP_AUDIO_SHARING_FROM_NOTIFICATION); } private AudioSharingReceiver getAudioSharingReceiver(Intent intent) { diff --git a/tests/robotests/src/com/android/settings/notification/modes/IconLoaderTest.java b/tests/robotests/src/com/android/settings/notification/modes/IconLoaderTest.java index a92e6187aef..7d4a3679198 100644 --- a/tests/robotests/src/com/android/settings/notification/modes/IconLoaderTest.java +++ b/tests/robotests/src/com/android/settings/notification/modes/IconLoaderTest.java @@ -21,6 +21,7 @@ import static android.app.NotificationManager.INTERRUPTION_FILTER_PRIORITY; import static com.google.common.truth.Truth.assertThat; import android.app.AutomaticZenRule; +import android.content.Context; import android.graphics.drawable.Drawable; import android.net.Uri; import android.service.notification.ZenPolicy; @@ -37,12 +38,13 @@ import org.robolectric.RuntimeEnvironment; @RunWith(RobolectricTestRunner.class) public class IconLoaderTest { + private Context mContext; private IconLoader mLoader; @Before public void setUp() { - mLoader = new IconLoader(RuntimeEnvironment.application, - MoreExecutors.newDirectExecutorService()); + mContext = RuntimeEnvironment.application; + mLoader = new IconLoader(MoreExecutors.newDirectExecutorService()); } @Test @@ -52,7 +54,7 @@ public class IconLoaderTest { .setIconResId(android.R.drawable.ic_media_play) .build(); - ListenableFuture loadFuture = mLoader.getIcon(systemRule); + ListenableFuture loadFuture = mLoader.getIcon(mContext, systemRule); assertThat(loadFuture.isDone()).isTrue(); assertThat(loadFuture.get()).isNotNull(); } @@ -64,7 +66,7 @@ public class IconLoaderTest { .setPackage("com.blah") .build(); - ListenableFuture loadFuture = mLoader.getIcon(rule); + ListenableFuture loadFuture = mLoader.getIcon(mContext, rule); assertThat(loadFuture.isDone()).isTrue(); assertThat(loadFuture.get()).isNotNull(); } @@ -77,7 +79,7 @@ public class IconLoaderTest { .setIconResId(-123456) .build(); - ListenableFuture loadFuture = mLoader.getIcon(rule); + ListenableFuture loadFuture = mLoader.getIcon(mContext, rule); assertThat(loadFuture.get()).isNotNull(); } diff --git a/tests/robotests/src/com/android/settings/testutils/ImageTestUtils.java b/tests/robotests/src/com/android/settings/testutils/ImageTestUtils.java deleted file mode 100644 index d7afe879e68..00000000000 --- a/tests/robotests/src/com/android/settings/testutils/ImageTestUtils.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2021 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. - */ - -package com.android.settings.testutils; - -import android.graphics.Bitmap; -import android.graphics.Canvas; -import android.graphics.drawable.Drawable; - -import androidx.annotation.Nullable; - -/** - * Utilities for testing images within unit tests. - */ -public class ImageTestUtils { - - /** Converts the drawable object to bitmap. */ - @Nullable - public static Bitmap drawableToBitmap(@Nullable Drawable drawable) { - if (drawable == null) { - return null; - } - - final Bitmap bitmap = - Bitmap.createBitmap( - drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight(), - Bitmap.Config.ARGB_8888); - final Canvas canvas = new Canvas(bitmap); - drawable.setBounds(0, 0, canvas.getWidth(), canvas.getHeight()); - drawable.draw(canvas); - - return bitmap; - } -}