aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/WordComposer.java (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* [CB14.5] Stop copying WordComposers.•••This is an overdue refactoring that I have been wanted to do forever, and that we can at last do now that suggestions come only from instances of BinaryDictionary instances. With this, all unit tests and regression tests are passing again. Bug: 13667648 Bug: 13665487 Bug: 8636060 Change-Id: Ie23a19f9b7e692edf2ee0b107ddaff2d7db564b6 Jean Chalard2014-03-281-19/+7
* Revert "[CB15] Remove a redundant variable."•••This reverts commit 0de7a6d1a272d52a9544df1c693ae199ab5abc52. Change-Id: I327679b76a14cf9c3aec4b00b013b921408c32f9 Jean Chalard2014-03-271-2/+30
* [CB15] Remove a redundant variable.•••This is a tiny bit slower, but probably unnoticeable. Still, it gains some performance in other places, saves memory, and more importantly makes for simpler code, so it's certainly better. Change-Id: Id1ab4f73f71acd73f5920bc729817abd22cf0d07 Jean Chalard2014-03-271-30/+2
* [CB14] Implement backspace in the combiner chain•••Bug: 13622107 Bug: 13406701 Change-Id: I0023b398c4451253f9f717e2bd990b8a054004bc Jean Chalard2014-03-251-22/+7
* [CB13] Remove an unused method.•••Change-Id: If4d2fa9c6499ce9b2427cea424abd497ec4a966b Jean Chalard2014-03-241-7/+0
* [CB12] Reset the combining state when resetting the composer•••Bug: 13406701 Change-Id: I490574b7ca4b953f67dd2c0ef97401297fade0a4 Jean Chalard2014-03-241-0/+5
* [CB11] Get the result of the combination•••Change-Id: I165ec4a24f5b1334d55c14948e4d942ec40eb33b Jean Chalard2014-03-201-1/+4
* [CB09] Pass events through the combiner chain•••Bug: 13406701 Change-Id: I4696f145478afdd132314b7d3c148c3a9ca11c9c Jean Chalard2014-03-201-0/+1
* [CB08] Create a combiner chain in the word composer.•••Bug: 13406701 Change-Id: I3b9f75de9283f76366d1bef7e14a8f22f2186669 Jean Chalard2014-03-201-0/+5
* [CB04] Add an event array to WordComposer.•••Bug: 13406701 Change-Id: I9ecd2709c8f1c678a85b0cfaf7c5ed4f78459821 Jean Chalard2014-03-141-6/+27
* [IL73] Remove all refs to Key and Keyboard in WordComposer•••Please hold my gun while I have this nice cup of tea. Yes !! Bug: 8636060 Change-Id: I33c8ffe51bb2106b17f7941235ad1e427e3a81f7 Jean Chalard2014-01-231-21/+0
* [IL70] Remove unused arguments•••Bug: 8636060 Change-Id: Iec56bce362ebfc52fedab02b127978abb4f3c7f9 Jean Chalard2014-01-231-3/+1
* [IL69] Oust Keyboard from WordComposer#setComposingWord•••Bug: 8636060 Change-Id: I624a45500603dfad355ee3b8b794b2d895219c0b Jean Chalard2014-01-231-7/+10
* [IL68] Start refactoring setComposingWord•••Bug: 8636060 Change-Id: I242b7c264abf380bcd6b6b3c848238921f988e54 Jean Chalard2014-01-231-0/+3
* [IL56] Don't erase suggestions when reverting a commit.•••Bug: 12297051 Change-Id: Iffa1c98b8fe2b816c3ac6bc171037288107f637d Jean Chalard2014-01-161-6/+7
* Rename InputPointers.addPointer and ResizableIntArray.add•••Change-Id: I5580250c91b29f93ed886b080ce33845b3b67ace Tadashi G. Takaoka2014-01-081-1/+1
* Fix a bug where predictions would not pop upon manual pick•••Bug: 12295276 Change-Id: Id359c92acde44758b12929e7bac719d5c9c7577b Jean Chalard2013-12-261-1/+1
* Fix a bug with languages without spaces and predictions•••This is simpler and more correct. Change-Id: I41806d2fc12b4ca25f76e32972b38f91f3d05c2b Jean Chalard2013-12-161-21/+17
* Don't use the previous word after a non-whitespace separator•••Bug: 12101276 Change-Id: Icf36d55ec171194e5561b946021bcf648782ddd4 Jean Chalard2013-12-131-1/+13
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20c•••The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854 Ken Wakasa2013-12-131-8/+31
* Add getters and copy constructor to Key class•••Change-Id: I78eb96dcc26378926dc63acbfeb4828cbd44435d Tadashi G. Takaoka2013-08-151-2/+2
* Refactor on UserHistoryDictionary•••Bug: 9429906 Change-Id: I576a91643bdaf5017cc826ac2e07a74a9a275d60 Satoshi Kataoka2013-07-261-1/+1
* Fix a bug when moving the pointer in a > 48 chars word•••Bug: 9892261 Change-Id: I9db20c5b20a0764bd9f5b5e2bdc98180bbb9ec15 Jean Chalard2013-07-221-2/+24
* Do not re-resume suggestion if it's not needed.•••This is much better interface-wise. It eliminates all blinking of the line in the practice. Bug: 8874148 Bug: 8864306 Change-Id: I87754e44784327c2e9c8b162d598d145e20668e8 Jean Chalard2013-07-011-0/+34
* Consolidate dummy proximity info to the spell checker info•••Bug: 8783170 Change-Id: I067486e5ec1ae7cdef8e2121392464ba71ee8add Satoshi Kataoka2013-05-081-3/+1
* If there are no suggestion span, recompute suggestions.•••Bug: 8084810 Change-Id: I1743c09c43ca6835bb2f607684b037bf17d36335 Jean Chalard2013-04-151-2/+14
* Reject a previously user-refused suggestion.•••If the user gestures a word, then hits backspace in disapproval, and gestures about the same thing again, make sure that we don't suggest the same thing again. Bug: 7549311 Change-Id: I793bc4df7c3841fa8f2f4146707c26e873f374c1 Jean Chalard2013-04-151-0/+20
* Restart suggestions when the cursor moves.•••This uses the old suggestions. It does not try to recompute new suggestions if there are no old suggestions yet: this is coming in a later change. If there are no suggestions, this shows the word itself as a suggestion. Bug: 8084810 Change-Id: I4c2e25df0ff3673be1825f57a0c19a9d23d47a48 Jean Chalard2013-04-121-0/+16
* Use WordComposer.addKeyInfo for testing•••Change-Id: I500654e7a26717aa5547942357e56060afb72969 Tadashi G. Takaoka2013-02-201-1/+3
* Fix Apache license comment•••Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086 Tadashi G. Takaoka2013-01-211-8/+8
* Reset forgotten members (D3)•••Only resetting mCapitalizedMode is enough to fix bug#8013488, but we may as well correctly reset both fields. Bug: 8013488 Change-Id: Icb0d7c5b1e93368e8eb7848aa9137b45d5d3531e Jean Chalard2013-01-171-0/+2
* Forward the capitalized mode to the positional info (D1)•••Bug: 7972124 Change-Id: I3c74f3b075e698b9e9dd1d2c7b6f173073539063 Jean Chalard2013-01-171-1/+2
* Privatize a few constants in BinaryDictionary.java•••Change-Id: I7defaf1f577fd67e678cac83ff935e8181dd0a48 Ken Wakasa2012-12-171-7/+7
* Move code point constants from Keyboard to Constants class•••Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d Tadashi G. Takaoka2012-10-291-3/+3
* Replace useless CharSequence to String•••Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991 Tadashi G. Takaoka2012-10-221-9/+10
* Fix possible NPE caused while monkey test•••Bug: 7269036 Change-Id: I9054b33ad3c8996cac3ee5f0e9c01ba8ceea4971 Tadashi G. Takaoka2012-10-031-8/+10
* Cleanup: Make some classes as final•••Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e Tadashi G. Takaoka2012-09-271-1/+1
* Fix a bug that would persist caps lock state•••...with regards to suggestions. It's much simpler to look at whether the word is actually all capitalized or not. Bug: 7113544 Change-Id: Idc0e77b2f812964e650ade0e32b9d4c09228cb74 Jean Chalard2012-09-191-3/+6
* Fix a bug with capitalizations (A15)•••When only one character has been typed, we should not take that as a strong symbol that everything should be upper-cased. Change-Id: I4e3a3223269e6763e3594baeaa844daa79a624ed Jean Chalard2012-09-181-1/+1
* Allow Latin IME to cancel smiley-auto-correct consistenly•••This change makes Latin IME behave consistently with regards to other auto-correction cancellations in cases of auto-correction cancellation after smiley-triggered auto-correction. That is, pressing the smiley key when the keyboard signals it's about to auto-correct will get the auto-correction there plus a smiley, and pressing backspace will cancel the auto-correction, and pressing backspace again will delete the smiley. Bug: 7067593 Change-Id: Ia7eef70a5d06b8b9afa1f1fbb0ed1dbc21a3059f Jean Chalard2012-08-291-2/+2
* Merge "Treat all caps for gesture input." into jb-mr1-devJean Chalard2012-08-211-1/+8
|\
| * Treat all caps for gesture input.•••Bug: 6950087 Change-Id: I9f2271780600572c9befa96c7ad98494c554dd2b Jean Chalard2012-08-211-1/+8
* | Merge "Tell the shift mode to the word composer." into jb-mr1-devJean Chalard2012-08-211-9/+24
|\|
| * Tell the shift mode to the word composer.•••Bug: 6950087 Change-Id: Ifab9d6d075af398c6468d081216488712f8a53fb Jean Chalard2012-08-211-9/+24
* | Rename and consolidate some constants•••Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d Tadashi G. Takaoka2012-08-211-7/+2
|/
* Don't auto-correct when there are digits.•••Bug: 6667462 Change-Id: I796655f57c71c9f50ae6e38dd08b71df3998dbcf Jean Chalard2012-07-281-0/+13
* Add default capacity parameter to InputPointers' constructor•••Change-Id: I02f23096f0682d30effe4dfc1ca57881a1e4aedc Tadashi G. Takaoka2012-07-191-1/+1
* Merging minimal gesture input•••Change-Id: Iee6ae48bb6309c2867b5d2e344fe7d86dfabd654 Tom Ouyang2012-07-131-5/+21
* Fix a bug where the word composer is not correctly reset•••...upon commit Change-Id: I1fea87cb4c133a0884329eb9b61bf3053c36cd1b Jean Chalard2012-07-131-0/+3
* Add batch input dictionary lookup•••Change-Id: I4da3c976838e8eb56c9ec80aafaaf54d759b7981 Tadashi G. Takaoka2012-07-101-0/+14