Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02f0185f authored by Lucas Dupin's avatar Lucas Dupin Committed by Automerger Merge Worker
Browse files

Merge "Fix typo in Dynamic coloring section" am: 0888fd44 am: 993cbcb6 am:...

Merge "Fix typo in Dynamic coloring section" am: 0888fd44 am: 993cbcb6 am: eea9c58a am: 51863ded am: 5c7b99f3 am: ee6c70ad

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2588325



Change-Id: Iab37a75e97aeefd8fa8a7405637cdecbb49f55c6
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 99abe693 ee6c70ad
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -152,14 +152,14 @@ based on animation progression.

To enable it, add the following line as the second line of desc.txt:

    dynamic_colors PATH #RGBHEX0 #RGBHEX1 #RGBHEX2 #RGBHEX3
    dynamic_colors PATH #RGBHEX1 #RGBHEX2 #RGBHEX3 #RGBHEX4

  * **PATH:** file path of the part to apply dynamic color transition to.
    Any part before this part will be rendered in the start colors.
    Any part after will be rendered in the end colors.
  * **RGBHEX1:** the first start color (masked by the R channel), specified as `#RRGGBB`.
  * **RGBHEX2:** the second start color (masked by the G channel), specified as `#RRGGBB`.
  * **RGBHEX3:** the thrid start color (masked by the B channel), specified as `#RRGGBB`.
  * **RGBHEX3:** the third start color (masked by the B channel), specified as `#RRGGBB`.
  * **RGBHEX4:** the forth start color (masked by the A channel), specified as `#RRGGBB`.

The end colors will be read from the following system properties: