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.java32 KeyboardLayout keyboardLayout = KeyboardLayout in testNewKeyboardLayout() local
35 assertEquals(11, keyboardLayout.mMostCommonKeyWidth); in testNewKeyboardLayout()
36 assertEquals(12, keyboardLayout.mMostCommonKeyHeight); in testNewKeyboardLayout()
37 assertEquals(13, keyboardLayout.mKeyboardWidth); in testNewKeyboardLayout()
38 assertEquals(14, keyboardLayout.mKeyboardHeight); in testNewKeyboardLayout()
40 assertEquals(0, keyboardLayout.getKeyCodes().length); in testNewKeyboardLayout()
41 assertEquals(0, keyboardLayout.getKeyWidths().length); in testNewKeyboardLayout()
42 assertEquals(0, keyboardLayout.getKeyHeights().length); in testNewKeyboardLayout()
43 assertEquals(0, keyboardLayout.getKeyXCoordinates().length); in testNewKeyboardLayout()
44 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/apps/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutDialogFragment.java166 KeyboardLayout keyboardLayout = mAdapter.getItem(which); in onKeyboardLayoutClicked() local
167 if (keyboardLayout != null) { in onKeyboardLayoutClicked()
169 keyboardLayout.getDescriptor()); in onKeyboardLayoutClicked()
327 KeyboardLayout keyboardLayout = im.getKeyboardLayout(keyboardLayoutDescriptor); in loadInBackground() local
328 if (keyboardLayout != null) { in loadInBackground()
329 keyboards.keyboardLayouts.add(keyboardLayout); in loadInBackground()
/packages/apps/Settings/src/com/android/settings/search/
DInputDeviceResultLoader.java103 final KeyboardLayout keyboardLayout = (keyboardLayoutDescriptor != null) in buildPhysicalKeyboardSearchResults() local
105 final String summary = (keyboardLayout != null) in buildPhysicalKeyboardSearchResults()
106 ? keyboardLayout.toString() in buildPhysicalKeyboardSearchResults()
/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()