| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As of today we show the InkWindow and dispatch Stylus events without
waiting. At the time of dispatch, InkWindow is not added and first stylus gesture
is skipped. In order to deliver the first gesture to IME, we should wait until
InkWindow is added and IME's Inking View is attached.
However, waiting for it will introduce latency in the system. To counter
that, we introduce a new API method to listen for Stylus MotionEvent.
IME can override the API method to listen to MotionEvents sooner.
By default, the stylus MotionEvents are buffered until Ink view is visible.
Change-Id: I3a18067da45fd15bf0f6e377da0a82cdd6df1d41
Fix: 222081673
Test: atest StylusHandwriting
|
| |
|
|
|
|
|
|
|
| |
Ensure onPrepareStylusHandwriting() is always called before
onStartStylusHandwriting().
Test: manually using HandwritingIme
Bug: 217957587
Change-Id: I6f1b8a93a76dbb34d3323439253a3394c05d98a8
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Allow stylus hover events for:
1. send early signal to IME onPrepareStylusHandwriting()
2. Prepare InkWindow internally.
Test: atest StylusHandwritingTest
Bug: 210039666
Bug: 203086136
Change-Id: Iebbd62659cb98b3c61edfa35d5a84a1c6837eb23
|
| |
|
|
|
|
|
|
|
|
| |
Implement Handwriting surface spy in IMF that listens
and manages Stylus events.
Test: atest StylusHandwritingTest
Bug: 210039666
Bug: 203086136
Change-Id: I8681a33bb32f20b48cf741ba3ad2116de5db7ffa
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert^2 "CTS for Stylus Handwriting lifecycle"
493b8d7d3b4d43e483c03b155d38057e3eacd3c9
Reason: Fix API signature related issues by making newly introduced
methods in InputMethod.java default
Bug: 213976598
Bug: 203086136
Test: atest StylusHandwritingTest
Test: atest SignatureTest#testSignature
Change-Id: Idfd5d1f84e66e3a19ef384589b4892adb91f8066
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert "CTS for Stylus Handwriting lifecycle"
Revert submission 16281467-stylus-handwriting-lifecycle
Reason for revert: Breaks apisignaturetests
BUGID: b/213976598
Reverted Changes:
I7b066c284:Scribe in IMF: startStylusHandwriting & lifecycle ...
I7d672b150:CTS for Stylus Handwriting lifecycle
Change-Id: Ieec94ea525fdb45cf5316b4a331c2bf9882e1083
|
|
|
Introduce InputMethodManager.startStylusHandwriting(View) API
and IME lifecycle.
Bug: 203086136
Test: atest StylusHandwritingTest
Change-Id: I7b066c2841b713e7a00ae2ea4ca0ce04aad751c6
|