aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/WordComposer.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
* Add useful information to LastComposedWord (A2)•••Change-Id: Idf47f2e2bdd1d6394fc4b1ab7df28d64a808da1e Jean Chalard2012-01-261-1/+4
* Add a class for previously composed data (A1)•••Change-Id: I87498799e6a48b8fa65924a098bb0ceb7626dce1 Jean Chalard2012-01-261-20/+4
* Fix a typo. A follow up to I68dd6b8d•••Change-Id: I16fa4099c75faac35344b0e4d3c2b866ddac896a Ken Wakasa2011-12-211-1/+1
* Fix a bug with wrong auto-correct cancellation•••Auto-correct cancellation would sometimes kick in at wrong times, causing crashes. Bug: 5784542 Change-Id: I68dd6b8d9237ce9b66af2dc63e77ba6dd5fd69dd Jean Chalard2011-12-211-7/+37
* Reorganize the auto-correction memory•••Change-Id: I31cce9db471dcd4a7b3477bcb037a8ff482b7696 Jean Chalard2011-12-191-19/+26
* Remove LatinKeyboard class•••Change-Id: I68c667b00dadf2ed9f1c62fb7da37d2cf499cd81 Tadashi G. Takaoka2011-12-181-5/+4
* Use the WordComposer to check if we are composing a word•••...instead of the hard-to-understand mHasUncommittedTypedChars. This is possible because now the word composer is actually aware of commits. Change-Id: I36b664ce8402a280f801e87b9ebe161f416b0853 Jean Chalard2011-12-161-0/+4
* Make the word composer aware of commits.•••Change-Id: I04e691fbc9227d4df195429bca89edea93575347 Jean Chalard2011-12-161-4/+23
* Group all input-related info into an inner class.•••Currently, these variables hold the info about the composing word, or maybe some outdated info, and it's not very clear which it is. LatinIME is maintaining the freshness info in a separate boolean, and uses it throughout the code for many, many things, leading to much confusion. The idea in grouping this info is, it can be saved in another instance and restored later. It can be tested against to know whether there is actually outdated but kept info or not, and it should allow to straighten out what is actually currently being typed. Ultimately, it will eliminate the need for LatinIME to keep track of the status of the info in the word composer. Change-Id: I00e2c690f303f8320c9be35590a6df4583e9e456 Jean Chalard2011-12-151-33/+50
* Various mini-cleanups•••- Stop the word composer from escaping - take a page from the law of Demeter and only report what is actually needed. - Fix typos in comments. - Add a comment for a fishy processing. - Remove a useless local variable. Change-Id: I5fa78901cbb5483fc9683bfb7094f47244b85df6 Jean Chalard2011-12-131-1/+1
* Move mBestWord to the word composer.•••mBestWord has a confusing name - it's actually an auto-correction. It's cleaner if it lives in the word composer because an auto-correction should be tied to a specific user input, and should be reset each time the user input changes to avoid race conditions. Change-Id: I718d29395bc747372067e6440e090c6a181994ae Jean Chalard2011-12-131-1/+30
* Remove a duplicated variable.•••This is awesome cleanup. Change-Id: I35ce8940a13f3084630dc26d6e7e397acfdaac36 Jean Chalard2011-12-121-3/+0
* Get rid of usage of key index•••Change-Id: I7596ce3ae52fde436d06c2dd95ae873c7aa5ef7f Tadashi G. Takaoka2011-11-291-1/+1
* Merge "Resume suggestion when backspacing to the end of a word"Jean Chalard2011-11-291-0/+46
|\
| * Resume suggestion when backspacing to the end of a word•••Bug: 5515381 Change-Id: I26fea896feaf2e9716c7ae3d4f2630360f23ac50 Jean Chalard2011-11-291-0/+46
* | Keep count of the trailing single quotes for suggestions•••Bug: 5665809 Change-Id: I4d9100dbe980861ccb55c78464524be670cac1f7 Jean Chalard2011-11-291-10/+18
|/
* Special case quotes at start and end of words•••Single quote at start of word is not considered a part of a word any more. Single quote at the end of a word now behave like capitalization: lookup in the dictionary is done *disregarding* a final quote, and it is forcefully added back into the suggestions afterwards. Bug: 5566368 Change-Id: I14dd3815f4b743edba56d64a3abdf4b73d863a6a Jean Chalard2011-11-211-3/+19
* Make some private method static•••Change-Id: Ia23765268be0ef89d7fe7c3f5372ed32d6615765 Tadashi G. Takaoka2011-10-281-1/+1
* Fix checking capitalized word code•••This is a follow up change of If6c0edef. Bug: 5328922 Change-Id: Idb415f53f3fea6660c7802577d08b4d89d4e7842 Tadashi G. Takaoka2011-09-161-1/+1
* Avoid returning an object that's still used internally•••There is no definite path known for this to end up being touched by other classes, but we could imagine through some way or some other it ends up shoved in the stringbuilder pool, leading to catastrophic results. Hopefully related to Bug: 5248688 Change-Id: Ib8abfc31263cbf31d515ed607ced5d8253971938 Jean Chalard2011-09-151-2/+2
* Make WordComposer aware of capitalized word•••Change-Id: If6c0edef2334f018f2e04c6034f8ce747206f150 Tadashi G. Takaoka2011-09-131-52/+27
* Fix the available input locales and moved Recorrection•••Bug: 4409091 Change-Id: I6efd23ebb9528bf1bd35320057a0ea264c187451 satok2011-05-121-1/+1
* Move re-correction codes to Recorrection.java•••Change-Id: I0641f333bbc7d4ac27361c97252c4591584efb9d satok2011-05-101-4/+8
* Add proximity info to native•••Bug: 3311719 Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b satok2011-02-231-12/+42
* Remove next letters frequency handling•••Bug: 3428942 Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2 Tadashi G. Takaoka2011-02-171-0/+4
* Capitalize the displayed text in the suggestion bar when all of the user type...•••bug:3014227 Change-Id: Ic453e2fde57ce51be00f3a506e1c9328103ca99a Ken Wakasa2010-09-281-9/+17
* Fix ArrayIndexOutOfBoundsException in WordComposer•••Bug: 3028277 Change-Id: I1c4d8dca4db8a70f851589d1fbd45a16ea1bfc1b Tadashi G. Takaoka2010-09-231-16/+10
* Clean up LatinIME java•••- remove unused code - add @Override - change the inappropriate cast Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894 satok2010-08-241-2/+1
* DO NOT MERGE. Backport LatinIME from master to Gingerbread•••TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963 satok2010-08-201-1/+10
* Clarify licensing•••-use AOSP copyright instead of Google -add NOTICE and tag file Bug: 2548782 Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4 Jean-Baptiste Queru2010-04-051-1/+1
* Fix occasional correction errors in suggesting obvious corrections.•••Bug: 2513996 The array of adjacent letters did not have the primary code in the first position. Swap the codes around to make the primary the first one. Change-Id: Id753254c88d440d3d76dbc048d123dfc78edf58d Amith Yamasani2010-03-141-0/+16
* Don't let the native code target be included twice when unbundling.•••Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986 Amith Yamasani2010-03-091-0/+174