diff options
| author | Leon Scroggins III <scroggo@google.com> | 2019-01-24 08:37:27 -0500 |
|---|---|---|
| committer | Leon Scroggins III <scroggo@google.com> | 2019-01-29 08:42:58 -0500 |
| commit | 870053d44ba1d974730004da020f2d37fa116516 (patch) | |
| tree | 70443b5163cfc460a6385bc9fc667f7bd582a204 /rs/java/android/renderscript/RenderScriptCacheDir.java | |
| 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
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions
