/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | ExpectedKeyOutput.java | 56 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 …]
|
D | ActualKeyboardBuilder.java | 107 return toString(spec.mLabel, spec.mIconId, spec.mOutputText, spec.mCode); in stringize()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | Key.java | 56 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 …]
|
D | PointerTracker.java | 1027 final int moreKeyCode = key.getMoreKeys()[0].mCode; in onLongPressed()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | MoreKeySpec.java | 48 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/ |
D | EditEventFragment.java | 782 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/ |
D | OAuthAuthenticationActivity.java | 141 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/ |
D | ConversationCursor.java | 1479 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/ |
D | MainKeyboardAccessibilityDelegate.java | 293 final int codePointOfNoPanelAutoMoreKey = key.getMoreKeys()[0].mCode; in performLongClickOn()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | MoreKeySpecTests.java | 45 Constants.printableCode(spec.mCode)); in assertParser()
|