summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2015-06-17 09:25:19 -0700
committerMady Mellor <madym@google.com>2015-06-17 09:25:19 -0700
commitcc65c37f108d916b931af2432337704696f175f0 (patch)
tree634dce1040dc63cfd6d52effd683474d0fd9c4ba /tools/aapt2/java/JavaClassGenerator_test.cpp
parent42376d6482804ac240fc84a75e50e7fae478b744 (diff)
Text selection: add some slop for moving between lines
It's pretty easy to accidentally move to a different line when selecting text. This CL makes an adjustment so that if the user is on a line, they must move above the top of it + slop to move up a line, and they must move below the bottom of it + slop to move down a line. This CL also makes a small modification to check if the layout is null and return early which simplifies some of the following code. Bug: 21306433 Change-Id: I4a854e644faafaf1e159201ae1f2838862f16b25
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions