aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Periodic wipe of the personalization dict.Keisuke Kuroyanagi2014-01-102-1/+13
| | | | | | Bug: 12216453 Change-Id: Ie59dd19c044e9b1eb9b8bd805366200737ea506a
* Check whether the word is OOV or not for amanatto update.Keisuke Kuroyanagi2014-01-081-0/+3
| | | | | Bug: 11736529 Change-Id: I27973212da7e922b2185dbb4febfb5bb4dfbdcbb
* Merge "Make reloadMainDict() private."Keisuke Kuroyanagi2014-01-082-26/+74
|\
| * Make reloadMainDict() private.Keisuke Kuroyanagi2014-01-082-26/+74
| | | | | | | | | | Bug: 8187060 Change-Id: I852a751d748f39512e62c9cd69748dfbe87b2151
* | Revert "Revert "Separate spacing and punctuation related settings values""Jean Chalard2014-01-086-85/+153
| | | | | | | | | | | | This reverts commit 8bc427799a9b7a53103d1edba4a447033fbd8cfa. Change-Id: I34f509998afdb1a7c120fbfdb9f0a1b188224a4d
* | Fix a race condition, take 2.Jean Chalard2014-01-082-5/+18
| | | | | | | | | | | | | | | | | | | | Don't use absolute cursor positions when making edits, this leads to race conditions. This is a bit ugly and will need to be fixed soon. Plans are underway to clean this up. Bug: 12390573 Change-Id: I69c09fc41b979880d0800c55a710e39373287cff
* | Merge "Revert "Separate spacing and punctuation related settings values""Jean Chalard2014-01-086-153/+85
|\ \
| * | Revert "Separate spacing and punctuation related settings values"Jean Chalard2014-01-086-153/+85
| | | | | | | | | | | | | | | | | | | | | | | | This is conflicting with later changes. Temporary revert for cherry-pick. This reverts commit 0b593ce858d4b406e949f0e809cb77f41da691f9. Change-Id: Id53eadb023a950cfcca496c0cfbfe583c7ec7b8c
* | | Merge "Revert "Fix a race condition, take 2.""Jean Chalard2014-01-082-18/+5
|\ \ \
| * | | Revert "Fix a race condition, take 2."Jean Chalard2014-01-082-18/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts prevent this to be cherry-picked. This reverts commit dd3d697a6e6713d82020dd63cbf78e4f87664484. Change-Id: Ib97fae2234633b4bb27d611f48a79060db9ab16f
* | | | Merge "Fix a race condition, take 2."Jean Chalard2014-01-082-5/+18
|\| | |
| * | | Fix a race condition, take 2.Jean Chalard2014-01-082-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't use absolute cursor positions when making edits, this leads to race conditions. This is a bit ugly and will need to be fixed soon. Plans are underway to clean this up. Bug: 12390573 Change-Id: Ib42d4149343c642b1b5c1937b424e8afdbd4cc1f
* | | | Merge "Revert "Revert "Fix a race condition."""Jean Chalard2014-01-081-2/+5
|\| | |
| * | | Revert "Revert "Fix a race condition.""Jean Chalard2014-01-081-2/+5
| | |/ | |/| | | | | | | | | | | | | This reverts commit 38401272446dbaec785e656b921cfbd31162ba09. Change-Id: I7f0d975ec9e18d94fe3505250360c2b79ccbe96d
* | | Rename InputPointers.addPointer and ResizableIntArray.addTadashi G. Takaoka2014-01-084-17/+15
| | | | | | | | | | | | Change-Id: I5580250c91b29f93ed886b080ce33845b3b67ace
* | | Fix ResizableIntArrayTests readabilityTadashi G. Takaoka2014-01-081-0/+1
| | | | | | | | | | | | Change-Id: I68862b98f228210f1d76fef4fd7454edbfd8e01d
* | | Merge "Fix InputPointersTests"Tadashi G. Takaoka2014-01-081-22/+27
|\ \ \ | |/ / |/| |
| * | Fix InputPointersTestsTadashi G. Takaoka2014-01-081-22/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | InputPointers.getTime(int) has a validity check of time values. And the check is enabled when LatinImeLogger.sDBG is on. Such situation may occur while unit testing. This change ensure that time values are monotonic while unit testing. Change-Id: I9ff2cff2bcd253de0e8206dd3be964fe565170fa
* | | Fix: NPE in LatinIME.loadSettnigs().Keisuke Kuroyanagi2014-01-081-2/+4
|/ / | | | | | | Change-Id: Icae6c74401a7a8f4da6015737f09f557640c0cca
* | Merge "Separate spacing and punctuation related settings values"Tadashi G. Takaoka2014-01-086-85/+153
|\|
| * Separate spacing and punctuation related settings valuesTadashi G. Takaoka2014-01-086-85/+153
| | | | | | | | | | Bug: 12179576 Change-Id: Ibafd824a0ea2251843b388e95dcbd8f9bca92d5c
* | Prepare using dictionaryFacilitator for amanatto updates.Keisuke Kuroyanagi2014-01-072-4/+12
| | | | | | | | | | Bug: 11736529 Change-Id: I0d9d9b1c1108b11064163df7c2089f53e92cd7ad
* | Update personalized dict only when single subtype is used.Keisuke Kuroyanagi2014-01-073-3/+19
|/ | | | | Bug: 12424891 Change-Id: If041d1ab45988dbf9b878ae3367fee0fbc8a8988
* Fix possible NPE.Keisuke Kuroyanagi2014-01-063-2/+19
| | | | | Bug: 11933670 Change-Id: Ib0ce853e691bdadffb73874ea9f188cfbec8bc93
* Merge "Add description of disabled voice input key option"Tadashi G. Takaoka2014-01-061-2/+8
|\
| * Add description of disabled voice input key optionTadashi G. Takaoka2014-01-061-2/+8
| | | | | | | | | | Bug: 12377179 Change-Id: I44d35c6fa82883710674ecca6f630d09076472fe
* | Merge "Update shortcut IME info before checking availability of it"Tadashi G. Takaoka2014-01-061-2/+6
|\|
| * Update shortcut IME info before checking availability of itTadashi G. Takaoka2014-01-061-2/+6
| | | | | | | | | | Bug: 12377179 Change-Id: I4e2de78dc7e21f3f34eb56c790160b77cfc7584c
* | Merge "Add DictionaryFacilitatorForSuggest constructor for testing"Tadashi G. Takaoka2014-01-063-11/+51
|\ \ | |/ |/|
| * Add DictionaryFacilitatorForSuggest constructor for testingTadashi G. Takaoka2014-01-063-11/+51
| | | | | | | | | | | | This change must be checked in together with I00b6e79d6b. Change-Id: Id5f87a8d0286eb44958381fefd428f16896dc0d4
* | [IL52] Remove a useless method.Jean Chalard2013-12-273-78/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This old method doesn't even re-read the old suggestions. It used to recompute them without the coordinates. Re-using the recorrection code, which is much more advanced, is the right thing to do here. Also, refining the test. It's no use trying to resume suggestion if we don't have a suggestion strip, since we aren't going to auto-correct anything anyway. Not the motivation for this change, but this also fixes Bug: 11620256 Change-Id: Id49efa32e293c49837c61fdc752c86bbac1d2c88
* | [IL51] Make private what can be made privateJean Chalard2013-12-271-6/+4
| | | | | | | | | | Bug: 8636060 Change-Id: Ifa027de465a421b67897d51e9ad47666dda117ad
* | [IL50] Move the InputUpdater out of LatinIME.Jean Chalard2013-12-273-201/+168
| | | | | | | | | | | | | | ...at last Bug: 8636060 Change-Id: If5e27a9d28ff64d318dd76792f55edfc8a78d2d7
* | [IL49] Move InputLogic-related init code to InputLogic.Jean Chalard2013-12-272-19/+22
| | | | | | | | | | Bug: 8636060 Change-Id: Ie5027512f066d9c530a686ac559e4649a39bf439
* | Fix a failing testJean Chalard2013-12-271-2/+3
| | | | | | | | | | | | How/when did this happen? How was it not noticed? Change-Id: I352a8dad65f8c27bf5120d567e96d9a12cfa8496
* | Merge "[IL48] Move onEndBatchInputAsyncInternal to InputLogic."Jean Chalard2013-12-272-35/+43
|\ \
| * | [IL48] Move onEndBatchInputAsyncInternal to InputLogic.Jean Chalard2013-12-272-35/+43
| | | | | | | | | | | | | | | Bug: 8636060 Change-Id: Idfabf7231a80e21786ce1910b5140bb3dddcac7d
* | | Merge "[IL47] Inline getSuggestedWordsGestureLocked"Jean Chalard2013-12-271-23/+10
|\| |
| * | [IL47] Inline getSuggestedWordsGestureLockedJean Chalard2013-12-271-23/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | This method is confusing with the *Locked convention, and the two-step call creates a useless callback object. This is better inlined both for readability and for performance. Bug: 8636060 Change-Id: I7c427c3ca4e831388a6d54de6728b32206a45d80
* | | Merge "[IL46] Remove a useless message passing."Jean Chalard2013-12-271-20/+2
|\| |
| * | [IL46] Remove a useless message passing.Jean Chalard2013-12-271-20/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The only point of this message is to send the processing on another thread. However, this will be accomplished later. Here is the exact call graph: 0. onUpdateBatchInput 1. -> MSG_UPDATE_GESTURE_PREVIEW_AND_SUGGESTION_STRIP 2. -> updateBatchInputSync 3. -> getSuggestedWordsGestureLocked 4. -> MSG_GET_SUGGESTED_WORDS 5. -> LatinIME#getSuggestedWords The point of both step 1. and step 4. is to make sure the processing is happening on the InputUpdater thread. Thus, it's useless to do it twice. Bug: 11326092 Bug: 8636060 Change-Id: Iceebb9e8879a8f15b73c987f5fd3489f27699be4
* | | Merge "[IL45] Remove lingering messages"Jean Chalard2013-12-271-4/+9
|\| |
| * | [IL45] Remove lingering messagesJean Chalard2013-12-271-4/+9
| | | | | | | | | | | | | | | | | | | | | Bug: 8636060 And possibly bug: 12085864 Change-Id: I867036bc3d8bd255dc8ceebdd30e28b4b3dc4b2d
* | | Merge "[IL44] Some factorization"Jean Chalard2013-12-272-27/+63
|\| | | |/ |/|
| * [IL44] Some factorizationJean Chalard2013-12-272-27/+63
| | | | | | | | | | | | | | | | | | This sheds some light on what's happening here. Some comments were at least misleading, maybe indicating something is not sequenced as intended. Bug: 8636060 Change-Id: Ia74feb457a39fe4a672c27fe4203264fda940f04
* | Merge "Make setAdditionalDictionaries private."Keisuke Kuroyanagi2013-12-273-52/+91
|\ \
| * | Make setAdditionalDictionaries private.Keisuke Kuroyanagi2013-12-273-52/+91
| | | | | | | | | | | | | | | Bug: 8187060 Change-Id: I17be7b77ff89972d3ca6823b087b7bf35105af56
* | | Fix possible NPE in FileUtils.Keisuke Kuroyanagi2013-12-271-2/+8
| |/ |/| | | | | Change-Id: I503f91e266c71e2370a5807d171e2254c334f7cb
* | Fix a bug where predictions would not pop upon manual pickJean Chalard2013-12-262-3/+6
| | | | | | | | | | Bug: 12295276 Change-Id: Id359c92acde44758b12929e7bac719d5c9c7577b
* | Merge "Fix a code path that looks ridiculous"Jean Chalard2013-12-262-12/+12
|\ \