Merge "Fix typo in Dynamic coloring section" am: 0888fd44f0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2588325 Change-Id: If5dbf438b80a63e9f2d678c4c252a3fd916df347 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -153,14 +153,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:
|
||||
|
||||
Reference in New Issue
Block a user