aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-12-09Show usability study mode for research purposessatok2-6/+19
Bug: 5722703 Change-Id: I27acc374c5d4b52707708b83689dea5d78a573d7
2011-12-09Remove direct calls of setKeyboardXXX from KeyboardSwitcherTadashi G. Takaoka3-51/+54
These calls, setAlphabetKeyboard, setSymbolsKeyboard, and setSymbolsShiftedKeyboard have to be call backed from KeyboardState. Bug: 5708602 Change-Id: Ibbe1a21bd10bf942e17886869c0ab0fa1735b87e
2011-12-09Extract Settings.Values to a new classJean Chalard4-224/+254
This is pretty much automatic refactoring. Thanks Eclipse! Change-Id: I8ccd24d11878445c836347e9c487c91461eee9cd
2011-12-08Cleanup KeyboardSwitcher a bitTadashi G. Takaoka2-33/+35
* 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
2011-12-08Remove a useless methodJean Chalard1-4/+0
Change-Id: Ib6a0ee21bfe2000231f9ba7bcad4b18ae57e4249
2011-12-08CleanupJean Chalard1-5/+2
Here, shouldAutoCorrect implies mSettingsValues.mAutoCorrectEnabled Change-Id: I9256718dd63b75252d1454e264db6814bbf18aa5
2011-12-08Add proximity for Russian.Jean Chalard3-85/+181
This also tries to make the code as easy to extend as possible for future developments. Bug: 5701241 Change-Id: I1ed48e6a5cc7aab94c5d6e309930cc004247d7e7
2011-12-08Move KeyboardLayoutState into KeyboardStateTadashi G. Takaoka2-54/+61
Bug: 5708602 Change-Id: Ieb6b872d0f2cf3ad1fcb69409e2cf49f60427672
2011-12-08Move SWITCH_STATE related stuffs to KeyboardStateTadashi G. Takaoka3-234/+267
Bug: 5708602 Change-Id: I904ec370e3761c47af17a680c0932ec98cfd3c27
2011-12-07Reset saved caps lock sate when new keyboard is loadedTadashi G. Takaoka1-0/+2
Bug: 5722919 Change-Id: Id92632a0feffc3342d3c31e90c0da973c934f3c0
2011-12-07Don't execute pending onStartInputView if EditorInfos are equivalentTadashi G. Takaoka3-18/+25
Bug: 5722732 Bug: 5722867 Change-Id: I8347c258b286c3329f318d50adf205e78e49c722
2011-12-07Remove internal toggleShift callsTadashi G. Takaoka2-20/+17
Bug: 5708602 Change-Id: Id1f76dbd40aaf9ed35d4598d902043675c3d74fc
2011-12-07Reset keyboard state when loading keyboardTadashi G. Takaoka2-0/+8
Bug: 5627467 Change-Id: I709f97e47144d3270450adc7d8053038d0df57bc
2011-12-07Use the system-wide interface to add a word.Jean Chalard3-76/+13
Bug: 5306641 Change-Id: Ic87e5bc3a5f1f03c57d48f2d92c28e0aba06847d
2011-12-07Get rid of direct reference to KeyboardId from KeyboardLayoutStateTadashi G. Takaoka1-26/+24
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
2011-12-06Updated keyboard to use SPEAK_PASSWORD preference.Alan Viverette2-2/+48
Bug: 5678383 Change-Id: Ie9bdc92f4b2c9014159d672b71e4438f8fa34f55
2011-12-06Fix caps lock key behaviorTadashi G. Takaoka2-22/+11
Fix the issue introduced by Idfe69978. Bug: 5708602 Change-Id: I4265822b7d33417b87b3e7e3f49250ac5d2ecdda
2011-12-06Remove toggleSymbolsShift and rename toggleKeyboardModeTadashi G. Takaoka2-42/+47
Bug: 5708602 Change-Id: Iadef3e862d00505d1d9f588d0d64445754d7b962
2011-12-06Move KeyboardShiftState to KeyboardStateTadashi G. Takaoka4-117/+119
Bug: 5708602 Change-Id: Idfe69978972bb674e0f360ef5e324739e2652d25
2011-12-06Refactor reflection membersatok1-7/+7
Change-Id: I112dbf851e10dae9e4291cf440f01b28d51180f4
2011-12-06Make Keyboard.setShifted return voidTadashi G. Takaoka5-25/+15
Bug: 5708602 Change-Id: If8150f62fbab864344f59853850ff3213c27940e
2011-12-05Minor refactoring of KeyboardTadashi G. Takaoka4-29/+18
* Remove isAlphaKeyboard(). * Remove isPhoneKeyboard(). * Remove getKeyboardShiftState(). Bug: 5708602 Change-Id: I8bf5009bf499ecb0501d1379f72e43406080062a
2011-12-05Add support for Russian spell checking.Jean Chalard2-18/+69
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
2011-12-05Merge setManualTemporaryUpperCase and setAutomaticTemporaryUpperCaseTadashi G. Takaoka1-18/+19
Bug: 5708602 Change-Id: I6a0b5f0dcccbb6331a271cd61a48c474a7800289
2011-12-05Renaming KeyboardSwitcher.getPointerCount to isSinglePointerTadashi G. Takaoka3-41/+49
Bug: 5708602 Change-Id: If44ed4449a3ea79228e25e2ab2c8c8fe82a93a2b
2011-12-05Make ModifierKeySatate and ShiftKeyState non-public classTadashi G. Takaoka3-4/+4
Bug: 5708602 Change-Id: I149c2dab26774686e5c578bbf780081e9fb30e7c
2011-12-05Add KeyboardState to host shift and symbol key statesTadashi G. Takaoka2-60/+180
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
2011-12-05Fix a field value for the suggestion max sizesatok1-3/+3
Bug: 5574747 This bug was introduced by I5e40edf6f790c078c4a05d Change-Id: I5b0f51e1f5e8a12d786657167082bc604089505e
2011-12-05Ignore releasing shift key caused by long pressTadashi G. Takaoka1-2/+2
Bug: 5694715 Change-Id: If7b84f547f5701e84d740f186d284273565b7eba
2011-12-01Import revised translations. DO NOT MERGEEric Fischer1-6/+6
Change-Id: I83fbe8ae8f2630e8dd049b534adf397f0fe18462
2011-12-01Use Iterator in PointerTrackerQueueTadashi G. Takaoka1-26/+25
Change-Id: Ia5ad7d4511b2f2db056f2acf7cc0e002001e2123
2011-12-01Fix debug messages neatlyTadashi G. Takaoka2-20/+37
Change-Id: I40538d5ffbdf64df4e2848de33393327d704fc1e
2011-12-01Fix potential NPETadashi G. Takaoka1-1/+2
Change-Id: I00e7cd521bafd2705ebc2a59d63b7bfc4fe178ba
2011-11-30Add Key.altCode attributeTadashi G. Takaoka8-60/+111
* 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
2011-11-30Add an option to use contacts or not while spell checkingJean Chalard5-23/+112
Bug: 5447495 Change-Id: Iffb09895676c3dd1a79d1699b0eac865282508d4
2011-11-29Import revised translations. DO NOT MERGEEric Fischer3-7/+7
Change-Id: I97c739302c1f2ba14d70c31c8ab620b4b435139f
2011-11-29Import revised translations.Eric Fischer5-19/+19
Change-Id: I22f516d922078cf0e26898da7af59ac4fa4b35a8
2011-11-29Get rid of usage of key indexTadashi G. Takaoka9-196/+172
Change-Id: I7596ce3ae52fde436d06c2dd95ae873c7aa5ef7f
2011-11-29Resume suggestion when backspacing to the end of a wordJean Chalard4-20/+120
Bug: 5515381 Change-Id: I26fea896feaf2e9716c7ae3d4f2630360f23ac50
2011-11-29Keep count of the trailing single quotes for suggestionsJean Chalard3-23/+40
Bug: 5665809 Change-Id: I4d9100dbe980861ccb55c78464524be670cac1f7
2011-11-29Save keyboard layout only when it is shownTadashi G. Takaoka1-1/+3
Bug: 5130446 Change-Id: I150b4a053036eae050099155169325f0d1f7dfed
2011-11-29Support Baltic languagesTadashi G. Takaoka4-17/+85
This change supports Estonian, Latvian, and Lithuanian languages keyboard. Bug: 5627326 Change-Id: Iaaa966e4164f9593f143e79736c8ec7befc2a5ce
2011-11-22Introduce ignoreWhileTyping flags to Key.keyActionFlagsTadashi G. Takaoka7-24/+32
Bug: 5639503 Change-Id: Ic2afad6766edb2538a58f722209e2daa40aa488d
2011-11-22Move ignore special key code out from LatinIME to PointerTrackerTadashi G. Takaoka3-37/+48
Bug: 5560766 Bug: 5639503 Change-Id: I34c9eea833516adf6ef1db58f1a64a5ef5322fa9
2011-11-22Fix a bug with single quotesJean Chalard1-4/+3
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
2011-11-21Add Key.keyActionFlags and obsolete Key.isRepeatableTadashi G. Takaoka36-192/+185
This change also renames Key.keyLabelOption to keyLabelFlags. Change-Id: Iedd0bfaa420ad382c07ce084416355690e390919
2011-11-21Fixed typing uppercase letters when touch exploration is enabled.Alan Viverette1-10/+11
Bug: 5652774 Change-Id: Id8cd37b3ff93b45f4f18198bbbb827aadf945b02
2011-11-21Pending onStartInputView only if the EditorInfo is identicalTadashi G. Takaoka6-61/+64
Bug: 5604372 Change-Id: I2a88cf15b07eebd29e43e460f6ec758432181b01
2011-11-21Import revised translations. DO NOT MERGEEric Fischer1-8/+8
Change-Id: I3dd6c61ed17bfd845d5b3954c194b26970f3e7c2
2011-11-21Remove an unused (and scary) methodJean Chalard1-5/+0
Change-Id: I14a545a3e4955a25fde17554156552c755d44e2f