aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/WordComposer.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
* Refresh the cached single quotes count on commit•••Change-Id: I9df5cf95c14da2e11ac709ca5e32dc7db3b02c37 Jean Chalard2012-07-101-0/+1
* Remove unused WordComposer.init method•••Change-Id: I46c6a6e1c1536599cb909bf81297001b238f2ec8 Tadashi G. Takaoka2012-07-061-5/+1
* Merge "Remove WordComposer.add(int, int, int, KeyDetector) method"Tadashi G. Takaoka2012-07-041-20/+1
|\
| * Remove WordComposer.add(int, int, int, KeyDetector) method•••Change-Id: Ie6af46acba18a2d1cf3ddd1578d60ded4c90f89a Tadashi G. Takaoka2012-07-041-20/+1
* | Use Keyboard.getKey•••Change-Id: I722b9e981389f660db928b7fd5ced1b82371fbf3 Tadashi G. Takaoka2012-07-041-7/+6
|/
* Add input pointers•••Change-Id: I95300bf0a847fb86d026e846ff4ad723bb45284f Satoshi Kataoka2012-06-291-21/+9
* Small cleanups•••Change-Id: Ic1a198ab1b4f0323fde9e4245729fd0e6011b914 Ken Wakasa2012-06-271-1/+1
* Cancel adding user history bigram when autocorrection is cancelled•••Bug: 6465474 Change-Id: Ifbfe0ddc2ce5fab070939ede3db7bf03a8535a45 satok2012-05-241-2/+3
* Don't autocorrect after suggestion resuming•••Bug: 6105732 Change-Id: I92e7a9c6d6eb648f747c3b396d7993479fd8478a Jean Chalard2012-05-011-0/+14
* Fix some obvious compiler warnings•••Change-Id: I10a634f7492b45d5a72345f14d36cf341946387d Tadashi G. Takaoka2012-03-291-3/+1
* Good bye the proximity logic in Java code•••Bug: 4343280 Change-Id: I82f7d08703647a3492ce6e2d3b741146df58927e satok2012-03-281-10/+4
* Do not re-calculate primary code in WordComposer•••Bug: 4343280 Test: Ib43c0f1d1a19d067ea0 Change-Id: I3393a6099cb7fb824994f4656ccfef884f9c6bc4 satok2012-03-281-3/+3
* Fix AIOOBE•••Bug: 6236912 Change-Id: Ie09e5ef1c23eb48621ac3f2f2dc28dc2e46ca288 satok2012-03-281-1/+5
* ongoing cleanup 2•••Change-Id: I66b61cbe491cf8375144e834390beae3209a777d satok2012-03-271-24/+28
* Merge "Cleanup jni 1"satok2012-03-231-2/+0
|\
| * Cleanup jni 1•••Change-Id: Ieb6af8385356e259720b50f1fe46a694a098b30f satok2012-03-231-2/+0
* | Stop creating useless objects•••Man that was bad, it's heavy, it's called quite often, and it's totally useless Change-Id: Ia7e23e0e60ff4a929b226f3f4ccabedbc3ea2c06 Jean Chalard2012-03-231-15/+3
|/
* Send correct coordinates for the spell checker•••This results in the computation being done in native code and the correct proximity being used. Bug: 6181080 Change-Id: I08fa05c781d607e4feca2caeda353ec19c133a3d Jean Chalard2012-03-231-27/+2
* Cleanup proximity related code•••Bug: 4343280 Change-Id: I57c0f9e20d9d8911009ea97057251a7f7a81512f satok2012-03-191-5/+4
* Calculate proximity characters in the native code•••Bug: 4343280 Change-Id: I6adaf560f7a4f1f96dcb6ec2f61f20ee3001167e satok2012-03-161-2/+2
* Do not change the proximity orders•••Bug: 4343280 Change-Id: I4e2dfb00d9c843a8a285d409ac5ab8fca5fb1694 satok2012-03-161-16/+0
* Remove touch dead zone•••KeyDetector should use the distance from the hit box to detect the key. Bug: 6174250 Change-Id: Id1745d90222d1d1a10467f194b45307c12449944 Tadashi G. Takaoka2012-03-151-2/+2
* Really pass the y - touch correction to the native code•••Bug: 4343280 Test: I11f8518d9ee Change-Id: I4b90bdffffed9736af223ac83c1a54019add70bb satok2012-03-141-1/+1
* Fix coordinates sent to native code•••Change-Id: I2c8b093b59ad36ffe860c3c4d360d87251d101c4 satok2012-03-061-8/+14
* Integrate the logic to calculate the proximities•••Bug: 4343280 Change-Id: I0f6a7e6912ed4abea07c10d266da4c7ccb0dae76 satok2012-03-061-3/+47
* Activate the code to cancel a manual pick (A5)•••This finally makes active the behavior described in Bug: 5968922 Change-Id: I363ed23270c3dea75411ea806011225097b5d07c Jean Chalard2012-02-221-12/+5
* Give LastComposedWord knowledge of the separator (A2)•••This stores the separator that was used to commit the word in the LastComposedWord. It may be NOT_A_SEPARATOR if there was no separator (for example, the cursor moved causing a commit, or there was a manual pick). This is necessary to implement feature request #5968922. Change-Id: I5fcf19a78ec66d68d4df89418eaef13952588207 Jean Chalard2012-02-211-2/+3
* Give LastComposedWord knowledge of the committed word (A1)•••There is no point storing the prospective autocorrect - we are recomputing it anyway. The committed word however will be necessary to implement feature request #5968922. Change-Id: I588c18e1a5a1050a791d601de465f421ccbe36cd Jean Chalard2012-02-211-5/+5
* Fix the auto-composer to support supplementary chars•••Change-Id: I61ff218ae2ca4eb443a370e581b677755258670a Jean Chalard2012-02-081-13/+22
* Fix a bug with common objects.•••Bug: 5961179 Change-Id: I452efc552c6ab390931f25557d7aee5a64bf054e Jean Chalard2012-02-061-3/+8
* Fix a bug when deleting the last char•••And unit test Change-Id: Ic4fc3626f8b86e10156d770d41cd6deab5d31f39 Jean Chalard2012-02-031-2/+4
* Fix string iterations in a couple places.•••Seems I didn't get how to iterate on a String correctly >.> Talk about a big bug. Anyway, I think it's working now. Bug: 5955228 Change-Id: I988c900cf2a16c44b9505cfd4f77c7cda7e592f0 Jean Chalard2012-02-031-1/+2
* Support additional proximity characters•••Change-Id: Ifbe0d7e4eafea1926bbce968eae4724dd5769689 satok2012-02-021-3/+1
* Cleanup (A9)•••Deactivate the LastComposedWord when the commit was not the right type, instead of fooling it by passing it a null auto-correction. Change-Id: I032b477dc691bd151a644ca4b0c9f0a9b5512e45 Jean Chalard2012-01-261-2/+4
* Remove a useless member (A8)•••It turns out this can be removed entirely. Change-Id: I6f23703cef1666311989a825285317eef696487f Jean Chalard2012-01-261-1/+1
* Remove the CharacterStore class (A7)•••Remove the now useless WordComposer.CharacterStore class and merge back its members inside WordComposer. This should simplify the word composer a bit. Change-Id: I5fe32418c62a583cd558dce98758a4701559bdf5 Jean Chalard2012-01-261-70/+50
* Straighten out resuming suggestion on kept word (A5)•••This is cleanup. This also introduces a "deactivated" state to the last committed word, that can be used for Bug: 5875776 Change-Id: I1855adb8ac8123f6d2c5365b0ae899145e5c3ba1 Jean Chalard2012-01-261-7/+0
* Remove mCommittedWordSavedForSuggestionResuming (A4)•••Change-Id: Ia62ef33b5c777a258b02280bda1b8368780a7eef Jean Chalard2012-01-261-23/+13
* Move some functionality into LastComposedWord (A3)•••Change-Id: Ie0ea02a061dd0cb84db5f33113ff433584636bc7 Jean Chalard2012-01-261-9/+4