summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Grace <gracehan@google.com> 2022-06-21 20:04:17 +0000
committer Grace <gracehan@google.com> 2022-06-29 18:07:59 +0000
commit3e9e7d5caf5276a319fac0bb0d3e5331f2b7db9a (patch)
tree9f1fe260c4c723376f0651e90679659860dfb85c /libs/androidfw/StringPool.cpp
parent75bc6531d8642c94d90b3682dc3dfc72a74861f1 (diff)
Adding Region Sampler to Animatable Clocks
A RegionSamplingHelper is used to extract the color of the wallpaper behind an AnimatableClockController. This is used to set the color of the clock to a contrasting hue so that the text is legible. These changes fixes the problem of the clock text blending into the wallpaper. Bug: 202758428 Test: atest AnimatableClockControllerTest Change-Id: I645c2a0b4e68d5ec9165a2eb354f6d814acbf596
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions