diff options
author | Matt Casey <mrcasey@google.com> | 2021-02-03 10:26:22 -0500 |
---|---|---|
committer | Matt Casey <mrcasey@google.com> | 2021-02-03 14:59:31 -0500 |
commit | 99333423539ca706e7ef27d077b534bc4cd0860c (patch) | |
tree | ae27c2fafe812f0c0d9bac67b5334c458082f119 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | e1f553b0ff38e5e164238580c36d66ce75aaa80f (diff) |
Honor crop bounds for long screenshot bitmap export
Make toBitmap take a rect of which parts we want to render. Enable the
CropView and use its selected bounds to derive that rect.
Bug: 179175127
Test: Take long screenshot, move crop bounds, edit and verify that
bounds are matched.
Change-Id: I546ae4a7e8e39d7e9b88eb1f503b2d1bde31a3c7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions