diff options
author | Leon Scroggins III <scroggo@google.com> | 2018-02-15 10:40:33 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2018-02-15 14:14:25 -0500 |
commit | 2f1b06b58fc3c496832afc9b6ceeb2a36ef4bfa6 (patch) | |
tree | 52f83f8f311f4dab750bf2c9dcdf71addd0e7fdf /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | ee3a2ba97204f7d23c733504991d930aefd9fe7b (diff) |
Reland "Use ImageDecoder for NinePatchDrawable and BitmapDrawable"
This reverts commit ac9c8f7c1e4cc608ff78217b7849351d7f77d90c.
Bug: 73083791
Bug: 73364985
Don't scale NinePatchDrawable if bitmap has no density (including fix
for 73364985).
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
- I2d3976061d164ab4d58209db1320917f272a1958
- CtsViewTestCases
- ThemeHostTests
Change-Id: I3e0c11195622d65f084ce79dad887504630177ca
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions