aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Activate bigram predictions from the binary dictionaryJean Chalard2012-02-151-9/+6
| | | | Change-Id: If1cc50539d7677b854b1cd3bea3423c8c0865de5
* 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.alanv2012-02-071-0/+13
| | | | | | | | | | Bug: 5933165 Change-Id: Id71f38874640785b7ad43b7a70e27f40c13be748
* | Merge "Add finals"Jean Chalard2012-02-081-2/+3
|\ \
| * | Add finalsJean Chalard2012-02-091-2/+3
| | | | | | | | | | | | Change-Id: Ib81be9a0df34c5e9fc49d2b5d9bf02297ea2b499
* | | Merge "Some more simplification"Jean Chalard2012-02-082-8/+2
|\| |
| * | Some more simplificationJean Chalard2012-02-092-8/+2
| | | | | | | | | | | | | | | | | | | | | Remove useless method calls, and ultimately remove useless method. Change-Id: I3f353b1b37460d5e9ceae5cb5dde3fff0da81c21
* | | Allow revert swap punctuation againJean Chalard2012-02-091-1/+1
|/ / | | | | | | | | | | | | This may not be the best behavior, but it's the same as ICS. Bug: 5981844 Change-Id: Ibb7798e2a315312310ed3be4e731d0fe1ac04456
* | Shift+Smiley key will register newline character of textMultiLineTadashi G. Takaoka2012-02-081-8/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "More simplification"Jean Chalard2012-02-081-44/+48
|\ \
| * | More simplificationJean Chalard2012-02-081-44/+48
| | | | | | | | | | | | | | | | | | | | | A suggested punctuation is sure to be 1 character and a word separator, so the isSuggestedPunctuation() test is redundant. Change-Id: I3d31f0825f069f64d514682e46be62afdae25291
* | | Fix the auto-composer to support supplementary charsJean Chalard2012-02-081-13/+22
|/ / | | | | | | Change-Id: I61ff218ae2ca4eb443a370e581b677755258670a
* | Merge "Remove a nested edition occurence"Jean Chalard2012-02-071-4/+2
|\ \
| * | Remove a nested edition occurenceJean Chalard2012-02-081-4/+2
| | | | | | | | | | | | | | | | | | This was harmless but confusing Change-Id: Ic271f80d3dadf01b29e3875c6a8ad51b99a936f9
* | | Merge "Cleanup"Jean Chalard2012-02-071-5/+1
|\ \ \
| * | | CleanupJean Chalard2012-02-081-5/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | 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
* / / Small simplificationJean Chalard2012-02-081-16/+5
|/ / | | | | | | Change-Id: I55f81f3ab427fd5b28bb1f31960077cd1897cbd0
* | Merge "Fix a bug with manual pick then dotcom key"Jean Chalard2012-02-071-1/+3
|\ \
| * | Fix a bug with manual pick then dotcom keyJean Chalard2012-02-071-1/+3
| | | | | | | | | | | | | | | | | | | | | Inhibit adding phantom space for tld keys even if the last character inserted in the textview is not a dot Change-Id: Ie92554ead7a18c932480905c5738aff7c0159a32
* | | Merge "Remove unused InputConnection argument"Tadashi G. Takaoka2012-02-071-2/+2
|\ \ \ | |/ / |/| |
| * | Remove unused InputConnection argumentTadashi G. Takaoka2012-02-071-2/+2
| | | | | | | | | | | | Change-Id: Ic45c8c6e7730775654317fb6e2d1cb64f9031f46
* | | Merge "Fix a race condition that makes tests unstable"Jean Chalard2012-02-071-1/+1
|\ \ \ | |/ / |/| |
| * | Fix a race condition that makes tests unstableJean Chalard2012-02-071-1/+1
| |/ | | | | | | Change-Id: Ic19d380eb64855884bc6ded8547c200dd772ffe9
* / Fix a bug with the auto-correct indicatorJean Chalard2012-02-071-0/+1
|/ | | | | Bug: 5969106 Change-Id: I02d4b9184bb2c3fc0d08ffd5db77a9f9d816631f
* Fix a bug with common objects.Jean Chalard2012-02-063-8/+12
| | | | | Bug: 5961179 Change-Id: I452efc552c6ab390931f25557d7aee5a64bf054e
* Stop inserting a space after a manually picked word.Jean Chalard2012-02-032-81/+70
| | | | | Bug: 4994861 Change-Id: I6ae256a94dbaddea4304304779d17025620c5025
* Merge "Get rid of Key.setIcon(Drawable)"Tadashi G. Takaoka2012-02-021-4/+20
|\
| * Get rid of Key.setIcon(Drawable)Tadashi G. Takaoka2012-02-031-4/+20
| | | | | | | | Change-Id: If6ebbdefcbfd0cc14c72858f9bb44861e8abe079
* | Fix a bug when deleting the last charJean Chalard2012-02-031-2/+4
| | | | | | | | | | | | And unit test Change-Id: Ic4fc3626f8b86e10156d770d41cd6deab5d31f39
* | Fix string iterations in a couple places.Jean Chalard2012-02-034-10/+15
|/ | | | | | | | Seems I didn't get how to iterate on a String correctly >.> Talk about a big bug. Anyway, I think it's working now. Bug: 5955228 Change-Id: I988c900cf2a16c44b9505cfd4f77c7cda7e592f0
* Merge "Move CSV parser to KeySpecParser"Tadashi G. Takaoka2012-02-012-128/+1
|\
| * Move CSV parser to KeySpecParserTadashi G. Takaoka2012-02-022-128/+1
| | | | | | | | Change-Id: I424fb47bc70e9b6aaa5a16ae9b2500d23da75c26
* | Support additional proximity characterssatok2012-02-021-3/+1
| | | | | | | | Change-Id: Ifbe0d7e4eafea1926bbce968eae4724dd5769689
* | Merge "Make KeySpecParser and CSV parser code point aware"Tadashi G. Takaoka2012-02-012-10/+23
|\|
| * Make KeySpecParser and CSV parser code point awareTadashi G. Takaoka2012-02-022-10/+23
| | | | | | | | | | | | This change also renames MoreKeySpecParser to KeySpecParser Change-Id: I35733cdbb344f16b57ffa2cfe79055c089b4e409
* | Stop throwing an exception in some corner cases.Jean Chalard2012-02-021-9/+10
|/ | | | | | | | | 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
* Use MoreKeySpecParser to parse puctuations strip resourcesTadashi G. Takaoka2012-02-013-15/+95
| | | | | | | | | | | 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
* Move long press shift handling from PointerTracker to KeyboardStateTadashi G. Takaoka2012-02-011-11/+2
| | | | | | | | | | | | | 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
* Cleanup redundant methods of KeyboardSwitcherTadashi G. Takaoka2012-01-311-5/+11
| | | | Change-Id: I2ebeb8852177f6c6e30578d0bb3f372f488dc6c1
* Auto generate various shift states alphabet keyboard automaticallyTadashi G. Takaoka2012-01-312-32/+5
| | | | | | | | | | | | | | | | | | 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
* Add "size" and "pressure" for MotionEvent logsKen Wakasa2012-01-301-1/+1
| | | | | bug: 5722703 Change-Id: I8e08942324b666de96682ce63e70c8d324535782
* Cleanup (A9)Jean Chalard2012-01-261-2/+4
| | | | | | | Deactivate the LastComposedWord when the commit was not the right type, instead of fooling it by passing it a null auto-correction. Change-Id: I032b477dc691bd151a644ca4b0c9f0a9b5512e45
* Remove a useless member (A8)Jean Chalard2012-01-262-5/+3
| | | | | | It turns out this can be removed entirely. Change-Id: I6f23703cef1666311989a825285317eef696487f
* Remove the CharacterStore class (A7)Jean Chalard2012-01-261-70/+50
| | | | | | | | Remove the now useless WordComposer.CharacterStore class and merge back its members inside WordComposer. This should simplify the word composer a bit. Change-Id: I5fe32418c62a583cd558dce98758a4701559bdf5
* Guard against wrong auto-correction cancellation (A6)Jean Chalard2012-01-261-2/+9
| | | | | | | | This deactivates the cancellation at each separator pressed while not composing a word. The net effect is to fix Bug: 5875776 Change-Id: I67aa3f842ddff250828c60596ad5a7e466c1ddaa
* Straighten out resuming suggestion on kept word (A5)Jean Chalard2012-01-263-19/+20
| | | | | | | | | This is cleanup. This also introduces a "deactivated" state to the last committed word, that can be used for Bug: 5875776 Change-Id: I1855adb8ac8123f6d2c5365b0ae899145e5c3ba1
* Remove mCommittedWordSavedForSuggestionResuming (A4)Jean Chalard2012-01-262-25/+15
| | | | Change-Id: Ia62ef33b5c777a258b02280bda1b8368780a7eef
* Move some functionality into LastComposedWord (A3)Jean Chalard2012-01-263-18/+38
| | | | Change-Id: Ie0ea02a061dd0cb84db5f33113ff433584636bc7
* Add useful information to LastComposedWord (A2)Jean Chalard2012-01-262-2/+18
| | | | Change-Id: Idf47f2e2bdd1d6394fc4b1ab7df28d64a808da1e
* Merge "Add a class for previously composed data (A1)"Jean Chalard2012-01-263-24/+52
|\