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

Commit 5c7b99f3 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

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



Change-Id: Ib9dc0ea0fff75282dc33d4d396af0c8e8713f05c
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 437a1eb3 51863ded
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: