Home
last modified time | relevance | path

Searched refs:MoreKeySpec (Results 1 – 15 of 15) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java47 public final class MoreKeySpec { class
55 public MoreKeySpec(@Nonnull final String moreKeySpec, boolean needsToUpperCase, in MoreKeySpec() method in MoreKeySpec
104 if (o instanceof MoreKeySpec) { in equals()
105 final MoreKeySpec other = (MoreKeySpec)o; in equals()
139 public boolean contains(@Nonnull final MoreKeySpec moreKey) { in contains()
151 public static MoreKeySpec[] removeRedundantMoreKeys(@Nullable final MoreKeySpec[] moreKeys, in removeRedundantMoreKeys()
156 final ArrayList<MoreKeySpec> filteredMoreKeys = new ArrayList<>(); in removeRedundantMoreKeys()
157 for (final MoreKeySpec moreKey : moreKeys) { in removeRedundantMoreKeys()
169 return filteredMoreKeys.toArray(new MoreKeySpec[size]); in removeRedundantMoreKeys()
DKeyboardParams.java143 final MoreKeySpec.LettersOnBaseLayout lettersOnBaseLayout = in removeRedundantMoreKeys()
144 new MoreKeySpec.LettersOnBaseLayout(); in removeRedundantMoreKeys()
DKeyStyle.java48 return MoreKeySpec.splitKeySpecs(text); in parseStringArray()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java38 import com.android.inputmethod.keyboard.internal.MoreKeySpec;
124 private final MoreKeySpec[] mMoreKeys;
299 if ((value = MoreKeySpec.getIntValue(moreKeys, MORE_KEYS_AUTO_COLUMN_ORDER, -1)) > 0) { in Key()
304 if ((value = MoreKeySpec.getIntValue(moreKeys, MORE_KEYS_FIXED_COLUMN_ORDER, -1)) > 0) { in Key()
309 if (MoreKeySpec.getBooleanValue(moreKeys, MORE_KEYS_HAS_LABELS)) { in Key()
312 if (MoreKeySpec.getBooleanValue(moreKeys, MORE_KEYS_NEEDS_DIVIDERS)) { in Key()
315 if (MoreKeySpec.getBooleanValue(moreKeys, MORE_KEYS_NO_PANEL_AUTO_MORE_KEY)) { in Key()
327 moreKeys = MoreKeySpec.insertAdditionalMoreKeys(moreKeys, additionalMoreKeys); in Key()
330 mMoreKeys = new MoreKeySpec[moreKeys.length]; in Key()
332 mMoreKeys[i] = new MoreKeySpec(moreKeys[i], needsToUpcase, localeForUpcasing); in Key()
[all …]
DMoreKeysKeyboard.java25 import com.android.inputmethod.keyboard.internal.MoreKeySpec;
312 final MoreKeySpec[] moreKeys = key.getMoreKeys(); in Builder()
321 for (final MoreKeySpec spec : parentKey.getMoreKeys()) { in getMaxKeyWidth()
337 final MoreKeySpec[] moreKeys = mParentKey.getMoreKeys(); in build()
339 final MoreKeySpec moreKeySpec = moreKeys[n]; in build()
DMainKeyboardView.java50 import com.android.inputmethod.keyboard.internal.MoreKeySpec;
598 final MoreKeySpec[] moreKeys = key.getMoreKeys(); in showMoreKeysKeyboard()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyOutput.java20 import com.android.inputmethod.keyboard.internal.MoreKeySpec;
48 abstract boolean hasSameKeyOutput(final MoreKeySpec moreKeySpec); in hasSameKeyOutput()
88 boolean hasSameKeyOutput(final MoreKeySpec moreKeySpec) { in hasSameKeyOutput()
144 boolean hasSameKeyOutput(final MoreKeySpec moreKeySpec) { in hasSameKeyOutput()
DExpectedKeyVisual.java21 import com.android.inputmethod.keyboard.internal.MoreKeySpec;
46 abstract boolean hasSameKeyVisual(final MoreKeySpec moreKeySpec); in hasSameKeyVisual()
93 boolean hasSameKeyVisual(final MoreKeySpec moreKeySpec) { in hasSameKeyVisual()
160 boolean hasSameKeyVisual(final MoreKeySpec moreKeySpec) { in hasSameKeyVisual()
DActualKeyboardBuilder.java21 import com.android.inputmethod.keyboard.internal.MoreKeySpec;
99 static class MoreKeySpecStringizer extends StringUtils.Stringizer<MoreKeySpec> {
103 public String stringize(final MoreKeySpec spec) { in stringize()
145 final MoreKeySpec[] moreKeys = key.getMoreKeys(); in stringize()
DExpectedKey.java20 import com.android.inputmethod.keyboard.internal.MoreKeySpec;
169 public boolean equalsTo(final MoreKeySpec moreKeySpec) { in equalsTo()
279 final MoreKeySpec[] moreKeySpecs = key.getMoreKeys(); in equalsTo()
296 public boolean equalsTo(final MoreKeySpec moreKeySpec) { in equalsTo()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecTests.java36 final MoreKeySpec spec = new MoreKeySpec( in assertParser()
77 final String[] actual = MoreKeySpec.insertAdditionalMoreKeys(moreKeys, additionalMoreKeys); in assertInsertAdditionalMoreKeys()
306 final boolean actualValue = MoreKeySpec.getBooleanValue(actual, key); in assertGetBooleanValue()
346 final int actualValue = MoreKeySpec.getIntValue(actual, key, defaultValue); in assertGetIntValue()
DMoreKeySpecStringReferenceTests.java48 final String[] actual = MoreKeySpec.splitKeySpecs(resolvedActual); in assertTextArray()
DMoreKeySpecSplitTests.java70 final String[] actual = MoreKeySpec.splitKeySpecs(resolvedActual); in assertTextArray()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSpacingAndPunctuations.java22 import com.android.inputmethod.keyboard.internal.MoreKeySpec;
72 final String[] suggestPuncsSpec = MoreKeySpec.splitKeySpecs( in SpacingAndPunctuations()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetNavigateMoreKeysBase.java24 import com.android.inputmethod.keyboard.internal.MoreKeySpec;
89 final MoreKeySpec[] actualMoreKeys = actualKey.getMoreKeys(); in doTestMoreKeysOf()