diff options
author | Feng Cao <fengcao@google.com> | 2020-04-29 18:22:49 -0700 |
---|---|---|
committer | Feng Cao <fengcao@google.com> | 2020-05-07 18:34:23 -0700 |
commit | 3b4d3caa54b65734f0da72dbcf02ab658747a7b5 (patch) | |
tree | 1535bd8a43c08e64631f065ef6dc326e505b565c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9a395c21bb81de19d16619316d88a9f1069c4cb7 (diff) |
Reusing the remote inline suggestion view during autofill filtering
* This gets rid of the flicker in the sample keyboard for most of
tiem time, during filtering.
* We introduce a new object InlineFillUi to store the autofill
inline candidates returned from the autofill provider. Filtering
is applied internally to ensure a single place managing
generating the InlineSuggestionsResponse that is sent to the IME.
This enables us to reuse the backing remote view for filtering.
* The InlineFillUi is stored in the SessionController.
* The other classes within the UI package are marked as package
private.
* Also implement the reference count to track the right time for
releasing the remote view.
Test: atest android.autofillservice.cts.inline (sanity test)
Bug: 151467650
Change-Id: I023bd8cf8acf838088fba2d1d97c0e78d563222e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions