1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2021 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<PreferenceScreen
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:settings="http://schemas.android.com/apk/res-auto"
19    android:key="accessibility_system_controls"
20    android:persistent="false"
21    android:title="@string/accessibility_system_controls_title">
22
23    <Preference
24        android:fragment="com.android.settings.gestures.SystemNavigationGestureSettings"
25        android:key="gesture_system_navigation_input_summary_accessibility"
26        android:persistent="false"
27        android:title="@string/system_navigation_title"
28        settings:searchable="false"
29        settings:controller="com.android.settings.gestures.SystemNavigationPreferenceController"/>
30
31    <Preference
32        android:fragment="com.android.settings.gestures.OneHandedSettings"
33        android:key="gesture_system_navigation_one_handed_accessibility"
34        android:persistent="false"
35        android:title="@string/one_handed_title"
36        settings:searchable="false"
37        settings:controller="com.android.settings.gestures.OneHandedEnablePreferenceController"/>
38
39    <SwitchPreferenceCompat
40        android:key="toggle_power_button_ends_call_preference"
41        android:persistent="false"
42        android:title="@string/accessibility_power_button_ends_call_prerefence_title"
43        settings:controller="com.android.settings.accessibility.PowerButtonEndsCallPreferenceController"/>
44
45    <!-- Standard auto-rotation preference that will be shown when device state based auto-rotation
46         settings are NOT available. -->
47    <SwitchPreferenceCompat
48        android:key="toggle_lock_screen_rotation_preference"
49        android:persistent="false"
50        android:title="@string/accelerometer_title"
51        settings:controller="com.android.settings.accessibility.LockScreenRotationPreferenceController"/>
52
53    <!-- Auto-rotation preference that will be shown when device state based auto-rotation settings
54         are available. -->
55    <Preference
56        android:key="device_state_auto_rotate_accessibility"
57        android:persistent="false"
58        android:title="@string/accelerometer_title"
59        android:fragment="com.android.settings.display.DeviceStateAutoRotateDetailsFragment"
60        settings:keywords="@string/keywords_auto_rotate"
61        settings:controller="com.android.settings.display.DeviceStateAutoRotateOverviewController"/>
62
63</PreferenceScreen>
64