Home
last modified time | relevance | path

Searched refs:moreKeySpec (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java55 public MoreKeySpec(@Nonnull final String moreKeySpec, boolean needsToUpperCase, in MoreKeySpec() argument
57 if (moreKeySpec.isEmpty()) { in MoreKeySpec()
60 final String label = KeySpecParser.getLabel(moreKeySpec); in MoreKeySpec()
62 final int codeInSpec = KeySpecParser.getCode(moreKeySpec); in MoreKeySpec()
72 final String outputText = KeySpecParser.getOutputText(moreKeySpec); in MoreKeySpec()
76 mIconId = KeySpecParser.getIconId(moreKeySpec); in MoreKeySpec()
266 final String moreKeySpec = moreKeys[moreKeyIndex]; in insertAdditionalMoreKeys() local
267 if (moreKeySpec.equals(ADDITIONAL_MORE_KEY_MARKER)) { in insertAdditionalMoreKeys()
285 out.add(moreKeySpec); in insertAdditionalMoreKeys()
322 final String moreKeySpec = moreKeys[i]; in getIntValue() local
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyVisual.java46 abstract boolean hasSameKeyVisual(final MoreKeySpec moreKeySpec); in hasSameKeyVisual() argument
93 boolean hasSameKeyVisual(final MoreKeySpec moreKeySpec) { in hasSameKeyVisual() argument
97 return mIconId == moreKeySpec.mIconId && moreKeySpec.mLabel == null; in hasSameKeyVisual()
160 boolean hasSameKeyVisual(final MoreKeySpec moreKeySpec) { in hasSameKeyVisual() argument
164 return mLabel.equals(moreKeySpec.mLabel) in hasSameKeyVisual()
165 && moreKeySpec.mIconId == KeyboardIconsSet.ICON_UNDEFINED; in hasSameKeyVisual()
DExpectedKeyOutput.java48 abstract boolean hasSameKeyOutput(final MoreKeySpec moreKeySpec); in hasSameKeyOutput() argument
88 boolean hasSameKeyOutput(final MoreKeySpec moreKeySpec) { in hasSameKeyOutput() argument
89 return mCode == moreKeySpec.mCode; in hasSameKeyOutput()
144 boolean hasSameKeyOutput(final MoreKeySpec moreKeySpec) { in hasSameKeyOutput() argument
145 return moreKeySpec.mCode == Constants.CODE_OUTPUT_TEXT in hasSameKeyOutput()
146 && mText.equals(moreKeySpec.mOutputText); in hasSameKeyOutput()
DExpectedKey.java169 public boolean equalsTo(final MoreKeySpec moreKeySpec) { in equalsTo() argument
170 return mVisual.hasSameKeyVisual(moreKeySpec) && mOutput.hasSameKeyOutput(moreKeySpec); in equalsTo()
296 public boolean equalsTo(final MoreKeySpec moreKeySpec) { in equalsTo() argument
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecTests.java32 protected void assertParser(final String message, final String moreKeySpec, in assertParser() argument
35 final String labelResolved = mTextsSet.resolveTextReference(moreKeySpec); in assertParser()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java339 final MoreKeySpec moreKeySpec = moreKeys[n]; in build() local
343 final Key key = moreKeySpec.buildKey(x, y, moreKeyFlags, params); in build()