blob: 443e17ae48d512cb088c9ad39d63fa99940b4c08 [file] [log] [blame]
<?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"
android:key="livedisplay"
android:title="@*cyanogenmod.platform:string/live_display_title">
<PreferenceCategory
android:key="live_display_options"
android:title="@*cyanogenmod.platform:string/live_display_title">
<!-- Color profile -->
<ListPreference
android:key="live_display_color_profile"
android:title="@string/live_display_color_profile_title"
android:persistent="false" />
<ListPreference
android:key="live_display"
android:title="@string/live_display_mode"
android:persistent="false" />
<!-- Manual temperature selection -->
<org.cyanogenmod.cmparts.livedisplay.DisplayTemperature
android:key="live_display_color_temperature"
android:title="@string/live_display_color_temperature_title"
android:dialogTitle="@*cyanogenmod.platform:string/live_display_title"
android:persistent="false" />
<!-- Outdoor mode / SRE -->
<cyanogenmod.preference.CMSystemSettingSwitchPreference
android:key="display_auto_outdoor_mode"
android:title="@string/live_display_outdoor_mode_title"
android:summary="@string/live_display_outdoor_mode_summary"
android:defaultValue="@*cyanogenmod.platform:bool/config_defaultAutoOutdoorMode" />
</PreferenceCategory>
<PreferenceCategory
android:key="advanced"
android:title="@string/advanced">
<!-- RGB display color adjustments -->
<org.cyanogenmod.cmparts.livedisplay.DisplayColor
android:key="color_calibration"
android:title="@string/color_calibration_title"
android:dialogTitle="@string/color_calibration_title"
android:summary="@string/color_calibration_summary"
android:persistent="false"/>
<!-- HSIC display color adjustments -->
<org.cyanogenmod.cmparts.livedisplay.PictureAdjustment
android:key="picture_adjustment"
android:title="@string/picture_adjustment_title"
android:dialogTitle="@string/picture_adjustment_title"
android:summary="@string/picture_adjustment_summary"
android:persistent="false"/>
<!-- Adaptive backlight -->
<cyanogenmod.preference.CMSystemSettingSwitchPreference
android:key="display_low_power"
android:title="@string/live_display_low_power_title"
android:summary="@string/live_display_low_power_summary"
android:defaultValue="@*cyanogenmod.platform:bool/config_defaultCABC" />
<!-- Color enhancement -->
<cyanogenmod.preference.CMSystemSettingSwitchPreference
android:key="display_color_enhance"
android:title="@string/live_display_enhance_color_title"
android:summary="@string/live_display_enhance_color_summary"
android:defaultValue="@*cyanogenmod.platform:bool/config_defaultColorEnhancement" />
</PreferenceCategory>
</PreferenceScreen>