Home
last modified time | relevance | path

Searched refs:ExpectedKeyVisual (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyVisual.java31 public abstract class ExpectedKeyVisual { class
32 public static ExpectedKeyVisual newInstance(final String label) { in newInstance()
36 public static ExpectedKeyVisual newInstance(final int iconId) { in newInstance()
42 abstract ExpectedKeyVisual toUpperCase(final Locale locale); in toUpperCase()
43 abstract ExpectedKeyVisual preserveCase(); in preserveCase()
48 abstract boolean hasSameKeyVisual(final ExpectedKeyVisual visual); in hasSameKeyVisual()
53 private static class Icon extends ExpectedKeyVisual {
71 ExpectedKeyVisual toUpperCase(final Locale locale) { in toUpperCase()
76 ExpectedKeyVisual preserveCase() { in preserveCase()
106 boolean hasSameKeyVisual(final ExpectedKeyVisual visual) { in hasSameKeyVisual()
[all …]
DExpectedKey.java40 return newInstance(ExpectedKeyVisual.newInstance(label), in newInstance()
47 return newInstance(ExpectedKeyVisual.newInstance(label), in newInstance()
54 return newInstance(ExpectedKeyVisual.newInstance(iconId), in newInstance()
61 return newInstance(ExpectedKeyVisual.newInstance(iconId), in newInstance()
65 static ExpectedKey newInstance(final ExpectedKeyVisual visual, final ExpectedKeyOutput output, in newInstance()
104 private final ExpectedKeyVisual mVisual;
108 protected final ExpectedKeyVisual getVisual() { in getVisual()
142 protected ExpectedKey(final ExpectedKeyVisual visual, final ExpectedKeyOutput output) { in ExpectedKey()
209 return new ExpectedAdditionalMoreKey(ExpectedKeyVisual.newInstance(label), in newInstance()
217 ExpectedAdditionalMoreKey(final ExpectedKeyVisual visual, final ExpectedKeyOutput output) { in ExpectedAdditionalMoreKey()
[all …]
DExpectedKeyboardBuilder.java87 private void replaceKeyOf(final ExpectedKeyVisual visual, final ReplaceJob job) { in replaceKeyOf()
152 setMoreKeysOf(ExpectedKeyVisual.newInstance(label), joinKeys(moreKeys)); in setMoreKeysOf()
164 setMoreKeysOf(ExpectedKeyVisual.newInstance(iconId), joinKeys(moreKeys)); in setMoreKeysOf()
168 private void setMoreKeysOf(final ExpectedKeyVisual visual, final ExpectedKey[] moreKeys) { in setMoreKeysOf()
195 final ExpectedKeyVisual visual = ExpectedKeyVisual.newInstance(label); in setAdditionalMoreKeysPositionOf()
271 final ExpectedKeyVisual visual = ExpectedKeyVisual.newInstance(label); in replaceKeyOfLabel()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DActionTestsBase.java31 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyVisual;
43 return new ExpectedActionKey(ExpectedKeyVisual.newInstance(iconId)); in newIconKey()
47 return new ExpectedActionKey(ExpectedKeyVisual.newInstance(label)); in newLabelKey()
61 private final ExpectedKeyVisual mVisual;
63 private ExpectedActionKey(final ExpectedKeyVisual visual) { in ExpectedActionKey()