aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
|\
| * Offer to add any OOV typed word to the dictionary.•••That includes gestures, which used not to work. Bug: 8532637 Change-Id: I04606565d7000faadf954c4a806c39d4d162a2c1 Jean Chalard2013-04-091-2/+5
* | Merge "Do not record log split time when handling separator"Kurt Partridge2013-04-091-1/+0
|\ \ | |/ |/|
| * Do not record log split time when handling separator•••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 Kurt Partridge2013-04-011-1/+0
* | Merge "Reorder ResearchLogger call"Kurt Partridge2013-04-011-2/+2
|\ \ | |/ |/|
| * Reorder ResearchLogger call•••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 Kurt Partridge2013-03-261-2/+2
* | Merge "Close ResearchLogger upon onFinishInputView"Kurt Partridge2013-03-261-5/+3
|\ \ | |/ |/|
| * Close ResearchLogger upon onFinishInputView•••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 Kurt Partridge2013-03-251-5/+3
* | Fix possible NPE•••Bug: 8457109 Change-Id: I321fbef53e20a7c36ef4bd9f544b50abe6a52be9 Satoshi Kataoka2013-03-251-19/+21
|/
* Fix appname•••Bug: 6789579 Change-Id: Ic4694e36e0846af95fa8dcdef919be251983b528 Satoshi Kataoka2013-03-221-1/+1
* am 1061bfdb: Break dependencies to allow offdevice tests to build•••* commit '1061bfdb34bbcb63bf0046eec42313d264ac33fa': Break dependencies to allow offdevice tests to build Jean Chalard2013-03-191-2/+2
|\
| * Break dependencies to allow offdevice tests to build•••Change-Id: Ia9a2e8f0672b3f72943f26fb15de1d3c7c5ce7f1 Jean Chalard2013-03-191-2/+2
* | resolved conflicts for merge of 5b048292 to master•••Change-Id: I67ebab46954cd7b8e3e79e7fed523bafb15f8835 Tadashi G. Takaoka2013-03-191-34/+37
|\|