summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPhil Weaver <pweaver@google.com>2018-05-10 18:00:18 -0700
committerPhil Weaver <pweaver@google.com>2018-05-14 20:01:37 +0000
commit86b326012813f09d8f1de7d6d26c986a909de894 (patch)
tree44d283bfd2d215b76ee7be3276cfee52c811e7a4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent88a54220c9a76ceb38cc101b8b241ca505710372 (diff)
Improve a11y ordering
We use ids to break ties when sorting views just to guarantee that we won't break sorting. But we don't want to have our swipe order determined by arbitrary ids. Before resorting to such a crude tie-breaker, look at a view's children to try to break a tie using their bounds. That sort is more based on what's on the screen, and will also produce the same result from the same ui. Bug: 78348191 Test: Switch access order is much more sensible on Recents. Also ran a11y cts. Change-Id: I918eae3b0d27e889a53d05a6ebe925e38ce5d7b4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions