summaryrefslogtreecommitdiffstats
path: root/res/xml/security_settings_pattern.xml
blob: 44fe95f847a610d2d31623253cc66c1f3c60f2c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 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.
-->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
                  xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
                  android:title="@string/lock_settings_picker_title">

    <PreferenceCategory
        android:key="security_category"
        android:title="@string/lock_settings_title">

        <PreferenceScreen
            android:key="unlock_set_or_change"
            android:title="@string/unlock_set_unlock_launch_picker_title"
            android:summary="@string/unlock_set_unlock_mode_pattern"
            settings:keywords="@string/keywords_lockscreen"
            android:persistent="false"/>


        <SwitchPreference
            android:key="directlyshow"
            android:persistent="false"
            android:title="@string/lock_directly_show_pattern"/>

        <SwitchPreference
            android:key="visiblepattern"
            android:persistent="false"
            android:title="@string/lockpattern_settings_enable_visible_pattern_title"/>

        <SwitchPreference
            android:key="visible_error_pattern"
            android:persistent="false"
            android:title="@string/lockpattern_settings_enable_error_path_title"/>

        <SwitchPreference
            android:key="visibledots"
            android:persistent="false"
            android:title="@string/lockpattern_settings_enable_dots_title"/>

        <ListPreference
            android:key="lock_after_timeout"
            android:title="@string/lock_after_timeout"
            android:summary="@string/lock_after_timeout_summary"
            android:entries="@array/lock_after_timeout_entries"
            android:entryValues="@array/lock_after_timeout_values"
            android:persistent="false"/>

        <SwitchPreference
            android:key="power_button_instantly_locks"
            android:title="@string/lockpattern_settings_enable_power_button_instantly_locks"/>

        <Preference
            android:key="manage_trust_agents"
            android:title="@string/manage_trust_agents"
            android:summary="@string/manage_trust_agents_summary"
            android:persistent="false"
            android:fragment="com.android.settings.TrustAgentSettings" />

    </PreferenceCategory>

    <PreferenceCategory
        android:key="general_category"
        android:title="@string/title_general">

        <com.android.settings.SingleLineSummaryPreference
            android:key="owner_info_settings"
            android:title="@string/owner_info_settings_title"
            android:summary="@string/owner_info_settings_summary"/>

        <PreferenceScreen
            android:key="lockscreen_shortcuts_settings"
            android:title="@string/lockscreen_targets_message" >
            <intent
                android:targetPackage="com.android.systemui"
                android:targetClass="com.android.systemui.cm.LockscreenShortcutsActivity" />
        </PreferenceScreen>

        <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference
            android:key="lockscreen_visualizer"
            android:title="@string/lockscreen_visualizer_title"
            android:defaultValue="true"/>

        <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference
            android:key="lock_screen_blur_enabled"
            android:title="@string/lockscreen_blur_enabled_title"
            android:defaultValue="true"/>

        <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference
            android:key="lock_screen_weather_enabled"
            android:title="@string/lockscreen_weather_enabled_title"
            android:defaultValue="false"/>

        <PreferenceScreen
            android:key="lockscreen_wallpaper"
            android:title="@string/lockscreen_wallpaper_title" >
            <intent
                android:action="android.intent.action.SET_KEYGUARD_WALLPAPER" />
        </PreferenceScreen>

    </PreferenceCategory>

</PreferenceScreen>