commit | 95648b8a590995e57948ff2fd57d234bdbf30be0 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Thu Apr 13 18:43:42 2017 -0700 |
committer | Romain Guy <romainguy@google.com> | Fri Apr 14 10:14:27 2017 -0700 |
tree | 71630f27fa9363b490f371db1548f8ddb35bdcdc | |
parent | 0cdc7c887492484de155f87ce10543763a8e4be0 [diff] |
Add BitmapFactory.Options.inColorSpace This allows applications to load bitmap in a preferred target color space, similar to inPreferredConfig for configurations. This change also applies recent changes made to BitmapFactory to BitmapRegionDecoder: support for outColorSpace, inColorSpace and outConfig. Bug: 32984164, 36905374 Test: CtsGraphicsTestCase (BitmapColorSpaceTest/BitmapRegionDecoderTest) Change-Id: I4eded9190d1aa9c7f3033f9bb78a6854cc48a3ef