aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unlearn word when the user moves the cursor in to correct it.Tom Ouyang2015-04-011-0/+19
| | | | Change-Id: I36358e551d6c51e786b6e09b1a1368ebf3c48f69
* Resolve some InputLogic todo comments.Dan Zivkovic2015-03-201-31/+5
| | | | Change-Id: Ic3d7d11ad90cc09edf62f48aa5362e71d692f7dd
* Merge "Add prev words context to the SuggestedWordInfo."Mohammadinamul Sheik2015-03-201-4/+8
|\
| * Add prev words context to the SuggestedWordInfo.Mohammadinamul Sheik2015-03-191-4/+8
| | | | | | | | | | | | Bug: 19712589 Bug: 19715579 Change-Id: Ie06665cab8405455c1b0a2ff034e0bb0731c9156
* | Log accepted punctuation suggestions.Dan Zivkovic2015-03-191-0/+3
|/ | | | | | Bug 19825927. Change-Id: If65b56aa5c269e47bcc609bdc673ba18c450ee66
* Pass DictionaryFacilitator for autocorrection and suggestion statsMohammadinamul Sheik2015-03-171-3/+3
| | | | | Bug: 19715579 Change-Id: Ic48de74bde0f9f5d5e68e8289948cc5e92cbfa1e
* Redundant code matches multiple languages.Dan Zivkovic2015-03-161-6/+2
| | | | | | | | | InputLogic should not have code that tweaks suggestion ranking based on the language of the source dictionary. Bug 19744396. Change-Id: I8c0849555e74cec1302e78da04148dedd1cddabe
* Revert "Next-word suggestion bit in keyboard settings."Dan Zivkovic2015-03-161-0/+5
| | | | | | | | This reverts commit 1ae16dc3db170802d1b38273f477125a2a969d32. Bug 19596067. Change-Id: Ie7286acbb70b215d7bd08e271bcf14526b68576f
* Merge "Remove ALS from LatinIME."Dan Zivkovic2015-03-121-5/+0
|\
| * Remove ALS from LatinIME.Dan Zivkovic2015-03-111-5/+0
| | | | | | | | | | | | This fixes unit tests and brings us closer to a green build. Change-Id: Iffcc392eda4a7671a238b79cc7367320ca648725
* | Remove unused phrase gesture code.Chieu Nguyen2015-03-111-46/+3
|/ | | | | Bug: 19687841 Change-Id: I0862aa3127bf7f1564a4845efdf99ebf5ae4d5ac
* Restart suggestions when backspacing into a reverted word.Tom Ouyang2015-03-051-0/+14
| | | | | | | | | | | | This is required for the final corrected word to be learned, as learning only occurs when suggestions are active. Note: This is already happening when backspacing into a non-reverted word Bug: 19619907 Bug: 18465402 Change-Id: I99a1d4f0ca0d62a2cdfa24cc0833ce89391715d9
* Next-word suggestion bit in keyboard settings.Dan Zivkovic2015-03-041-5/+0
| | | | | | | | | This feature works in supported languages. We don't need a user setting. Bug 19596067. Change-Id: Icdded772745f9816da47f8a5e3b87b733083b121
* Handle double space inserting a period.Chieu Nguyen2015-02-271-0/+1
| | | | Change-Id: I109f0e9cf3e972bf60aa3fbbe817337aef70ea3c
* Use Keyboard in several interfaces.Mario Tanev2015-02-251-7/+5
| | | | | | | | | Simplify interfaces by passing Keyboard instead of KeyboardLayout and ProximityInfo directly. Also require the Keyboard passed be non-null and change the SpellChecker to bail out if there is no keyboard for the locale. Change-Id: I960f15ff60171f55d3e0a96fd6469b7dc3a045e2
* Merge "Pass long timestamps to DictionaryFacilitator"Jatin Matani2015-02-241-1/+1
|\
| * Pass long timestamps to DictionaryFacilitatorJatin Matani2015-02-231-1/+1
| | | | | | | | Change-Id: I95500f210ed409c0ff254b08b68fe3b5b59ba4f4
* | Check for null TextRange in InputLogic.unlearnWordBeingDeletedTom Ouyang2015-02-241-4/+9
|/ | | | Change-Id: Ia0df0ab740c76185f94966f59a74a6ebdd1cffe8
* Add more options for calling removeWordFromPersonalizedDicts.Tom Ouyang2015-02-191-2/+53
| | | | | | Bug: 19441205 Change-Id: I41aff536a64271d2dc9489a20df33d64170756cc
* Fix accidentally inverted if check.Dan Zivkovic2015-02-041-1/+1
| | | | Change-Id: I9c28f4154f69c63564a2bda357c16cef4e68dc0d
* Merge "Removing code from RichInputConnection."Dan Zivkovic2015-02-051-6/+0
|\
| * Removing code from RichInputConnection.Dan Zivkovic2015-02-041-6/+0
| | | | | | | | | | | | Followup CL that removes some more unused methods and variables. Change-Id: I4163c7cd017f59d1fd445adb6294fc89dcaafe6e
* | AOSP changes to use KeyboardLayout to support the new DictionaryFacilitatorMohammadinamul Sheik2015-02-041-2/+4
|/ | | | Change-Id: Ie0c9ce805d9ad009fc9bbaac37b715aff90cd844
* LatinIME portion of "green plus" feature.Dan Zivkovic2015-02-031-152/+8
| | | | | | | | | Removes the feature that adds strings to the user dictionary, aka the "green highlight with a plus sign". Bug 19237189. Change-Id: I2387129a3add2d69d625f2ff16ed8cab3f10a735
* LatinIME portion of multi-lang option removal.Dan Zivkovic2015-01-291-2/+1
| | | | | | Bug 19188067. Change-Id: Ic9a3637f59dda30c699141222b9dcac3cd624b99
* Make the typed word a SuggestedWordInfoJean Chalard2014-11-201-21/+23
| | | | | | | | That allows to carry the language information in an accurate manner. Bug: 18063142 Change-Id: I0bca8981372ae10648274095b18b26a3686b762b
* Merge "Fix oscillations on ICS"Jean Chalard2014-11-191-5/+9
|\
| * Fix oscillations on ICSJean Chalard2014-11-191-5/+9
| | | | | | | | | | Bug: 18181427 Change-Id: Ib4dd62037b1f7b2d10496ee3e45b4a138e29f90a
* | Merge "Remove the other deprecated constructor to SuggestedWords"Jean Chalard2014-11-191-2/+3
|\ \
| * | Remove the other deprecated constructor to SuggestedWordsJean Chalard2014-11-171-2/+3
| |/ | | | | | | Change-Id: Ied821df01e032ebc913d2f15dffdf41a51372ea4
* / Rename a confusing method nameJean Chalard2014-11-181-10/+12
|/ | | | | | | ...and fix a bug that happened because of it. Bug: 18417740 Change-Id: I7a33780adcb8f4e2625abcd3eec906dfee1f5dcf
* Move InputPointers and ResizableIntArray to commonJean Chalard2014-10-292-2/+2
| | | | | Bug: 18108776 Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe
* Move StringUtils under common.Jean Chalard2014-10-281-1/+1
| | | | | Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
* Move Constants.java to the latin.common packageKen Wakasa2014-10-231-1/+1
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* Fix Javadoc and null analysis related warningsTadashi G. Takaoka2014-10-231-4/+6
| | | | | | | This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
* Fix some compiler warningsTadashi G. Takaoka2014-10-212-44/+47
| | | | | | | | | | | | | | | | | | | | | This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
* am 8435acd7: am f7f786d8: am d9c04a6b: am 6456af0e: am ecea8551: Fix a bug ↵Jean Chalard2014-10-151-3/+5
|\ | | | | | | | | | | | | with no suggestions flag * commit '8435acd789bd4f9c1322a73b9e0567c2dee7b336': Fix a bug with no suggestions flag
| * Fix a bug with no suggestions flagJean Chalard2014-10-151-3/+5
| | | | | | | | | | | | | | | | We should reset the composition state when moving the cursor inside the word after a gesture when the text field specifies no suggestions. Bug: 17959921 Change-Id: I977fea775f7b7e145e343636f0fb94266a40953a
* | Always show the typed word in recorrections.Jean Chalard2014-10-091-20/+11
| | | | | | | | | | | | | | Bug: 11330140 Bug: 17875601 Bug: 17623275 Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179
* | [ML19] Actually switch the language when appropriateJean Chalard2014-10-091-0/+5
| | | | | | | | | | | | | | | | That is, when auto-correcting or when manually picking. This is not great, but it's a good starting point. Bug: 11230254 Change-Id: I07627f48e2de1c28053d6572c7c72625808ec79c
* | [ML18] Make WordComposer#getAutoCorrection a word infoJean Chalard2014-10-081-25/+22
| | | | | | | | | | Bug: 11230254 Change-Id: I6ad2e7f89862fbfe7af5502961643320c782347f
* | Fix missing prediction words on contextual stripTadashi G. Takaoka2014-10-071-3/+2
| | | | | | | | | | Bug: 17874801 Change-Id: Iaba935a6b2548376f10a0ecd80f07ea7ada6c60a
* | Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACKYohei Yukawa2014-10-061-7/+4
| | | | | | | | | | | | | | | | | | We can now start relying on L APIs even in unbundled release. This means ENABLE_CURSOR_ANCHOR_INFO_CALLBACK can be always true. Hence we simply remove it. Change-Id: I0353e992e97e252059f83accea100504594bf171
* | Add calls to stub for API to consume gesture data.David Faden2014-10-032-0/+81
| | | | | | | | | | Bug: 17400259 Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664
* | Merge "Never include the typed word in recorrections"Jean Chalard2014-10-011-19/+5
|\ \
| * | Never include the typed word in recorrectionsJean Chalard2014-10-011-19/+5
| | | | | | | | | | | | | | | Bug: 17623275 Change-Id: I2461e5e8baf06fb80a05b87f9d3db7a4d1952a01
* | | Merge "Make a better effort to detect a framework lie."Jean Chalard2014-10-011-12/+14
|\ \ \
| * | | Make a better effort to detect a framework lie.Jean Chalard2014-10-011-12/+14
| |/ / | | | | | | | | | | | | Bug: 17130496 Change-Id: I1a3631670c152d9b7667c9c4e08e14c48569eef5
* / / Fix an NPE on ICS factory rom.Jean Chalard2014-10-011-2/+4
|/ / | | | | | | | | | | | | | | | | | | In ICS factory rom and MR0, there was a bug where calling the constructor for SuggestionSpan that doesn't take a context as an argument would always return in a crash. Don't call it, and pass an explicit context instead. Bug: 13552505 Change-Id: I5c919499b9d086c2cf283795b2af5b91cb425933
* | Avoid double space when autocorrect is triggeredAdrian Velicu2014-09-301-1/+9
| | | | | | | | | | Bug: 17596034 Change-Id: Iaa6cc066eefd2436195a91791f2628e9a5f1c449