diff --git a/akita/device-lineage.mk b/akita/device-lineage.mk index 7a01539..d2d9821 100644 --- a/akita/device-lineage.mk +++ b/akita/device-lineage.mk @@ -8,4 +8,7 @@ $(call inherit-product, $(DEVICE_PATH)/device-lineage.mk) DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/$(DEVICE_CODENAME)/overlay-lineage +PRODUCT_PACKAGES += \ + PixelDisplayServiceOverlayAkita + TARGET_VENDOR_PROP += $(DEVICE_PATH)/$(DEVICE_CODENAME)/vendor.prop diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/Android.bp b/akita/rro_overlays/PixelDisplayServiceOverlay/Android.bp new file mode 100644 index 0000000..c3e4ce7 --- /dev/null +++ b/akita/rro_overlays/PixelDisplayServiceOverlay/Android.bp @@ -0,0 +1,9 @@ +// +// Copyright (C) 2024 The Android Open Source Project +// SPDX-License-Identifier: Apache-2.0 +// + +runtime_resource_overlay { + name: "PixelDisplayServiceOverlayAkita", + product_specific: true, +} diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/AndroidManifest.xml b/akita/rro_overlays/PixelDisplayServiceOverlay/AndroidManifest.xml new file mode 100644 index 0000000..00ec792 --- /dev/null +++ b/akita/rro_overlays/PixelDisplayServiceOverlay/AndroidManifest.xml @@ -0,0 +1,13 @@ + + + + + + diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_0_cal0.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_0_cal0.png new file mode 100644 index 0000000..4757e46 Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_0_cal0.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_1_cal0.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_1_cal0.png new file mode 100644 index 0000000..4757e46 Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_1_cal0.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_2_cal0.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_2_cal0.png new file mode 100644 index 0000000..4757e46 Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_2_cal0.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_3_cal0.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_3_cal0.png new file mode 100644 index 0000000..b92eacc Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_3_cal0.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_4_cal0.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_4_cal0.png new file mode 100644 index 0000000..b92eacc Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_4_cal0.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_5_cal0.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_5_cal0.png new file mode 100644 index 0000000..b92eacc Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/SCI_5_cal0.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_0_ZA9162.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_0_ZA9162.png new file mode 100644 index 0000000..7f0f52a Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_0_ZA9162.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_10_ZA7588.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_10_ZA7588.png new file mode 100644 index 0000000..fd631fd Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_10_ZA7588.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_11_ZA7475.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_11_ZA7475.png new file mode 100644 index 0000000..15ff4d5 Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_11_ZA7475.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_12_ZA7362.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_12_ZA7362.png new file mode 100644 index 0000000..e2e7e2a Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_12_ZA7362.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_13_ZA7250.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_13_ZA7250.png new file mode 100644 index 0000000..93c62e7 Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_13_ZA7250.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_1_ZA8938.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_1_ZA8938.png new file mode 100644 index 0000000..e7107b7 Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_1_ZA8938.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_2_ZA8712.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_2_ZA8712.png new file mode 100644 index 0000000..7b262b4 Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_2_ZA8712.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_3_ZA8488.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_3_ZA8488.png new file mode 100644 index 0000000..c062f83 Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_3_ZA8488.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_4_ZA8375.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_4_ZA8375.png new file mode 100644 index 0000000..b94656d Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_4_ZA8375.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_5_ZA8262.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_5_ZA8262.png new file mode 100644 index 0000000..35bba68 Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_5_ZA8262.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_6_ZA8150.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_6_ZA8150.png new file mode 100644 index 0000000..9b9bc75 Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_6_ZA8150.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_7_ZA8038.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_7_ZA8038.png new file mode 100644 index 0000000..c3d6301 Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_7_ZA8038.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_8_ZA7812.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_8_ZA7812.png new file mode 100644 index 0000000..cfda15a Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_8_ZA7812.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_9_ZA7700.png b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_9_ZA7700.png new file mode 100644 index 0000000..ac65014 Binary files /dev/null and b/akita/rro_overlays/PixelDisplayServiceOverlay/res/drawable/ZACI_9_ZA7700.png differ diff --git a/akita/rro_overlays/PixelDisplayServiceOverlay/res/values/config.xml b/akita/rro_overlays/PixelDisplayServiceOverlay/res/values/config.xml new file mode 100644 index 0000000..f23e3c8 --- /dev/null +++ b/akita/rro_overlays/PixelDisplayServiceOverlay/res/values/config.xml @@ -0,0 +1,97 @@ + + + + + @array/config_za_primary_display_brightness_thresholds_list + + + @array/config_za_primary_display_compensation_images_list + + + 0.4 + + + @drawable/SCI_0_cal0 + @drawable/SCI_1_cal0 + @drawable/SCI_2_cal0 + @drawable/SCI_3_cal0 + @drawable/SCI_4_cal0 + @drawable/SCI_5_cal0 + + + 7000 + 10000 + 35000 + 50000 + 80000 + 100000 + + + @array/config_za_primary_display_condition1_brightness_thresholds + @array/config_za_primary_display_condition2_brightness_thresholds + + + @array/config_za_primary_display_condition1_compensation_images + @array/config_za_primary_display_condition2_compensation_images + + + 0.60714287 + 0.625 + 0.64285713 + 0.66071427 + 0.6785714 + 0.71428573 + 0.75 + 0.85714287 + 0.9285714 + 0.9464286 + 0.96428573 + 0.98214287 + 1.0 + + + @drawable/ZACI_0_ZA9162 + @drawable/ZACI_1_ZA8938 + @drawable/ZACI_2_ZA8712 + @drawable/ZACI_3_ZA8488 + @drawable/ZACI_5_ZA8262 + @drawable/ZACI_6_ZA8150 + @drawable/ZACI_7_ZA8038 + @drawable/ZACI_8_ZA7812 + @drawable/ZACI_9_ZA7700 + @drawable/ZACI_10_ZA7588 + @drawable/ZACI_11_ZA7475 + @drawable/ZACI_12_ZA7362 + @drawable/ZACI_13_ZA7250 + + + 0.57214284 + 0.75 + 0.78571427 + 0.8214286 + 0.85714287 + 0.9285714 + 0.96428573 + 0.98214287 + 1.0 + + + @drawable/ZACI_0_ZA9162 + @drawable/ZACI_1_ZA8938 + @drawable/ZACI_2_ZA8712 + @drawable/ZACI_3_ZA8488 + @drawable/ZACI_4_ZA8375 + @drawable/ZACI_6_ZA8150 + @drawable/ZACI_7_ZA8038 + @drawable/ZACI_8_ZA7812 + @drawable/ZACI_10_ZA7588 + + true + 10.0 + 0.5 + 500 + 1500 +