diff options
author | Vadim Tryshev <vadimt@google.com> | 2017-01-04 17:24:43 -0800 |
---|---|---|
committer | Vadim Tryshev <vadimt@google.com> | 2017-01-11 16:40:06 -0800 |
commit | 5ca739817dbd7d73f1d232597c0e2898cbee79c7 (patch) | |
tree | 1be0784d0caaa45d155d3f974b4ff25e70a3931b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e2489c67e1f17938556a29197eeff9221caddd35 (diff) |
API for setting default focus per cluster.
UX spec requires us to allow apps to specify default focus per
cluster.
This change introduces a boolean attribute for Views to do so.
API is designed for cases when the view hierarchy is inflated,
manually constructed, as well as for hybrid scenarios.
The implementation piggybacks the recently introduced logic for
saving/restoring last focus in a cluster. To accommodate new needs,
the focus-saving were rename-generalized in this CL.
Bug: 32151632
Test: Manual checks; CTS are coming after feature freeze.
Change-Id: Ia92600c3a886db9a0d4df9dd9fd0e3479e68e7a4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions