sm8350-common: Map our display modes out using AOSP overlays
Change-Id: I1124033f4c7dd5362514656bcab1da80f89f4080
This commit is contained in:
parent
942a1ab614
commit
7bb44400a8
2 changed files with 40 additions and 31 deletions
|
@ -1,31 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
**
|
|
||||||
** Copyright 2007 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.
|
|
||||||
*/
|
|
||||||
-->
|
|
||||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<!-- Override supported color mode labels.
|
|
||||||
NOTE: This list must have the exact same items count as config_availableColorModes -->
|
|
||||||
<string-array name="available_vendor_color_modes" translatable="false">
|
|
||||||
<item>Vivid</item>
|
|
||||||
<item>Natural</item>
|
|
||||||
<item>AMOLED Wide Gamut</item>
|
|
||||||
<item>sRGB</item>
|
|
||||||
<item>Display P3</item>
|
|
||||||
</string-array>
|
|
||||||
|
|
||||||
</resources>
|
|
40
overlay/packages/apps/Settings/res/values/config.xml
Normal file
40
overlay/packages/apps/Settings/res/values/config.xml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2007 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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
|
|
||||||
|
<!-- Display settings screen, Color mode options. Must be the same length and order as
|
||||||
|
config_color_mode_options_values below. Only the values that also appear in
|
||||||
|
frameworks/base/core/res/res/values/config.xml's config_availableColorModes are shown. -->
|
||||||
|
<string-array name="config_color_mode_options_strings" translatable="false">
|
||||||
|
<item>Vivid</item>
|
||||||
|
<item>Natural</item>
|
||||||
|
<item>AMOLED Wide Gamut</item>
|
||||||
|
<item>sRGB</item>
|
||||||
|
<item>Display P3</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
|
<!-- Display settings screen, Color mode options. Must be the same length and order as
|
||||||
|
config_color_mode_options_strings above. Only the values that also appear in
|
||||||
|
frameworks/base/core/res/res/values/config.xml's config_availableColorModes are shown. -->
|
||||||
|
<integer-array name="config_color_mode_options_values" translatable="false">
|
||||||
|
<item>0</item>
|
||||||
|
<item>256</item>
|
||||||
|
<item>257</item>
|
||||||
|
<item>258</item>
|
||||||
|
<item>259</item>
|
||||||
|
</integer-array>
|
||||||
|
</resources>
|
Loading…
Reference in a new issue