Skip to content
Commit 0bb4dade authored by Adam Koch's avatar Adam Koch
Browse files

Displaying Bitmaps Efficiently Training - Fix inSampleSize selection

When computing inSampleSize, calculateInSampleSize() needs to compare
height/width ratios, rather than raw values.

Bug: 7951398
Change-Id: I207f9abc2aae4cc569b406bac237e221d8e64d1e
parent cdf5106a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment