/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() 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 …]
|
D | ActualKeyboardBuilder.java | 101 return toString(spec.mLabel, spec.mIconId, spec.mOutputText, spec.mCode); in stringize()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | Key.java | 53 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 …]
|
D | MainKeyboardView.java | 617 final int moreKeyCode = key.getMoreKeys()[0].mCode; in onLongPress()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | MoreKeySpec.java | 44 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/ |
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 | 295 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()
|