/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
H A D | ExpectedKey.java | 33 static ExpectedKey newInstance(final String label, final ExpectedKey... moreKeys) { argument 34 return newInstance(label, label, moreKeys); 39 final ExpectedKey... moreKeys) { 41 ExpectedKeyOutput.newInstance(outputText), moreKeys); 46 final ExpectedKey... moreKeys) { 48 ExpectedKeyOutput.newInstance(code), moreKeys); 53 final ExpectedKey... moreKeys) { 55 ExpectedKeyOutput.newInstance(outputText), moreKeys); 60 final ExpectedKey... moreKeys) { 62 ExpectedKeyOutput.newInstance(code), moreKeys); 38 newInstance(final String label, final String outputText, final ExpectedKey... moreKeys) argument 45 newInstance(final String label, final int code, final ExpectedKey... moreKeys) argument 52 newInstance(final int iconId, final String outputText, final ExpectedKey... moreKeys) argument 59 newInstance(final int iconId, final int code, final ExpectedKey... moreKeys) argument 65 newInstance(final ExpectedKeyVisual visual, final ExpectedKeyOutput output, final ExpectedKey... moreKeys) argument 121 setMoreKeys(final ExpectedKey... moreKeys) argument 235 ExpectedKeyWithMoreKeys(final ExpectedKeyVisual visual, final ExpectedKeyOutput output, final ExpectedKey... moreKeys) argument 315 ExpectedKeyWithMoreKeysAndAdditionalMoreKeys(final ExpectedKeyVisual visual, final ExpectedKeyOutput output, final ExpectedKey[] moreKeys, final int additionalMoreKeysIndex, final ExpectedAdditionalMoreKey... additionalMoreKeys) argument 325 setMoreKeys(final ExpectedKey... moreKeys) argument [all...] |
H A D | AbstractLayoutBase.java | 31 public static ExpectedKey key(final String label, final ExpectedKey ... moreKeys) { argument 32 return ExpectedKey.newInstance(label, moreKeys); 37 final ExpectedKey ... moreKeys) { 38 return ExpectedKey.newInstance(label, outputText, moreKeys); 43 final ExpectedKey ... moreKeys) { 44 return ExpectedKey.newInstance(label, code, moreKeys); 49 final ExpectedKey ... moreKeys) { 50 return ExpectedKey.newInstance(iconId, outputText, moreKeys); 55 final ExpectedKey ... moreKeys) { 56 return ExpectedKey.newInstance(iconId, code, moreKeys); 36 key(final String label, final String outputText, final ExpectedKey ... moreKeys) argument 42 key(final String label, final int code, final ExpectedKey ... moreKeys) argument 48 key(final int iconId, final String outputText, final ExpectedKey ... moreKeys) argument 54 key(final int iconId, final int code, final ExpectedKey ... moreKeys) argument 60 key(final ExpectedKey key, final ExpectedKey ... moreKeys) argument 98 joinMoreKeys(final Object ... moreKeys) argument [all...] |
H A D | ExpectedKeyboardBuilder.java | 147 * @param moreKeys the array of "more key" to be set. Each "more key" can be 151 public ExpectedKeyboardBuilder setMoreKeysOf(final String label, final Object ... moreKeys) { argument 152 setMoreKeysOf(ExpectedKeyVisual.newInstance(label), joinKeys(moreKeys)); 159 * @param moreKeys the array of "more key" to be set. Each "more key" can be 163 public ExpectedKeyboardBuilder setMoreKeysOf(final int iconId, final Object ... moreKeys) { argument 164 setMoreKeysOf(ExpectedKeyVisual.newInstance(iconId), joinKeys(moreKeys)); 168 private void setMoreKeysOf(final ExpectedKeyVisual visual, final ExpectedKey[] moreKeys) { argument 172 return new ExpectedKey[] { oldKey.setMoreKeys(moreKeys) };
|
H A D | ActualKeyboardBuilder.java | 145 final MoreKeySpec[] moreKeys = key.getMoreKeys(); 146 if (moreKeys == null) { 150 sb.append(MoreKeySpecStringizer.STRINGIZER.join(moreKeys));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | MoreKeySpec.java | 151 public static MoreKeySpec[] removeRedundantMoreKeys(@Nullable final MoreKeySpec[] moreKeys, argument 153 if (moreKeys == null) { 157 for (final MoreKeySpec moreKey : moreKeys) { 163 if (size == moreKeys.length) { 164 return moreKeys; 259 final String[] moreKeys = filterOutEmptyString(moreKeySpecs); 261 final int moreKeysCount = moreKeys.length; 266 final String moreKeySpec = moreKeys[moreKeyIndex]; 274 moreKeys[moreKeyIndex] = additionalMoreKey; 280 out = CollectionUtils.arrayAsList(moreKeys, 313 getIntValue(@ullable final String[] moreKeys, final String key, final int defaultValue) argument 340 getBooleanValue(@ullable final String[] moreKeys, final String key) argument [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/customizer/ |
H A D | DvorakCustomizer.java | 56 final ExpectedKey ... moreKeys) { 58 new ExpectedAdditionalMoreKey[moreKeys.length]; 59 for (int index = 0; index < moreKeys.length; index++) { 60 additionalMoreKeys[index] = ExpectedAdditionalMoreKey.newInstance(moreKeys[index]); 55 convertToAdditionalMoreKeys( final ExpectedKey ... moreKeys) argument
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/ |
H A D | LayoutTestsBase.java | 70 static ExpectedKey key(final String label, final ExpectedKey ... moreKeys) { argument 71 return AbstractLayoutBase.key(label, moreKeys); 76 final ExpectedKey ... moreKeys) { 77 return AbstractLayoutBase.key(label, outputText, moreKeys); 81 static ExpectedKey key(final ExpectedKey key, final ExpectedKey ... moreKeys) { argument 82 return AbstractLayoutBase.key(key, moreKeys); 104 static ExpectedKey[] joinMoreKeys(final Object ... moreKeys) { argument 105 return AbstractLayoutBase.joinKeys(moreKeys); 75 key(final String label, final String outputText, final ExpectedKey ... moreKeys) argument
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
H A D | MoreKeySpecTests.java | 76 final String[] moreKeys, final String[] additionalMoreKeys, final String[] expected) { 77 final String[] actual = MoreKeySpec.insertAdditionalMoreKeys(moreKeys, additionalMoreKeys); 304 final String[] moreKeys, final String[] expected, final boolean expectedValue) { 305 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length); 343 final int defaultValue, final String[] moreKeys, final String[] expected, 345 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length); 75 assertInsertAdditionalMoreKeys(final String message, final String[] moreKeys, final String[] additionalMoreKeys, final String[] expected) argument 303 assertGetBooleanValue(final String message, final String key, final String[] moreKeys, final String[] expected, final boolean expectedValue) argument 342 assertGetIntValue(final String message, final String key, final int defaultValue, final String[] moreKeys, final String[] expected, final int expectedValue) argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | Key.java | 292 String[] moreKeys = style.getStringArray(keyAttr, R.styleable.Keyboard_Key_moreKeys); 299 if ((value = MoreKeySpec.getIntValue(moreKeys, MORE_KEYS_AUTO_COLUMN_ORDER, -1)) > 0) { 304 if ((value = MoreKeySpec.getIntValue(moreKeys, MORE_KEYS_FIXED_COLUMN_ORDER, -1)) > 0) { 309 if (MoreKeySpec.getBooleanValue(moreKeys, MORE_KEYS_HAS_LABELS)) { 312 if (MoreKeySpec.getBooleanValue(moreKeys, MORE_KEYS_NEEDS_DIVIDERS)) { 315 if (MoreKeySpec.getBooleanValue(moreKeys, MORE_KEYS_NO_PANEL_AUTO_MORE_KEY)) { 327 moreKeys = MoreKeySpec.insertAdditionalMoreKeys(moreKeys, additionalMoreKeys); 328 if (moreKeys != null) { 330 mMoreKeys = new MoreKeySpec[moreKeys 418 Key(@onnull final Key key, @Nullable final MoreKeySpec[] moreKeys) argument [all...] |
H A D | MoreKeysKeyboard.java | 312 final MoreKeySpec[] moreKeys = key.getMoreKeys(); 313 mParams.setParameters(moreKeys.length, key.getMoreKeysColumnNumber(), keyWidth, 337 final MoreKeySpec[] moreKeys = mParentKey.getMoreKeys(); 338 for (int n = 0; n < moreKeys.length; n++) { 339 final MoreKeySpec moreKeySpec = moreKeys[n];
|
H A D | MainKeyboardView.java | 598 final MoreKeySpec[] moreKeys = key.getMoreKeys(); 599 if (moreKeys == null) { 610 && !key.noKeyPreview() && moreKeys.length == 1
|