Merge commit 'fd36a98dacaaa2ddf57abe6bfa140dea060f9b5d' into gingerbread-plus-aosp
* commit 'fd36a98dacaaa2ddf57abe6bfa140dea060f9b5d':
Add new assets for LatinIME
Merge commit '409731fb46f5a7298005f3d6dbdd0bf4ee435236' into gingerbread-plus-aosp
* commit '409731fb46f5a7298005f3d6dbdd0bf4ee435236':
Make KeyDebounce class a top-level class and rename it to PointerTracker
Merge commit 'ca4e42785f598af9f24a9e3e2ae644ffa83c77ed' into gingerbread-plus-aosp
* commit 'ca4e42785f598af9f24a9e3e2ae644ffa83c77ed':
Fix UnsatisfiedLinkError for Latin IME. Don't use old NDK version in a platform build.
This change moves the following methods into KeyDebounce class.
- MotionEvent handling methods (onDownEvent etc.).
- Keyboard action event generator method (detectAndSendKey).
- Multi-tap key support methods (resetMultiTap etc.).
- Key preview text generator method (getPreviewText).
The change that makes KeyDebounce a top-level class will follow.
Bug: 2910379
Change-Id: I1526c0461e247d97f0c4b3bd580330f137c787be
Extract key press and release handling out of previewKey() to
KeyDebouncer class. And pass Key object as argument of previewKey()
instead of key index.
Bug: 2910379
Change-Id: Ifec39cfc4845bd92da2f62eba2b26ac6a5cbb341
Merge commit '164972b678b986aecdf96e239cd0bce838b2033d' into gingerbread-plus-aosp
* commit '164972b678b986aecdf96e239cd0bce838b2033d':
Import revised translations. DO NOT MERGE
These three conditions assign true to the mAbortKey flag.
1. setKeyboard() sets the new keyboard layout.
2. long press shows the pop-up mini keyboard.
3. ACTION_CANCEL event is occurred.
In the case 1, in LatinIME so far, only "symbol key" and "language
switch" cause keyboard layout change. In both cases, the event is
occurred in onUpEvent(), so we do not need to worry about aborting
event.
In the case 2, long press is used only to pop-up mini-keyboard and at that
time mMiniKeyboardOnScreen could be used as a flag.
In the case 3, though I'm not sure when this case occurs, in
onCancelEvent() all the things that should be canceled are canceled
in onCancelEvent().
Bug: 2910379
Change-Id: I12377c5f3e808f1c017ce980e12b1513895047bc
Merge commit '82798ac066c8ffc497a68a313aee17cc4ad56bbd' into gingerbread-plus-aosp
* commit '82798ac066c8ffc497a68a313aee17cc4ad56bbd':
Disable long-press on symbol keys on international locale keyboards.
Merge commit 'cb6221257a2f4025c91de4d65f5591e6563c54ce' into gingerbread-plus-aosp
* commit 'cb6221257a2f4025c91de4d65f5591e6563c54ce':
DO NOT MERGE. Remove a preference for bigram suggestion
Merge commit '06123e56912b5dcd7aca3d0c18c7ceb1f1cde573' into gingerbread-plus-aosp
* commit '06123e56912b5dcd7aca3d0c18c7ceb1f1cde573':
Don't re-allocate KeyDebouncer when keyboard is switched.
This change will display the key board preview instantaneously when
the key is pressed. Dismissing the key preview will be delayed
slightly after the key is released, as we do now.
Because in multi touch mode, we should instantaneously change keyboard
layout when modifier key, such as shit and symbol, is pressed.
Change-Id: I49348d563ca0f40f5a0a236bdcd0bb07eedd599b
Merge commit '7986d78328e17bdbe7ec05558e93a2c6a25641c6' into gingerbread-plus-aosp
* commit '7986d78328e17bdbe7ec05558e93a2c6a25641c6':
Disable long-press on shift and symbol keys
Long-press on shift and symbol keys will conflict with press-and-hold
these keys and press normal key (a.k.a. multi touch support).
Bug: 2910379
Change-Id: I27007b55a30a3699bf63fd8f64d58c4b23d97d9f
Merge commit 'f17a50f5a5a6c185d3a223bea3a7475c8482a110' into gingerbread-plus-aosp
* commit 'f17a50f5a5a6c185d3a223bea3a7475c8482a110':
Not to reset the ring buffer in LatinImeLogger