Home
last modified time | relevance | path

Searched refs:elementId (Results 1 – 25 of 37) 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 …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
DDvorak.java48 protected ExpectedKey getRow1_1Key(final boolean isPhone, final int elementId) { in getRow1_1Key() argument
49 if (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_1Key()
50 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getRow1_1Key()
62 protected ExpectedKey getRow1_2Key(final boolean isPhone, final int elementId) { in getRow1_2Key() argument
63 if (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_2Key()
64 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getRow1_2Key()
76 protected ExpectedKey getRow1_3Key(final boolean isPhone, final int elementId) { in getRow1_3Key() argument
77 if (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_3Key()
78 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getRow1_3Key()
85 public ExpectedKey[][] getLayout(final boolean isPhone, final int elementId) { in getLayout() argument
[all …]
DLayoutBase.java120 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
123 getCustomizer().setAccentedLetters(builder, elementId); in getCommonAlphabetShiftLayout()
138 public ExpectedKey[][] getLayout(final boolean isPhone, final int elementId) { in getLayout() argument
139 if (elementId == KeyboardId.ELEMENT_SYMBOLS) { in getLayout()
142 if (elementId == KeyboardId.ELEMENT_SYMBOLS_SHIFTED) { in getLayout()
146 if (elementId == KeyboardId.ELEMENT_ALPHABET) { in getLayout()
148 getCustomizer().setAccentedLetters(builder, elementId); in getLayout()
150 final ExpectedKey[][] commonLayout = getCommonAlphabetShiftLayout(isPhone, elementId); in getLayout()
157 if (elementId != KeyboardId.ELEMENT_ALPHABET) { in getLayout()
DPcQwerty.java72 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
74 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED in getCommonAlphabetShiftLayout()
75 || elementId == KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCKED) { in getCommonAlphabetShiftLayout()
143 public ExpectedKey[][] getLayout(final boolean isPhone, final int elementId) { in getLayout() argument
144 if (elementId == KeyboardId.ELEMENT_SYMBOLS in getLayout()
145 || elementId == KeyboardId.ELEMENT_SYMBOLS_SHIFTED) { in getLayout()
148 return super.getLayout(isPhone, elementId); in getLayout()
DColemak.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()
DAzerty.java47 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
49 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED in getCommonAlphabetShiftLayout()
50 || elementId == KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCKED) { in getCommonAlphabetShiftLayout()
DGreek.java62 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
65 if (elementId == KeyboardId.ELEMENT_ALPHABET_MANUAL_SHIFTED in getCommonAlphabetShiftLayout()
66 || elementId == KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCK_SHIFTED) { in getCommonAlphabetShiftLayout()
DNepaliRomanized.java46 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
47 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DSinhala.java73 ExpectedKey[][] getCommonAlphabetShiftLayout(boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
74 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DGeorgian.java66 final int elementId) { in getCommonAlphabetShiftLayout() argument
67 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DLao.java83 final int elementId) { in getCommonAlphabetShiftLayout() argument
84 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DNepaliTraditional.java55 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
56 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DThai.java87 final int elementId) { in getCommonAlphabetShiftLayout() argument
88 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DBengaliAkkhor.java41 ExpectedKey[][] getCommonAlphabetShiftLayout(boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
42 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DKhmer.java79 final int elementId) { in getCommonAlphabetShiftLayout() argument
80 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
DHindi.java43 ExpectedKey[][] getCommonAlphabetShiftLayout(boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
44 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardId.java88 public KeyboardId(final int elementId, final KeyboardLayoutSet.Params params) { in KeyboardId() argument
93 mElementId = elementId; in KeyboardId()
145 private static boolean isAlphabetKeyboard(final int elementId) { in isAlphabetKeyboard() argument
146 return elementId < ELEMENT_SYMBOLS; in isAlphabetKeyboard()
219 public static String elementIdToName(final int elementId) { in elementIdToName() argument
220 switch (elementId) { in elementIdToName()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/customizer/
DEstonianEECustomizer.java62 protected void setMoreKeysOfI(final ExpectedKeyboardBuilder builder, final int elementId) { in setMoreKeysOfI() argument
70 if (elementId == KeyboardId.ELEMENT_ALPHABET) { in setMoreKeysOfI()
109 final int elementId) { in setAccentedLetters() argument
112 setMoreKeysOfI(builder, elementId); in setAccentedLetters()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
DTestsDvorakEmail.java85 protected ExpectedKey getRow1_1Key(final boolean isPhone, final int elementId) { in getRow1_1Key() argument
86 if (isPhone && (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_1Key()
87 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED)) { in getRow1_1Key()
90 return super.getRow1_1Key(isPhone, elementId); in getRow1_1Key()
DTestsDvorakUrl.java81 protected ExpectedKey getRow1_1Key(final boolean isPhone, final int elementId) { in getRow1_1Key() argument
82 if (isPhone && (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_1Key()
83 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED)) { in getRow1_1Key()
86 return super.getRow1_1Key(isPhone, elementId); in getRow1_1Key()
DLayoutTestsBase.java134 private void doKeyboardTests(final int elementId) { in doKeyboardTests() argument
135 final ExpectedKey[][] expectedKeyboard = mLayout.getLayout(isPhone(), elementId); in doKeyboardTests()
140 final String tag = mLogTag + "/" + KeyboardId.elementIdToName(elementId); in doKeyboardTests()
142 final Keyboard keyboard = mKeyboardLayoutSet.getKeyboard(elementId); in doKeyboardTests()
DTestsEstonianEEQwerty.java64 protected void setMoreKeysOfI(final ExpectedKeyboardBuilder builder, final int elementId) { in setMoreKeysOfI() argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyCodeDescriptionMapper.java151 final int elementId = keyboardId.mElementId; in getDescriptionForSwitchAlphaSymbol() local
154 switch (elementId) { in getDescriptionForSwitchAlphaSymbol()
173 Log.e(TAG, "Missing description for keyboard element ID:" + elementId); in getDescriptionForSwitchAlphaSymbol()
189 final int elementId = keyboardId.mElementId; in getDescriptionForShiftKey() local
192 switch (elementId) { in getDescriptionForShiftKey()
/packages/modules/Wifi/framework/java/android/net/wifi/
DAnqpInformationElement.java63 public AnqpInformationElement(int vendorId, int elementId, byte[] payload) { in AnqpInformationElement() argument
65 mElementId = elementId; in AnqpInformationElement()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DActionTestsBase.java81 final int elementId, final ExpectedActionKey expectedKey) { in assertActionKey() argument
82 final Keyboard keyboard = layoutSet.getKeyboard(elementId); in assertActionKey()

12