aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/WordComposer.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* [HW12] Use the consumed status of the Event.•••Change-Id: I1619f6132f8f71bc1291fd6a5604a5e1e3431ae2 Jean Chalard2014-08-041-0/+3
* [HW7.5] Introduce the @Nonnull annotation (take 2)•••Change-Id: I05512b5434810046c8b72d6bb41567b6cd8b9d6e Ken Wakasa2014-07-301-0/+3
* [HW7] Introduce consumed events•••Change-Id: I692c35b8e701d5a84500b949884472545b1f424d Jean Chalard2014-07-301-3/+3
* [HW6] Split processing and applying the event.•••...take 2 Change-Id: I9d13b6d51e13ce2e76ae3febebfb8c310eba509d Jean Chalard2014-07-301-7/+21
* Revert "[HW6] Split processing and applying the event."•••This reverts commit 1db3d860ca0d7380c5a6a3a0f95751565f23043b. Reverting due to a few critical bugs and unit test failures. Change-Id: I5e2d02300320438ef9c29577ec5b0860ea91d822 Ken Wakasa2014-07-301-15/+5
* [HW6] Split processing and applying the event.•••If anyone has better names for those... Change-Id: Ia2dfc75381816bd688948647e2c50c10657b9e89 Jean Chalard2014-07-291-5/+15
* Rename LatinImeLogger to DebugFlags•••Bug: 15318007 Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f Tadashi G. Takaoka2014-07-161-1/+2
* [CM1] Let predictions be aware of capitalize mode.•••Bug: 15554503 Change-Id: If5e8c0d94ed26d929400ccbb0d45ac23dd98d180 Jean Chalard2014-06-161-4/+24
* Remove mPrevWordsInfo•••This member has outlived its usefulness. It's not clear now that it makes things really faster, but it does bring a lot of complexity that we can avoid by removing it. Change-Id: Ifbc8094a45b56b958fe165b1930f4cc358a97721 Jean Chalard2014-06-101-45/+19
* Fix an IOOB exception•••Bug: 14602663 Change-Id: Ie2060931df911b44230d5a5ba268f687cbdd0dc8 Jean Chalard2014-06-021-4/+7
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-2/+1
* Introduce EMPTY_PREV_WORDS_INFO and BEGINNING_OF_SENTENCE.•••Bug: 14119293 Change-Id: I5020e5f0aa64bc3e97b3a3c2c07a60c8b765ed64 Keisuke Kuroyanagi2014-05-231-3/+3
* Add beginning of sentence information in PrevWordsInfo.•••Bug: 14119293 Bug: 14425059 Change-Id: I65320920e840082b0b697bb621676716d0933e0c Keisuke Kuroyanagi2014-05-211-3/+3
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.•••Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815 Keisuke Kuroyanagi2014-05-211-6/+5
* Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."•••This reverts commit ff50b39176370ab80a33bfdcf9979603c08a88b3. Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: If278b4ab236e38d20d8cdc0761b0438911bd4ff9 Ken Wakasa2014-05-201-5/+6
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.•••Bug: 14119293 Bug: 14425059 Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3 Keisuke Kuroyanagi2014-05-201-6/+5
* Use PrevWordsInfo instead of String in Java side.•••Bug: 14119293 Bug: 14425059 Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762 Keisuke Kuroyanagi2014-05-191-15/+13
* Fix: StringIndexOutOfBoundsException.•••Bug: 14985751 Change-Id: I9df2f737555ab02e24e0fbd231a97c1eec26bc57 Keisuke Kuroyanagi2014-05-161-10/+2
* Fix a bug where changing languages kills the composition.•••Bug: 14926896 Change-Id: Id2a06c68a51f833db4d8bbc858a232c2696afb6e Jean Chalard2014-05-141-8/+7
* Create the path for specifying combining rules in the subtype•••Also add the skeleton of the combining rules for Myanmar reordering as a pilot. Bug: 13945569 Change-Id: Iabeb6838f45f1efff482143595ce5b48543e0c43 Jean Chalard2014-05-121-0/+16
* Fix a bug for counting code points in WordComposer.java•••This bug threw an ArrayIndexOutOfBoundsException when the word length is 49 (maxSize + 1) when calling StringUtils.copyCodePointsAndReturnCodePointCount(...) in the same function. This bug is discovered by running SKETCH. The intent is to count the code points from index 0 to index i (included). The original code only counted the code points from index 0 to index (i-1). Bug: 13969542 Change-Id: Idbf596aba2379ba552dbe580c83c42044d505aaf Xiaojun Bi2014-04-181-7/+10
* [CB26] Remove useless variables.•••This is nice for code simplicity, but it has a small adverse impact on performance. Bug: 13406701 Change-Id: I9316b3fe8d79b940fbd83cf1187c8c0d10b26c71 Jean Chalard2014-04-101-49/+11
* [CB25] Refactor some array copying•••Bug: 13406701 Change-Id: I09edd822f5cc2446b324d41c76d835bcff1191e6 Jean Chalard2014-04-091-15/+28
* [CB23] Merge add and deleteLast•••Bug: 13406701 Change-Id: Id9a2e4144b1908ad27d78228ee19e6fc4d4d669f Jean Chalard2014-04-071-16/+9
* [CB22] Merge add and delete•••...but this time, it works. Bug: 13406701 Change-Id: Iaa00339a6be76413ffaeb74ff1556e15b3bb039d Jean Chalard2014-04-071-19/+15
* Revert "[CB22] Merge add and delete"•••This reverts commit f6bce235ae4cb4dc366dbfa534e26ad416b14e6b. Seeing several new unit test failures after this CL. Reverting.. Change-Id: Ie97127550ee36dd4a07a36701e9c5118684dfbc5 Ken Wakasa2014-04-041-13/+19
* [CB22] Merge add and delete•••Bug: 13406701 Change-Id: Ic9e90dd226b58b5ddb9693e04259cde00916007e Jean Chalard2014-04-021-19/+13
* [CB21] More refactoring•••Bug: 13406701 Change-Id: I96e0a7fa2d9f4dfd8c355da4effc116bbd0f7f18 Jean Chalard2014-04-021-17/+20
* [CB20] Some more refactoring•••Bug: 13406701 Change-Id: I4502658f4f1e1997d0ac245d95e2d4a1415b1861 Jean Chalard2014-04-021-8/+10
* [CB19] Some refactoring•••Bug: 13406701 Change-Id: Ie4d420e8cabbbd93c3eea13a80baa4d766ee61d0 Jean Chalard2014-04-021-6/+8
* [CB18] Move some code around•••Bring next to each other two methods scheduled for a merge Bug: 13406701 Change-Id: I335c7202cc07d8865f4ab92e4023c1d93d1f83ac Jean Chalard2014-04-021-27/+27
* [CB17] Remove a member.•••Bug: 13406701 Change-Id: I2e271f637f6b529a4191a7adc5cdfa5af437761b Jean Chalard2014-04-021-31/+18
* Some cleanup•••Change-Id: Ia11d656a70623168b091763ac6524750f9cca8d8 Jean Chalard2014-03-281-1/+6
* [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