Home
last modified time | relevance | path

Searched refs:keyboardLayout (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutTest.java34 KeyboardLayout keyboardLayout = KeyboardLayout in testNewKeyboardLayout() local
37 assertEquals(11, keyboardLayout.mMostCommonKeyWidth); in testNewKeyboardLayout()
38 assertEquals(12, keyboardLayout.mMostCommonKeyHeight); in testNewKeyboardLayout()
39 assertEquals(13, keyboardLayout.mKeyboardWidth); in testNewKeyboardLayout()
40 assertEquals(14, keyboardLayout.mKeyboardHeight); in testNewKeyboardLayout()
42 assertEquals(0, keyboardLayout.getKeyCodes().length); in testNewKeyboardLayout()
43 assertEquals(0, keyboardLayout.getKeyWidths().length); in testNewKeyboardLayout()
44 assertEquals(0, keyboardLayout.getKeyHeights().length); in testNewKeyboardLayout()
45 assertEquals(0, keyboardLayout.getKeyXCoordinates().length); in testNewKeyboardLayout()
46 assertEquals(0, keyboardLayout.getKeyYCoordinates().length); in testNewKeyboardLayout()
[all …]
DKeyboardLayoutSetTestsBase.java126 final String keyboardLayout) { in getSubtype() argument
130 if (locale.equals(subtypeLocale) && keyboardLayout.equals(subtypeLayout)) { in getSubtype()
140 locale.toString(), keyboardLayout); in getSubtype()
144 "Unknown subtype: locale=" + locale + " keyboardLayout=" + keyboardLayout); in getSubtype()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DKeyboardLayoutDialogFragment.java165 KeyboardLayout keyboardLayout = mAdapter.getItem(which); in onKeyboardLayoutClicked() local
166 if (keyboardLayout != null) { in onKeyboardLayoutClicked()
168 keyboardLayout.getDescriptor()); in onKeyboardLayoutClicked()
314 KeyboardLayout keyboardLayout = im.getKeyboardLayout(keyboardLayoutDescriptor); in loadInBackground() local
315 if (keyboardLayout != null) { in loadInBackground()
316 keyboards.keyboardLayouts.add(keyboardLayout); in loadInBackground()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutDialogFragment.java165 KeyboardLayout keyboardLayout = mAdapter.getItem(which); in onKeyboardLayoutClicked() local
166 if (keyboardLayout != null) { in onKeyboardLayoutClicked()
168 keyboardLayout.getDescriptor()); in onKeyboardLayoutClicked()
314 KeyboardLayout keyboardLayout = im.getKeyboardLayout(keyboardLayoutDescriptor); in loadInBackground() local
315 if (keyboardLayout != null) { in loadInBackground()
316 keyboards.keyboardLayouts.add(keyboardLayout); in loadInBackground()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DLanguageOnSpacebarUtils.java58 final String keyboardLayout = subtype.getKeyboardLayoutSetName(); in getLanguageOnSpacebarFormatType() local
62 if (keyboardLanguage.equals(language) && keyboardLayout.equals( in getLanguageOnSpacebarFormatType()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardBuilder.java532 int keyboardLayout = 0; in parseIncludeInternal() local
537 keyboardLayout = keyboardAttr.getResourceId( in parseIncludeInternal()
553 mResources.getResourceEntryName(keyboardLayout)); in parseIncludeInternal()
555 final XmlResourceParser parserForInclude = mResources.getXml(keyboardLayout); in parseIncludeInternal()