aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Move MoreKeySpecParser.getResourceId to UtilsTadashi G. Takaoka2012-01-201-1/+1
| | | | | | | | | | | | Change-Id: I0640dbe76a8ff2dc45b504eca631942811571736
* | | Merge "Change more key specification type to String from CharSequence"Tadashi G. Takaoka2012-01-201-5/+2
|\ \ \ | |_|/ |/| |
| * | Change more key specification type to String from CharSequenceTadashi G. Takaoka2012-01-201-5/+2
| |/ | | | | | | Change-Id: I5e910f8225a248fc6403771836dec4c0b7294caa
* / Add the first tests for the input login in LatinIME classJean Chalard2012-01-201-0/+106
|/ | | | Change-Id: Ifcf9ab55ee01bf7c6c6829e699246e5654975456
* Fix KeyboardState switching back from alphabet-chording input correctlyTadashi G. Takaoka2012-01-191-10/+9
| | | | | Bug: 5881820 Change-Id: I108bbc25baa331cc87f00955b48188b3557d10dd
* Fix KeyboardState to pass KeyboardStateMultiTouchTestsTadashi G. Takaoka2012-01-191-14/+11
| | | | Change-Id: If2b9ee7cf3fad7633d64b98758f802792d66f7a8
* Cleanup KeyboardState a bitTadashi G. Takaoka2012-01-191-2/+4
| | | | | | Rename KeyboardShiftState variable and reorder some statements. Change-Id: I7e8842836f35876f8697f9906343f7d4a1f9db4f
* Fix MoreKeySpecParser to be able to handle outputText correctlyTadashi G. Takaoka2012-01-191-39/+39
| | | | | | | The issue was introduced by Id2320f4d. Bug: 5887936 Change-Id: Ifec3aefb5b168f790de696ece104b84cdab46539
* Add more multitouch testsTadashi G. Takaoka2012-01-184-34/+220
| | | | Change-Id: I424a4b608fec084cb787003ef4417ccf273366ae
* Get rid of hasDistinctMultitouch reference from KeyboardStateTadashi G. Takaoka2012-01-184-19/+6
| | | | Change-Id: I0a783a425302fbc381d056f5b0d757c27f2a9f14
* Add KeyboardStateTestsBase and helper methodsTadashi G. Takaoka2012-01-184-402/+288
| | | | Change-Id: I17d908b60bbf784dae7add8355f699a63f7eb90a
* Remove KeyboardSwicther.toggleCapslockTadashi G. Takaoka2012-01-173-13/+3
| | | | Change-Id: Id613c06e2df770659095d78d42637aed063d0c70
* Rename KeyboardActionListener methodsTadashi G. Takaoka2012-01-173-115/+143
| | | | | | | | | | | * Rename KeyboardActionListener.onPress to onPressKey * Rename KeyboardActionListener.onRelease to onReleaseKey * Merge KeyboardSwicther.onPressShift, onPressSymbol, and onPressOtherKey to onPressKey. * Merge KeyboardSwitcher.onReleaseShift and onReleaseSymbol to onReleaseKey. * Merge KeyboardState.onPressShift, onPressSymbol, and onPressOtherKey to onPressKey. * Merge KeyboardState.onReleaseShift and onReleaseSymbol to onReleaseKey. Change-Id: Icf28fd18e238c5e534c292893e4ab5b6b98e72f8
* Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcherTadashi G. Takaoka2012-01-173-472/+188
| | | | Change-Id: I9bb8f78b0a766cd7937d5cbe1c1e5e35898b2997
* Remove redundant permission tagTadashi G. Takaoka2012-01-161-2/+0
| | | | Change-Id: I717e2fc9dca13096d76c159f8c3bebff065c6ca1
* Merge "KeyboardState unit tests for non-distinct multitouch device"Tadashi G. Takaoka2012-01-163-1/+316
|\
| * 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-133-3/+4
|\
| * Fix SuggestTestsTadashi G. Takaoka2012-01-133-3/+4
| | | | | | | | | | | | | | 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
* Merge "Utilize KeyboardSet XML definitions"Tadashi G. Takaoka2011-12-131-4/+3
|\
| * 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
* | Reorganize LatinIME native build directory structure. Now it got NDK friendly.Ken Wakasa2011-12-131-0/+14
|/ | | | Change-Id: I0f62ce8a6a4d2b6134db698f8b8d0576616e524d
* 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