Home
last modified time | relevance | path

Searched refs:elementId (Results 1 – 25 of 33) sorted by relevance

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetNavigateMoreKeysBase.java80 final int elementId, final int inputType, final int imeOptions, in doTestMoreKeysOf() argument
86 final Keyboard keyboard = layoutSet.getKeyboard(elementId); in doTestMoreKeysOf()
121 final int elementId, final int inputType) { in doTestNavigationMoreKeysOf() argument
123 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
127 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
131 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
135 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
139 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
143 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
147 doTestMoreKeysOf(code, subtype, elementId, inputType, in doTestNavigationMoreKeysOf()
[all …]
DKeyboardLayoutSetActionLabelBase.java75 final int elementId, final CharSequence label, final int iconId) { in doTestActionKey() argument
76 final Keyboard keyboard = layoutSet.getKeyboard(elementId); in doTestActionKey()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
DDvorak.java86 protected ExpectedKey getRow1_1Key(final boolean isPhone, final int elementId) { in getRow1_1Key() argument
87 if (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_1Key()
88 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getRow1_1Key()
94 protected ExpectedKey getRow1_2Key(final boolean isPhone, final int elementId) { in getRow1_2Key() argument
95 if (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_2Key()
96 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getRow1_2Key()
102 protected ExpectedKey getRow1_3Key(final boolean isPhone, final int elementId) { in getRow1_3Key() argument
103 if (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_3Key()
104 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getRow1_3Key()
111 public ExpectedKey[][] getLayout(final boolean isPhone, final int elementId) { in getLayout() argument
[all …]
DPcQwerty.java102 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
104 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED in getCommonAlphabetShiftLayout()
105 || elementId == KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCKED) { in getCommonAlphabetShiftLayout()
173 public ExpectedKey[][] getLayout(final boolean isPhone, final int elementId) { in getLayout() argument
174 if (elementId == KeyboardId.ELEMENT_SYMBOLS in getLayout()
175 || elementId == KeyboardId.ELEMENT_SYMBOLS_SHIFTED) { in getLayout()
178 return super.getLayout(isPhone, elementId); in getLayout()
DLayoutBase.java386 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
404 public ExpectedKey[][] getLayout(final boolean isPhone, final int elementId) { in getLayout() argument
405 if (elementId == KeyboardId.ELEMENT_SYMBOLS) { in getLayout()
408 if (elementId == KeyboardId.ELEMENT_SYMBOLS_SHIFTED) { in getLayout()
412 if (elementId == KeyboardId.ELEMENT_ALPHABET) { in getLayout()
416 final ExpectedKey[][] commonLayout = getCommonAlphabetShiftLayout(isPhone, elementId); in getLayout()
423 if (elementId != KeyboardId.ELEMENT_ALPHABET) { in getLayout()
DColemak.java45 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
47 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED in getCommonAlphabetShiftLayout()
48 || elementId == KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCKED) { in getCommonAlphabetShiftLayout()
DAzerty.java46 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
48 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED in getCommonAlphabetShiftLayout()
49 || elementId == KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCKED) { in getCommonAlphabetShiftLayout()
DGreek.java61 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
64 if (elementId == KeyboardId.ELEMENT_ALPHABET_MANUAL_SHIFTED in getCommonAlphabetShiftLayout()
65 || elementId == KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCK_SHIFTED) { in getCommonAlphabetShiftLayout()
DSinhala.java72 ExpectedKey[][] getCommonAlphabetShiftLayout(boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
73 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DLao.java82 final int elementId) { in getCommonAlphabetShiftLayout() argument
83 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DGeorgian.java65 final int elementId) { in getCommonAlphabetShiftLayout() argument
66 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DThai.java86 final int elementId) { in getCommonAlphabetShiftLayout() argument
87 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DNepaliRomanized.java63 ExpectedKey[][] getCommonAlphabetShiftLayout(boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
64 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DKhmer.java78 final int elementId) { in getCommonAlphabetShiftLayout() argument
79 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DMyanmar.java96 final int elementId) { in getCommonAlphabetShiftLayout() argument
97 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DNepaliTraditional.java91 ExpectedKey[][] getCommonAlphabetShiftLayout(boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
92 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DHindi.java89 ExpectedKey[][] getCommonAlphabetShiftLayout(boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
90 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DTamil.java65 ExpectedKey[][] getCommonAlphabetShiftLayout(boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
DBengali.java68 ExpectedKey[][] getCommonAlphabetShiftLayout(boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
DMalayalam.java75 ExpectedKey[][] getCommonAlphabetShiftLayout(boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardId.java79 public KeyboardId(final int elementId, final KeyboardLayoutSet.Params params) { in KeyboardId() argument
85 mElementId = elementId; in KeyboardId()
134 private static boolean isAlphabetKeyboard(final int elementId) { in isAlphabetKeyboard() argument
135 return elementId < ELEMENT_SYMBOLS; in isAlphabetKeyboard()
202 public static String elementIdToName(final int elementId) { in elementIdToName() argument
203 switch (elementId) { in elementIdToName()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
DTestsDvorakEmail.java83 protected ExpectedKey getRow1_1Key(final boolean isPhone, final int elementId) { in getRow1_1Key() argument
84 if (isPhone && (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_1Key()
85 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED)) { in getRow1_1Key()
88 return super.getRow1_1Key(isPhone, elementId); in getRow1_1Key()
DTestsDvorakUrl.java83 protected ExpectedKey getRow1_1Key(final boolean isPhone, final int elementId) { in getRow1_1Key() argument
84 if (isPhone && (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_1Key()
85 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED)) { in getRow1_1Key()
88 return super.getRow1_1Key(isPhone, elementId); in getRow1_1Key()
DLayoutTestsBase.java151 private void doKeyboardTests(final int elementId) { in doKeyboardTests() argument
152 final ExpectedKey[][] expectedKeyboard = mLayout.getLayout(isPhone(), elementId); in doKeyboardTests()
157 final String tag = mLogTag + "/" + KeyboardId.elementIdToName(elementId); in doKeyboardTests()
159 final Keyboard keyboard = mKeyboardLayoutSet.getKeyboard(elementId); in doKeyboardTests()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyCodeDescriptionMapper.java147 final int elementId = keyboardId.mElementId; in getDescriptionForSwitchAlphaSymbol() local
150 switch (elementId) { in getDescriptionForSwitchAlphaSymbol()
169 Log.e(TAG, "Missing description for keyboard element ID:" + elementId); in getDescriptionForSwitchAlphaSymbol()
185 final int elementId = keyboardId.mElementId; in getDescriptionForShiftKey() local
188 switch (elementId) { in getDescriptionForShiftKey()

12