diff options
author | Leon Scroggins III <scroggo@google.com> | 2018-01-13 11:40:42 -0500 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2018-01-17 19:40:10 +0000 |
commit | ea978db1f86b8c6fae3683eafe6621fd958308d7 (patch) | |
tree | 69dd86836a3fa989c8c1fe9610fd230826b03633 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 52aa9801fe1e3a6f8f28fcd2c8431effdf67e230 (diff) |
Switch to SkAndroidCodec::computeSampleSize
Bug: 63909536
Test: CtsGraphicsTestCases(ImageDecoderTest) and Skia
Depends on https://skia-review.googlesource.com/94620 in Skia.
Move the code for determining the actual sample size to Skia.
That code includes tests which caught bugs that are hard to
test for from the Java API. (Previously, we could end up using
the wrong sample size and then scaling unnecessarily.)
Change-Id: Ib3a5d70e4845e95b18af77668383d38746cb21fc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions