Home
last modified time | relevance | path

Searched refs:isPhone (Results 1 – 25 of 78) sorted by relevance

1234

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
DLayoutBase.java74 final boolean isPhone) { in convertCommonLayoutToKeyboard() argument
77 builder.setKeysOfRow(numberOfRows, (Object[])customizer.getSpaceKeys(isPhone)); in convertCommonLayoutToKeyboard()
79 numberOfRows, (Object[])customizer.getKeysLeftToSpacebar(isPhone)); in convertCommonLayoutToKeyboard()
81 numberOfRows, (Object[])customizer.getKeysRightToSpacebar(isPhone)); in convertCommonLayoutToKeyboard()
82 if (isPhone) { in convertCommonLayoutToKeyboard()
85 .addKeysOnTheRightOfRow(numberOfRows, customizer.getEnterKey(isPhone)); in convertCommonLayoutToKeyboard()
88 .addKeysOnTheRightOfRow(numberOfRows - 2, customizer.getEnterKey(isPhone)) in convertCommonLayoutToKeyboard()
90 .addKeysOnTheRightOfRow(numberOfRows, customizer.getEmojiKey(isPhone)); in convertCommonLayoutToKeyboard()
93 numberOfRows - 1, (Object[])customizer.getLeftShiftKeys(isPhone)); in convertCommonLayoutToKeyboard()
95 numberOfRows - 1, (Object[])customizer.getRightShiftKeys(isPhone)); in convertCommonLayoutToKeyboard()
[all …]
DFarsi.java59 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) { in getLeftShiftKeys() argument
64 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { in getRightShiftKeys() argument
69 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) { in getKeysLeftToSpacebar() argument
70 if (isPhone) { in getKeysLeftToSpacebar()
83 public ExpectedKey[] getKeysRightToSpacebar(final boolean isPhone) { in getKeysRightToSpacebar() argument
84 if (isPhone) { in getKeysRightToSpacebar()
85 return super.getKeysRightToSpacebar(isPhone); in getKeysRightToSpacebar()
87 return joinKeys(key(".", getPunctuationMoreKeys(isPhone))); in getKeysRightToSpacebar()
91 public ExpectedKey[] getSpaceKeys(final boolean isPhone) { in getSpaceKeys() argument
96 public ExpectedKey[] getPunctuationMoreKeys(final boolean isPhone) { in getPunctuationMoreKeys() argument
[all …]
DArabic.java61 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) { in getLeftShiftKeys() argument
66 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { in getRightShiftKeys() argument
71 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) { in getKeysLeftToSpacebar() argument
72 if (isPhone) { in getKeysLeftToSpacebar()
84 public ExpectedKey[] getKeysRightToSpacebar(final boolean isPhone) { in getKeysRightToSpacebar() argument
85 if (isPhone) { in getKeysRightToSpacebar()
86 return super.getKeysRightToSpacebar(isPhone); in getKeysRightToSpacebar()
91 return joinKeys(key(".", getPunctuationMoreKeys(isPhone))); in getKeysRightToSpacebar()
95 public ExpectedKey[] getPunctuationMoreKeys(final boolean isPhone) { in getPunctuationMoreKeys() argument
140 ExpectedKey[][] getCommonAlphabetLayout(final boolean isPhone) { in getCommonAlphabetLayout() argument
[all …]
DArmenianPhonetic.java50 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { in getRightShiftKeys() argument
51 if (isPhone) { in getRightShiftKeys()
64 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) { in getKeysLeftToSpacebar() argument
66 return isPhone ? joinKeys(key("\u055D", SETTINGS_KEY)) in getKeysLeftToSpacebar()
71 public ExpectedKey[] getKeysRightToSpacebar(final boolean isPhone) { in getKeysRightToSpacebar() argument
73 final ExpectedKey fullStopKey = key("\u0589", getPunctuationMoreKeys(isPhone)); in getKeysRightToSpacebar()
78 public ExpectedKey[] getPunctuationMoreKeys(final boolean isPhone) { in getPunctuationMoreKeys() argument
104 ExpectedKey[][] getCommonAlphabetLayout(final boolean isPhone) { in getCommonAlphabetLayout() argument
106 if (isPhone) { in getCommonAlphabetLayout()
184 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() argument
[all …]
DDvorak.java38 public ExpectedKey[][] getCommonAlphabetLayout(final boolean isPhone) { in getCommonAlphabetLayout() argument
48 protected ExpectedKey getRow1_1Key(final boolean isPhone, final int elementId) { in getRow1_1Key() argument
62 protected ExpectedKey getRow1_2Key(final boolean isPhone, final int elementId) { in getRow1_2Key() argument
76 protected ExpectedKey getRow1_3Key(final boolean isPhone, final int elementId) { in getRow1_3Key() argument
85 public ExpectedKey[][] getLayout(final boolean isPhone, final int elementId) { in getLayout() argument
88 return super.getLayout(isPhone, elementId); in getLayout()
91 getCommonAlphabetLayout(isPhone)); in getLayout()
92 builder.replaceKeyOfLabel(ROW1_1, getRow1_1Key(isPhone, elementId)) in getLayout()
93 .replaceKeyOfLabel(ROW1_2, getRow1_2Key(isPhone, elementId)) in getLayout()
94 .replaceKeyOfLabel(ROW1_3, getRow1_3Key(isPhone, elementId)); in getLayout()
[all …]
DPcQwerty.java38 ExpectedKey[][] getCommonAlphabetLayout(final boolean isPhone) { in getCommonAlphabetLayout() argument
55 if (isPhone) { in getCommonAlphabetLayout()
72 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
76 builder = new ExpectedKeyboardBuilder(getCommonAlphabetLayout(isPhone)); in getCommonAlphabetShiftLayout()
125 final boolean isPhone) { in convertCommonLayoutToKeyboard() argument
127 builder.setKeysOfRow(5, (Object[])customizer.getSpaceKeys(isPhone)); in convertCommonLayoutToKeyboard()
128 builder.addKeysOnTheLeftOfRow(5, (Object[])customizer.getKeysLeftToSpacebar(isPhone)); in convertCommonLayoutToKeyboard()
129 builder.addKeysOnTheRightOfRow(5, (Object[])customizer.getKeysRightToSpacebar(isPhone)); in convertCommonLayoutToKeyboard()
130 if (isPhone) { in convertCommonLayoutToKeyboard()
137 builder.addKeysOnTheLeftOfRow(4, (Object[])customizer.getLeftShiftKeys(isPhone)) in convertCommonLayoutToKeyboard()
[all …]
DHebrew.java69 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) { in getLeftShiftKeys() argument
74 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { in getRightShiftKeys() argument
75 return isPhone ? EMPTY_KEYS : EXCLAMATION_AND_QUESTION_MARKS; in getRightShiftKeys()
79 public ExpectedKey[] getPunctuationMoreKeys(final boolean isPhone) { in getPunctuationMoreKeys() argument
80 return isPhone ? RTL_PHONE_PUNCTUATION_MORE_KEYS in getPunctuationMoreKeys()
102 ExpectedKey[][] getCommonAlphabetLayout(final boolean isPhone) { return ALPHABET_COMMON; } in getCommonAlphabetLayout() argument
105 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
176 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() argument
177 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
DSymbols.java34 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() argument
42 if (isPhone) { in getLayout()
43 builder.addKeysOnTheLeftOfRow(3, customizer.getSymbolsShiftKey(isPhone)) in getLayout()
46 .addKeysOnTheRightOfRow(4, customizer.getEnterKey(isPhone)); in getLayout()
51 .addKeysOnTheRightOfRow(2, customizer.getEnterKey(isPhone)) in getLayout()
52 .addKeysOnTheLeftOfRow(3, customizer.getSymbolsShiftKey(isPhone)) in getLayout()
53 .addKeysOnTheRightOfRow(3, customizer.getSymbolsShiftKey(isPhone)) in getLayout()
55 .addKeysOnTheRightOfRow(4, customizer.getEmojiKey(isPhone)); in getLayout()
196 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() argument
197 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
DSymbolsShifted.java34 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() argument
38 if (isPhone) { in getLayout()
42 .addKeysOnTheRightOfRow(4, customizer.getEnterKey(isPhone)); in getLayout()
49 .addKeysOnTheRightOfRow(2, customizer.getEnterKey(isPhone)) in getLayout()
53 .addKeysOnTheRightOfRow(4, customizer.getEmojiKey(isPhone)); in getLayout()
140 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() argument
141 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
DThai.java58 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { return EMPTY_KEYS; } in getRightShiftKeys() argument
72 ExpectedKey[][] getCommonAlphabetLayout(final boolean isPhone) { in getCommonAlphabetLayout() argument
74 if (isPhone) { in getCommonAlphabetLayout()
86 public ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, in getCommonAlphabetShiftLayout() argument
89 return getCommonAlphabetLayout(isPhone); in getCommonAlphabetShiftLayout()
93 if (isPhone) { in getCommonAlphabetShiftLayout()
DKannada.java54 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) { in getLeftShiftKeys() argument
59 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { in getRightShiftKeys() argument
60 return isPhone ? EMPTY_KEYS : EXCLAMATION_AND_QUESTION_MARKS; in getRightShiftKeys()
64 public ExpectedKey[] getSpaceKeys(final boolean isPhone) { in getSpaceKeys() argument
80 ExpectedKey[][] getCommonAlphabetLayout(boolean isPhone) { return ALPHABET_COMMON; } in getCommonAlphabetLayout() argument
83 ExpectedKey[][] getCommonAlphabetShiftLayout(boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
DTelugu.java54 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) { in getLeftShiftKeys() argument
59 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { in getRightShiftKeys() argument
60 return isPhone ? EMPTY_KEYS : EXCLAMATION_AND_QUESTION_MARKS; in getRightShiftKeys()
64 public ExpectedKey[] getSpaceKeys(final boolean isPhone) { in getSpaceKeys() argument
80 ExpectedKey[][] getCommonAlphabetLayout(boolean isPhone) { return ALPHABET_COMMON; } in getCommonAlphabetLayout() argument
83 ExpectedKey[][] getCommonAlphabetShiftLayout(boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
DLao.java58 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { return EMPTY_KEYS; } in getRightShiftKeys() argument
72 ExpectedKey[][] getCommonAlphabetLayout(final boolean isPhone) { in getCommonAlphabetLayout() argument
73 if (isPhone) { in getCommonAlphabetLayout()
82 public ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, in getCommonAlphabetShiftLayout() argument
85 return getCommonAlphabetLayout(isPhone); in getCommonAlphabetShiftLayout()
DMalayalam.java54 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) { in getLeftShiftKeys() argument
59 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { in getRightShiftKeys() argument
60 return isPhone ? EMPTY_KEYS : EXCLAMATION_AND_QUESTION_MARKS; in getRightShiftKeys()
73 ExpectedKey[][] getCommonAlphabetLayout(boolean isPhone) { return ALPHABET_COMMON; } in getCommonAlphabetLayout() argument
76 ExpectedKey[][] getCommonAlphabetShiftLayout(boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
DNepaliTraditional.java46 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { in getRightShiftKeys() argument
47 return isPhone ? EMPTY_KEYS : EXCLAMATION_AND_QUESTION_MARKS; in getRightShiftKeys()
52 ExpectedKey[][] getCommonAlphabetLayout(final boolean isPhone) { return ALPHABET_COMMON; } in getCommonAlphabetLayout() argument
55 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) { in getCommonAlphabetShiftLayout() argument
57 return getCommonAlphabetLayout(isPhone); in getCommonAlphabetShiftLayout()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/customizer/
DLayoutCustomizer.java88 public ExpectedKey getSymbolsShiftKey(boolean isPhone) { in getSymbolsShiftKey() argument
89 return isPhone ? SYMBOLS_SHIFT_KEY : TABLET_SYMBOLS_SHIFT_KEY; in getSymbolsShiftKey()
144 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) { in getLeftShiftKeys() argument
154 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { in getRightShiftKeys() argument
155 return isPhone ? EMPTY_KEYS : joinKeys(EXCLAMATION_AND_QUESTION_MARKS, SHIFT_KEY); in getRightShiftKeys()
163 public ExpectedKey getEnterKey(final boolean isPhone) { in getEnterKey() argument
164 return isPhone ? key(ENTER_KEY, EMOJI_ACTION_KEY) : ENTER_KEY; in getEnterKey()
172 public ExpectedKey getEmojiKey(final boolean isPhone) { in getEmojiKey() argument
182 public ExpectedKey[] getSpaceKeys(final boolean isPhone) { in getSpaceKeys() argument
191 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) { in getKeysLeftToSpacebar() argument
[all …]
DDvorakCustomizer.java29 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) { in getLeftShiftKeys() argument
30 return isPhone ? joinKeys(SHIFT_KEY): joinKeys(SHIFT_KEY, key("q")); in getLeftShiftKeys()
34 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { in getRightShiftKeys() argument
35 return isPhone ? EMPTY_KEYS : joinKeys(key("z"), SHIFT_KEY); in getRightShiftKeys()
39 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) { in getKeysLeftToSpacebar() argument
41 return isPhone ? joinKeys(key("q", SETTINGS_KEY)) in getKeysLeftToSpacebar()
46 public ExpectedKey[] getKeysRightToSpacebar(final boolean isPhone) { in getKeysRightToSpacebar() argument
48 convertToAdditionalMoreKeys(getPunctuationMoreKeys(isPhone)); in getKeysRightToSpacebar()
50 return isPhone in getKeysRightToSpacebar()
DHindiCustomizer.java37 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { in getRightShiftKeys() argument
38 return isPhone ? EMPTY_KEYS : EXCLAMATION_AND_QUESTION_MARKS; in getRightShiftKeys()
42 public ExpectedKey[] getKeysRightToSpacebar(final boolean isPhone) { in getKeysRightToSpacebar() argument
44 final ExpectedKey periodKey = key("\u0964", getPunctuationMoreKeys(isPhone)); in getKeysRightToSpacebar()
49 public ExpectedKey[] getPunctuationMoreKeys(final boolean isPhone) { in getPunctuationMoreKeys() argument
50 return isPhone ? HINDI_PHONE_PUNCTUATION_MORE_KEYS : HINDI_TABLET_PUNCTUATION_MORE_KEYS; in getPunctuationMoreKeys()
DPcQwertyCustomizer.java30 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) { in getLeftShiftKeys() argument
35 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { in getRightShiftKeys() argument
40 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) { in getKeysLeftToSpacebar() argument
45 public ExpectedKey[] getKeysRightToSpacebar(final boolean isPhone) { in getKeysRightToSpacebar() argument
46 return isPhone in getKeysRightToSpacebar()
DNepaliCustomizer.java37 public ExpectedKey[] getSpaceKeys(final boolean isPhone) { in getSpaceKeys() argument
42 public ExpectedKey[] getKeysRightToSpacebar(final boolean isPhone) { in getKeysRightToSpacebar() argument
44 final ExpectedKey periodKey = key("\u0964", getPunctuationMoreKeys(isPhone)); in getKeysRightToSpacebar()
49 public ExpectedKey[] getPunctuationMoreKeys(final boolean isPhone) { in getPunctuationMoreKeys() argument
50 return isPhone ? NEPALI_PHONE_PUNCTUATION_MORE_KEYS in getPunctuationMoreKeys()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
DTestsDvorakEmail.java63 public ExpectedKey getEnterKey(final boolean isPhone) { in getEnterKey() argument
64 return isPhone ? ENTER_KEY : super.getEnterKey(isPhone); in getEnterKey()
68 public ExpectedKey getEmojiKey(final boolean isPhone) { in getEmojiKey() argument
73 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) { in getKeysLeftToSpacebar() argument
74 return isPhone ? super.getKeysLeftToSpacebar(isPhone) in getKeysLeftToSpacebar()
85 protected ExpectedKey getRow1_1Key(final boolean isPhone, final int elementId) { in getRow1_1Key() argument
86 if (isPhone && (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_1Key()
90 return super.getRow1_1Key(isPhone, elementId); in getRow1_1Key()
DTestsDvorakUrl.java61 public ExpectedKey getEnterKey(final boolean isPhone) { in getEnterKey() argument
62 return isPhone ? ENTER_KEY : super.getEnterKey(isPhone); in getEnterKey()
66 public ExpectedKey getEmojiKey(final boolean isPhone) { in getEmojiKey() argument
71 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) { in getKeysLeftToSpacebar() argument
72 return isPhone ? super.getKeysLeftToSpacebar(isPhone) in getKeysLeftToSpacebar()
81 protected ExpectedKey getRow1_1Key(final boolean isPhone, final int elementId) { in getRow1_1Key() argument
82 if (isPhone && (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_1Key()
86 return super.getRow1_1Key(isPhone, elementId); in getRow1_1Key()
DTestsSwedishPcQwerty.java66 public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) { in getLeftShiftKeys() argument
67 return mPcQwertyCustomizer.getLeftShiftKeys(isPhone); in getLeftShiftKeys()
71 public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { in getRightShiftKeys() argument
72 return mPcQwertyCustomizer.getRightShiftKeys(isPhone); in getRightShiftKeys()
76 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) { in getKeysLeftToSpacebar() argument
77 return mPcQwertyCustomizer.getKeysLeftToSpacebar(isPhone); in getKeysLeftToSpacebar()
81 public ExpectedKey[] getKeysRightToSpacebar(final boolean isPhone) { in getKeysRightToSpacebar() argument
82 return mPcQwertyCustomizer.getKeysRightToSpacebar(isPhone); in getKeysRightToSpacebar()
DTestsQwertyUrl.java59 public ExpectedKey getEnterKey(final boolean isPhone) { in getEnterKey() argument
60 return isPhone ? ENTER_KEY : super.getEnterKey(isPhone); in getEnterKey()
64 public ExpectedKey getEmojiKey(final boolean isPhone) { in getEmojiKey() argument
69 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) { in getKeysLeftToSpacebar() argument
DTestsQwertyEmail.java59 public ExpectedKey getEnterKey(final boolean isPhone) { in getEnterKey() argument
60 return isPhone ? ENTER_KEY : super.getEnterKey(isPhone); in getEnterKey()
64 public ExpectedKey getEmojiKey(final boolean isPhone) { in getEmojiKey() argument
69 public ExpectedKey[] getKeysLeftToSpacebar(final boolean isPhone) { in getKeysLeftToSpacebar() argument

1234