summaryrefslogtreecommitdiff
path: root/tests/src/com/android/inputmethod/keyboard/KeyboardLayoutSetTestsBase.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactor action label/icon definitionsTadashi G. Takaoka2014-09-051-0/+1
| | | | | Bug: 15782668 Change-Id: Ibf1205d46e9293d516a56030ba10841128f57450
* 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
* 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
* 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