commit | 870053d44ba1d974730004da020f2d37fa116516 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <[email protected]> | Thu Jan 24 08:37:27 2019 -0500 |
committer | Leon Scroggins III <[email protected]> | Tue Jan 29 08:42:58 2019 -0500 |
tree | 70443b5163cfc460a6385bc9fc667f7bd582a204 | |
parent | 66a23d050451e2548fa73f31f274ff59bc5c2fcb [diff] |
Add Bitmap#getColor Bug: 120904891 Test: I61ba938cdbea5154187c3a075c84436f2db81174 getColor returns a Color object in the ColorSpace of the Bitmap. The underlying SkBitmap may contain values that are outside the numerical range of the ColorSpace, so clamp them to fit. Change-Id: I4174b75a83f18d6e165dbd2c724708276e80af21