commit | b290e94020c22852ce821d6e7f8ad973f0549b6e | [log] [tgz] |
---|---|---|
author | Alex Chau <alexchau@google.com> | Fri Oct 29 19:23:06 2021 +0100 |
committer | Alex Chau <alexchau@google.com> | Tue Nov 02 18:09:34 2021 +0000 |
tree | 64bdf4498a794f5b0c8ce71372d8d5c99f62b434 | |
parent | a8a51394f50bc9beaf33f464277fef9e30b76741 [diff] |
Crop letterbox insets when thumbnail is from different aspect ratio - Extracted isAspectLargelyDifferent and use that to determine if letterbox inset should be cropped - Always attempt to fit thumbnail width to avoid drawing area outside the thumbnail Bug: 199743725 Test: manual Change-Id: I2a7b20730055858b2376788e3a1fbbc66c0967e2