diff options
author | Matt Casey <mrcasey@google.com> | 2021-03-20 17:11:14 -0400 |
---|---|---|
committer | Matt Casey <mrcasey@google.com> | 2021-03-20 17:11:14 -0400 |
commit | 5cc47e5383a472c96a4f6f029c5a4d41ab29b3d8 (patch) | |
tree | b0f85fd52abe42dfd2d528785bcbce6db404b61e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 4062430f8baae9eae108c261959aaacd90912a43 (diff) |
Fix CropView sizing on full-width images
Full width images happen when the long screenshot isn't particularly
long, typically an error case.
- Ensure that ImageView and CropView take up the whole space defined by
constraints.
- Set padding on ImageView, factor that padding into the image size
computation for CropView.
Bug: 183278746
Test: Validate correct crop bounds display on a full height and a full
width long screenshot.
Change-Id: I0f71ddc051f8cf6d295a348fe3cae3cbe00e4077
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions