summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKevin Chyn <kchyn@google.com>2021-02-03 11:48:10 -0800
committerKevin Chyn <kchyn@google.com>2021-02-03 11:48:10 -0800
commit8e24475f1eae4974785a9aced9a7048c2e841de6 (patch)
treef938043bef8010f1cf7579c5badddd3de35a69ce /tools/aapt2/java/JavaClassGenerator_test.cpp
parentfbfd4c2af101a4848d3b260df037f7f2e715a717 (diff)
Fix SensorRect location
The window includes the additional padding, but SensorRect was still positioned flush to the top+left. This CL 1) Translates the SensorRect and positions it correctly within the window, and 2) Removes translation from enrollment animation, since it's already taken care of by SensorRect's fixed positioning Without this change, the enrollment animations are in the right place, but the HBM dot was wrong (only slightly, due to the small padding so far). However, with larger padding, the dot would be really off. Bug: 179083247 Test: manual Change-Id: I556f5bebe5177a748f19cadeab86d1d962d3e1f1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions