blob: f1d0414fd6e43170b4da2c1f81d95a37fcfb3e9c [file] [log] [blame]
Steve Kondik4ecd7e52016-09-08 14:47:47 -07001<?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-->
Steve Kondik165ebdf2016-10-07 00:17:49 -070017<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18 android:key="livedisplay"
Sam Mortimer32a2abb2017-09-18 21:40:24 -070019 android:title="@*lineageos.platform:string/live_display_title">
Steve Kondik4ecd7e52016-09-08 14:47:47 -070020
21 <PreferenceCategory
22 android:key="live_display_options"
Sam Mortimer32a2abb2017-09-18 21:40:24 -070023 android:title="@*lineageos.platform:string/live_display_title">
Steve Kondik4ecd7e52016-09-08 14:47:47 -070024
25 <!-- Color profile -->
26 <ListPreference
27 android:key="live_display_color_profile"
28 android:title="@string/live_display_color_profile_title"
29 android:persistent="false" />
30
31 <ListPreference
32 android:key="live_display"
33 android:title="@string/live_display_mode"
34 android:persistent="false" />
35
36 <!-- Manual temperature selection -->
Sam Mortimer32a2abb2017-09-18 21:40:24 -070037 <org.lineageos.lineageparts.livedisplay.DisplayTemperature
Steve Kondik4ecd7e52016-09-08 14:47:47 -070038 android:key="live_display_color_temperature"
39 android:title="@string/live_display_color_temperature_title"
Sam Mortimer32a2abb2017-09-18 21:40:24 -070040 android:dialogTitle="@*lineageos.platform:string/live_display_title"
Steve Kondik4ecd7e52016-09-08 14:47:47 -070041 android:persistent="false" />
42
43 <!-- Outdoor mode / SRE -->
Sam Mortimer32a2abb2017-09-18 21:40:24 -070044 <lineageos.preference.LineageSystemSettingSwitchPreference
Steve Kondik4ecd7e52016-09-08 14:47:47 -070045 android:key="display_auto_outdoor_mode"
46 android:title="@string/live_display_outdoor_mode_title"
47 android:summary="@string/live_display_outdoor_mode_summary"
Sam Mortimer32a2abb2017-09-18 21:40:24 -070048 android:defaultValue="@*lineageos.platform:bool/config_defaultAutoOutdoorMode" />
Steve Kondik4ecd7e52016-09-08 14:47:47 -070049
50 </PreferenceCategory>
51
52 <PreferenceCategory
53 android:key="advanced"
54 android:title="@string/advanced">
55
56 <!-- RGB display color adjustments -->
Sam Mortimer32a2abb2017-09-18 21:40:24 -070057 <org.lineageos.lineageparts.livedisplay.DisplayColor
Steve Kondik4ecd7e52016-09-08 14:47:47 -070058 android:key="color_calibration"
59 android:title="@string/color_calibration_title"
60 android:dialogTitle="@string/color_calibration_title"
61 android:summary="@string/color_calibration_summary"
62 android:persistent="false"/>
63
64 <!-- HSIC display color adjustments -->
Sam Mortimer32a2abb2017-09-18 21:40:24 -070065 <org.lineageos.lineageparts.livedisplay.PictureAdjustment
Steve Kondik4ecd7e52016-09-08 14:47:47 -070066 android:key="picture_adjustment"
67 android:title="@string/picture_adjustment_title"
68 android:dialogTitle="@string/picture_adjustment_title"
69 android:summary="@string/picture_adjustment_summary"
70 android:persistent="false"/>
71
72 <!-- Adaptive backlight -->
Sam Mortimer32a2abb2017-09-18 21:40:24 -070073 <lineageos.preference.LineageSystemSettingSwitchPreference
Steve Kondik4ecd7e52016-09-08 14:47:47 -070074 android:key="display_low_power"
75 android:title="@string/live_display_low_power_title"
76 android:summary="@string/live_display_low_power_summary"
Sam Mortimer32a2abb2017-09-18 21:40:24 -070077 android:defaultValue="@*lineageos.platform:bool/config_defaultCABC" />
Steve Kondik4ecd7e52016-09-08 14:47:47 -070078
79 <!-- Color enhancement -->
Sam Mortimer32a2abb2017-09-18 21:40:24 -070080 <lineageos.preference.LineageSystemSettingSwitchPreference
Steve Kondik4ecd7e52016-09-08 14:47:47 -070081 android:key="display_color_enhance"
82 android:title="@string/live_display_enhance_color_title"
83 android:summary="@string/live_display_enhance_color_summary"
Sam Mortimer32a2abb2017-09-18 21:40:24 -070084 android:defaultValue="@*lineageos.platform:bool/config_defaultColorEnhancement" />
Steve Kondik4ecd7e52016-09-08 14:47:47 -070085
86 </PreferenceCategory>
87
88</PreferenceScreen>