summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMatt Casey <mrcasey@google.com>2021-02-24 15:30:47 -0500
committerMatt Casey <mrcasey@google.com>2021-03-01 15:53:32 -0500
commit37d6b6d53abefede1a82954b2699ce746781dd0c (patch)
tree6e80c69bdaed2f5ec001e9aa654728d2587660cd /tools/aapt2/java/JavaClassGenerator_test.cpp
parente4aa751de745918843ee71d7048dcc7986dbc830 (diff)
Make CropView handle images that aren't full-height
Compute the ImageView's extra top and bottom padding when it gets a drawable or does layout, pass that information to CropView to adjust its boundaries accordingly. Also give MagnifierView some elevation so it doesn't get obscured by the buttons. Bug: 180967209 Test: Take a long screenshot at the top of the settings app, observe that the image isn't full height, ensure that crop handles properly honor image bounds and those bounds are honored on export as well. Change-Id: Iac859995b362724a0db00b666a6ff970a0ccba1d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions