caimito: Add PixelDisplayServiceOverlay
Extracted from AP3A.241005.015 Change-Id: I533319a8d61cc67f9111f133f49cdc727eb27ece
|
@ -8,4 +8,7 @@ $(call inherit-product, $(DEVICE_PATH)/device-lineage.mk)
|
|||
|
||||
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/$(DEVICE_CODENAME)/overlay-lineage
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
PixelDisplayServiceOverlayTokay
|
||||
|
||||
TARGET_VENDOR_PROP += $(DEVICE_PATH)/$(DEVICE_CODENAME)/vendor.prop
|
||||
|
|
9
tokay/rro_overlays/PixelDisplayServiceOverlay/Android.bp
Normal file
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// Copyright (C) 2024 The Android Open Source Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "PixelDisplayServiceOverlayTokay",
|
||||
product_specific: true,
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2024 The Android Open Source Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.pixeldisplayservice.overlay.tokay">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="1"
|
||||
android:targetPackage="com.android.pixeldisplayservice" />
|
||||
</manifest>
|
After Width: | Height: | Size: 391 KiB |
After Width: | Height: | Size: 462 KiB |
After Width: | Height: | Size: 466 KiB |
After Width: | Height: | Size: 470 KiB |
After Width: | Height: | Size: 474 KiB |
After Width: | Height: | Size: 477 KiB |
After Width: | Height: | Size: 485 KiB |
After Width: | Height: | Size: 491 KiB |
After Width: | Height: | Size: 494 KiB |
After Width: | Height: | Size: 501 KiB |
After Width: | Height: | Size: 504 KiB |
After Width: | Height: | Size: 401 KiB |
After Width: | Height: | Size: 508 KiB |
After Width: | Height: | Size: 534 KiB |
After Width: | Height: | Size: 407 KiB |
After Width: | Height: | Size: 414 KiB |
After Width: | Height: | Size: 421 KiB |
After Width: | Height: | Size: 426 KiB |
After Width: | Height: | Size: 432 KiB |
After Width: | Height: | Size: 444 KiB |
After Width: | Height: | Size: 448 KiB |
After Width: | Height: | Size: 458 KiB |
|
@ -0,0 +1,96 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<array name="config_za_compensation_brightness_thresholds_list">
|
||||
<item>@array/config_za_primary_display_brightness_thresholds_list</item>
|
||||
</array>
|
||||
<array name="config_za_compensation_images_list">
|
||||
<item>@array/config_za_primary_display_compensation_images_list</item>
|
||||
</array>
|
||||
<array name="config_za_compensation_opr_thresholds">
|
||||
<item>0.3</item>
|
||||
</array>
|
||||
<array name="config_za_primary_display_brightness_thresholds_list">
|
||||
<item>@array/config_za_primary_display_condition1_brightness_thresholds</item>
|
||||
<item>@array/config_za_primary_display_condition2_brightness_thresholds</item>
|
||||
</array>
|
||||
<array name="config_za_primary_display_compensation_images_list">
|
||||
<item>@array/config_za_primary_display_condition1_compensation_images</item>
|
||||
<item>@array/config_za_primary_display_condition2_compensation_images</item>
|
||||
</array>
|
||||
<array name="config_za_primary_display_condition1_brightness_thresholds">
|
||||
<item>0.4722222</item>
|
||||
<item>0.4861111</item>
|
||||
<item>0.5</item>
|
||||
<item>0.5277778</item>
|
||||
<item>0.5555556</item>
|
||||
<item>0.6111111</item>
|
||||
<item>0.6666667</item>
|
||||
<item>0.7222222</item>
|
||||
<item>0.7777778</item>
|
||||
<item>0.8333333</item>
|
||||
<item>0.8888889</item>
|
||||
<item>1.0</item>
|
||||
</array>
|
||||
<array name="config_za_primary_display_condition1_compensation_images">
|
||||
<item>@drawable/ZACI_0_2_ZA9162</item>
|
||||
<item>@drawable/ZACI_0_4_ZA8938</item>
|
||||
<item>@drawable/ZACI_0_6_ZA8712</item>
|
||||
<item>@drawable/ZACI_0_7_ZA8488</item>
|
||||
<item>@drawable/ZACI_0_9_ZA8150</item>
|
||||
<item>@drawable/ZACI_0_13_ZA7700</item>
|
||||
<item>@drawable/ZACI_0_14_ZA7588</item>
|
||||
<item>@drawable/ZACI_0_15_ZA7362</item>
|
||||
<item>@drawable/ZACI_0_16_ZA7138</item>
|
||||
<item>@drawable/ZACI_0_18_ZA6800</item>
|
||||
<item>@drawable/ZACI_0_20_ZA6533_6333_05</item>
|
||||
<item>@drawable/ZACI_0_21_ZA6533_6333_03</item>
|
||||
</array>
|
||||
<array name="config_za_primary_display_condition2_brightness_thresholds">
|
||||
<item>0.4722222</item>
|
||||
<item>0.4861111</item>
|
||||
<item>0.5</item>
|
||||
<item>0.5277778</item>
|
||||
<item>0.5555556</item>
|
||||
<item>0.5833333</item>
|
||||
<item>0.6111111</item>
|
||||
<item>0.6388889</item>
|
||||
<item>0.6666667</item>
|
||||
<item>0.6944444</item>
|
||||
<item>0.7222222</item>
|
||||
<item>0.75</item>
|
||||
<item>0.7777778</item>
|
||||
<item>0.8055556</item>
|
||||
<item>0.8333333</item>
|
||||
<item>0.8611111</item>
|
||||
<item>0.8888889</item>
|
||||
<item>0.9722222</item>
|
||||
<item>1.0</item>
|
||||
</array>
|
||||
<array name="config_za_primary_display_condition2_compensation_images">
|
||||
<item>@drawable/ZACI_0_0_ZA9388</item>
|
||||
<item>@drawable/ZACI_0_1_ZA9275</item>
|
||||
<item>@drawable/ZACI_0_2_ZA9162</item>
|
||||
<item>@drawable/ZACI_0_3_ZA9050</item>
|
||||
<item>@drawable/ZACI_0_5_ZA8825</item>
|
||||
<item>@drawable/ZACI_0_6_ZA8712</item>
|
||||
<item>@drawable/ZACI_0_7_ZA8488</item>
|
||||
<item>@drawable/ZACI_0_8_ZA8375</item>
|
||||
<item>@drawable/ZACI_0_9_ZA8150</item>
|
||||
<item>@drawable/ZACI_0_11_ZA7925</item>
|
||||
<item>@drawable/ZACI_0_12_ZA7812</item>
|
||||
<item>@drawable/ZACI_0_14_ZA7588</item>
|
||||
<item>@drawable/ZACI_0_15_ZA7362</item>
|
||||
<item>@drawable/ZACI_0_16_ZA7138</item>
|
||||
<item>@drawable/ZACI_0_17_ZA7025</item>
|
||||
<item>@drawable/ZACI_0_18_ZA6800</item>
|
||||
<item>@drawable/ZACI_0_19_ZA6667</item>
|
||||
<item>@drawable/ZACI_0_20_ZA6533_6333_05</item>
|
||||
<item>@drawable/ZACI_0_21_ZA6533_6333_03</item>
|
||||
</array>
|
||||
<bool name="config_compensation_animation_enabled">true</bool>
|
||||
<item type="dimen" name="config_compensation_filter_intercept">10.0</item>
|
||||
<item type="dimen" name="config_lbe_lux_switch_threshold">1.0</item>
|
||||
<item type="dimen" name="config_za_compensation_brightness_enter_threshold">0.4</item>
|
||||
<integer name="config_ambient_brightness_changed_debounce_ms">500</integer>
|
||||
<integer name="config_compensation_filter_horizon">1500</integer>
|
||||
</resources>
|