diff options
author | Leon Scroggins III <scroggo@google.com> | 2019-02-04 10:30:22 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2019-02-26 12:03:29 -0500 |
commit | eac1423a316016a7a50d3f6e60dc77466afdcfd9 (patch) | |
tree | fa040e9202aa2e57fff5e7fd29e40379ed2bce4c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 869f5c42a0fbf73e284949fd5fd58eaff7b8882b (diff) |
Pass ColorSpace to AnimatedImageDrawable
Bug: 123301872
Bug: 117601185
Test: Manual (Ie18811ba29a1db163aca08472b04ae185e9344f0)
Test: CTS (Ie4b0a232effc67ab7a7fc6070302c722177cadfa)
Test: Infeasible (verify desired ColorSpace is used)
When calling setTargetColorSpace on an ImageDecoder for an animated
image, pass this to the AnimatedImageDrawable. Also respect an EXTENDED
ColorSpace as a cue to decode to RGBA_F16, as with Bitmaps.
Call ImageDecoder#checkState for AnimatedImageDrawables, as with
Bitmaps.
Change-Id: I5f6e11ee14ce4477bfedf2d1fdde8e15ed5f24d5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions