aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* Merge "Activate the code to cancel a manual pick (A5)"Jean Chalard2012-02-221-5/+2
|\
| * Activate the code to cancel a manual pick (A5)•••This finally makes active the behavior described in Bug: 5968922 Change-Id: I363ed23270c3dea75411ea806011225097b5d07c Jean Chalard2012-02-221-5/+2
* | Merge "Implement cancelling a manual pick (A4)"Jean Chalard2012-02-221-1/+3
|\|
| * Implement cancelling a manual pick (A4)•••This is new code, but simple code. The new code path is never used for now, but it will be in an upcoming change. This serves to implement feature request #5968922 Change-Id: I3e67731ec6e9fc0b86c5cbd972e9c081781c11a9 Jean Chalard2012-02-221-1/+3
* | Merge "Use the stored separator instead of reading it back (A3)"Jean Chalard2012-02-221-9/+19
|\|
| * Use the stored separator instead of reading it back (A3)•••Now that we have stored our committing separator, we can use it directly instead of reading it back from the text view paying the IPC cost. This prepares for feature request #5968922. Change-Id: Ifeaa2d659cf12b91c89d28e6ff7d07a669258184 Jean Chalard2012-02-211-9/+19
* | Merge "Give LastComposedWord knowledge of the separator (A2)"Jean Chalard2012-02-211-10/+15
|\|
| * Give LastComposedWord knowledge of the separator (A2)•••This stores the separator that was used to commit the word in the LastComposedWord. It may be NOT_A_SEPARATOR if there was no separator (for example, the cursor moved causing a commit, or there was a manual pick). This is necessary to implement feature request #5968922. Change-Id: I5fcf19a78ec66d68d4df89418eaef13952588207 Jean Chalard2012-02-211-10/+15
* | Merge "Give LastComposedWord knowledge of the committed word (A1)"Jean Chalard2012-02-211-6/+7
|\|
| * Give LastComposedWord knowledge of the committed word (A1)•••There is no point storing the prospective autocorrect - we are recomputing it anyway. The committed word however will be necessary to implement feature request #5968922. Change-Id: I588c18e1a5a1050a791d601de465f421ccbe36cd Jean Chalard2012-02-211-6/+7
* | Merge "Add next/prev navigate action more keys and remove tab key"Tadashi G. Takaoka2012-02-211-40/+8
|\ \ | |/ |/|
| * Add next/prev navigate action more keys and remove tab key•••Bug: 6037537 Bug: 5961814 Change-Id: I9c6dedf953452a180fcd5bce7bfadfd3c821f224 Tadashi G. Takaoka2012-02-211-40/+8
* | Dismiss the hint on a non-word-starting non-separator•••This would happen when a character is not a separator but is not a word starter. Such characters include single quote and dollar, and others non-letter, non-separator chars. We set the bigram predictions if any - if not so configured, this will fallback on setting back punctuations into the strip. Bug: 6010408 Change-Id: Id203bbe87f8c13de0d5027b555c9067c7ec98f92 Jean Chalard2012-02-211-0/+9
* | Rename resources to reflect current usage•••Bug: 6010403 Change-Id: Ia02ff31007296fdf6901504f238dfd9e4621f658 Jean Chalard2012-02-211-4/+4
* | Remove a useles parens•••...I could swear I had compiled :/ Change-Id: I4e1fb2b1dda0a4ceffe2082935395d05297c63ec Jean Chalard2012-02-211-1/+1
* | Rewrite a condition•••Change-Id: I805c9579788d99b015feb2075ad4771756c7adc5 Jean Chalard2012-02-211-5/+5
* | Extract a method to reset the ime state•••Change-Id: I921184b85b94418cf360508ee3f67e85b10b3d72 Jean Chalard2012-02-211-22/+16
* | Converge paths of an if() branch•••This is to help with further refactoring. Change-Id: Ib2459903862570cf7022fd90f2d5c524a6bbbe19 Jean Chalard2012-02-191-2/+12
* | Rename variables and add comments•••Change-Id: I746f2364d9f02f22aa6ab57d7060013ee114f4e3 Jean Chalard2012-02-191-14/+22
* | Read the initial selection value.•••It turns out this was available in an unexpected place. Fixes both the following bugs Bug: 5948469 Bug: 6023118 Change-Id: Ie1a91b8268540ea0f0df02bee94c3bbdeb0fa4c5 Jean Chalard2012-02-171-11/+5
|/
* Remove unnecessary and harmful KeyboardState.onUpdateShiftState call•••This change also cancels double tap and long press timers if other letter key is pressed after shift key. Bug: 5693999 Bug: 6017610 Change-Id: I3b5f3debfb8915fa73a93b409a38afadf24132e9 Tadashi G. Takaoka2012-02-161-3/+4
* Merge "Improved shift key and symbol/alpha switch key accessibility feedback."Charles Chen2012-02-091-0/+13
|\
| * Improved shift key and symbol/alpha switch key accessibility feedback.•••Bug: 5933165 Change-Id: Id71f38874640785b7ad43b7a70e27f40c13be748 alanv2012-02-071-0/+13
* | Merge "Add finals"Jean Chalard2012-02-081-2/+3
|\ \
| * | Add finals•••Change-Id: Ib81be9a0df34c5e9fc49d2b5d9bf02297ea2b499 Jean Chalard2012-02-091-2/+3
* | | Merge "Some more simplification"Jean Chalard2012-02-081-4/+2
|\| |
| * | Some more simplification•••Remove useless method calls, and ultimately remove useless method. Change-Id: I3f353b1b37460d5e9ceae5cb5dde3fff0da81c21 Jean Chalard2012-02-091-4/+2
* | | Allow revert swap punctuation again•••This may not be the best behavior, but it's the same as ICS. Bug: 5981844 Change-Id: Ibb7798e2a315312310ed3be4e731d0fe1ac04456 Jean Chalard2012-02-091-1/+1
|/ /
* | Shift+Smiley key will register newline character of textMultiLine•••This change also * Honors the custom action label in EditorInfo.actionLabel. * Invokes InputConnection.performeEditorAction if action is specifed at EditorInfo.imeOptions or actionLabel/actionId. * Stops using InputMethodService.sendKeyChar. Implements sendKeyCodePoint instead. Bug: 2498607 Bug: 5961809 Bug: 5368408 Change-Id: If4cd5eb3dacfc6b6a7ea434b0617c2438e06e42d Tadashi G. Takaoka2012-02-081-8/+44
* | More simplification•••A suggested punctuation is sure to be 1 character and a word separator, so the isSuggestedPunctuation() test is redundant. Change-Id: I3d31f0825f069f64d514682e46be62afdae25291 Jean Chalard2012-02-081-44/+48
* | Merge "Remove a nested edition occurence"Jean Chalard2012-02-071-4/+2
|\ \
| * | Remove a nested edition occurence•••This was harmless but confusing Change-Id: Ic271f80d3dadf01b29e3875c6a8ad51b99a936f9 Jean Chalard2012-02-081-4/+2
* | | Merge "Cleanup"Jean Chalard2012-02-071-5/+1
|\ \ \
| * | | Cleanup•••Remove a useless test (we can only come here if the code is not a separator, as we are only called from onCodeInput inside an explicit test). Change-Id: Icd996a5a1c18a550117a144a1d35f167b96211f7 Jean Chalard2012-02-081-5/+1
| |/ /
* / / Small simplification•••Change-Id: I55f81f3ab427fd5b28bb1f31960077cd1897cbd0 Jean Chalard2012-02-081-16/+5
|/ /
* | Merge "Fix a bug with manual pick then dotcom key"Jean Chalard2012-02-071-1/+3
|\ \
| * | Fix a bug with manual pick then dotcom key•••Inhibit adding phantom space for tld keys even if the last character inserted in the textview is not a dot Change-Id: Ie92554ead7a18c932480905c5738aff7c0159a32 Jean Chalard2012-02-071-1/+3
* | | Merge "Remove unused InputConnection argument"Tadashi G. Takaoka2012-02-071-2/+2
|\ \ \ | |/ / |/| |
| * | Remove unused InputConnection argument•••Change-Id: Ic45c8c6e7730775654317fb6e2d1cb64f9031f46 Tadashi G. Takaoka2012-02-071-2/+2
* | | Merge "Fix a race condition that makes tests unstable"Jean Chalard2012-02-071-1/+1
|\ \ \ | |/ / |/| |
| * | Fix a race condition that makes tests unstable•••Change-Id: Ic19d380eb64855884bc6ded8547c200dd772ffe9 Jean Chalard2012-02-071-1/+1
| |/
* / Fix a bug with the auto-correct indicator•••Bug: 5969106 Change-Id: I02d4b9184bb2c3fc0d08ffd5db77a9f9d816631f Jean Chalard2012-02-071-0/+1
|/
* Fix a bug with common objects.•••Bug: 5961179 Change-Id: I452efc552c6ab390931f25557d7aee5a64bf054e Jean Chalard2012-02-061-5/+2
* Stop inserting a space after a manually picked word.•••Bug: 4994861 Change-Id: I6ae256a94dbaddea4304304779d17025620c5025 Jean Chalard2012-02-031-68/+69
* Stop throwing an exception in some corner cases.•••When the application is modifying the text under our feet, we may come through this code path. We should log the error rather than crash. Bug: 5869235 Change-Id: Ic0fd24c3bc805d44c5db0ad781ddebeca0450614 Jean Chalard2012-02-021-9/+10
* Use MoreKeySpecParser to parse puctuations strip resources•••This change also * Doesn't use Key.getRtlParenthesisCode to get correct parentheses code in RTL context. Intead uses the outputText feature of moreKeys specification. * Move CVS string parser from KeyStyles to Utils. Bug: 5948247 Change-Id: I45752c7d01b4f7d3f3da900b110a2185b336a1f0 Tadashi G. Takaoka2012-02-011-7/+3
* Move long press shift handling from PointerTracker to KeyboardState•••This change also * Rename phone shift keyboard to phone symbols keyboard. Use CODE_SWITCH_ALPHA_SYMBOL code to switch between phone and phone symbols keyboard. * Remove phone symbols keyboard from tablet. * Introduces enableLongPress flag of Key.keyActionFlags attribute. * Remove clumsy long press code from PointerTracker. * Remove CODE_CAPSLOCK handling from LatinIME. * Make KeyboardSwitcher to invoke haptic and audio feedback. Change-Id: I00e1f697a10ab5112aec75e36853b96246ff5054 Tadashi G. Takaoka2012-02-011-11/+2
* Cleanup redundant methods of KeyboardSwitcher•••Change-Id: I2ebeb8852177f6c6e30578d0bb3f372f488dc6c1 Tadashi G. Takaoka2012-01-311-5/+11
* Auto generate various shift states alphabet keyboard automatically•••If any shift state variants of alphabet keyboard layout is not specified in KeyboardSet.Element, it will be automatically generated from base alphabet keyboard definition. This change also * Eliminates KeyboardShiftState object from Keyboard. * Removes various set shift state methods from Keyboard. * Removes KeyboardSet.Element.elementAutoGenerate attribute. * Separates "sticky" Key.backgroundType to "stickyOff" and "stickyOn" * Add preserveCase flag to smiley, .com, and labeled special keys. * Rename KeyboardShiftState class to AlphabetShiftState. * Rename some attributes from *UppercaseLetter* to *ShiftedLetterHint*. * Introduce shiftedLetterActivated to Key.keyLabelFlags Change-Id: I01a0a8efeeaa76820ae728a5bdfa8d02b6ce74b7 Tadashi G. Takaoka2012-01-311-27/+5
* Guard against wrong auto-correction cancellation (A6)•••This deactivates the cancellation at each separator pressed while not composing a word. The net effect is to fix Bug: 5875776 Change-Id: I67aa3f842ddff250828c60596ad5a7e466c1ddaa Jean Chalard2012-01-261-2/+9