aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * [CB10] Add an event for string inputJean Chalard2014-03-201-2/+3
| | | | | | | | Change-Id: Ie5da6c73d4df4553067c58cd0dce9abb34534250
* | Merge "[IL127] Move the double space countdown to InputLogic"Jean Chalard2014-03-201-13/+26
|\ \ | |/ |/|
| * [IL127] Move the double space countdown to InputLogicJean Chalard2014-03-191-13/+26
| | | | | | | | | | Bug: 8636060 Change-Id: Ie193b747bd9d0b5ba6a986b9a3c746c2182742ed
* | [CB08] Create a combiner chain in the word composer.Jean Chalard2014-03-201-1/+0
|/ | | | | Bug: 13406701 Change-Id: I3b9f75de9283f76366d1bef7e14a8f22f2186669
* [IL125] Remove arg to onPickSuggestionManuallyJean Chalard2014-03-191-11/+25
| | | | | | Bug: 8636060 Change-Id: I55332c22897e97148621cbd367acf5175b5b3d04
* [CB07] Small refactoringJean Chalard2014-03-171-0/+9
| | | | | Bug: 8689779 Change-Id: I2cf10c690c7e4a9c6bf27211d1fccc1f9d4a9249
* [CB06] Fix a design error.Jean Chalard2014-03-171-3/+0
| | | | | | | | | | | | The event interpreter should intervene later, after decoding. Decoding should happen first, and then the Event should be passed to the InputLogic. For the time being, we will leave the (unused) EventInterpreter class and its friends, because we'll use them again later. Bug: 13406701 Change-Id: I7582d486724311e39e6692e606cca50c78800643
* [CB04] Add an event array to WordComposer.Jean Chalard2014-03-141-2/+1
| | | | | Bug: 13406701 Change-Id: I9ecd2709c8f1c678a85b0cfaf7c5ed4f78459821
* [CB03] Pass whole events to the various input logic handlers.Jean Chalard2014-03-131-123/+127
| | | | | Bug: 13406701 Change-Id: I0a0e4e0b3357f116e1b915c548dee4575e300c92
* [CB02] Pass an Event to onCodeInput.Jean Chalard2014-03-131-8/+13
| | | | | Bug: 13406701 Change-Id: Id82e9aab6544ca308e6ac6dee2cfa018b9ce2d8f
* Merge "[IL124] Remove the KeyboardSwitcher arg to onCodeInput"Jean Chalard2014-03-061-16/+12
|\
| * [IL124] Remove the KeyboardSwitcher arg to onCodeInputJean Chalard2014-03-061-16/+12
| | | | | | | | | | Bug: 8636060 Change-Id: I29ce4c82ea880a937b1c9e5daf494fcdbbdd1336
* | Merge "Correctly update the suggestion strip on non-resumable word"Jean Chalard2014-03-061-1/+4
|\ \ | |/ |/|
| * Correctly update the suggestion strip on non-resumable wordJean Chalard2014-03-051-1/+4
| | | | | | | | | | Bug: 13303965 Change-Id: Iedc5d38f70af76fbebb99e59a0d17c1e226c810d
* | [IL123] Put the settings values inside the transactionJean Chalard2014-03-061-53/+51
| | | | | | | | | | | | | | | | | | A transaction should always operate with a consistent set of settings. It's better to have it reference them than to always pass them along. Bug: 8636060 Change-Id: I3c642dfea6be30712fc6cbb279c64f3185895791
* | [IL122] Put the code, x and y in the transactionJean Chalard2014-03-061-83/+77
| | | | | | | | | | Bug: 8636060 Change-Id: Icdf87995dedec410b54c306e8d312ba7ec25cea6
* | [IL121] Introduce InputTransactionJean Chalard2014-03-051-29/+49
|/ | | | | | | We probably can't put this off any longer Bug: 8636060 Change-Id: I1e5d3cf62d719f4d064ced3282bebf2e822f6baa
* [IL120] CleanupJean Chalard2014-03-041-36/+19
| | | | | | Remove useless arguments, local vars, make stuff private Change-Id: I7cc6c19e9c1703304d593e02be31eb9569cc7b4e
* [IL119] Make fields private.Jean Chalard2014-03-041-3/+3
| | | | Change-Id: Ia84d3e5a102e1056e3d7467be07df89390f17617
* [IL115] Cleanup continuesJean Chalard2014-03-041-28/+25
| | | | | Bug: 8636060 Change-Id: I944b10ec9798eec57d986e1075ba348aa0892cae
* [IL114] Move a method to InputLogicJean Chalard2014-03-041-3/+31
| | | | | Bug: 8636060 Change-Id: I0d8f93985ddc6e93ce9af0d92a8056620351a498
* [IL111] Remove a member.Jean Chalard2014-03-041-7/+6
| | | | | | | ...and improve encapsulation and readability. Bug: 8636060 Change-Id: I36407630b307df0721ea7fdb7e7a22cdf2b018b3
* Use dynamic operations to construct all ver4 dicts.Keisuke Kuroyanagi2014-02-271-1/+1
| | | | | | Bug: 8187060 Bug: 13127350 Change-Id: I081ee904c41898128efa8ba7a1bf3fa0a46c6231
* [QRP6] Fix: recorrection top candidate is displayed in boldJean Chalard2014-02-251-2/+4
| | | | | Bug: 10385162 Change-Id: Icf9471d474a3a8ed8f38c46c7948c66f9131691e
* Don't trim newer inputpointers with old dataJean Chalard2014-02-211-0/+2
| | | | | | | | | | | | | We already have a mechanism to avoid this crash, but it wasn't used every time it needed to. It's possible that ending a batch input and starting a batch input happen while suggestions are being pulled out, which would result in pointers that have been reset being passed for trimming. Just increasing the sequence number should get rid of the problem. Bug: 12178124 Change-Id: I36ef3bc8a78679bc09daa39e665f5ce1bab50c2a
* Merge "Fix a bug where suggestions would not be updated."Jean Chalard2014-02-201-14/+33
|\
| * Fix a bug where suggestions would not be updated.Jean Chalard2014-02-201-14/+33
| | | | | | | | | | | | | | | | Also fix a small cosmetic bug where the suggestion strip would flash. Bug: 12951777 Change-Id: I68b7bb9175571de9c718f737eebd9f67ea04a931
* | Add final and volatile for members of InputLogic.Keisuke Kuroyanagi2014-02-201-2/+3
|/ | | | | Bug: 13107471 Change-Id: I47df79bc6f015c212d1b6d2f63b2efc5da24294e
* Cleanup.Jean Chalard2014-02-181-11/+2
| | | | | | | Less code, less chance of stuff escaping, and a bit of a clarification. Yay. Change-Id: I3193fd8ad7ac28195260cbc231c4e498a63a460c
* Don't resume suggestion on links.Jean Chalard2014-02-171-0/+4
| | | | | Bug: 11447084 Change-Id: I5bd558b9dd85d1505aa918f44e8ac3e52ec42d97
* Add PunctuationSuggestions classTadashi G. Takaoka2014-02-141-2/+2
| | | | | | | This change must be checked in together with I366c477516. Bug: 12640318 Change-Id: I8d3864b9d9649c9e3306e82b01a6327b11281b1f
* Backward compatibility hack : send delete when empty.Jean Chalard2014-02-131-1/+7
| | | | | | | | | | | | | | | | | | | | Some apps depend on the keyboard sending something to them when the text is empty. This is BROKEN. Your app must not lie to the keyboard about what is before the cursor. If there is something to delete, you must not pretend there is not and try to catch some delete event. This will result in a bad user experience. This will not work with all IMEs. If your app needs this broken behavior, you're doing it wrong. Seriously guys, we're not in the era of typewriters any more, there are touch screens, there are gestures, there is accessibility, there are many innovative IMEs that don't have keys. Do *NOT* rely on key events. This change implements an ugly hack so that these broken apps may continue half-working with LatinIME. We are very unhappy about this. Bug: 12998568 Change-Id: Ia62ae2fbee4fee65b463acf3a79aafcfd0defa1d
* Fix a test.Jean Chalard2014-02-131-17/+29
| | | | | | | | | | This fixes two separate problems: - The word finds itself with two separate suggestion spans. This is fine for LatinIME, but it's hard to predict whether it's fine for other interested parties (other keyboards). - The test for the blue underline was incorrect. Change-Id: I3ecc849676851bf25a25238d694adaa956521a26
* Revert "Display predictions when the cursor is moved after a word."Jean Chalard2014-02-101-8/+1
| | | | | | | | This change is lacking some comments and break some unit tests. It needs more work. This reverts commit 38d31a5e79c64e706e1698d2d24adb51c4ac53aa. Change-Id: I675854fd0729f2d01b7751e35c6d0117f4f88993
* Display predictions when the cursor is moved after a word.Jean Chalard2014-02-101-1/+8
| | | | | Bug: 12951777 Change-Id: I744b98df6679edd34ca3c1392e38597325935932
* Conditionally store the raw suggestions.Jean Chalard2014-02-061-1/+2
| | | | | Bug: 12913520 Change-Id: Ie15f97d90c142c51089280252b35b5ad1d226e19
* Merge "Fix a flash in the wrong place"Jean Chalard2014-02-051-3/+2
|\
| * Fix a flash in the wrong placeJean Chalard2014-02-051-3/+2
| | | | | | | | | | Bug: 7226099 Change-Id: I8f74802b3ae24018fc4176fb2fff2c777ae170b0
* | [IL109] Move more code to InputLogicJean Chalard2014-02-051-1/+113
| | | | | | | | | | Bug: 8636060 Change-Id: Ib12eacc836e8d39c4165c97a2a287f32f6bf5405
* | [IL108] Remove some uses of LatinIME in input logic.Jean Chalard2014-02-051-7/+11
|/ | | | | | | Access the suggestion strip through the interface instead. Bug: 8636060 Change-Id: Ia8bd705c230f943e309d677ef683b1a2cbe68036
* Check isEligibleForAutoCommit when batch input is ended.Keisuke Kuroyanagi2014-02-051-1/+4
| | | | | Bug: 11951198 Change-Id: Ibbe09fa38eaa3ebf8f9b69f744a29db7ac598975
* Don't resume suggestions if suggestions are not requested.Jean Chalard2014-02-031-0/+2
| | | | | Bug: 12832614 Change-Id: I6a9b6d128d7e0324ba59a43cf153a3b54e1d35bf
* [IL106] Inline a now useless method.Jean Chalard2014-01-291-3/+4
| | | | | Bug: 8636060 Change-Id: Ic8e0225206358680aa0de421f17ab443c888036d
* [IL105] Remove more useless argumentsJean Chalard2014-01-291-3/+2
| | | | | Bug: 8636060 Change-Id: I9e817bb9622c84544a5ca8708e5c1fccad1ed447
* [IL104] Remove useless argumentsJean Chalard2014-01-291-5/+2
| | | | | Bug: 8636060 Change-Id: I97a371fe0c6227eb0f03d3e391a33726e6280322
* [IL103] Save the typed word separately in SuggestedWords.Jean Chalard2014-01-291-3/+2
| | | | | | | | This helps managing the cases where the typed word is not in the suggestions. This happens during recorrection. Bug: 8636060 Change-Id: I6784feb793cae96272a7f1d123a0e3bbb8f03143
* Merge "Fix inconsistent behavior with the back-to-the-main-keyboard key"Yohei Yukawa2014-01-281-0/+4
|\
| * Fix inconsistent behavior with the back-to-the-main-keyboard keyYohei Yukawa2014-01-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | With this patch, the back-to-the-main-keyboard in the Emoji palette will be registered as a key-release action instead of a key-press action, like switch-to-the-emoji-palette in the main layout. This provides mroe consistent UX when the layout is switched from the main layout to the Emoji palette then switched back to the main layout. BUG: 12464067 Change-Id: Ia0d0185db43234dfcfb7cee2677f3d199fe6ed96
* | [IL102] Rename a methodJean Chalard2014-01-281-3/+2
| | | | | | | | | | Bug: 8636060 Change-Id: Ia54afdfab9124aa5c35699e357e63eae66a7557f
* | [IL101] Remove a methodJean Chalard2014-01-281-3/+6
| | | | | | | | | | Bug: 8636060 Change-Id: Ic9c12fc6970987b0e1912e8ae85bed55260d66b5