summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/20/changes.html
diff options
context:
space:
mode:
authorEvan Rosky <erosky@google.com>2017-01-30 12:19:17 -0800
committerEvan Rosky <erosky@google.com>2017-02-21 11:17:34 -0800
commit5fd69c38642a1c632e09dc0f6f9e462538909fbb (patch)
tree7999e1d38e640fcd22930e0d040ff283ecf1cb84 /docs/html/sdk/api_diff/20/changes.html
parentd133b00efb49adeb21b9b62b334769c03f40bf43 (diff)
Fixed poor behavior of position-based focus order
Rect-based focus order algorithm used to sort all views such-that higher tops were higher. The result is that focus order could easily move end-to-start when elements with varying heights (even 1px different) were arranged horizontally. This changes the algorithm to take vertical overlap into account when sorting. It tries its best to match UX for how focus-order should work in ambiguous cases. Bug: 33848452 Bug: 34854951 Test: Checked in a sample-app to make sure focus order matches UX more closely than before. Also verified that existing FocusFinder CTS tests still pass. Change-Id: I0e0f2f63d5151693a2642604f64df985856c8991
Diffstat (limited to 'docs/html/sdk/api_diff/20/changes.html')
0 files changed, 0 insertions, 0 deletions