| Commit message (Collapse) | Author | 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
|
|
Change-Id: I4c8a21f0f6e349ddafd9b402583321a60855cfe8
|
|
Bug: 5846646
Change-Id: I7c907d0a9478e0878b92ead94173caefc21b627b
|
|
Bug: 5850605
Change-Id: I6665b483f775094903f2e26f5584e4b141592ab5
|
|
Change-Id: I9fd6fabf03515011cedb8aaa30fdb7a77f2d4d12
|
|
+1 73
-1 4
+2 0
-2 0
+3 0
-3 0
+4 11
-4 19
+5 9
-5 3
+6 2
-6 63
+7 2
-7 8
Change-Id: I269cd2386f451f8932e4e0ae66223e794fdfa862
|
|
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
|
|
Change-Id: I717e2fc9dca13096d76c159f8c3bebff065c6ca1
|
|
Change-Id: I1d331ee7f71501baa4ec2df01df39340499834e4
|
|
Bug: 5708602
Change-Id: Id85db2f8b7b427ba62205f5aaad481a3d33e65fc
|
|
Change-Id: I23b53826ce30b0ac81962d2f916514cb60bea6ff
|
|
Change-Id: I84bec8fb560cec2ad9cc857397a3f77a96b1d12d
|
|
There does not seem to be any reason other than a historical
one to avoid doing this, but it takes processing power and
makes things more complicated.
This has a very limited impact on regression tests:
5 -> 3 [He, the]
5 -> 3 [An, an]
5 -> 3 [Where, where]
5 -> 3 [This, this]
7 -> 1 [wAtch, watch]
6 -> 4 [oveNs, oceans]
5 -> 1 [Ahere, Where]
7 -> 1 [Hast, Hast]
7 -> 5 [bjp, bill]
5 -> 1 [What, What]
5 -> 3 [Sound, So und]
7 -> 3 [causalities, casualties]
7 -> 3 [discontentment, discontent]
7 -> 3 [irregardless, regardless]
5 -> 1 : 2
5 -> 3 : 5
6 -> 4 : 1
7 -> 1 : 2
7 -> 3 : 3
7 -> 5 : 1
+1 4
-1 0
+2 0
-2 0
+3 8
-3 0
+4 1
-4 0
+5 1
-5 7
+6 0
-6 1
+7 0
-7 6
Change-Id: I6407cf922f27bbd3992df11d63690e71fc61111b
|
|
Bug: 5873562
Change-Id: If1f5ae1684905c1418ae43e55df38509444d29e2
|
|
...in makedict, for reverse makedict.
Change-Id: I74774b50998eb605e8091d95cebdda6ad7f5fce3
|
|
Bug: 5708602
Change-Id: Ib9d2b7a2878f78adecc857fd569fba8965cf4a03
|
|
Change-Id: Ief8f6ddd29e043744863e5b9be3a51a70987291c
|
|
Change-Id: I049c224994a37121de031b9fd61edb52eb912e20
|
|
Change-Id: I093739933652c1e8c70c06f92077d1e3dbd7d7da
|
|
Change-Id: Idc62382f1c814e9bd1466c9f7dda1fcc8ba4137d
|
|
Change-Id: I52c1bc237c20b8bd49fca2431b83843a6e2af10b
|
|
Change-Id: I218007bf411489d1d648fd9b8b408c5d27c41811
|
|
Bug: 5794655
Change-Id: Ib324366c772e20bb54aba63c2f4540dc0f9de515
|
|
Change-Id: I7a898940d5f672bbee0da0c02af7a08297051ec3
|
|
Bug: 5857492
Change-Id: I5ef78af21a76e8cf645e223d1ffa6212690bb1eb
|
|
Move test target KeyboardState into MockKeyboardSwitcher.
Change-Id: I0998a5306a59e777360df9d1321b545313b939f9
|
|
Creation of the TerminalAttributes object failed to take into
account that there may be children on this node.
Change-Id: I8224a1a51532d1a40a8555f46425e3744388326b
|
|
Change-Id: I6a08e04628bac0222140e5b1b108f6bcb39859a2
|
|
Change-Id: I6c1150eea5f0a931d01578b0157f06e0aff0cc65
|
|
Change-Id: I977e7e10fa58c0a64ca0c3c7b5cb2272446e3efe
|
|
Change-Id: I455f9954165bd4524f2883db7ea24a6fed3015f9
|
|
We need revised scoring test because dictionary look up algorithm has
been changed significantly since this SuggestTests was made.
Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8
|
|
Change-Id: I5631d010194423fd3d9c216db760ffa726131977
|
|
Change-Id: I3363fba44ee70876fd7ba8e27c6ca3c83753b53a
|
|
Change-Id: Id85814aa3bcd9cacbe446b2dfda3ca2ab9146c13
|
|
Bug: 5806103
Change-Id: I67b3f0bb25d5fb9cfb902c03f41ae3e582107187
|
|
bug: 5858137
Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
|
|
Change-Id: I96281709736bc20d70e63af170bfb48b5df3f18d
|
|
Change-Id: If8aa4253ab0f664e628ed7f4d7a3adc02a898cc7
|
|
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
|
|
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
|
|
Bug: 5851148
Change-Id: Ic270318842d8e16bc62d78d5fe0d6be0ca1fb532
|
|
Change-Id: Iaac80937540a45849c347f80400762032b27c82c
|
|
Bug: 5806103
Change-Id: Iffdc68565f4a8b5af98247a4dff9dc4e76b4056a
|
|
Change-Id: I579e43cd147c4323c390cf1c9bf5e94ae79f9d86
|
|
Change-Id: Id2320f4d9b5f22f0ac844ab20ce42b0c4e7c6880
|