Commit Graph

8 Commits

Author SHA1 Message Date
Feng Cao
0c501136ca Update sample IME and autofill provider to use the new support lib APIs
* refactor the autofill provider code
* keyboard now uses wrap_content when inflating

Test: manual
Bug: 154178486

Change-Id: Ie540178d8f063e3a8e9afb76284b15ab40ada344
2020-04-28 00:04:20 -07:00
Svet Ganov
f34c6275f1 Update the sample keyboard to showcase scroll, clip, toggle
The keyboard now showcases how one can implement a suggestion
strip with some pinned suggestions on the left and the right
of the strip and the strip suggestions are scrollable and well
as clipped to the scroll are's bounds. Also this showcases
how to toggle the layering of the suggestions to temporary
amimate on top of them. Fun, fun fun :)

bug:1234567

Change-Id: I7f2a6ea148de31be7cd0f13f56d72f6e5246a5f8
2020-04-08 03:10:53 +00:00
Feng Cao
95202b1a6e Sample app uses the inline suggestion theme from the support library
Test: manual
Bug: 10329810

Change-Id: Ib151044a726aa0892635e28f02c6cef5829abd39
2020-02-14 23:23:22 -08:00
Svet Ganov
6b5b977f1e Scrollable inline suggestions
Increase the number of suggestions for scrolling in
the sample autofill service.

Add scrollable container for the suggestions in the
keyboard suggestion view.

Test: manual

Change-Id: I4f8a2fe191f4b7e5a70b5370a7bd55a2e9dddc9a
2020-01-27 19:32:01 -08:00
Feng Cao
5687a2b635 Make sample IME support styling
Test: manual
Bug: 146454892

Change-Id: Idf173ae7fc0c3fe83736d73e7a3ab6953ae868aa
2020-01-22 15:25:29 -08:00
Feng Cao
b451b6f723 Fix sample ime app for inline suggestion
Test: manual
Bug: 137800469

Change-Id: I48bb917b9dc1aacfc5261d502ddcf9e7f33f4462
2020-01-06 15:20:19 -08:00
Feng Cao
77ddcd1689 Update sample IME code to support showing autofill inline suggestion
Test: manual
Bug: 146587788

Change-Id: I0e5fa3d811b8951fe471f76ce14a5bdbddd81581
2019-12-19 16:26:18 -08:00
Feng Cao
6d191940c2 Add initial sample IME code for autofill keyboard.
* This is just a skeleton IME with a very simple UI, no actual autofill related code is added yet.

Test: manual - build using m -j AutofillKeyboard, and install with adb sync

Change-Id: I8b22532646fc61af9e9c944f8db11ca1702b008f
2019-11-21 23:09:16 -08:00