summaryrefslogtreecommitdiff
path: root/tests/src/com/android/inputmethod/keyboard/KeyboardLayoutSetTestsBase.java
Commit message (Collapse)AuthorAgeFilesLines
* Handle null InputMethodSubtype.Dan Zivkovic2015-03-061-1/+1
| | | | | | Bug 19627494. Change-Id: I50dc77c59ced0f2e7c07a49ae0cb040197c2ab35
* Revert "Add keyboard margin options to place the keyboard dynamically."Tadashi G. Takaoka2014-12-091-1/+1
| | | | | | | | This reverts commit 8584db1461d286f8eb966c40eb0bc76e8c9df76a. Bug: 18675223 Bug: 18675476 Change-Id: I4e25d87ac261c44b1943df832115f8cca690103a
* Add keyboard margin options to place the keyboard dynamically.Andy Wang2014-12-051-1/+1
| | | | | | | Keyboard location and location can now be set in the debug options section. Change-Id: I87c5a1d679489e12dccf26632c399af28087629e
* Remove unneeded Context argumentTadashi G. Takaoka2014-11-211-1/+1
| | | | Change-Id: Ib34931836a617d0dc049fb3c9ae6686374ec8c12
* Fix Serbian Latin subtype handlingTadashi G. Takaoka2014-10-281-15/+13
| | | | | | | | This CL also adds unit tests for Hinglish and Serbian Latin. Bug: 9687668 Bug: 17169632 Change-Id: Ib9aa1bcdf5b390a9d8c61f07165beacf850e2692
* Fix NPE in AppearanceSettingsFragmentTadashi G. Takaoka2014-10-281-3/+2
| | | | | Bug: 18147440 Change-Id: I7a7a47b3484e54146d34d11b5bd9c1305421d829
* Move Constants.java to the latin.common packageKen Wakasa2014-10-231-1/+1
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* Introduce subtype filter to unit testTadashi G. Takaoka2014-09-251-20/+53
| | | | Change-Id: I3de573ffa38c46b78e1f8a602f99c49c164516f0
* Start showing the split keyboard layoutSandeep Siddhartha2014-09-171-3/+4
| | | | | | | | | | | Change [3/3] Added tests for Qwerty/en-US/split Parse the switch-case statement from KeyboardBuilder to use the right layout. Bug: 4968173 Change-Id: If4d6d71d5900525290268d8affa55dccf1ebd4f2
* Revert "Revert "Fall back to default keyboard theme""Tadashi G. Takaoka2014-09-171-1/+1
| | | | | | This reverts commit 821486ba8b7a8e2d1a8f31846af456faf076d126. Change-Id: If0285c87edcd5f7d3c5449026953a74bf1125f65
* Revert "Fall back to default keyboard theme"Tadashi G. Takaoka2014-09-171-1/+1
| | | | | | This reverts commit 6ed8b183262063d009e3bb2264e2fe04d780dea3. Change-Id: I48f775e54f4077e556b26bc0146bc918421c6845
* Fall back to default keyboard themeTadashi G. Takaoka2014-09-171-1/+1
| | | | | Bug: 17537884 Change-Id: I3452d6d4a5837c6b2d417c8d256c121df86131cc
* am 82c8696f: am c7b8858e: am 6ba84dcd: Merge "Refactor action label/icon ↵Tadashi G. Takaoka2014-09-051-0/+1
|\ | | | | | | | | | | | | definitions" into lmp-dev * commit '82c8696f526d3ab121a7e8d188acf30ce6ae8e9c': Refactor action label/icon definitions
| * Refactor action label/icon definitionsTadashi G. Takaoka2014-09-051-0/+1
| | | | | | | | | | Bug: 15782668 Change-Id: Ibf1205d46e9293d516a56030ba10841128f57450
* | am aadb7a0e: am 5f19606d: Add action label tests in other locale than subtype\'sTadashi G. Takaoka2014-08-281-6/+6
|\| | | | | | | | | * commit 'aadb7a0e03c22865f3af631e437202464aefb3f2': Add action label tests in other locale than subtype's
| * Add action label tests in other locale than subtype'sTadashi G. Takaoka2014-08-281-6/+6
| | | | | | | | | | | | | | This unit test can catch the bug: 17310080. Bug: 17310080 Change-Id: I931561217647fd558929b954ee1ef58c1d49df07
* | am 129af927: am 5e7a6fe0: Merge "Fix the bottom row of tablet keyboard ↵Tadashi G. Takaoka2014-08-251-2/+2
|\| | | | | | | | | | | | | layout" into lmp-dev * commit '129af92713c59016d13b957e55ce089984ccc4e8': Fix the bottom row of tablet keyboard layout
| * Fix the bottom row of tablet keyboard layoutTadashi G. Takaoka2014-08-251-2/+2
| | | | | | | | | | | | | | | | | | This CL eliminates "_" and "/" keys from the bottom row of tablet keyboard. This CL also reorganizes the bottom row of tablet Dvorak keyboard. Bug: 16603887 Change-Id: Ic1570836dea1a475bed5d43aeb6a351507bf5428
* | Revert "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard2014-08-251-1/+2
| | | | | | | | | | | | | | | | This reverts commit a63d0a8ee6cb05bcddb69bf9a6018853d89d886a. This patch seems to be fine after all, but was submitted without its companion [ML1.1] patch causing a build breakage. Reverting the revert and submitting both at the same time seems like the right thing to do. Change-Id: Ib8fefa40b74dcee0edb025a52dac9b35c82d49df
* | Revert "[ML1] Introduce RichInputMethodSubtype"Jean Chalard2014-08-221-2/+1
| | | | | | | | | | | | This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
* | [ML1] Introduce RichInputMethodSubtypeJean Chalard2014-08-221-1/+2
|/ | | | | Bug: 11230254 Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
* Additional subtype ID should be independent of OS-versionYohei Yukawa2014-07-041-2/+2
| | | | | | | | | | | | | | | | | | | | | This CL consolidates the initialization logic for additional subtypes so that each additional subtypes can have predictable subtype ID regardless of OS version. Previously subtype IDs for additional subtypes are calculated differently depending on the running OS version with hoping it minimizes the risk of compatibility issues. However, it is getting harder and harder to maintain slightly different logic between OSes. Thus we decided to unify the logic into that in KitKat even though it may causes some breaking changes. Note that the actual extra values that are used to instantiate InputMethodSubtype object are still determined on the fly depending on the running OS version. However these actual extra values are no longer used for the subtype ID calculation. BUG: 16000850 Change-Id: Id3c262386a7bc7ed75966b1395a50171abe550d3
* Remove unused supportsSwitchingToShortcutIme attributeTadashi G. Takaoka2014-06-061-5/+6
| | | | Change-Id: I51c5247ac925a158facb79057f704b763b903552
* Add action key test for Lxx themeTadashi G. Takaoka2014-06-061-6/+5
| | | | Change-Id: I849cec7deb5607e8ce8fb25c1f903f15328fb611
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-6/+3
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Refactor KeyboardThemeTadashi G. Takaoka2014-05-121-4/+4
| | | | | | | | | | | | | | | | | | | | | This CL introduces two preference keys in addition to the existing one. - pref_keyboard_theme: The new preference key that is used only in the preference settings. - pref_keyboard_layout_20110916: The previous preference key that holds keyboard color scheme settings. This is superseded by the next key. - pref_keyboard_theme_20140509: The new preference key that holds keyboard theme settings. This value is forcibly reset to LMP theme on a LMP device. On a KitKat and previous device, the settings of the pref_keyboard_layout_20110916 is carried on into this preference. This CL must be checked in together with Id7b3ddd8aa. Change-Id: I2d55602d026e30b38d8f822d2124f5c5e4a9a812
* Revert "Refactor KeyboardTheme"Ken Wakasa2014-05-091-4/+4
| | | | | | | | This reverts commit 19688b584bb903192559196a0e3836bc4c957696. Build breakage. Change-Id: I95d4be1578824eaee5a2fb08ec277250727ac668
* Refactor KeyboardThemeTadashi G. Takaoka2014-05-091-4/+4
| | | | | | | | | | | | | | | | | | | | | This CL introduces two preference keys in addition to the existing one. - pref_keyboard_theme: The new preference key that is used only in the preference settings. - pref_keyboard_layout_20110916: The previous preference key that holds keyboard color scheme settings. This is superseded by the next key. - pref_keyboard_theme_20140509: The new preference key that holds keyboard theme settings. This value is forcibly reset to LMP theme on a LMP device. On a KitKat and previous device, the settings of the pref_keyboard_layout_20110916 is carried on into this preference. This CL must be checked in together with Ifcedeabbec. Change-Id: Ibe75146e2c1c7eebf964ca86550baf244fedb79a
* Use KeyboardTheme id insteand of indexTadashi G. Takaoka2014-04-141-1/+1
| | | | | | | This CL must be checked in together with I771216f8bd. Bug: 14042743 Change-Id: I45c3acf9242985fb03721a9a6d377fbccc8e2019
* Refactor KeyboardTheme as top-level classTadashi G. Takaoka2014-04-141-2/+1
| | | | | | | This CL should be checked in together with I63e33388f9. Bug: 14042743 Change-Id: I13f0a45bac6f19e006bf1280a36173e52d6d7160
* Guard possible NumberFormatExceptionTadashi G. Takaoka2014-03-181-1/+1
| | | | | Bug: 13472379 Change-Id: Ib7640b3d8816d8d7fb4747d2288eedd94bc49b06
* Separate flaky unit test from KeyboardLayoutSetTestsBaseTadashi G. Takaoka2014-03-041-27/+9
| | | | | | | | Move the flaky unit test to KeyboardLayoutSetSubtypesCountTests. Bug: 13291370 Bug: 13017434 Change-Id: I2144be4cc6b8215b895c45f47a5190fdeaa806f9
* Add additional subtypes testTadashi G. Takaoka2014-03-031-0/+12
| | | | Change-Id: I2994fd72bc284c84757f5a2bfa8045aa574a8fbc
* Fix unit test message to use 0-based indexTadashi G. Takaoka2014-03-031-1/+1
| | | | Change-Id: I2c91628d21dc96712f6cbea996f28f5d39fb402e
* Add unit test message for KeyboardLayoutSetTestsTadashi G. Takaoka2014-02-281-2/+15
| | | | Change-Id: Ia92e4b410ca966d2dc1c5f29a340d366aa066838
* Name constants of the number of subtypes.Tadashi G. Takaoka2014-02-271-14/+11
| | | | | | | This is a follow up CL of Ief028e8ab5. Bug: 13017434 Change-Id: Idf0a47300c208b9904ffcc8b64d97a43b4d708ae
* Add keyboard layout set testsTadashi G. Takaoka2014-02-261-0/+135
This CL is a ground work to add keyboard layout labels and more keys tests. Bug: 13017434 Change-Id: Ief028e8ab563d79bc0b0f9c06f1fe1d645a6469d