diff options
author | Stan Iliev <stani@google.com> | 2018-01-30 16:56:15 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2018-02-02 10:26:57 -0500 |
commit | 5aec67ca1baaa5ce7af5062cec0437a72969d2f9 (patch) | |
tree | 2499dde6284af23353b8a73854bc8d23cad50742 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 34b58512cbec4b77803d412e4ce089a95dd1fec2 (diff) |
Use ImageDecoder for NinePatchDrawable and BitmapDrawable
Don't scale NinePatchDrawable if bitmap has no density.
Fixed bugs around density and input streams.
Update PointerIcon to account for the fact that BitmapDrawable no longer
scales its Bitmap up at decode time. PointerIcon now handles the
scaling. This is necessary because PointerIcon never draws its Bitmap.
Instead, native code uses the Bitmap's internal SkBitmap without
accounting for density.
Test: Ran CTS:
- CtsUiRenderingTestCases
- CtsGraphicsTestCases
- CtsViewTestCases
Change-Id: I030b4bb89c66b0102ccea2d85f5271197558d14e
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions