diff options
author | Leon Scroggins III <scroggo@google.com> | 2018-03-29 09:48:47 -0400 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2018-03-29 13:44:22 -0400 |
commit | 1a69f4598faef083d0123bb9b6bfcd6acfdec4e0 (patch) | |
tree | 83f6a0313e55022743b339ad60884aa86fc26180 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 64481195e13e2dd7197fff569344e5a263b7871a (diff) |
Add in/out ColorSpace to ImageDecoder
Bug: 76448408
Test: I851173b771668f0e6712bebfe06bfb8559801199
Add ImageInfo.getColorSpace() for retrieving the default ColorSpace.
This matches BitmapFactory.Options.outColorSpace.
Add ImageDecoder.setTargetColorSpace() for choosing a new ColorSpace.
This matches BitmapFactory.Options.inPreferredColorSpace.
Rename setSampleSize to setTargetSampleSize to match setTargetSize and
setTargetColorSpace.
Change-Id: If2f4e755dfc163f754849f896de24659198973db
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions