- Mar 14, 2012
-
-
satok authored
Bug: 4343280 Test: I11f8518d9ee Change-Id: I4b90bdffffed9736af223ac83c1a54019add70bb
-
- Mar 06, 2012
- Feb 22, 2012
-
-
Jean Chalard authored
This finally makes active the behavior described in Bug: 5968922 Change-Id: I363ed23270c3dea75411ea806011225097b5d07c
-
Jean Chalard authored
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 Chalard authored
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
-
- Feb 08, 2012
-
-
Jean Chalard authored
Change-Id: I61ff218ae2ca4eb443a370e581b677755258670a
-
- Feb 06, 2012
-
-
Jean Chalard authored
Bug: 5961179 Change-Id: I452efc552c6ab390931f25557d7aee5a64bf054e
-
- Feb 03, 2012
-
-
Jean Chalard authored
And unit test Change-Id: Ic4fc3626f8b86e10156d770d41cd6deab5d31f39
-
Jean Chalard authored
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
-
- Feb 02, 2012
-
-
satok authored
Change-Id: Ifbe0d7e4eafea1926bbce968eae4724dd5769689
-
- Jan 26, 2012
-
-
Jean Chalard authored
It turns out this can be removed entirely. Change-Id: I6f23703cef1666311989a825285317eef696487f
-
Jean Chalard authored
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 Chalard authored
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 Chalard authored
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 Chalard authored
Change-Id: Ia62ef33b5c777a258b02280bda1b8368780a7eef
-
Jean Chalard authored
Change-Id: Ie0ea02a061dd0cb84db5f33113ff433584636bc7
-
Jean Chalard authored
Change-Id: Idf47f2e2bdd1d6394fc4b1ab7df28d64a808da1e
-
Jean Chalard authored
Change-Id: I87498799e6a48b8fa65924a098bb0ceb7626dce1
-
- Dec 21, 2011
-
-
Ken Wakasa authored
Change-Id: I16fa4099c75faac35344b0e4d3c2b866ddac896a
-
Jean Chalard authored
Auto-correct cancellation would sometimes kick in at wrong times, causing crashes. Bug: 5784542 Change-Id: I68dd6b8d9237ce9b66af2dc63e77ba6dd5fd69dd
-
- Dec 19, 2011
-
-
Jean Chalard authored
Change-Id: I31cce9db471dcd4a7b3477bcb037a8ff482b7696
-
- Dec 18, 2011
-
-
Tadashi G. Takaoka authored
Change-Id: I68c667b00dadf2ed9f1c62fb7da37d2cf499cd81
-
- Dec 16, 2011
-
-
Jean Chalard authored
...instead of the hard-to-understand mHasUncommittedTypedChars. This is possible because now the word composer is actually aware of commits. Change-Id: I36b664ce8402a280f801e87b9ebe161f416b0853
-
Jean Chalard authored
Change-Id: I04e691fbc9227d4df195429bca89edea93575347
-
- Dec 15, 2011
-
-
Jean Chalard authored
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
-
- Dec 13, 2011
-
-
Jean Chalard authored
- 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 Chalard authored
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
-
- Dec 12, 2011
-
-
Jean Chalard authored
This is awesome cleanup. Change-Id: I35ce8940a13f3084630dc26d6e7e397acfdaac36
-
- Nov 29, 2011
-
-
Tadashi G. Takaoka authored
Change-Id: I7596ce3ae52fde436d06c2dd95ae873c7aa5ef7f
-
Jean Chalard authored
Bug: 5515381 Change-Id: I26fea896feaf2e9716c7ae3d4f2630360f23ac50
-
Jean Chalard authored
Bug: 5665809 Change-Id: I4d9100dbe980861ccb55c78464524be670cac1f7
-
- Nov 21, 2011
-
-
Jean Chalard authored
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
-
- Oct 28, 2011
-
-
Tadashi G. Takaoka authored
Change-Id: Ia23765268be0ef89d7fe7c3f5372ed32d6615765
-
- Sep 16, 2011
-
-
Tadashi G. Takaoka authored
This is a follow up change of If6c0edef. This is a cherry-pick of Idb415f53 from Master. Bug: 5328922 Change-Id: I36d8bda9fb95e4809598296226c598a9f08bd8bb
-
Tadashi G. Takaoka authored
This is a follow up change of If6c0edef. Bug: 5328922 Change-Id: Idb415f53f3fea6660c7802577d08b4d89d4e7842
-
- Sep 15, 2011
-
-
Jean Chalard authored
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
-
- Sep 13, 2011
-
-
Tadashi G. Takaoka authored
Change-Id: If6c0edef2334f018f2e04c6034f8ce747206f150
-
- May 12, 2011
-
-
satok authored
Bug: 4409091 Change-Id: I6efd23ebb9528bf1bd35320057a0ea264c187451
-
- May 10, 2011
-
-
satok authored
Change-Id: I0641f333bbc7d4ac27361c97252c4591584efb9d
-