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()
75 return new CasePreservedCode(mCode); in preserveCase()
80 return StringUtils.codePointCount(text) == 1 && text.codePointAt(0) == mCode; in equalsTo()
85 return mCode == key.getCode(); in equalsTo()
90 return mCode == moreKeySpec.mCode; in equalsTo()
95 return (output instanceof Code) && mCode == ((Code)output).mCode; in equalsTo()
100 return Constants.isLetterCode(mCode) ? StringUtils.newSingleCodePointString(mCode) in toString()
[all …]
DActualKeyboardBuilder.java101 return toString(spec.mLabel, spec.mIconId, spec.mOutputText, spec.mCode); in stringize()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java53 private final int mCode; field in Key
213 mCode = code; in Key()
347 mCode = mHintLabel.codePointAt(0); in Key()
349 mCode = mLabel.codePointAt(0); in Key()
355 mCode = CODE_OUTPUT_TEXT; in Key()
359 mCode = outputText.codePointAt(0); in Key()
362 mCode = CODE_OUTPUT_TEXT; in Key()
365 mCode = StringUtils.toUpperCaseOfCodeForLocale(code, needsToUpperCase, locale); in Key()
384 mCode = key.mCode; in Key()
425 key.mCode, in computeHashCode()
[all …]
DMainKeyboardView.java617 final int moreKeyCode = key.getMoreKeys()[0].mCode; in onLongPress()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java44 public final int mCode; field in MoreKeySpec
60 mCode = Constants.CODE_OUTPUT_TEXT; in MoreKeySpec()
63 mCode = code; in MoreKeySpec()
72 return new Key(mLabel, mIconId, mCode, mOutputText, null /* hintLabel */, labelFlags, in buildKey()
80 hashCode = 31 + mCode; in hashCode()
92 return mCode == other.mCode in equals()
104 final String output = (mCode == Constants.CODE_OUTPUT_TEXT ? mOutputText in toString()
105 : Constants.printableCode(mCode)); in toString()
106 if (StringUtils.codePointCount(label) == 1 && label.codePointAt(0) == mCode) { in toString()
/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.java295 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()