Home
last modified time | relevance | path

Searched refs:mCode (Results 1 – 10 of 10) 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/
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/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/apps/Calendar/src/com/android/calendar/event/
DEditEventFragment.java782 private int mCode = -1; field in EditEventFragment.Done
786 mCode = code; in setDoneCode()
800 if ((mCode & Utils.DONE_SAVE) != 0 && mModel != null in run()
822 } else if ((mCode & Utils.DONE_SAVE) != 0 && mModel != null && isEmptyNewEvent()) { in run()
826 if ((mCode & Utils.DONE_DELETE) != 0 && mOriginalModel != null in run()
847 if ((mCode & Utils.DONE_EXIT) != 0) { in run()
850 if ((mCode & Utils.DONE_SAVE) != 0) { in run()
/packages/apps/Email/src/com/android/email/activity/setup/
DOAuthAuthenticationActivity.java141 private final String mCode; field in OAuthAuthenticationActivity.OAuthTokenLoader
146 mCode = code; in OAuthTokenLoader()
159 getContext(), mProviderId, mCode); in loadInBackground()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationCursor.java1479 final int mCode; field in ConversationCursor.ConversationProvider.ProviderExecute
1485 mCode = code; in ProviderExecute()
1504 switch(mCode) { in go()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DMainKeyboardAccessibilityDelegate.java293 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()