summaryrefslogtreecommitdiff
path: root/doze/res/xml
diff options
context:
space:
mode:
authorIsaac Chen <isaacchen@isaacchen.cn>2018-07-13 05:00:59 +0200
committerIsaac Chen <isaacchen@isaacchen.cn>2018-07-13 00:03:17 +0000
commit5d5c84331b465e5c1428c68ff62dee0cad02bf41 (patch)
tree9d930854258f63b0450f19360eb3412e33d15947 /doze/res/xml
parent2c422cb5c2bd2b93ec56ed970df0051be54f2039 (diff)
wayne: Import XiaomiDoze from msm8996-common
Change-Id: Id2ad90466f64761a43bb8c768630b14620bee35c Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
Diffstat (limited to 'doze/res/xml')
-rw-r--r--doze/res/xml/doze_settings.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/doze/res/xml/doze_settings.xml b/doze/res/xml/doze_settings.xml
new file mode 100644
index 0000000..005c6ae
--- /dev/null
+++ b/doze/res/xml/doze_settings.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2015 The CyanogenMod 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.
+-->
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <PreferenceCategory
+ android:key="tilt_sensor"
+ android:title="@string/tilt_sensor_title">
+
+ <SwitchPreference
+ android:key="gesture_pick_up"
+ android:defaultValue="false"
+ android:title="@string/pick_up_gesture_title"
+ android:summary="@string/pick_up_gesture_summary" />
+
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="proximity_sensor"
+ android:title="@string/proximity_sensor_title">
+
+ <SwitchPreference
+ android:key="gesture_hand_wave"
+ android:defaultValue="false"
+ android:title="@string/hand_wave_gesture_title"
+ android:summary="@string/hand_wave_gesture_summary" />
+
+ <SwitchPreference
+ android:key="gesture_pocket"
+ android:defaultValue="false"
+ android:title="@string/pocket_gesture_title"
+ android:summary="@string/pocket_gesture_summary" />
+
+ </PreferenceCategory>
+
+</PreferenceScreen>