Home | History | Annotate | Download | only in layout

Lines Matching refs:isPhone

70      * @param isPhone true if requesting phone's layout.
74 final boolean isPhone) {
77 builder.setKeysOfRow(numberOfRows, (Object[])customizer.getSpaceKeys(isPhone));
79 numberOfRows, (Object[])customizer.getKeysLeftToSpacebar(isPhone));
81 numberOfRows, (Object[])customizer.getKeysRightToSpacebar(isPhone));
82 if (isPhone) {
85 .addKeysOnTheRightOfRow(numberOfRows, customizer.getEnterKey(isPhone));
88 .addKeysOnTheRightOfRow(numberOfRows - 2, customizer.getEnterKey(isPhone))
90 .addKeysOnTheRightOfRow(numberOfRows, customizer.getEmojiKey(isPhone));
93 numberOfRows - 1, (Object[])customizer.getLeftShiftKeys(isPhone));
95 numberOfRows - 1, (Object[])customizer.getRightShiftKeys(isPhone));
105 * @param isPhone true if requesting phone's layout.
108 abstract ExpectedKey[][] getCommonAlphabetLayout(boolean isPhone);
116 * @param isPhone true if requesting phone's layout.
120 ExpectedKey[][] getCommonAlphabetShiftLayout(final boolean isPhone, final int elementId) {
122 getCommonAlphabetLayout(isPhone));
134 * @param isPhone true if requesting phone's layout.
138 public ExpectedKey[][] getLayout(final boolean isPhone, final int elementId) {
140 return mSymbols.getLayout(isPhone);
143 return mSymbolsShifted.getLayout(isPhone);
147 builder = new ExpectedKeyboardBuilder(getCommonAlphabetLayout(isPhone));
150 final ExpectedKey[][] commonLayout = getCommonAlphabetShiftLayout(isPhone, elementId);
156 convertCommonLayoutToKeyboard(builder, isPhone);