diff options
author | Leon Scroggins III <scroggo@google.com> | 2018-01-31 14:59:29 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2018-01-31 15:43:49 -0500 |
commit | 046a99ebbb90f9ecdead7b057ef99764a1d295b9 (patch) | |
tree | 44794bba855b9d00b894db6de6ef035dfc68843c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ce9bcc4977a8f7eca00674dd5292f191e3ca98fa (diff) |
Use ImageDecoder in ImageView.getDrawableFromUri
Bug: 63909536
Test: Existing CTS tests
ImageDecoder will bypass the InputStream if possible, allowing it to be
more efficient. In addition, it handles density scaling differently;
instead of using more RAM to scale the image up, it results in scaling
at draw time.
Change-Id: Ied7c0865a736f9ef0de367299264e18ccc3e0b92
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions