aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-12-09Add a functionality to attach a log file to Gmail appsatok1-27/+85
Bug: 5722703 Change-Id: I089f944bdbf2cbb036eb59dd9b5b414370c770f1
2011-12-09Resolve TODOs: add members to hold preferencesJean Chalard1-3/+9
Change-Id: I34f6c76bf9318e1fbe8eb5ffab6772a98ff824e0
2011-12-09Remove unused public methods from KeyboardState and KeyboardSwitcherTadashi G. Takaoka3-75/+42
Bug: 5708602 Change-Id: I3dbc3cd00aa9ddf611e2078ff2cfea8945fa09bf
2011-12-09Resolve TODOs: add some members to store prefsJean Chalard2-11/+21
Change-Id: Idf09cb5d801e8008eb63cbb5138058faeb7db136
2011-12-09Resolve TODOs: add members to store raw settingsJean Chalard1-17/+17
Change-Id: I481eadb6a73faf239e24d05b7e220fcb01194fa4
2011-12-09Read options in the declaration orderJean Chalard1-3/+2
Change-Id: I1a7c4d0bcaedad6d4045c36c79280c23234db5b3
2011-12-09Straighten out prefs reading codeJean Chalard2-20/+31
Change-Id: Ibf9113a8ef07ac720100ee32d2e5ef321e8ddd98
2011-12-09Straighten out members extracted from resources.Jean Chalard1-23/+29
Change-Id: I9b9602ec5b379b44b0f0663d4f065dbcf88fd352
2011-12-09Match constant names to option namesJean Chalard2-28/+28
Change-Id: I7586fa342d7a39412d656890f7b525139c45ea4a
2011-12-09Reorder members in SettingsValues.Jean Chalard2-32/+33
Reorder so that they match the order in the preference xml file. Also add TODOs for missing raw variables. Change-Id: I06332c131a624d6c359512d75c808f3f7313fa91
2011-12-09Move settings variables to the settings classJean Chalard3-21/+18
Change-Id: Ifa7033a84b08ea626eb44cf6d04ba8e28c250bea
2011-12-09KeyboardState keeps track of isAlphabetMode and isSymbolShiftedTadashi G. Takaoka2-71/+70
Bug: 5708602 Change-Id: I181cdeb90d24984ce6f6c993b278293aae7364eb
2011-12-09Stop a flag from escaping.Jean Chalard4-33/+26
The ultimate intent is to close it up in the settings, as it does not change while typing, only when the keyboard is open again. Change-Id: I12ff56e7482c1584877fe5531473bf03e95a60f6
2011-12-09Move settings method from Utils to SettingsValuesJean Chalard4-42/+42
Change-Id: I633378a41f63cd492b8c9345d550e07254df5e5a
2011-12-09Show usability study mode for research purposessatok3-6/+20
Bug: 5722703 Change-Id: I27acc374c5d4b52707708b83689dea5d78a573d7
2011-12-09Cleanup debug logging codeTadashi G. Takaoka4-47/+67
Change-Id: If806d61c5945d319c89d9cc127e09f98b7b10a4e
2011-12-09Get rid of public KeyboardState.setShifted and setShiftLockedTadashi G. Takaoka2-34/+46
Bug: 5708602 Change-Id: I98bcca7d3e9dd88f034d0faecada76902b2d0dff
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