HomeSort by relevance Sort by last modified time
    Searched refs:moreKeys (Results 1 - 11 of 11) sorted by null

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
AbstractLayoutBase.java 29 public static ExpectedKey key(final String label, final ExpectedKey ... moreKeys) {
30 return ExpectedKey.newInstance(label, moreKeys);
35 final ExpectedKey ... moreKeys) {
36 return ExpectedKey.newInstance(label, outputText, moreKeys);
41 final ExpectedKey ... moreKeys) {
42 return ExpectedKey.newInstance(label, code, moreKeys);
47 final ExpectedKey ... moreKeys) {
48 return ExpectedKey.newInstance(iconId, outputText, moreKeys);
53 final ExpectedKey ... moreKeys) {
54 return ExpectedKey.newInstance(iconId, code, moreKeys);
    [all...]
ExpectedKey.java 33 static ExpectedKey newInstance(final String label, final ExpectedKey... moreKeys) {
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);
    [all...]
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) {
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) {
164 setMoreKeysOf(ExpectedKeyVisual.newInstance(iconId), joinKeys(moreKeys));
168 private void setMoreKeysOf(final ExpectedKeyVisual visual, final ExpectedKey[] moreKeys) {
172 return new ExpectedKey[] { oldKey.setMoreKeys(moreKeys) };
ActualKeyboardBuilder.java 138 final MoreKeySpec[] moreKeys = key.getMoreKeys();
139 if (moreKeys == null) {
143 sb.append(MoreKeySpecStringizer.STRINGIZER.join(moreKeys));
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
MoreKeySpec.java 198 final String[] moreKeys = filterOutEmptyString(moreKeySpecs);
200 final int moreKeysCount = moreKeys.length;
205 final String moreKeySpec = moreKeys[moreKeyIndex];
213 moreKeys[moreKeyIndex] = additionalMoreKey;
219 out = CollectionUtils.arrayAsList(moreKeys, 0, moreKeyIndex);
233 + " moreKeys=" + Arrays.toString(moreKeys)
238 out.add(moreKeys[i]);
245 + " moreKeys=" + Arrays.toString(moreKeys)
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
LayoutTestsBase.java 69 static ExpectedKey key(final String label, final ExpectedKey ... moreKeys) {
70 return AbstractLayoutBase.key(label, moreKeys);
75 final ExpectedKey ... moreKeys) {
76 return AbstractLayoutBase.key(label, outputText, moreKeys);
80 static ExpectedKey key(final ExpectedKey key, final ExpectedKey ... moreKeys) {
81 return AbstractLayoutBase.key(key, moreKeys);
103 static ExpectedKey[] joinMoreKeys(final Object ... moreKeys) {
104 return AbstractLayoutBase.joinKeys(moreKeys);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
Dvorak.java 71 final ExpectedKey ... moreKeys) {
73 new ExpectedAdditionalMoreKey[moreKeys.length];
74 for (int index = 0; index < moreKeys.length; index++) {
75 additionalMoreKeys[index] = ExpectedAdditionalMoreKey.newInstance(moreKeys[index]);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
MoreKeySpecTests.java 76 final String[] moreKeys, final String[] additionalMoreKeys, final String[] expected) {
77 final String[] actual = MoreKeySpec.insertAdditionalMoreKeys(moreKeys, additionalMoreKeys);
302 final String[] moreKeys, final String[] expected, final boolean expectedValue) {
303 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length);
340 final int defaultValue, final String[] moreKeys, final String[] expected,
342 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
MoreKeysKeyboard.java 310 final MoreKeySpec[] moreKeys = key.getMoreKeys();
311 mParams.setParameters(moreKeys.length, key.getMoreKeysColumnNumber(), keyWidth,
334 final MoreKeySpec[] moreKeys = mParentKey.getMoreKeys();
335 for (int n = 0; n < moreKeys.length; n++) {
336 final MoreKeySpec moreKeySpec = moreKeys[n];
Key.java 269 String[] moreKeys = style.getStringArray(keyAttr, R.styleable.Keyboard_Key_moreKeys);
276 if ((value = MoreKeySpec.getIntValue(moreKeys, MORE_KEYS_AUTO_COLUMN_ORDER, -1)) > 0) {
281 if ((value = MoreKeySpec.getIntValue(moreKeys, MORE_KEYS_FIXED_COLUMN_ORDER, -1)) > 0) {
286 if (MoreKeySpec.getBooleanValue(moreKeys, MORE_KEYS_HAS_LABELS)) {
289 if (MoreKeySpec.getBooleanValue(moreKeys, MORE_KEYS_NEEDS_DIVIDERS)) {
292 if (MoreKeySpec.getBooleanValue(moreKeys, MORE_KEYS_NO_PANEL_AUTO_MORE_KEY)) {
304 moreKeys = MoreKeySpec.insertAdditionalMoreKeys(moreKeys, additionalMoreKeys);
305 if (moreKeys != null) {
307 mMoreKeys = new MoreKeySpec[moreKeys.length]
    [all...]
MainKeyboardView.java 570 final MoreKeySpec[] moreKeys = key.getMoreKeys();
571 if (moreKeys == null) {
582 && !key.noKeyPreview() && moreKeys.length == 1
    [all...]

Completed in 269 milliseconds