summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2015-09-28 10:45:00 -0700
committerAdam Powell <adamp@google.com>2015-10-02 19:37:29 +0000
commit63b31698452dbc36f6258c980d7a731518bfd6a0 (patch)
tree75fa87f1cdfbecdc3de2bf78de58cc8e4904a6ed /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4d2a3e2ebddbf54bde934c33cb524877dce51262 (diff)
Add animation and positional stability to intent chooser UI
Dejank the process of bringing in new ChooserTargets from queried services. Animate the service target rows in upward so that if the user's finger is already headed for a visible choice we don't inject something wrong right under them at the last second. Keep things sane if the user is dragging the UI while we're bringing in new items. To animate this, since we can't use RecyclerView from the framework we treat the height of rows as a conceptual data set change for ListView. To get away with doing this per-frame we pre-measure the item height (which remains constant) instead of doing more expensive wrap_content calculations. ResolverDrawerLayout is now aware of how to account for a cheat-measured ListView to compensate. Bug 24038066 Change-Id: I01414a5746815255ff948a6d0887bb5ad0897285
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions