Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21419dc9 authored by Menghan Li's avatar Menghan Li Committed by Android (Google) Code Review
Browse files

Merge "Enable "Remove animation" assistive technologies in setup" into tm-dev

parents 768a07fb b9b750fa
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
<!--
  Copyright 2022 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.
  -->

<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
    <item>
        <com.android.settingslib.widget.AdaptiveIconShapeDrawable
            android:width="@dimen/accessibility_icon_size"
            android:height="@dimen/accessibility_icon_size"
            android:color="@color/accessibility_feature_background"/>
    </item>
    <item android:gravity="center">
        <vector
            android:width="@dimen/accessibility_icon_foreground_size"
            android:height="@dimen/accessibility_icon_foreground_size"
            android:viewportWidth="24"
            android:viewportHeight="24">
            <path
                android:fillColor="#ffffff"
                android:fillType="evenOdd"
                android:pathData="M9,22Q7.55,22 6.275,21.45Q5,20.9 4.05,19.95Q3.1,19 2.55,17.725Q2,16.45 2,15Q2,12.975 3.05,11.3Q4.1,9.625 5.8,8.75Q6.3,7.775 7.038,7.037Q7.775,6.3 8.75,5.8Q9.575,4.1 11.275,3.05Q12.975,2 15,2Q16.45,2 17.725,2.55Q19,3.1 19.95,4.05Q20.9,5 21.45,6.275Q22,7.55 22,9Q22,11.125 20.95,12.75Q19.9,14.375 18.2,15.25Q17.7,16.225 16.962,16.962Q16.225,17.7 15.25,18.2Q14.375,19.9 12.7,20.95Q11.025,22 9,22ZM9,20Q9.825,20 10.588,19.75Q11.35,19.5 12,19Q10.55,19 9.275,18.45Q8,17.9 7.05,16.95Q6.1,16 5.55,14.725Q5,13.45 5,12Q4.5,12.65 4.25,13.412Q4,14.175 4,15Q4,16.05 4.4,16.95Q4.8,17.85 5.475,18.525Q6.15,19.2 7.05,19.6Q7.95,20 9,20ZM12,17Q12.825,17 13.613,16.75Q14.4,16.5 15.05,16Q13.575,16 12.3,15.438Q11.025,14.875 10.075,13.925Q9.125,12.975 8.562,11.7Q8,10.425 8,8.95Q7.5,9.6 7.25,10.387Q7,11.175 7,12Q7,13.05 7.388,13.95Q7.775,14.85 8.475,15.525Q9.15,16.225 10.05,16.613Q10.95,17 12,17ZM15,14Q15.45,14 15.863,13.925Q16.275,13.85 16.7,13.7Q17.25,12.2 16.863,10.812Q16.475,9.425 15.525,8.475Q14.575,7.525 13.188,7.137Q11.8,6.75 10.3,7.3Q10.15,7.725 10.075,8.137Q10,8.55 10,9Q10,10.05 10.387,10.95Q10.775,11.85 11.475,12.525Q12.15,13.225 13.05,13.613Q13.95,14 15,14ZM19,12.05Q19.5,11.4 19.75,10.612Q20,9.825 20,9Q20,7.95 19.613,7.05Q19.225,6.15 18.525,5.475Q17.85,4.775 16.95,4.387Q16.05,4 15,4Q14.125,4 13.363,4.25Q12.6,4.5 11.95,5Q13.425,5 14.7,5.562Q15.975,6.125 16.925,7.075Q17.875,8.025 18.438,9.3Q19,10.575 19,12.05Z" />
        </vector>
    </item>
</layer-list>
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -50,6 +50,7 @@
        settings:searchable="false"/>

    <SwitchPreference
        android:icon="@drawable/ic_accessibility_animation"
        android:key="toggle_disable_animations"
        android:persistent="false"
        android:summary="@string/accessibility_disable_animations_summary"
+8 −0
Original line number Diff line number Diff line
@@ -47,4 +47,12 @@
        android:persistent="true"
        android:summary="@string/talkback_summary"/>

    <SwitchPreference
        android:icon="@drawable/ic_accessibility_animation"
        android:key="toggle_disable_animations"
        android:persistent="false"
        android:summary="@string/accessibility_disable_animations_summary"
        android:title="@string/accessibility_disable_animations"
        settings:controller="com.android.settings.accessibility.DisableAnimationsPreferenceController"/>

</PreferenceScreen>