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 <!-- The item is not specific to Accessibility. 24 The same entry is under System, which is unlikely to be removed, 25 so this is not searchable. --> 26 <Preference 27 android:fragment="com.android.settings.gestures.SystemNavigationGestureSettings" 28 android:key="gesture_system_navigation_input_summary_accessibility" 29 android:persistent="false" 30 android:title="@string/system_navigation_title" 31 settings:searchable="false" 32 settings:controller="com.android.settings.gestures.SystemNavigationPreferenceController"/> 33 34 <!-- The item is not specific to Accessibility. 35 The same entry is under System > Gesture, which is unlikely to be removed, 36 so this is not searchable. --> 37 <Preference 38 android:fragment="com.android.settings.gestures.OneHandedSettings" 39 android:key="gesture_system_navigation_one_handed_accessibility" 40 android:persistent="false" 41 android:title="@string/one_handed_title" 42 settings:searchable="false" 43 settings:controller="com.android.settings.gestures.OneHandedEnablePreferenceController"/> 44 45 <SwitchPreferenceCompat 46 android:key="toggle_power_button_ends_call_preference" 47 android:persistent="false" 48 android:title="@string/accessibility_power_button_ends_call_prerefence_title" 49 settings:controller="com.android.settings.accessibility.PowerButtonEndsCallPreferenceController"/> 50 51 <!-- Standard auto-rotation preference that will be shown when device state based auto-rotation 52 settings are NOT available. 53 The item is not specific to Accessibility. 54 The same entry is under Display & touch, which is unlikely to be removed, 55 so this is not searchable.--> 56 <SwitchPreferenceCompat 57 android:key="toggle_lock_screen_rotation_preference" 58 android:persistent="false" 59 android:title="@string/accelerometer_title" 60 settings:searchable="false" 61 settings:controller="com.android.settings.accessibility.LockScreenRotationPreferenceController"/> 62 63 <!-- Auto-rotation preference that will be shown when device state based auto-rotation settings 64 are available. 65 The item is not specific to Accessibility. 66 The same entry is under Display & touch, which is unlikely to be removed, 67 so this is not searchable. --> 68 <Preference 69 android:key="device_state_auto_rotate_accessibility" 70 android:persistent="false" 71 android:title="@string/accelerometer_title" 72 android:fragment="com.android.settings.display.DeviceStateAutoRotateDetailsFragment" 73 settings:searchable="false" 74 settings:controller="com.android.settings.display.DeviceStateAutoRotateOverviewController"/> 75 76</PreferenceScreen> 77