aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * KeyboardState unit tests for non-distinct multitouch deviceTadashi G. Takaoka2012-01-163-1/+316
| | | | | | | | | | Bug: 5708602 Change-Id: Id85db2f8b7b427ba62205f5aaad481a3d33e65fc
* | Add more KeyboardState unit test casesTadashi G. Takaoka2012-01-161-24/+318
|/ | | | | Bug: 5708602 Change-Id: Ib9d2b7a2878f78adecc857fd569fba8965cf4a03
* Add auto caps function simulation to MockKeyboardSwitcherTadashi G. Takaoka2012-01-161-6/+10
| | | | Change-Id: I049c224994a37121de031b9fd61edb52eb912e20
* Make MockKeyboardSwitcher top level classTadashi G. Takaoka2012-01-162-105/+152
| | | | Change-Id: I52c1bc237c20b8bd49fca2431b83843a6e2af10b
* Update shift state when alphabet keyboard has been setTadashi G. Takaoka2012-01-161-1/+5
| | | | | Bug: 5857492 Change-Id: I5ef78af21a76e8cf645e223d1ffa6212690bb1eb
* Merge "Cleanup KeyboardStateTests a bit"Tadashi G. Takaoka2012-01-151-40/+85
|\
| * Cleanup KeyboardStateTests a bitTadashi G. Takaoka2012-01-161-40/+85
| | | | | | | | | | | | Move test target KeyboardState into MockKeyboardSwitcher. Change-Id: I0998a5306a59e777360df9d1321b545313b939f9
* | Use KeyboardSet for unit testTadashi G. Takaoka2012-01-135-19/+25
|/ | | | Change-Id: I6a08e04628bac0222140e5b1b108f6bcb39859a2
* Merge "Fix SuggestTests"Tadashi G. Takaoka2012-01-131-2/+3
|\
| * Fix SuggestTestsTadashi G. Takaoka2012-01-131-2/+3
| | | | | | | | | | | | | | We need revised scoring test because dictionary look up algorithm has been changed significantly since this SuggestTests was made. Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8
* | Merge "Cleanup UtilsTests"Tadashi G. Takaoka2012-01-121-2/+0
|\ \
| * | Cleanup UtilsTestsTadashi G. Takaoka2012-01-131-2/+0
| |/ | | | | | | Change-Id: I5631d010194423fd3d9c216db760ffa726131977
* | Merge "Fix UserBigramSuggestTests"Tadashi G. Takaoka2012-01-121-1/+1
|\ \
| * | Fix UserBigramSuggestTestsTadashi G. Takaoka2012-01-131-1/+1
| |/ | | | | | | Change-Id: I3363fba44ee70876fd7ba8e27c6ca3c83753b53a
* / Fix SubtypeLocaleTestsTadashi G. Takaoka2012-01-131-31/+18
|/ | | | Change-Id: Id85814aa3bcd9cacbe446b2dfda3ca2ab9146c13
* Move auto correction thresthold to the native codesatok2012-01-121-9/+9
| | | | | | bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
* Get rid of Keyboard.CODE_DUMMYTadashi G. Takaoka2012-01-101-41/+41
| | | | Change-Id: Id2320f4d9b5f22f0ac844ab20ce42b0c4e7c6880
* Call KeyboardState.onUpdateShiftState from onCodeInput if code is a normal ↵Tadashi G. Takaoka2012-01-101-6/+7
| | | | | | | | letter This will be helpful to write unit test code. Change-Id: Ib61cc46ac547084e0dc9ecd3a50814fecf08ace2
* Move KeyboardBuilder and KeyboardParams classes into Keyboard classTadashi G. Takaoka2011-12-181-4/+2
| | | | | | | This change also moves XmlParseUtils to com.android.inputmethod.latin package. Bug: 5778201 Change-Id: I7d9faa344460753ce178ad4048e0fadb65c75614
* Remove LatinKeyboard classTadashi G. Takaoka2011-12-181-4/+8
| | | | Change-Id: I68c667b00dadf2ed9f1c62fb7da37d2cf499cd81
* Move KeyboardSwitcher.getKeyboard to KeyboardSetTadashi G. Takaoka2011-12-162-5/+6
| | | | | | | | This change also gets rid of XML id from KeyboardId. Bug: 5002108 Bug: 5679585 Change-Id: I7086c7da3c01ba4ade7f77ee5cc731310da46404
* Fix broken buildTadashi G. Takaoka2011-12-161-1/+2
| | | | Change-Id: I84c20db21e13422817cfb85af522feaa5295626a
* Remove EditorInfo from KeyboardIdTadashi G. Takaoka2011-12-141-2/+1
| | | | Change-Id: I70919ff30622afa1d8c29ca45589fa617f2c1f0e
* Cleanup settings key related stuffTadashi G. Takaoka2011-12-141-1/+1
| | | | Change-Id: Ie0d1204e94fcdf9d578974256bf2ae3e87797f13
* Utilize KeyboardSet XML definitionsTadashi G. Takaoka2011-12-141-4/+3
| | | | | | | | | This change introduces KeyboardSet and SubKeyboard XML definitions to represent a set of keyboard layouts. Bug: 5002108 Bug: 5679585 Change-Id: Ib6c8d5936187381bb6725c9fe574e93871c01a86
* Add unit test of KeyboardStateTadashi G. Takaoka2011-12-121-0/+260
| | | | | Bug: 5708602 Change-Id: I1a8a9f4320948bb500a96df8773b0bfa1a1d4167
* Stop a flag from escaping.Jean Chalard2011-12-092-12/+15
| | | | | | | 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
* Get rid of usage of key indexTadashi G. Takaoka2011-11-291-1/+0
| | | | Change-Id: I7596ce3ae52fde436d06c2dd95ae873c7aa5ef7f
* Resume suggestion when backspacing to the end of a wordJean Chalard2011-11-291-18/+1
| | | | | Bug: 5515381 Change-Id: I26fea896feaf2e9716c7ae3d4f2630360f23ac50
* Fix a bug with the whitelistJean Chalard2011-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This bug would kill the case where the whitelist contains a word to be autocorrected to an uppercased version of itself, and the user would enter the uppercase version. In this case, this bug would cause the typed word to be killed off the list of candidates, and possibly autocorrected to the *next* candidate. When the whitelist checks whether this the typed word is a candidate for whitelisting, this change has it check whether the whitelisting results in the typed word before returning. Hence, it can keep the case-insensitive behavior of the whitelist. Coincidentally, this change renames the method used to do this, because it does not comply with the general contract of Dictionary. This happens to be in the way of another upcoming change. Bug: 5420371 Change-Id: Ifb305271acc5f171adf9b18c762ae7975b14be0a
* Make the whitelist an instanciable class.Jean Chalard2011-10-064-9/+14
| | | | | | | | This goes together with I6b8628b9acc32449e4147a2a754b222fbb76c754 or it will break the build Bug: 5402436 Change-Id: I07c6266b713773a8de80bb22afdd4c566261f78a
* Remove code related to AutoTextsatok2011-10-032-10/+9
| | | | | | Bug: 5245751 Change-Id: Ic02f951e8e1dbde9d8964d2c16e4928fb374ca41
* Rename PopupCharactersParser to MoreKeySpecParserTadashi G. Takaoka2011-08-311-9/+9
| | | | | | Also renames PopupPanel to MoreKeysPanel Change-Id: I37209a5a8fe7dbba1eef03e3be88ba5253653926
* Move locale-related utility methods to LocaleUtils.Jean Chalard2011-08-291-2/+2
| | | | Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e
* Refactor and rename popup mini keyoard related classesTadashi G. Takaoka2011-08-231-2/+2
| | | | Change-Id: Ia92ec4612090b03829db9a87ce68d701db6e15bc
* Code cleanupKen Wakasa2011-08-161-134/+0
| | | | Change-Id: I7df8c813038adec750eda260740bcc8a4da41acf
* Create a way to pass the proximity info to the dictionaryJean Chalard2011-08-042-10/+17
| | | | | | This is a preparative change for inserting the spell checker. Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7
* Cleanup Keyboard related code and rename some classesTadashi G. Takaoka2011-08-022-83/+81
| | | | | | | This is a follow up change of I90ffbde0 Bug: 5023981 Change-Id: I3a6b862d05f5f907dee954cd6d6fee983b20ab5e
* Make Keyboard object immutable except shift stateTadashi G. Takaoka2011-08-011-3/+3
| | | | | | | This is the first step to implement suggestions pane as mini keyboard. Bug: 5023981 Change-Id: I90ffbde0fda19b4be68add449310997b56bf6904
* Add orientation to regression testsTadashi G. Takaoka2011-08-014-10/+25
| | | | Change-Id: Iaf2cb7841c4622eedeb4bf880d55988bfa61e823
* Remove enableShiftLock attribute from KeyboardIdTadashi G. Takaoka2011-07-281-1/+1
| | | | | | | This change is a follow up of Ia72de236. Bug: 4311428 Change-Id: I0ad0f1fb93545ceb40df8dffe377240b020c2602
* Remove swipe gestureTadashi G. Takaoka2011-07-081-154/+0
| | | | | Bug: 4971680 Change-Id: Ifff27f3bd3dd26417bfcb7072aaba074025b1bb7
* Move key hysteresis distance parameter to KeyDetector classTadashi G. Takaoka2011-07-041-2/+2
| | | | | Bug: 4768084 Change-Id: Ib8771afd7363a4a5590b2b4a586e3014c026be34
* Remove top padding parameter from MiniKeyboardBuilder constructorTadashi G. Takaoka2011-07-021-75/+75
| | | | | | | To keep unit test simple, instead of specifying top padding in the constructor, make separate setter for it. Change-Id: I8870622cc1bd97420637b8c465bdb6c9dd366062
* Add top padding to mini keyboardTadashi G. Takaoka2011-07-011-75/+75
| | | | | | | | Because Key only has bottom padding, to make mini keyboard vertically symmetric and looks nicer, we should add mini keyboard top padding that equals to Key bottom padding (a.k.a. vertical gap). Change-Id: Icceb687d50edfa48e0f0830a60a1e230836c982f
* Merge "Fix "Show settings key" option on 7" device"Tadashi G. Takaoka2011-06-231-1/+1
|\
| * Fix "Show settings key" option on 7" deviceTadashi G. Takaoka2011-06-241-1/+1
| | | | | | | | | | | | | | Cherry-pic I993ac772 from Honeycomb-MR2. Bug: 4586882 Change-Id: Ie74138523a3ae7958c7bec674c49aa0ab1a72d05
* | Move Key class out of internal packageTadashi G. Takaoka2011-06-231-1/+1
|/ | | | | Bug: 4903326 Change-Id: I2493d6dae613d2e37dfa8ce96b4cddc9a038160c
* Remove colorScheme attribute from KeyboardViewTadashi G. Takaoka2011-06-221-5/+4
| | | | Change-Id: I9de118e8be60b9a6fe1aecc00332ba08872db918
* Move icon declaration to Keyboard themeTadashi G. Takaoka2011-06-221-135/+146
| | | | | Bug: 4436327 Change-Id: I074014d28dcb323b60dbc8fd9e169c75c393e0b3