aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Expand)AuthorAgeFilesLines
...
| * | Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa Ken Wakasa2013-06-241-1/+11
* | | Refactor text range to be able to get spans larger than the word•••This changes how the Range class stores its data, but not its functionality. It also improves encapsulation a bit. Bug: 8839763 Bug: 8862327 Change-Id: I5bd583b3fc96a99b93a2632882d8fd587c03ab76 Jean Chalard2013-06-241-7/+10
|/ /
* / Defer disk-intensive tasks until after the keyboard is shown•••Bug: 8689779 Change-Id: Ia78d3540f44ec0028c3246a8e0163e9ecf061ecf Jean Chalard2013-06-211-9/+33
|/
* Log score, kind, and sourceDict for manual suggestion and gesture•••b/9422713 Change-Id: I4880fad6a5b10d09ca11b63311f14862bee724e5 Kurt Partridge2013-06-131-1/+2
* Merge "Cache subtype lists reasonably."Jean Chalard2013-06-131-0/+2
|\
| * Cache subtype lists reasonably.•••This will spare a lot of IPC for Latin IME at the cost of very little retained memory. This improves the loading by potentially a lot - between 15 and 30% when the layout is cached (which should now be the case almost every time), and half that if it's not. More importantly, it makes the load time less sensitive to high device load, which is one of the sore points. Bug: 8689779 Change-Id: I2e07736f1a92c38eed0e203bc690761a181da8b9 Jean Chalard2013-06-121-0/+2
* | Allow downloadable dictionaries in development builds•••Bug: 9305379 Change-Id: Iab32753070a056d3861a45aa898911b7ab67dfb6 Kurt Partridge2013-06-051-21/+10
|/
* Merge "Add CODE_CAPSLOCK for long press shift key"Tadashi G. Takaoka2013-06-051-5/+10
|\
| * Add CODE_CAPSLOCK for long press shift key•••This change utilizes the no panel auto more key feature to implement long press shift key for shift lock. Change-Id: I3995d25dc35aea3c67b5aa29299815462eff9cad Tadashi G. Takaoka2013-06-041-5/+10
* | Clear previous suggestions when gesture typing starts•••Bug: 8651076 Change-Id: Ic65ed3e3696409edea4e35080c11e4d1869a5a7e Tadashi G. Takaoka2013-06-031-1/+3
|/
* Merge "Uncommit separator LogUnits"Kurt Partridge2013-06-031-3/+5
|\
| * Uncommit separator LogUnits•••Now that separators have their own LogUnits, they must be uncommitted from the LogBuffer when backspacing over them. Bug: 9088919 Change-Id: Ib36cc94939b93abe18850a06bced17caf8aaa5b9 Kurt Partridge2013-06-021-5/+5
* | Merge "Uncommit LogUnits when reverting textInput"Kurt Partridge2013-06-031-0/+3
|\ \
| * | Uncommit LogUnits when reverting textInput•••Bug: 9088919 Change-Id: I17187aa0afc1c3e9d32269c65f66cfb3a08663cb Kurt Partridge2013-06-011-0/+3
| |/
* / Remove uncommit on reverting batch input•••Currently when the user reverts a batch input, a LogUnit is uncommitted from the LogBuffer. It should not be, because the LogUnit containing the batch input is never committed in the first place (it is only committed to the LogBuffer when a key is pressed or a new batch input is entered). Bug: 9088919 Change-Id: I323af453ce082437a663ccae977b21b775a964bc Kurt Partridge2013-06-011-2/+0
|/
* 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
|\ \