aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/WordComposer.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator•••Change-Id: Ie0c9ce805d9ad009fc9bbaac37b715aff90cd844 Mohammadinamul Sheik2015-02-041-0/+11
* Disable the Burmese keyboard.•••We'll resurrect this effort in the new code base. Bug 16900511. Change-Id: Iae4cd27cb29cb8f991e97cffd88ed59c30d66628 Dan Zivkovic2015-01-291-2/+1
* Fix moving the cursor inside composition in lang w/o spaces•••Also introduce the cursor move event, which we needed to do anyway Bug: 18827118 Change-Id: I30e994764c095b4423b874dc05d1bbedc0de592f Jean Chalard2014-12-221-2/+2
* Move util classes under common•••Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab Jean Chalard2014-11-071-1/+1
* Remove Dict dependency on WordComposer and ProximityInfo•••Bug: 18108776 Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880 Jean Chalard2014-10-291-32/+5
* Move InputPointers and ResizableIntArray to common•••Bug: 18108776 Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe Jean Chalard2014-10-291-0/+1
* Move StringUtils under common.•••Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b Jean Chalard2014-10-281-1/+1
* Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-231-0/+1
* Fix Javadoc and null analysis related warnings•••This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1 Tadashi G. Takaoka2014-10-231-1/+1
* Fix some compiler warnings•••This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7 Tadashi G. Takaoka2014-10-211-2/+1
* [ML18] Make WordComposer#getAutoCorrection a word info•••Bug: 11230254 Change-Id: I6ad2e7f89862fbfe7af5502961643320c782347f Jean Chalard2014-10-081-13/+5
* Add calls to stub for API to consume gesture data.•••Bug: 17400259 Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664 David Faden2014-10-031-2/+1
* Rename PrevWordsInfo to NgramContext.•••Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984 Keisuke Kuroyanagi2014-09-291-2/+2
* Add StatsUtils.onAutoCorrection method.•••Change-Id: I9547b6c0f082ef7c09b251a6458badb65a841229 Mohammadinamul Sheik2014-09-161-1/+10
* [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