Skip to content

Commit

Permalink
porsche: overlay: Move color mode overlays to vendor/aospa
Browse files Browse the repository at this point in the history
It's now defined there as of https://gerrit.aospa.co/c/AOSPA/android_vendor_aospa/+/36129

Change-Id: I19935362b39339fcf07eafc5974d5a980922b398
  • Loading branch information
ElectroPerf committed Nov 17, 2023
1 parent 371cd0c commit 3c17ae9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.
30 changes: 0 additions & 30 deletions overlay/PorscheFrameworks/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -486,36 +486,6 @@
-->
<bool name="config_fillMainBuiltInDisplayCutout">true</bool>

<!-- List supported color modes. -->
<integer-array name="config_availableColorModes">
<item>0</item> <!-- COLOR_MODE_NATURAL -->
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
<item>2</item> <!-- COLOR_MODE_SATURATED -->
</integer-array>

<!-- The following two arrays specify which color space to use for display composition when a
certain color mode is active.
Composition color spaces are defined in android.view.Display.COLOR_MODE_xxx, and color
modes are defined in ColorDisplayManager.COLOR_MODE_xxx and
ColorDisplayManager.VENDOR_COLOR_MODE_xxx.
The color space COLOR_MODE_DEFAULT (0) lets the system select the most appropriate
composition color space for currently displayed content. Other values (e.g.,
COLOR_MODE_SRGB) override system selection; these other color spaces must be supported by
the device for for display composition.
If a color mode does not have a corresponding color space specified in this array, the
currently set composition color space will not be modified.-->
<integer-array name="config_displayCompositionColorModes">
<item>0</item> <!-- COLOR_MODE_NATURAL -->
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
<item>2</item> <!-- COLOR_MODE_SATURATED -->
</integer-array>

<integer-array name="config_displayCompositionColorSpaces">
<item>9</item> <!-- COLOR_MODE_DISPLAY_P3 -->
<item>9</item> <!-- COLOR_MODE_DISPLAY_P3 -->
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
</integer-array>

<!-- If true, the doze component is not started until after the screen has been
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
Expand Down
18 changes: 0 additions & 18 deletions overlay/PorscheSettings/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,6 @@
-->
<resources>

<!-- 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>Natural</item>
<item>Brilliant</item>
<item>Vivid</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> <!-- COLOR_MODE_NATURAL -->
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
<item>2</item> <!-- COLOR_MODE_SATURATED -->
</integer-array>

<!-- Whether to show Smooth Display feature in Settings Options -->
<bool name="config_show_smooth_display">true</bool>

Expand Down

0 comments on commit 3c17ae9

Please sign in to comment.