commit | 6e07e16397d0e2afb75780310d07bc6565b45a40 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Wed Oct 16 16:42:32 2019 -0400 |
committer | Leon Scroggins <scroggo@google.com> | Thu Oct 17 14:22:48 2019 +0000 |
tree | 709b0715cae758a4587eb250e53bc1fea6b3f6c4 | |
parent | a3b702fa84b258f4bfa456223c2e02aca76de01b [diff] |
Fix scaling + cropping in ImageDecoder Bug: 141735646 Test: I9ab9115ee4cbc74549f7b914d99b667c700199d5 When using a subset, do not change desiredWidth/desiredHeight, which changes the scale used below. Instead, just change the size of the SkBitmap, so it looks correct. Change-Id: Ie9682afb9324bcdfc81f1d9664f9fcc3891f8939