aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't process recorrection or resets when not shownJean Chalard2013-05-151-3/+13
| | | | | Bug: 8954116 Change-Id: Ica27dbfc570643bb81e6cdf34cc7c796ea080d71
* Merge "Revert "Fix isSuggestionsStripVisible when keyboard hidden""Ken Wakasa2013-05-141-14/+5
|\
| * Revert "Fix isSuggestionsStripVisible when keyboard hidden"Ken Wakasa2013-05-141-14/+5
| | | | | | | | | | | | | | This reverts commit cb0d1c4c584f3f47da3f630441b7de1e741584e0 Change-Id: Ie2c8e01c25bd051b6157e8f32ab84392a0c7252a bug: 8954116
* | Back to previous keyboard layout by canceling sliding inputTadashi G. Takaoka2013-05-141-3/+10
|/ | | | | Bug: 8915171 Change-Id: Iabdeb7920f67f89246087c3ee06240406ecfbc3d
* Fix isSuggestionsStripVisible when keyboard hiddenJean Chalard2013-05-141-5/+14
| | | | | | | | When the keyboard is hidden, the suggestion strip is never visible. Bug: 8954116 Change-Id: I9f242d07b49ad60b625a22429bb013251e814905
* Optimizations and safeguards.Jean Chalard2013-05-081-2/+10
| | | | | | | | | | | - 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
* Unify space-adding on gestures.Jean Chalard2013-05-071-15/+7
| | | | | | | This is much simpler, and more correct. Bug: 8808497 Change-Id: I7a56bf9d6d9fb481f898b7a9f5898a86c11b34c0
* Pass blockOffensiveWords as a parameterJean Chalard2013-05-011-0/+1
| | | | | Bug: 8773353 Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488
* Don't do recorrection when suggestions are off.Jean Chalard2013-05-011-2/+7
| | | | | Bug: 8767981 Change-Id: If5c775e488b91ae03ecce2673c99918ac8134928
* Merge "Fix an NPE in recorrection" into jb-mr2-devJean Chalard2013-04-191-8/+11
|\
| * Fix an NPE in recorrectionJean Chalard2013-04-191-8/+11
| | | | | | | | | | | | | | | | | | 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
* | Merge "Fix an NPE in recapitalize" into jb-mr2-devJean Chalard2013-04-191-2/+5
|\ \
| * | Fix an NPE in recapitalizeJean Chalard2013-04-191-2/+5
| |/ | | | | | | | | Bug: 8657736 Change-Id: I459d1c200826c1c394f8207475ecf60a4f356793
* / Initialize dictionaries at onStartInputViewJean Chalard2013-04-181-4/+10
|/ | | | | Bug: 8344402 Change-Id: I41b8440f0d72a66fde3f6feb0db8239c9bb10ea3
* Don't insert automatic spaces when text looks like a URLJean Chalard2013-04-161-1/+2
| | | | | | | | | | | | | | | 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
* Merge "Don't recapitalize on shift while on symbol layout"Jean Chalard2013-04-161-1/+6
|\
| * Don't recapitalize on shift while on symbol layoutJean Chalard2013-04-161-1/+6
| | | | | | | | Change-Id: Ibf2cdedf510c296561bb5eeb6ff18c3414d6d6f4
* | Match the keyboard state to the recapitalize state.Jean Chalard2013-04-161-0/+11
|/ | | | | Bug: 7657025 Change-Id: I2f8fe7fc4596a498322ba5ccabbd0c18a2bc36cf
* Merge "Clean up RecapitalizeStatus"Jean Chalard2013-04-161-5/+5
|\
| * Clean up RecapitalizeStatusJean Chalard2013-04-161-5/+5
| | | | | | | | Change-Id: Ib4d002f90cd3a0e9ad4c04b883b0c1f05ada3ccf
* | Merge "Fix an NPE"Jean Chalard2013-04-161-0/+1
|\ \ | |/ |/|
| * Fix an NPEJean Chalard2013-04-161-0/+1
| | | | | | | | | | Bug: 8620678 Change-Id: Ia91761f33518a010b2844d34523cadece261c67e
* | Merge "Fix an NPE"Jean Chalard2013-04-161-2/+2
|\ \
| * | Fix an NPEJean Chalard2013-04-161-2/+2
| |/ | | | | | | | | Bug: 8620758 Change-Id: I39f07939ebb6148a48aae5b915ee807002a5b02d
* / Small performance improvement / minor bugfixJean Chalard2013-04-151-3/+3
|/ | | | | | | | | 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
* Merge "Have Latin IME re-capitalize a selected string"Jean Chalard2013-04-151-1/+39
|\
| * Have Latin IME re-capitalize a selected stringJean Chalard2013-04-151-1/+39
| | | | | | | | | | | | | | | | | | | | 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
* | If there are no suggestion span, recompute suggestions.Jean Chalard2013-04-151-14/+57
|/ | | | | Bug: 8084810 Change-Id: I1743c09c43ca6835bb2f607684b037bf17d36335
* Reject a previously user-refused suggestion.Jean Chalard2013-04-151-0/+2
| | | | | | | | | 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
* 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.Jean Chalard2013-04-121-4/+0
| | | | | | | | | | Bug: 8562529 Change-Id: Ibd853f0cb995e7fb35f8730eafcef73ead58c869
* | Merge "Restart suggestions when the cursor moves."Jean Chalard2013-04-121-7/+67
|\ \
| * | Restart suggestions when the cursor moves.Jean Chalard2013-04-121-7/+67
| |/ | | | | | | | | | | | | | | | | | | | | 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
* / Fix a bug with bad application completionsJean Chalard2013-04-121-1/+2
|/ | | | | Bug: 8561056 Change-Id: I91fb0ac76dabfc841bafc0e2c0ea9f63e6f604f9
* 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 gestureJean Chalard2013-04-101-1/+2
| | | | | | | | | | Bug: 8583675 Change-Id: I14924fef5663f48481994c02c56be45f9f85be65
* | Use private lock object instead of synchronized methodTadashi G. Takaoka2013-04-101-22/+31
|/ | | | Change-Id: Ifc62bacbd0583a7d102009681a94bdd9ccff7d47
* Merge "Offer to add any OOV typed word to the dictionary."Jean Chalard2013-04-091-2/+5
|\
| * Offer to add any OOV typed word to the dictionary.Jean Chalard2013-04-091-2/+5
| | | | | | | | | | | | | | That includes gestures, which used not to work. Bug: 8532637 Change-Id: I04606565d7000faadf954c4a806c39d4d162a2c1
* | Merge "Do not record log split time when handling separator"Kurt Partridge2013-04-091-1/+0
|\ \ | |/ |/|
| * Do not record log split time when handling separatorKurt Partridge2013-04-011-1/+0
| | | | | | | | | | | | | | | | Previously handleSeparator() caused the ResearchLogger to mark the time at which a LogUnit should be broken. However, this causes the motion data associated with a separator to be associated with the LogUnit of the previous word. This change corrects this bug. Change-Id: I8b4d4fa6de2a013de9e2a28bb668c446a07f1957
* | Merge "Reorder ResearchLogger call"Kurt Partridge2013-04-011-2/+2
|\ \ | |/ |/|
| * Reorder ResearchLogger callKurt Partridge2013-03-261-2/+2
| | | | | | | | | | | | | | Previously, ResearchLogger#onWordFinished() was called with an outdated parameter value for isBatchMode, causing it to report false even for gestures. This changes fixes this problem. Change-Id: Ifcabee236ba5fe20376ad882155d3f3142cd7613
* | Merge "Close ResearchLogger upon onFinishInputView"Kurt Partridge2013-03-261-5/+3
|\ \ | |/ |/|
| * Close ResearchLogger upon onFinishInputViewKurt Partridge2013-03-251-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | Previously, ResearchLogger#stop() was called both in LatinIME#onFinishInputView() and in LatinIME#onWindowHidden(). This resulted in multiple logs being written. Since onFinishInputView is the more reliable of the two (it is called in InputMethodService#onDestroy; onWindowHidden is not), the code now uses onFinishInputView as a stopping signal. Change-Id: Iae4b8c3bdab226027624eeab19b3737367e4a108
* | Fix possible NPESatoshi Kataoka2013-03-251-19/+21
|/ | | | | Bug: 8457109 Change-Id: I321fbef53e20a7c36ef4bd9f544b50abe6a52be9
* Fix appnameSatoshi Kataoka2013-03-221-1/+1
| | | | | Bug: 6789579 Change-Id: Ic4694e36e0846af95fa8dcdef919be251983b528
* am 1061bfdb: Break dependencies to allow offdevice tests to buildJean Chalard2013-03-191-2/+2
|\ | | | | | | | | * commit '1061bfdb34bbcb63bf0046eec42313d264ac33fa': Break dependencies to allow offdevice tests to build
| * Break dependencies to allow offdevice tests to buildJean Chalard2013-03-191-2/+2
| | | | | | | | Change-Id: Ia9a2e8f0672b3f72943f26fb15de1d3c7c5ce7f1
* | resolved conflicts for merge of 5b048292 to masterTadashi G. Takaoka2013-03-191-34/+37
|\| | | | | | | Change-Id: I67ebab46954cd7b8e3e79e7fed523bafb15f8835