aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Introduce clustering punctuationJean Chalard2014-05-011-10/+13
| | | | | Bug: 10081730 Change-Id: If198fa3df68ecb267da0a278da41fd509d6165f1
* Fix handling shift + enterTadashi G. Takaoka2014-04-231-1/+3
| | | | | Bug: 14278758 Change-Id: Id77c99b83cc69855972b27c9cebd482c8cbd3539
* Restart suggestions when restarting inputJean Chalard2014-04-162-0/+8
| | | | | Bug: 6851364 Change-Id: I3052924053f37f56c9c3953051aa1b22224a2b2e
* Fix updating the shift state upon backspaceJean Chalard2014-04-141-11/+11
| | | | | Bug: 13514349 Change-Id: If4c9db12b0ab5be676f7a2f72715f469066ee537
* Merge "[IL133] Avoid calling a dangerous method from outside."Jean Chalard2014-04-101-3/+6
|\
| * [IL133] Avoid calling a dangerous method from outside.Jean Chalard2014-04-031-3/+6
| | | | | | | | | | | | | | | | We want to remove all calls to this as it lets internal values escape, but there is some refactoring to do to finish this. Bug: 8636060 Change-Id: Iedba6afe4719bc0add868714a1ee5a04b7ead33e
* | Fix some flaky tests.Jean Chalard2014-04-102-0/+18
| | | | | | | | | | | | | | | | | | | | In tests, we create many instances of LatinIME, but we never destroy them. That means we never close the dictionaries nor the handlers. This change calls onDestroy, which closes all dictionaries, and adds some code to finish the handlers. Change-Id: I942517a2a940c54256b08763f6b38f5b55809f55
* | [CB23] Merge add and deleteLastJean Chalard2014-04-071-2/+2
| | | | | | | | | | Bug: 13406701 Change-Id: Id9a2e4144b1908ad27d78228ee19e6fc4d4d669f
* | Merge "[IL132] Remove some calls that let a value escape."Jean Chalard2014-04-041-3/+3
|\|
| * [IL132] Remove some calls that let a value escape.Jean Chalard2014-04-031-3/+3
| | | | | | | | | | Bug: 8636060 Change-Id: I696514934586ee71e734fd974026af8b2c866127
* | Fix a bug with double-space-to-periodJean Chalard2014-04-031-7/+5
|/ | | | | Bug: 13778001 Change-Id: I3ebd57950cdfacbbcdc64ed214c0590519a0665c
* [IL131] Cleanup some cruftJean Chalard2014-04-031-9/+1
| | | | | Bug: 8636060 Change-Id: I169618b50532df68e973e14b3f114c6c19714c84
* [IL130] Remove a useless localJean Chalard2014-04-021-3/+1
| | | | | Bug: 8636060 Change-Id: I36ba3e00630bef644fc4671d0714490b5982f6a1
* [IL129] Change some confusing method names.Jean Chalard2014-04-022-15/+19
| | | | | Bug: 8636060 Change-Id: I2f55fc23d7e05b63582a3f0660b58635eae5ec59
* Merge "[IL128] Remove passing some handlers."Jean Chalard2014-03-311-21/+16
|\
| * [IL128] Remove passing some handlers.Jean Chalard2014-03-271-21/+16
| | | | | | | | | | Bug: 8636060 Change-Id: I088be9a7555265ca097667523defd73be4cbe37f
* | Do not create a handler thread for each sessionJean Chalard2014-03-312-7/+9
| | | | | | | | | | | | | | Bug: 13710224 Bug: 12821388 Bug: 12667742 Change-Id: I6188e0240193d2bca789110e7660a0f31bbafc62
* | Fix a bug where LatinIME would leak pipes.Jean Chalard2014-03-281-0/+1
| | | | | | | | | | | | Bug: 12667742 Bug: 12821388 Change-Id: Ic0bad56fb96e54ac032759adffc8ea320c06dff2
* | Some cleanupJean Chalard2014-03-281-4/+2
|/ | | | Change-Id: Ia11d656a70623168b091763ac6524750f9cca8d8
* Merge "[CB14] Implement backspace in the combiner chain"Jean Chalard2014-03-251-1/+1
|\
| * [CB14] Implement backspace in the combiner chainJean Chalard2014-03-251-1/+1
| | | | | | | | | | | | Bug: 13622107 Bug: 13406701 Change-Id: I0023b398c4451253f9f717e2bd990b8a054004bc
* | Remove logic related to dictionary loading from LatinIME.Keisuke Kuroyanagi2014-03-251-29/+10
|/ | | | | | | | | | | Make mSuggest final and give DictionaryFacilitator the responsibility to manage dictionary loading state. This can simplify the logic to decide how to deal with additional dictionaries when loading settings or language switching. Bug: 13273534 Change-Id: I9f3d328272f25addfa186fbeedaaf8417455ba99
* Merge "[CB10] Add an event for string input"Jean Chalard2014-03-201-2/+3
|\
| * [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