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

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
MoreKeySpec.java 36 * The more key specification object. The more keys are an array of {@link MoreKeySpec}.
43 * Note that the '\' is also parsed by XML parser and {@link MoreKeySpec#splitKeySpecs(String)}
47 public final class MoreKeySpec {
55 public MoreKeySpec(@Nonnull final String moreKeySpec, boolean needsToUpperCase,
57 if (moreKeySpec.isEmpty()) {
60 final String label = KeySpecParser.getLabel(moreKeySpec);
62 final int codeInSpec = KeySpecParser.getCode(moreKeySpec);
72 final String outputText = KeySpecParser.getOutputText(moreKeySpec);
76 mIconId = KeySpecParser.getIconId(moreKeySpec);
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
ExpectedKeyVisual.java 21 import com.android.inputmethod.keyboard.internal.MoreKeySpec;
46 abstract boolean hasSameKeyVisual(final MoreKeySpec moreKeySpec);
93 boolean hasSameKeyVisual(final MoreKeySpec moreKeySpec) {
97 return mIconId == moreKeySpec.mIconId && moreKeySpec.mLabel == null;
160 boolean hasSameKeyVisual(final MoreKeySpec moreKeySpec) {
164 return mLabel.equals(moreKeySpec.mLabel
    [all...]
ExpectedKeyOutput.java 20 import com.android.inputmethod.keyboard.internal.MoreKeySpec;
48 abstract boolean hasSameKeyOutput(final MoreKeySpec moreKeySpec);
88 boolean hasSameKeyOutput(final MoreKeySpec moreKeySpec) {
89 return mCode == moreKeySpec.mCode;
144 boolean hasSameKeyOutput(final MoreKeySpec moreKeySpec) {
145 return moreKeySpec.mCode == Constants.CODE_OUTPUT_TEXT
146 && mText.equals(moreKeySpec.mOutputText)
    [all...]
ExpectedKey.java 20 import com.android.inputmethod.keyboard.internal.MoreKeySpec;
169 public boolean equalsTo(final MoreKeySpec moreKeySpec) {
170 return mVisual.hasSameKeyVisual(moreKeySpec) && mOutput.hasSameKeyOutput(moreKeySpec);
279 final MoreKeySpec[] moreKeySpecs = key.getMoreKeys();
296 public boolean equalsTo(final MoreKeySpec moreKeySpec) {
297 // MoreKeySpec has no "more keys".
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
MoreKeysKeyboard.java 25 import com.android.inputmethod.keyboard.internal.MoreKeySpec;
312 final MoreKeySpec[] moreKeys = key.getMoreKeys();
321 for (final MoreKeySpec spec : parentKey.getMoreKeys()) {
337 final MoreKeySpec[] moreKeys = mParentKey.getMoreKeys();
339 final MoreKeySpec moreKeySpec = moreKeys[n];
343 final Key key = moreKeySpec.buildKey(x, y, moreKeyFlags, params);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
MoreKeySpecTests.java 32 protected void assertParser(final String message, final String moreKeySpec,
35 final String labelResolved = mTextsSet.resolveTextReference(moreKeySpec);
36 final MoreKeySpec spec = new MoreKeySpec(
77 final String[] actual = MoreKeySpec.insertAdditionalMoreKeys(moreKeys, additionalMoreKeys);
306 final boolean actualValue = MoreKeySpec.getBooleanValue(actual, key);
346 final int actualValue = MoreKeySpec.getIntValue(actual, key, defaultValue);

Completed in 181 milliseconds