aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2011-12-09Remove direct calls of setKeyboardXXX from KeyboardSwitcher•••These calls, setAlphabetKeyboard, setSymbolsKeyboard, and setSymbolsShiftedKeyboard have to be call backed from KeyboardState. Bug: 5708602 Change-Id: Ibbe1a21bd10bf942e17886869c0ab0fa1735b87e Tadashi G. Takaoka3-51/+54
2011-12-08Cleanup KeyboardSwitcher a bit•••* Move caps lock state preserving code to KeyboardState. * Merge KeyboardState.onLoadKeyboard and onRestoreKeyboardState. * Merge private methods into toggleShift and toggleKeyboardMode. Bug: 5708602 Change-Id: I793a934a0ba18d5750be011c52ebe20c1976eac6 Tadashi G. Takaoka2-33/+35
2011-12-08Remove a useless method•••Change-Id: Ib6a0ee21bfe2000231f9ba7bcad4b18ae57e4249 Jean Chalard1-4/+0
2011-12-08Cleanup•••Here, shouldAutoCorrect implies mSettingsValues.mAutoCorrectEnabled Change-Id: I9256718dd63b75252d1454e264db6814bbf18aa5 Jean Chalard1-5/+2
2011-12-08Add proximity for Russian.•••This also tries to make the code as easy to extend as possible for future developments. Bug: 5701241 Change-Id: I1ed48e6a5cc7aab94c5d6e309930cc004247d7e7 Jean Chalard3-85/+181
2011-12-08Move KeyboardLayoutState into KeyboardState•••Bug: 5708602 Change-Id: Ieb6b872d0f2cf3ad1fcb69409e2cf49f60427672 Tadashi G. Takaoka2-54/+61
2011-12-08Move SWITCH_STATE related stuffs to KeyboardState•••Bug: 5708602 Change-Id: I904ec370e3761c47af17a680c0932ec98cfd3c27 Tadashi G. Takaoka3-234/+267
2011-12-07Reset saved caps lock sate when new keyboard is loaded•••Bug: 5722919 Change-Id: Id92632a0feffc3342d3c31e90c0da973c934f3c0 Tadashi G. Takaoka1-0/+2
2011-12-07Don't execute pending onStartInputView if EditorInfos are equivalent•••Bug: 5722732 Bug: 5722867 Change-Id: I8347c258b286c3329f318d50adf205e78e49c722 Tadashi G. Takaoka3-18/+25
2011-12-07Remove internal toggleShift calls•••Bug: 5708602 Change-Id: Id1f76dbd40aaf9ed35d4598d902043675c3d74fc Tadashi G. Takaoka2-20/+17
2011-12-07Reset keyboard state when loading keyboard•••Bug: 5627467 Change-Id: I709f97e47144d3270450adc7d8053038d0df57bc Tadashi G. Takaoka2-0/+8
2011-12-07Use the system-wide interface to add a word.•••Bug: 5306641 Change-Id: Ic87e5bc3a5f1f03c57d48f2d92c28e0aba06847d Jean Chalard3-76/+13
2011-12-07Get rid of direct reference to KeyboardId from KeyboardLayoutState•••KeyboardLayoutState.restore directly loads keyboard using private methods such as setAlphabetKeyboard and setShifted etc. instaed of calling public methods such as toggleCapsLock, onPressShift, and onReleaseShift. Bug: 5708602 Change-Id: I799f80f1d505ac7bdf17b92b189fc418994bfa2f Tadashi G. Takaoka1-26/+24
2011-12-06Updated keyboard to use SPEAK_PASSWORD preference.•••Bug: 5678383 Change-Id: Ie9bdc92f4b2c9014159d672b71e4438f8fa34f55 Alan Viverette2-2/+48
2011-12-06Fix caps lock key behavior•••Fix the issue introduced by Idfe69978. Bug: 5708602 Change-Id: I4265822b7d33417b87b3e7e3f49250ac5d2ecdda Tadashi G. Takaoka2-22/+11
2011-12-06Remove toggleSymbolsShift and rename toggleKeyboardMode•••Bug: 5708602 Change-Id: Iadef3e862d00505d1d9f588d0d64445754d7b962 Tadashi G. Takaoka2-42/+47
2011-12-06Move KeyboardShiftState to KeyboardState•••Bug: 5708602 Change-Id: Idfe69978972bb674e0f360ef5e324739e2652d25 Tadashi G. Takaoka4-117/+119
2011-12-06Refactor reflection member•••Change-Id: I112dbf851e10dae9e4291cf440f01b28d51180f4 satok1-7/+7
2011-12-06Make Keyboard.setShifted return void•••Bug: 5708602 Change-Id: If8150f62fbab864344f59853850ff3213c27940e Tadashi G. Takaoka5-25/+15
2011-12-05Minor refactoring of Keyboard•••* Remove isAlphaKeyboard(). * Remove isPhoneKeyboard(). * Remove getKeyboardShiftState(). Bug: 5708602 Change-Id: I8bf5009bf499ecb0501d1379f72e43406080062a Tadashi G. Takaoka4-29/+18
2011-12-05Add support for Russian spell checking.•••Note that this is not enough: we still need to create a reasonable proximity table for Cyrillic characters, or we won't be able to show up suggestions. Bug: 5701241 Change-Id: Idb141f7a230a6e1a46094308c26f43c01ab3b97a Jean Chalard2-18/+69
2011-12-05Merge setManualTemporaryUpperCase and setAutomaticTemporaryUpperCase•••Bug: 5708602 Change-Id: I6a0b5f0dcccbb6331a271cd61a48c474a7800289 Tadashi G. Takaoka1-18/+19
2011-12-05Renaming KeyboardSwitcher.getPointerCount to isSinglePointer•••Bug: 5708602 Change-Id: If44ed4449a3ea79228e25e2ab2c8c8fe82a93a2b Tadashi G. Takaoka3-41/+49
2011-12-05Make ModifierKeySatate and ShiftKeyState non-public class•••Bug: 5708602 Change-Id: I149c2dab26774686e5c578bbf780081e9fb30e7c Tadashi G. Takaoka3-4/+4
2011-12-05Add KeyboardState to host shift and symbol key states•••The KeyboardState will conatin all logic of keyboard state when series of refactoring are achieved. And the KeyboardState should not be entangled with other objcets such as Keyboard and KeyboardSwitcher in order to keep it easily testable. Bug: 5708602 Change-Id: I288bc169c47e1b4de27fe78854baadbcc85c5d23 Tadashi G. Takaoka2-60/+180
2011-12-05Fix a field value for the suggestion max size•••Bug: 5574747 This bug was introduced by I5e40edf6f790c078c4a05d Change-Id: I5b0f51e1f5e8a12d786657167082bc604089505e satok1-3/+3
2011-12-05Ignore releasing shift key caused by long press•••Bug: 5694715 Change-Id: If7b84f547f5701e84d740f186d284273565b7eba Tadashi G. Takaoka1-2/+2
2011-12-01Import revised translations. DO NOT MERGE•••Change-Id: I83fbe8ae8f2630e8dd049b534adf397f0fe18462 Eric Fischer1-6/+6
2011-12-01Use Iterator in PointerTrackerQueue•••Change-Id: Ia5ad7d4511b2f2db056f2acf7cc0e002001e2123 Tadashi G. Takaoka1-26/+25
2011-12-01Fix debug messages neatly•••Change-Id: I40538d5ffbdf64df4e2848de33393327d704fc1e Tadashi G. Takaoka2-20/+37
2011-12-01Fix potential NPE•••Change-Id: I00e7cd521bafd2705ebc2a59d63b7bfc4fe178ba Tadashi G. Takaoka1-1/+2
2011-11-30Add Key.altCode attribute••• * Registering alternate code and while key is typing. * Showing press/release graphics of the key that has the above altenate code. * Showing press/release graphics of all shift keys. * Renaming Key.ignoreWhileTyping to Key.altCodeWhileTyping. Bug: 5639503 Change-Id: I67fb45bae76284a1f0deb6fd12ae5fb781d06cc3 Tadashi G. Takaoka8-60/+111
2011-11-30Add an option to use contacts or not while spell checking•••Bug: 5447495 Change-Id: Iffb09895676c3dd1a79d1699b0eac865282508d4 Jean Chalard5-23/+112
2011-11-29Import revised translations. DO NOT MERGE•••Change-Id: I97c739302c1f2ba14d70c31c8ab620b4b435139f Eric Fischer3-7/+7
2011-11-29Import revised translations.•••Change-Id: I22f516d922078cf0e26898da7af59ac4fa4b35a8 Eric Fischer5-19/+19
2011-11-29Get rid of usage of key index•••Change-Id: I7596ce3ae52fde436d06c2dd95ae873c7aa5ef7f Tadashi G. Takaoka9-196/+172
2011-11-29Resume suggestion when backspacing to the end of a word•••Bug: 5515381 Change-Id: I26fea896feaf2e9716c7ae3d4f2630360f23ac50 Jean Chalard4-20/+120
2011-11-29Keep count of the trailing single quotes for suggestions•••Bug: 5665809 Change-Id: I4d9100dbe980861ccb55c78464524be670cac1f7 Jean Chalard3-23/+40
2011-11-29Save keyboard layout only when it is shown•••Bug: 5130446 Change-Id: I150b4a053036eae050099155169325f0d1f7dfed Tadashi G. Takaoka1-1/+3
2011-11-29Support Baltic languages•••This change supports Estonian, Latvian, and Lithuanian languages keyboard. Bug: 5627326 Change-Id: Iaaa966e4164f9593f143e79736c8ec7befc2a5ce Tadashi G. Takaoka4-17/+85
2011-11-22Introduce ignoreWhileTyping flags to Key.keyActionFlags•••Bug: 5639503 Change-Id: Ic2afad6766edb2538a58f722209e2daa40aa488d Tadashi G. Takaoka7-24/+32
2011-11-22Move ignore special key code out from LatinIME to PointerTracker•••Bug: 5560766 Bug: 5639503 Change-Id: I34c9eea833516adf6ef1db58f1a64a5ef5322fa9 Tadashi G. Takaoka3-37/+48
2011-11-22Fix a bug with single quotes•••I14dd3815 special-cased single quotes at the start of a word, but did not do so correctly - it would kill a composing word if entered just after some punctuations. The right test was not isCursorTouchingWord() but mHasUncommittedTypedChars, which actually makes for a simpler implementation. Bug: 5648032 Change-Id: Icd21d213e0cad6da68cacfeb921502cd8dcfac95 Jean Chalard1-4/+3
2011-11-21Add Key.keyActionFlags and obsolete Key.isRepeatable•••This change also renames Key.keyLabelOption to keyLabelFlags. Change-Id: Iedd0bfaa420ad382c07ce084416355690e390919 Tadashi G. Takaoka36-192/+185
2011-11-21Fixed typing uppercase letters when touch exploration is enabled.•••Bug: 5652774 Change-Id: Id8cd37b3ff93b45f4f18198bbbb827aadf945b02 Alan Viverette1-10/+11
2011-11-21Pending onStartInputView only if the EditorInfo is identical•••Bug: 5604372 Change-Id: I2a88cf15b07eebd29e43e460f6ec758432181b01 Tadashi G. Takaoka6-61/+64
2011-11-21Import revised translations. DO NOT MERGE•••Change-Id: I3dd6c61ed17bfd845d5b3954c194b26970f3e7c2 Eric Fischer1-8/+8
2011-11-21Remove an unused (and scary) method•••Change-Id: I14a545a3e4955a25fde17554156552c755d44e2f Jean Chalard1-5/+0
2011-11-21Special case quotes at start and end of words•••Single quote at start of word is not considered a part of a word any more. Single quote at the end of a word now behave like capitalization: lookup in the dictionary is done *disregarding* a final quote, and it is forcefully added back into the suggestions afterwards. Bug: 5566368 Change-Id: I14dd3815f4b743edba56d64a3abdf4b73d863a6a Jean Chalard3-17/+61
2011-11-18Tweak number and phone keyboard layout of tablet•••Change-Id: Icb2f146becb7f834adba2612c9420a8f2d1e87fc Tadashi G. Takaoka6-40/+42