summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKyle Horimoto <khorimoto@google.com>2015-08-25 17:12:42 -0700
committerKyle Horimoto <khorimoto@google.com>2015-08-27 15:48:00 -0700
commitea910a15c289dd4ff7704e922a5d4d9c9f6caa82 (patch)
treeed50484c90d7e99d00fd4c2cc92d8826a676f675 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2c80257e142727d63ace5fb68e6729391a6158ce (diff)
Fix band select UI issue.
The issue was that scrolling past the top or bottom of the view caused the band select rectangle to grow in the wrong direction. This was caused by adjusting the origin of the band select rectangle based on the calculated number of pixels to scroll instead of the actual number of pixels scrolled. There can be a discrepancy when the calculated value is higher than the maximum that can be scrolled (when the view is already scroll almost to the top or bottom of the view). Bug: 23081362 Change-Id: I343cdec89260ab0571a792009d0c08585ed41199
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions