aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Rename ProductionFlag.IS_EXPERIMENTAL to USES_DEVELOPMENT_ONLY_DIAGNOSTICSKen Wakasa2013-03-181-33/+36
| | | | | | | | | | bug: 8393568 Change-Id: Ie5edf44a3627aca9416145aff56bf05bbf2a05f3
* | am 0ab44b21: Merge "Make isInternal mutable" into jb-mr2-devSatoshi Kataoka2013-03-131-14/+8
|\| | | | | | | | | * commit '0ab44b21bd6ef5e9fde329b25dfd84f6ca5c0825': Make isInternal mutable
| * Merge "Make isInternal mutable" into jb-mr2-devSatoshi Kataoka2013-03-131-14/+8
| |\
| | * Make isInternal mutableSatoshi Kataoka2013-03-131-14/+8
| | | | | | | | | | | | Change-Id: Ib81ceba801be0ac7ef65c4eadd1ec8599e80dacc
* | | am af37cbb4: Merge "Announce keyboard mode changes as a WINDOW_STATE_CHANGED ↵Svetoslav Ganov2013-03-081-0/+4
|\| | | | | | | | | | | | | | | | | | | | event." into jb-mr2-dev * commit 'af37cbb44ef40fcd15fa02456c9abda8021847ce': Announce keyboard mode changes as a WINDOW_STATE_CHANGED event.
| * | Announce keyboard mode changes as a WINDOW_STATE_CHANGED event.Alan Viverette2013-03-071-0/+4
| |/ | | | | | | | | Bug: 8165295 Change-Id: Ie416f6cdb68377f3e06f30e9b6363c38ba2a602d
* | Remove MainLogBuffer#setSuggest()Kurt Partridge2013-03-011-1/+1
| | | | | | | | | | | | multi-project commit with Ia98b1406fc2ee11a96893c77ea58d800fece7624 Change-Id: I8bc3d07b83dbe7d8fc56a618de07dade7f510b13
* | am abaf5827: Separate suggestions from SuggestionViewJean Chalard2013-03-011-16/+28
|\| | | | | | | | | * commit 'abaf5827e7a7f5f6c5d8d98e03e6b9528b0c9351': Separate suggestions from SuggestionView
| * Separate suggestions from SuggestionViewJean Chalard2013-02-281-16/+28
| | | | | | | | | | | | | | This is a cleanup change, but it's also necessary for Bug: 8152758 Change-Id: Id6ba06243f573fdb856f87d1df03277c9f2e5e71
* | Ensure Preference listener is unregisteredKurt Partridge2013-02-261-0/+3
|/ | | | Change-Id: I1a4d1e7bc45fc30cb1b63ea6020f0eee6e804333
* Fix how the Enter action is decidedJean Chalard2013-02-221-8/+21
| | | | | | | | | This unifies the software and hardware keyboard code under a single decision process that works. Bug: 8129303 Bug: 8152758 Change-Id: I7574c563d5f957d57bfe62fe5e3eec59a519d335
* Separate caps mode related utils to CapsModeUtilsTadashi G. Takaoka2013-02-121-1/+1
| | | | Change-Id: I32700c434b296bb3fd39e040c2dda1fe90667daf
* Separate IntentUtils from CompatUtilsTadashi G. Takaoka2013-02-041-2/+1
| | | | Change-Id: I373ae7ad26eee44cc8e9720314f6a53b811d0021
* [Rlog27] Add replay capabilityKurt Partridge2013-01-291-1/+1
| | | | | | | | | | | - Add support for replaying log files to the ResearchLogger. This will let users preview data that they choose to upload. - When the user explicitly requests that the system record their action, it will record everything up to, and including, the motion involved in shutting off the recording. This change also removes the stop-recording motion commands. Change-Id: Ib1df383bbf1881512cb111fab9f6749c25e436ba