aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix a wrong parameter passed."Jean Chalard2014-04-171-1/+1
|\
| * Fix a wrong parameter passed.Jean Chalard2014-04-171-1/+1
| | | | | | | | | | Bug: 14120001 Change-Id: I8258304bc500fe28870fb8a5c11c15d97795423c
* | Merge "Restart suggestions when restarting input"Jean Chalard2014-04-161-3/+1
|\ \
| * | Restart suggestions when restarting inputJean Chalard2014-04-161-3/+1
| |/ | | | | | | | | Bug: 6851364 Change-Id: I3052924053f37f56c9c3953051aa1b22224a2b2e
* / Fix some failing testsJean Chalard2014-04-151-3/+6
|/ | | | | Bug: 13968927 Change-Id: I7e5e075535e38bf0fa24af98ed6e2cdfd6de6556
* Merge "[IL135] Make getCurrentAutoCapsState private"Jean Chalard2014-04-151-16/+18
|\
| * [IL135] Make getCurrentAutoCapsState privateJean Chalard2014-04-141-16/+18
| | | | | | | | | | Bug: 8636060 Change-Id: I800aefe6fee4c14df6fe5abe21b2387c69abb8f5
* | Merge "[IL134] Add an alternative path to getCurrentAutoCapsState"Jean Chalard2014-04-151-1/+2
|\|
| * [IL134] Add an alternative path to getCurrentAutoCapsStateJean Chalard2014-04-141-1/+2
| | | | | | | | | | | | Bug: 8636060 Change-Id: I959e13d34910adad028ed6174f92029ff690eeeb
* | Fix updating the shift state upon backspaceJean Chalard2014-04-141-4/+5
|/ | | | | Bug: 13514349 Change-Id: If4c9db12b0ab5be676f7a2f72715f469066ee537
* Keep ImportantNoticeDialog showing after orientation changedTadashi G. Takaoka2014-04-141-9/+6
| | | | | Bug: 13951402 Change-Id: Ia6340d48843abca68ebadd299827cbe43516cc39
* Merge "Plumbing for ProductionFlag.USES_CURSOR_ANCHOR_MONITOR"Yohei Yukawa2014-04-131-0/+14
|\
| * Plumbing for ProductionFlag.USES_CURSOR_ANCHOR_MONITORYohei Yukawa2014-04-111-0/+14
| | | | | | | | | | | | | | | | | | | | With this CL, LatinIME starts calling InputMethodService#setCursorAnchorMonitorMode in #onStartInput() when ProductionFlag.USES_CURSOR_ANCHOR_MONITOR flag is explicitly set to true. BUG: 13891796 Change-Id: Ib2fb0c3521b61859d4cc530155ccaaee7ee16cbc
* | Merge "[IL133] Avoid calling a dangerous method from outside."Jean Chalard2014-04-101-5/+10
|\ \
| * | [IL133] Avoid calling a dangerous method from outside.Jean Chalard2014-04-031-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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-101-0/+5
| |/ |/| | | | | | | | | | | | | | | | | 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
* | Merge "Add StatsUtils for checking state"Yohei Yukawa2014-04-081-0/+4
|\ \
| * | Add StatsUtils for checking stateYohei Yukawa2014-04-081-0/+4
| | | | | | | | | | | | | | | BUG: 11746191 Change-Id: I0218dd07dde1d09321009ea1497258fc4235a1e8
* | | Merge "[IL132] Remove some calls that let a value escape."Jean Chalard2014-04-041-8/+8
|\ \ \ | | |/ | |/|
| * | [IL132] Remove some calls that let a value escape.Jean Chalard2014-04-031-8/+8
| |/ | | | | | | | | Bug: 8636060 Change-Id: I696514934586ee71e734fd974026af8b2c866127
* / Use platform default theme for activities and dialogsTadashi G. Takaoka2014-04-041-2/+4
|/ | | | | Bug: 13698528 Change-Id: Ib904c911452525e3749c0eb287434b504576db5f
* [IL129] Change some confusing method names.Jean Chalard2014-04-021-5/+6
| | | | | Bug: 8636060 Change-Id: I2f55fc23d7e05b63582a3f0660b58635eae5ec59
* [IL128] Remove passing some handlers.Jean Chalard2014-03-271-5/+13
| | | | | Bug: 8636060 Change-Id: I088be9a7555265ca097667523defd73be4cbe37f
* Remove logic related to dictionary loading from LatinIME.Keisuke Kuroyanagi2014-03-251-76/+51
| | | | | | | | | | | 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-1/+3
|\
| * [CB10] Add an event for string inputJean Chalard2014-03-201-1/+3
| | | | | | | | Change-Id: Ie5da6c73d4df4553067c58cd0dce9abb34534250
* | [IL127] Move the double space countdown to InputLogicJean Chalard2014-03-191-19/+0
|/ | | | | Bug: 8636060 Change-Id: Ie193b747bd9d0b5ba6a986b9a3c746c2182742ed
* [IL126] Move a setting value to SettingsValuesJean Chalard2014-03-191-4/+1
| | | | | Bug: 8636060 Change-Id: I7cb082df13a10cf5a3aa5786e6a9599376652dee
* [IL125] Remove arg to onPickSuggestionManuallyJean Chalard2014-03-191-11/+17
| | | | | | Bug: 8636060 Change-Id: I55332c22897e97148621cbd367acf5175b5b3d04
* [CB07] Small refactoringJean Chalard2014-03-171-3/+1
| | | | | Bug: 8689779 Change-Id: I2cf10c690c7e4a9c6bf27211d1fccc1f9d4a9249
* [CB06] Fix a design error.Jean Chalard2014-03-171-9/+28
| | | | | | | | | | | | 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
* [CB02] Pass an Event to onCodeInput.Jean Chalard2014-03-131-1/+19
| | | | | Bug: 13406701 Change-Id: Id82e9aab6544ca308e6ac6dee2cfa018b9ce2d8f
* [IL124] Remove the KeyboardSwitcher arg to onCodeInputJean Chalard2014-03-061-2/+13
| | | | | Bug: 8636060 Change-Id: I29ce4c82ea880a937b1c9e5daf494fcdbbdd1336
* [IL120] CleanupJean Chalard2014-03-041-4/+4
| | | | | | Remove useless arguments, local vars, make stuff private Change-Id: I7cc6c19e9c1703304d593e02be31eb9569cc7b4e
* [IL118] Factorize a methodJean Chalard2014-03-041-1/+1
| | | | | | | If we can't get the right locale from the subtype switcher, we should fallback in all cases. Change-Id: I46a53a67927a793d9d3592a996a5a4392a36c6ff
* [IL117] SimplificationJean Chalard2014-03-041-12/+12
| | | | Change-Id: Id4d4f30ecdc80dd59543f90fe2525f4bcc5afb9d
* [IL116] Inline a methodJean Chalard2014-03-041-15/+10
| | | | Change-Id: I6af8f2bd6b4917f9b119ff78a0f299b2f6fb921e
* [IL114] Move a method to InputLogicJean Chalard2014-03-041-22/+0
| | | | | Bug: 8636060 Change-Id: I0d8f93985ddc6e93ce9af0d92a8056620351a498
* [IL113] More cleanupJean Chalard2014-03-041-9/+5
| | | | | | | | | | | We should not test punctuation with this equality test any more. Also, whether the suggestion strip is displayed or not, or whether the hint is displayed or not, has nothing to do with this method and should be handled elsewhere rather than here -- and as a matter of fact, it is, which makes this useless. Bug: 8636060 Change-Id: I6a54ee87e4e9f81bc33158acf4a264c3abd5829d
* [IL112] CleanupJean Chalard2014-03-041-6/+1
| | | | | Bug: 8636060 Change-Id: Ic7c2dec2521613d52707457463691bec383177ff
* [IL111] Remove a member.Jean Chalard2014-03-041-6/+0
| | | | | | | ...and improve encapsulation and readability. Bug: 8636060 Change-Id: I36407630b307df0721ea7fdb7e7a22cdf2b018b3
* Merge changes I20ce61c4,I2edab4e3Keisuke Kuroyanagi2014-03-031-23/+27
|\ | | | | | | | | | | * changes: Remove "Use only personalization dictionary". Remove redundant creation of dictionary facilitator.
| * Remove redundant creation of dictionary facilitator.Keisuke Kuroyanagi2014-02-271-23/+27
| | | | | | | | Change-Id: I2edab4e3ba4ea0b9b13f9bb224aac86cac9b9f31
* | Add missing null checks for getOwnerInstance()Ken Wakasa2014-02-281-11/+33
| | | | | | | | | | | | It may just return null. Change-Id: I778fb48262ef8af28a4af50b70bb94ace75a488c
* | [IL110] Remove an unused interface functionJean Chalard2014-02-261-3/+1
| | | | | | | | | | | | | | ...and make a method private. Bug: 8636060 Change-Id: If16f7e8ef3779f77a9db23fb7c54e7c23b043b86
* | Remove useless args and processing.Jean Chalard2014-02-261-16/+10
|/ | | | | Bug: 13062385 Change-Id: I426545d1fe8fd76bcf4d1dce19e6b571a55c79ae
* Merge "Change a heuristic and add a log."Jean Chalard2014-02-211-0/+2
|\
| * Change a heuristic and add a log.Jean Chalard2014-02-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The heuristic in RichInputConnection makes little sense when textLength > mExpectedSelStart but we have more than 1024 characters of text. If there are that many, it's about 100% sure that 1024 is not the correct cursor position. With no good guess, we'll just continue trusting the app, even though we know it's lying : at least it will make the problem visible to the app author. Also, there have been a lot of confusion about initialSelStart and initialSelEnd. The keyboard should log them so that it helps us and editor authors debug more easily these common problems. Issue #65170 in AOSP and Bug: 12772035 Change-Id: I6665a16c9f2832d33ee323f033bb38bcc092a3b4
* | Add ImportantNoticeDialogTadashi G. Takaoka2014-02-211-45/+15
| | | | | | | | Change-Id: Icaeb7dddd16362cd4a6384d295f89c7fbabc8b35
* | Support versioned important noticeTadashi G. Takaoka2014-02-211-3/+16
|/ | | | | | | This change must be checked in together with If38a754d00. Bug: 10587358 Change-Id: I91580f9468bc5ee7ed1694d7852a60dc6793dac0