| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Id613c06e2df770659095d78d42637aed063d0c70
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename KeyboardActionListener.onPress to onPressKey
* Rename KeyboardActionListener.onRelease to onReleaseKey
* Merge KeyboardSwicther.onPressShift, onPressSymbol, and onPressOtherKey to onPressKey.
* Merge KeyboardSwitcher.onReleaseShift and onReleaseSymbol to onReleaseKey.
* Merge KeyboardState.onPressShift, onPressSymbol, and onPressOtherKey to onPressKey.
* Merge KeyboardState.onReleaseShift and onReleaseSymbol to onReleaseKey.
Change-Id: Icf28fd18e238c5e534c292893e4ab5b6b98e72f8
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I9bb8f78b0a766cd7937d5cbe1c1e5e35898b2997
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The basic idea is that in some situations, we would restart
suggestions, but before evaluating them we would bail out
because suggestions were not requested. This would lead to
the "correction" set to null, so we would commit a null word.
This fix does two things:
- Do not restart suggestions when not requested.
- If we still end up with a composing word when suggestions
are not requested, we select the typed word as the
correct version.
Bug: 5846646
Change-Id: Ic35351841d0cb20afa99092ef681ecb7bd68bec6
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| | |
Bug: 5846646
Change-Id: I7c907d0a9478e0878b92ead94173caefc21b627b
|
| |
| |
| |
| |
| | |
Bug: 5850605
Change-Id: I6665b483f775094903f2e26f5584e4b141592ab5
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I9fd6fabf03515011cedb8aaa30fdb7a77f2d4d12
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: I1d331ee7f71501baa4ec2df01df39340499834e4
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The method deleteWordAtCursor would call finishComposingText,
which is a very unexpected state change and would probably cause
surprising bugs to any parent that would call it.
As it happens, it's not used anywhere any more so let's just
remove it.
Change-Id: Iaa9200866e40b4e914f76baa987279948300679c
|
|/ /
| |
| |
| |
| | |
Bug: 5846646
Change-Id: Ib2c76ec173972eb7acadbfaae7e930849d546721
|
|/
|
|
|
| |
Bug: 5873562
Change-Id: If1f5ae1684905c1418ae43e55df38509444d29e2
|
|
|
|
|
| |
Bug: 5794655
Change-Id: Ib324366c772e20bb54aba63c2f4540dc0f9de515
|
|
|
|
|
| |
Bug: 5857492
Change-Id: I5ef78af21a76e8cf645e223d1ffa6212690bb1eb
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I6c1150eea5f0a931d01578b0157f06e0aff0cc65
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| | |
We need revised scoring test because dictionary look up algorithm has
been changed significantly since this SuggestTests was made.
Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: Id85814aa3bcd9cacbe446b2dfda3ca2ab9146c13
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Bug: 5806103
Change-Id: I67b3f0bb25d5fb9cfb902c03f41ae3e582107187
|
|\| |
|
| |
| |
| |
| |
| |
| | |
bug: 5858137
Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 5851148
Change-Id: Ic270318842d8e16bc62d78d5fe0d6be0ca1fb532
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Check if any character is both a magic space swapper and
a magic space stripper for the current language, and throw
an exception if found. Since this is expensive, it's done
only in debug mode.
Change-Id: Ibd166db87c91495b76878ea0e4f420a62c7bb276
|
| |
| |
| |
| | |
Change-Id: If8aa4253ab0f664e628ed7f4d7a3adc02a898cc7
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
This would crash the program when inputting a punctuation
symbol that should not swap with a weak space through the
suggestion strip, then press backspace.
Those include all two-part punctuation symbols in French for
example, as well as magic space strippers like the dash in
English. For English all suggestion strips symbols happen to
be magic space swappers so this would not happen in English
by default.
Also fix a typo.
Change-Id: Ia40678c264e978509b5786290a75a3c57181648e
|
|
|
|
| |
Change-Id: Id2320f4d9b5f22f0ac844ab20ce42b0c4e7c6880
|
|
|
|
|
|
|
|
| |
letter
This will be helpful to write unit test code.
Change-Id: Ib61cc46ac547084e0dc9ecd3a50814fecf08ace2
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I118c792219f649b7297477c78fa725c678650159
|
|/
|
|
|
| |
Bug: 5802387
Change-Id: I4f59fb2f971c543748ed32b37af528767a0549e4
|
|
|
|
| |
Change-Id: I16fa4099c75faac35344b0e4d3c2b866ddac896a
|
|
|
|
|
|
|
|
| |
Auto-correct cancellation would sometimes kick in at
wrong times, causing crashes.
Bug: 5784542
Change-Id: I68dd6b8d9237ce9b66af2dc63e77ba6dd5fd69dd
|
|
|
|
|
|
|
|
|
| |
This was introduced by a badly-rebased commit. The culprit was
I103d6851. There was also another bug lurking there introduced
by a previous commit that this fixes.
Bug: 5775347
Change-Id: I133b54a5159e19714f4bcae8ffbb4824cff9f466
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I31cce9db471dcd4a7b3477bcb037a8ff482b7696
|
|/
|
|
|
|
| |
Should have preserved the logic of LatinKeyboard.getNearestKeys().
Change-Id: I97b05aa24006402be03088a215fa07abda9477df
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As a consequence,
* Add Key.iconDisabledKey has been introduced and Key.getIcon honors
the enabled state of the key.
* The attribute id of disabled icon for shortcut key,
Keyboard_iconShortcutKeyDisabled, is renamed to
Keyboard_iconDisbledShortcutKey
* KeyboardIconsSet has getIconByIconId and getIconByAttrId methods
instead of getIcon.
Bug: 5778201
Change-Id: Ica93b073b9a04acd18ead7a33b60e3c6d813e7a1
|
|
|
|
|
|
|
| |
This change also moves XmlParseUtils to com.android.inputmethod.latin package.
Bug: 5778201
Change-Id: I7d9faa344460753ce178ad4048e0fadb65c75614
|
|
|
|
| |
Change-Id: I68c667b00dadf2ed9f1c62fb7da37d2cf499cd81
|
|
|
|
|
|
|
|
|
| |
Also this change moves LatinKeyboard attributes,
autoCorrectionSpacebarLedEnabled, autoCorrectionSpacebarLedIcon,
spacebarTextRatio, spacebarTextColor, and spacebarTextShadowColor to
LatinKeyboardView.
Change-Id: I7cc27ce1fc550e9f620a9ed0fbe4b8172902d5a1
|
|
|
|
|
|
|
|
|
|
|
| |
* Get rid of Key.keyIconShifted attribute.
Add Keyboard.iconShiftKeyShifted to KeyboardIconsSet.
* Get rid of LatinKeyboardView.disabledShortcutIcon attribute.
Add Keyboard.iconShortcurKeyDisabled to KeyboardIconsSet.
* Add Keyboard.iconSpaceKeyForNumber to KeyboardIconsSet.
* Fix misplaced autoCorrectionSpacebarLedIcon resources.
Change-Id: I381bff3789254977ab3cb18f58f95b3c433b1e1a
|