1a063d168a58039d774843dc48c4e2b68e3ba36b
[GitHub/LineageOS/android_device_samsung_universal7580-common.git] / SamsungDoze / res / xml / gesture_panel.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Copyright (C) 2015 The CyanogenMod Project
4
5 Licensed under the Apache License, Version 2.0 (the "License"
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
18
19 <PreferenceCategory
20 android:key="ambient_display_key"
21 android:title="@string/ambient_display_title">
22
23 <lineageos.preference.SecureSettingSwitchPreference
24 android:key="doze_enabled"
25 android:defaultValue="true"
26 android:title="@string/ambient_display_enable_title"
27 android:summary="@string/ambient_display_enable_summary" />
28
29 <SwitchPreference
30 android:key="gesture_hand_wave"
31 android:defaultValue="false"
32 android:title="@string/hand_wave_gesture_title"
33 android:summary="@string/hand_wave_gesture_summary"
34 android:dependency="doze_enabled" />
35
36 <SwitchPreference
37 android:key="gesture_pocket"
38 android:defaultValue="false"
39 android:title="@string/pocket_gesture_title"
40 android:summary="@string/pocket_gesture_summary"
41 android:dependency="doze_enabled" />
42 </PreferenceCategory>
43
44 <PreferenceCategory
45 android:key="proximity_wake_key"
46 android:title="@string/proximity_wake_title">
47
48 <SwitchPreference
49 android:key="proximity_wake_enable"
50 android:defaultValue="false"
51 android:title="@string/proximity_wake_enable_title"
52 android:summary="@string/proximity_wake_enable_summary" />
53 </PreferenceCategory>
54
55 </PreferenceScreen>