aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Tell the text view we reset state on finish input•••This should be done in onFinishInput rather than onFinishInputView but for an unknown reason onFinishInput never comes. Bug: 9113167 Change-Id: Iafb40846a3ed8fad78bfc160d17cd431f81fe891 Jean Chalard2013-05-291-0/+1
* Implement KIND_OOV_CORRECTION•••Bug: 9127749 Change-Id: I96db15a3138e6b522c4c6ad16cc7faad577d3772 Satoshi Kataoka2013-05-271-3/+5
* Use localized toLowerString in AutoCorrection.isValidWord•••Bug: 9112465 Change-Id: I63eb4115f393444560e80220d4c90f0f7101b934 Tadashi G. Takaoka2013-05-241-1/+1
* Remove unnecessary methods of KeyboardSwitcher•••Change-Id: Idd3647bb1a1d40df8bb89eda715d45427a58d0cd Tadashi G. Takaoka2013-05-221-1/+2
* am 167ba345: am 89fe1f50: Add a method to work around apps broken by recorrec...•••* commit '167ba3459b0ce02b9add12ade9388bd2b1e6eb62': Add a method to work around apps broken by recorrection Jean Chalard2013-05-201-0/+4
|\
| * Add a method to work around apps broken by recorrection•••Bug: 8944307 Change-Id: I8986622554f30aaf4f595099c4ab5652b75c972c Jean Chalard2013-05-211-0/+4
* | am 5906b05b: am 7058b02a: Extract a new class for app-specific workarounds.•••* commit '5906b05bb50c0a67bd4f03fcfae41db3daefe0bc': Extract a new class for app-specific workarounds. Jean Chalard2013-05-201-21/+16
|\|
| * Extract a new class for app-specific workarounds.•••Bug: 8944307 Change-Id: Iaff9dd03d3d856a6bdaa2b16c4e71e95cd2b6349 Jean Chalard2013-05-211-21/+16
| * am f1dcf725: Merge "Don\'t process recorrection or resets when not shown"•••* commit 'f1dcf725061b3e61e40540566a5385cf4934f424': Don't process recorrection or resets when not shown Jean Chalard2013-05-151-3/+13
* | Fix punctuation logging•••Punctuation is currently put into the same LogUnit as the following word. This is counter-intuitive and makes post-processing more complicated. This change causes punctuation to be put into its own LogUnit. A tricky case is the phantom space. A phantom space is inserted right before other text, whose MotionEvents have already been collected and inserted into mCurrentLogBuffer. Phantom spaces are handled by creating their own LogUnit and inserting it into the LogBuffer right before mCurrentLogBuffer is shifted in. Change-Id: I102d7cd93982ad37ba0abb6c1ac0f66b85b5f95d Kurt Partridge2013-05-171-4/+4
* | Merge "Remove unnecessary commit/uncommit"Kurt Partridge2013-05-151-2/+0
|\ \
| * | Remove unnecessary commit/uncommit•••When the user reverts a commit, this causes the committed word to be changed. The user usually then goes back to edit that word. Going back to edit causes an uncommit, so that the editing actions are added onto the LogUnit containing the operations used to construct the word. But currently, reverting also involves its own commit/uncommit pair, with the caller performing the uncommit, and the commit happening inside the revert command. This may have been necessary in the past, when revert was called in different situations, but is unnecessary now. Furthermore, the guarding conditions are currently such that the uncommit doesn't always undo the effects of the commit, corrupting the log output. Change-Id: I74af41f4f1db2fcabfa496dcc4a2d7bd0af19b3a Kurt Partridge2013-05-141-2/+0
| |/
* / Don't process recorrection or resets when not shown•••Bug: 8954116 Change-Id: Ica27dbfc570643bb81e6cdf34cc7c796ea080d71 Jean Chalard2013-05-151-3/+13
|/
* Merge "Revert "Fix isSuggestionsStripVisible when keyboard hidden""Ken Wakasa2013-05-141-14/+5
|\
| * Revert "Fix isSuggestionsStripVisible when keyboard hidden"•••This reverts commit cb0d1c4c584f3f47da3f630441b7de1e741584e0 Change-Id: Ie2c8e01c25bd051b6157e8f32ab84392a0c7252a bug: 8954116 Ken Wakasa2013-05-141-14/+5
* | Back to previous keyboard layout by canceling sliding input•••Bug: 8915171 Change-Id: Iabdeb7920f67f89246087c3ee06240406ecfbc3d Tadashi G. Takaoka2013-05-141-3/+10
|/
* Fix isSuggestionsStripVisible when keyboard hidden•••When the keyboard is hidden, the suggestion strip is never visible. Bug: 8954116 Change-Id: I9f242d07b49ad60b625a22429bb013251e814905 Jean Chalard2013-05-141-5/+14
* Optimizations and safeguards.•••- Don't call finishComposingText when useless. - Add safeguards against calling setComposingRegion when the data returned by the editor is inconsistent. - Cancel pending recorrection messages when new messages arrive. Bug: 8842941 Bug: 8845001 Change-Id: I939701033cf5c2bbd85871ecf83e329021ddeb91 Jean Chalard2013-05-081-2/+10
* Unify space-adding on gestures.•••This is much simpler, and more correct. Bug: 8808497 Change-Id: I7a56bf9d6d9fb481f898b7a9f5898a86c11b34c0 Jean Chalard2013-05-071-15/+7
* Pass blockOffensiveWords as a parameter•••Bug: 8773353 Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488 Jean Chalard2013-05-011-0/+1
* Don't do recorrection when suggestions are off.•••Bug: 8767981 Change-Id: If5c775e488b91ae03ecce2673c99918ac8134928 Jean Chalard2013-05-011-2/+7
* Merge "Fix an NPE in recorrection" into jb-mr2-devJean Chalard2013-04-191-8/+11
|\
| * Fix an NPE in recorrection•••Also, theoretically, we don't want to retrieve older suggestions if there are no results for a recorrection - that would look random. This bug addresses this too. Bug: 8657919 Change-Id: I44f36d34a708a968ab71fa0592da57f4c97d4b7f Jean Chalard2013-04-191-8/+11
* | Merge "Fix an NPE in recapitalize" into jb-mr2-devJean Chalard2013-04-191-2/+5
|\ \
| * | Fix an NPE in recapitalize•••Bug: 8657736 Change-Id: I459d1c200826c1c394f8207475ecf60a4f356793 Jean Chalard2013-04-191-2/+5
| |/
* / Initialize dictionaries at onStartInputView•••Bug: 8344402 Change-Id: I41b8440f0d72a66fde3f6feb0db8239c9bb10ea3 Jean Chalard2013-04-181-4/+10
|/
* Don't insert automatic spaces when text looks like a URL•••This is about as ad-hoc as it gets, but then again, what we want is probably as ad-hoc as it gets. All URL boxes I know of double as search bars, and not adding automatic spaces there sucks (e.g. in Chrome URL bar). And in other boxes actually you don't want to add a space if it looks like a URL. QSB isn't even a search box, and it behaves like this. So I think this is actually the right answer to the problem. Bug: 7062925 Change-Id: Ib09472b34644fd5bf2dc84bb97cedeeba28bcd02 Jean Chalard2013-04-161-1/+2
* Merge "Don't recapitalize on shift while on symbol layout"Jean Chalard2013-04-161-1/+6
|\
| * Don't recapitalize on shift while on symbol layout•••Change-Id: Ibf2cdedf510c296561bb5eeb6ff18c3414d6d6f4 Jean Chalard2013-04-161-1/+6
* | Match the keyboard state to the recapitalize state.•••Bug: 7657025 Change-Id: I2f8fe7fc4596a498322ba5ccabbd0c18a2bc36cf Jean Chalard2013-04-161-0/+11
|/
* Merge "Clean up RecapitalizeStatus"Jean Chalard2013-04-161-5/+5
|\
| * Clean up RecapitalizeStatus•••Change-Id: Ib4d002f90cd3a0e9ad4c04b883b0c1f05ada3ccf Jean Chalard2013-04-161-5/+5
* | Merge "Fix an NPE"Jean Chalard2013-04-161-0/+1
|\ \ | |/ |/|
| * Fix an NPE•••Bug: 8620678 Change-Id: Ia91761f33518a010b2844d34523cadece261c67e Jean Chalard2013-04-161-0/+1
* | Merge "Fix an NPE"Jean Chalard2013-04-161-2/+2
|\ \
| * | Fix an NPE•••Bug: 8620758 Change-Id: I39f07939ebb6148a48aae5b915ee807002a5b02d Jean Chalard2013-04-161-2/+2
| |/
* / Small performance improvement / minor bugfix•••The only place where it's used is checked for nullity. Also, it's possible, also difficult, to match a different recapitalize with the old code, triggering a bug that this fixes. Change-Id: I717d6df489025c75d1caca290a9086c3b39a9306 Jean Chalard2013-04-151-3/+3
|/
* Merge "Have Latin IME re-capitalize a selected string"Jean Chalard2013-04-151-1/+39
|\
| * Have Latin IME re-capitalize a selected string•••Upon pressing Shift, if there is currently a selected string, have Latin IME change its capitalization. This does not yet have the keyboard mode follow the mode - the change is complicated enough as is. Bug: 7657025 Change-Id: I54fe8485f44e04efd72c71ac9feee5ce21ba06f2 Jean Chalard2013-04-151-1/+39
* | If there are no suggestion span, recompute suggestions.•••Bug: 8084810 Change-Id: I1743c09c43ca6835bb2f607684b037bf17d36335 Jean Chalard2013-04-151-14/+57
|/
* Reject a previously user-refused suggestion.•••If the user gestures a word, then hits backspace in disapproval, and gestures about the same thing again, make sure that we don't suggest the same thing again. Bug: 7549311 Change-Id: I793bc4df7c3841fa8f2f4146707c26e873f374c1 Jean Chalard2013-04-151-0/+2
* Merge "Remove the dialog to insert words to the dictionary."Jean Chalard2013-04-121-4/+0
|\
| * Remove the dialog to insert words to the dictionary.•••Bug: 8562529 Change-Id: Ibd853f0cb995e7fb35f8730eafcef73ead58c869 Jean Chalard2013-04-121-4/+0
* | Merge "Restart suggestions when the cursor moves."Jean Chalard2013-04-121-7/+67
|\ \
| * | Restart suggestions when the cursor moves.•••This uses the old suggestions. It does not try to recompute new suggestions if there are no old suggestions yet: this is coming in a later change. If there are no suggestions, this shows the word itself as a suggestion. Bug: 8084810 Change-Id: I4c2e25df0ff3673be1825f57a0c19a9d23d47a48 Jean Chalard2013-04-121-7/+67
| |/
* / Fix a bug with bad application completions•••Bug: 8561056 Change-Id: I91fb0ac76dabfc841bafc0e2c0ea9f63e6f604f9 Jean Chalard2013-04-121-1/+2
|/
* Merge "Fix a bug where a space would not be inserted before a gesture"Jean Chalard2013-04-101-1/+2
|\
| * Fix a bug where a space would not be inserted before a gesture•••Bug: 8583675 Change-Id: I14924fef5663f48481994c02c56be45f9f85be65 Jean Chalard2013-04-101-1/+2
* | Use private lock object instead of synchronized method•••Change-Id: Ifc62bacbd0583a7d102009681a94bdd9ccff7d47 Tadashi G. Takaoka2013-04-101-22/+31
|/
* Merge "Offer to add any OOV typed word to the dictionary."Jean Chalard2013-04-091-2/+5
|\