aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-02Move CSV parser to KeySpecParserTadashi G. Takaoka5-151/+149
Change-Id: I424fb47bc70e9b6aaa5a16ae9b2500d23da75c26
2012-02-02Support additional proximity characterssatok11-68/+327
Change-Id: Ifbe0d7e4eafea1926bbce968eae4724dd5769689
2012-02-02Make KeySpecParser and CSV parser code point awareTadashi G. Takaoka8-37/+121
This change also renames MoreKeySpecParser to KeySpecParser Change-Id: I35733cdbb344f16b57ffa2cfe79055c089b4e409
2012-02-02Stop throwing an exception in some corner cases.Jean Chalard1-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
2012-02-01Removed CODE_CAPSLOCK from keyboard accessibility (fixing build).alanv1-1/+0
Change-Id: Ibc7ef979276f563444f3c24e69ac32de5d4eb6e8
2012-02-01Remove BIDI mirroring hack from KeyTadashi G. Takaoka24-170/+203
This change also removes isRtlKeyboard attribute from <Keyboard/> Bug: 5948247 Change-Id: I85998f17ae146a4c8cd0f419ab820b746cb8974f
2012-02-01Fix wrong long press timeout for shift keyTadashi G. Takaoka1-1/+1
Change-Id: Ifafbed1bcdaf662ee6a69050043739fa71986841
2012-02-01Use MoreKeySpecParser to parse puctuations strip resourcesTadashi G. Takaoka8-76/+150
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
2012-02-01Move long press shift handling from PointerTracker to KeyboardStateTadashi G. Takaoka59-533/+385
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
2012-01-31Refactored shift key spoken description into separate method.alanv1-21/+29
Change-Id: I183462a68fdfd339404740fa1564f737430d73d9
2012-01-31Removed spoken descriptions for characters supported by TTS or TalkBack.alanv2-64/+0
Change-Id: Iddef18559bc6af9487e536a33607b0a0b07df282
2012-01-31Save/restore alphabet shift locked state while rotating even in symbols modeTadashi G. Takaoka2-14/+60
Bug: 5730212 Change-Id: Id2342dacd149d6385d61001f880ebcd1883cf0b4
2012-01-31Cleanup redundant methods of KeyboardSetTadashi G. Takaoka3-23/+26
Change-Id: I69fa1b5661695d0323222c2969679f4792b6ef0d
2012-01-31Fix double tap shift key enable/disable shift locked modeTadashi G. Takaoka7-118/+135
Bug: 5942452 Change-Id: I2c7b1605bceac2b2f929cd4d97c417ef15c6f754
2012-01-31Cleanup redundant methods of KeyboardSwitcherTadashi G. Takaoka3-41/+32
Change-Id: I2ebeb8852177f6c6e30578d0bb3f372f488dc6c1
2012-01-31Auto generate various shift states alphabet keyboard automaticallyTadashi G. Takaoka28-505/+394
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
2012-01-30Removed unused "no item selected" notification & supporting code from ↵alanv3-107/+0
keyboard accessibility. Change-Id: Ia6323ad0c1e2a0db5a2cf830e97765eddaa32cee
2012-01-30Implement multi words suggestions step1satok5-110/+132
Change-Id: I96e8e1b0d9ccc0ed13d53c40300d8c19bcb7af5b
2012-01-30Support addtionalMoreKeysTadashi G. Takaoka58-356/+566
This change also removes * Unused more_keys_for_q, w, and p. Change-Id: Idb99e5f6d8c2ad2d28437f42b35b21c282cd181f
2012-01-30Add "size" and "pressure" for MotionEvent logsKen Wakasa2-3/+5
bug: 5722703 Change-Id: I8e08942324b666de96682ce63e70c8d324535782
2012-01-27Import translations. DO NOT MERGEEric Fischer49-72/+81
Change-Id: I89dcb839308eadb722f91ccd4327208d8d477dc2
2012-01-28Rename keyboard XML resource filesTadashi G. Takaoka112-191/+191
* <Keyboard> XML file should be kbd_*.xml * <Row> XML file should be rows_*.xml or row_*.xml * <Key> XML file should be key_*.xml or keys_*.xml * <key-style> XML file should be key_styles_*.xml Change-Id: Ie57d5d78389c13d6c066ace4e3588518d1f25f13
2012-01-27Share kbd_row3_smiley.xmlTadashi G. Takaoka10-90/+30
Change-Id: Ie5e68f972a739ab151201bd13bb1771e164313e6
2012-01-27Support keyXPos/keyWidth override in <include>Tadashi G. Takaoka1-5/+38
Change-Id: I03576a6fb7916f2f66f2035a04872fe89b573cdc
2012-01-27Create separate XML for number password keyboardTadashi G. Takaoka9-532/+606
Change-Id: I1d73a03bfce9180106575e180bfeb422da03b9fb
2012-01-27Use kbd_row3_comman_period.xmlTadashi G. Takaoka8-179/+13
Change-Id: Ie2ce2f4f03e70477d4932072a44fb9aeb7cd7784
2012-01-27Add inactivatedLabel and inactivatedUppercaseLetter flags for Key.keyLabelFlagsTadashi G. Takaoka3-3/+25
Change-Id: I6c7dc79cbad360602b278283f4c3a24c54040622
2012-01-27Merge missing space and mistyped space correction algorithmsatok5-124/+93
Change-Id: Idd64d38d3d29be24748f9c0359667883698a5756
2012-01-27Save and restore previous mode keyboard state at ↵Tadashi G. Takaoka3-21/+166
KeyboardState.toggleAlphabetAndSymbols Bug: 5881820 Change-Id: I9b1718b16c60f27c05ba727724c0189aa5284334
2012-01-26Remove a useless member (A8)Jean Chalard2-5/+3
It turns out this can be removed entirely. Change-Id: I6f23703cef1666311989a825285317eef696487f
2012-01-26Cleanup (A9)Jean Chalard1-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
2012-01-26Remove the CharacterStore class (A7)Jean Chalard1-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
2012-01-26Guard against wrong auto-correction cancellation (A6)Jean Chalard1-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
2012-01-26Straighten out resuming suggestion on kept word (A5)Jean Chalard3-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
2012-01-26Merge multiple words suggestions algorithmsatok2-125/+89
Change-Id: I70d85b90ddaa28a41e9679f445bc14ef9ff50f16
2012-01-26Remove mCommittedWordSavedForSuggestionResuming (A4)Jean Chalard2-25/+15
Change-Id: Ia62ef33b5c777a258b02280bda1b8368780a7eef
2012-01-26Add KeyboardState.SwitchActions.setAlphabetShiftLockShiftedTadashi G. Takaoka5-18/+36
Change-Id: I6c49d8eb0a8272840ff03e0940d88a31c3d20bd9
2012-01-26Move some functionality into LastComposedWord (A3)Jean Chalard3-18/+38
Change-Id: Ie0ea02a061dd0cb84db5f33113ff433584636bc7
2012-01-26Add useful information to LastComposedWord (A2)Jean Chalard2-2/+18
Change-Id: Idf47f2e2bdd1d6394fc4b1ab7df28d64a808da1e
2012-01-26Add a class for previously composed data (A1)Jean Chalard3-24/+52
Change-Id: I87498799e6a48b8fa65924a098bb0ceb7626dce1
2012-01-26Refactor words priority queuesatok4-30/+52
Change-Id: I14b7ef39263ad2b1d5ec087bc80b7b8d7c30abe7
2012-01-26Get rid of Resource reference from KeyboardView, LatinKeyboardView and ↵Tadashi G. Takaoka11-120/+162
PointerTracker This change introduces the following attributes. * KeyboardView - keyPreviewLingerTimeout * LatinKeboardView - keyHysteresisDistance - touchNoiseThresholdTime - touchNoiseThresholdDistance - slidingKeyInputEnable - keyRepeatStartTimeout - keyRepeatInterval - longPressKeyTimeout - longPressShiftKeyTimeout - longPressSpaceKeyTimeout - ignoreSpecialKeyTimeout - showMiniKeyboardAtTouchedPoint Change-Id: I25159a87289b12447e20031add173523070e9b03
2012-01-26Add a missing braceJean Chalard1-0/+1
Change-Id: Ia51da6506d78a295b8b70a241208fb81602cf0ea
2012-01-26Add a test for moving cursor then backspaceJean Chalard1-0/+13
This is a test for the case in Bug: 5851148 Change-Id: I58ee459d85f463b445a28137bdc6c40bc3067ff5
2012-01-26Add a test case for backspace at start of lineJean Chalard1-0/+12
Tests the behavior from Bug: 5784542 Change-Id: I78ec9d77c5dd1e3ea8eff530f9d7d284a1c094d4
2012-01-26Cleanup unused codesatok4-174/+0
Change-Id: I6c840f9ed170919e48d1c576cd0a48777ad44030
2012-01-26Add a guard against OOB.Jean Chalard1-3/+7
...and avoid crashing in one case where the application may change the text while we are typing. Bug: 5685922 Change-Id: I4a22c63168986f43ac84f512aaa4267023d536e3
2012-01-26Warn deprecated privateImeOptions, "nm" and "forceAscii"Tadashi G. Takaoka2-5/+17
Public API EditorInfo.IME_FLAG_FORCE_ASCII has been supported by I6665b483. Change-Id: I0ffdee15d8177d126cd8fe86a6bc4ab21be58c36
2012-01-26Convert an internal enum into an int of same underlying value.Jean Chalard6-21/+18
Goes together with Id4f4e066 Bug: 5922118 Change-Id: I1e39dd01c67e9284d9d7fe008d868847e69986d7
2012-01-26Small cleanupJean Chalard1-1/+1
All calls to this method are done with the same parameter, and it's really hard to understand if we call upon this member inside. Change-Id: I787664bb59053ab0fe666ed812fb12b2b9090918