Home
last modified time | relevance | path

Searched refs:mCode (Results 1 – 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyOutput.java56 private final int mCode; field in ExpectedKeyOutput.Code
58 Code(final int code) { mCode = code; } in Code()
62 if (Constants.isLetterCode(mCode)) { in toUpperCase()
63 final String codeString = StringUtils.newSingleCodePointString(mCode); in toUpperCase()
74 return new CasePreservedCode(mCode); in preserveCase()
79 return StringUtils.codePointCount(text) == 1 && text.codePointAt(0) == mCode; in hasSameKeyOutput()
84 return mCode == key.getCode(); in hasSameKeyOutput()
89 return mCode == moreKeySpec.mCode; in hasSameKeyOutput()
94 return (output instanceof Code) && mCode == ((Code)output).mCode; in hasSameKeyOutput()
99 return Constants.isLetterCode(mCode) ? StringUtils.newSingleCodePointString(mCode) in toString()
[all …]
DActualKeyboardBuilder.java107 return toString(spec.mLabel, spec.mIconId, spec.mOutputText, spec.mCode); in stringize()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java48 public final int mCode; field in MoreKeySpec
68 mCode = Constants.CODE_OUTPUT_TEXT; in MoreKeySpec()
71 mCode = code; in MoreKeySpec()
82 return new Key(mLabel, mIconId, mCode, mOutputText, null /* hintLabel */, labelFlags, in buildKey()
90 hashCode = 31 + mCode; in hashCode()
106 return mCode == other.mCode in equals()
118 final String output = (mCode == Constants.CODE_OUTPUT_TEXT ? mOutputText in toString()
119 : Constants.printableCode(mCode)); in toString()
120 if (StringUtils.codePointCount(label) == 1 && label.codePointAt(0) == mCode) { in toString()
140 final int code = moreKey.mCode; in contains()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java56 private final int mCode; field in Key
232 mCode = code; in Key()
377 mCode = mHintLabel.codePointAt(0); in Key()
379 mCode = mLabel.codePointAt(0); in Key()
385 mCode = CODE_OUTPUT_TEXT; in Key()
389 mCode = outputText.codePointAt(0); in Key()
392 mCode = CODE_OUTPUT_TEXT; in Key()
395 mCode = needsToUpcase ? StringUtils.toTitleCaseOfKeyCode(code, localeForUpcasing) in Key()
420 mCode = key.mCode; in Key()
472 key.mCode, in computeHashCode()
[all …]
DPointerTracker.java1027 final int moreKeyCode = key.getMoreKeys()[0].mCode; in onLongPressed()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DHttp.java289 private final int mCode; field in Http.HttpError
300 mCode = code; in HttpError()
307 return mCode; in getResponseCode()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DMainKeyboardAccessibilityDelegate.java285 final int codePointOfNoPanelAutoMoreKey = key.getMoreKeys()[0].mCode; in performLongClickOn()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecTests.java45 Constants.printableCode(spec.mCode)); in assertParser()