/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | MoreKeySpec.java | 27 public final int mCode; field in class:MoreKeySpec 41 mCode = Constants.CODE_OUTPUT_TEXT; 44 mCode = code; 54 hashCode = 31 + mCode; 66 return mCode == other.mCode 78 final String output = (mCode == Constants.CODE_OUTPUT_TEXT ? mOutputText 79 : Constants.printableCode(mCode)); 80 if (StringUtils.codePointCount(label) == 1 && label.codePointAt(0) == mCode) {
|
H A D | KeyboardParams.java | 92 if (key.mCode == Constants.CODE_SHIFT) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | KeyDetector.java | 111 // To take care of hitbox overlaps, we compare mCode here too. 112 if (primaryKey == null || distance < minDistance || key.mCode > primaryKey.mCode) { 121 return key != null ? Constants.printableCode(key.mCode) : "none";
|
H A D | Key.java | 61 public final int mCode; field in class:Key 177 this(params, moreKeySpec.mLabel, null, moreKeySpec.mIconId, moreKeySpec.mCode, 202 mCode = code; 333 mCode = mHintLabel.codePointAt(0); 335 mCode = mLabel.codePointAt(0); 341 mCode = CODE_OUTPUT_TEXT; 345 mCode = outputText.codePointAt(0); 348 mCode = CODE_OUTPUT_TEXT; 351 mCode = KeySpecParser.toUpperCaseOfCodeForLocale(code, needsToUpperCase, locale); 393 key.mCode, [all...] |
H A D | ProximityInfo.java | 99 return key.mCode >= Constants.CODE_SPACE; 125 proximityCharsArray[infoIndex] = neighborKey.mCode; 166 keyCharCodes[infoIndex] = key.mCode; 207 Constants.printableCode(key.mCode))); 282 final int code = key.mCode;
|
H A D | Keyboard.java | 134 if (key.mCode == code) { 151 mKeyCache.put(key.mCode, key);
|
H A D | PointerTracker.java | 462 mListener.onPressKey(key.mCode, getActivePointerTrackerCount() == 1); 472 // primaryCode is different from {@link Key#mCode}. 504 // primaryCode is different from {@link Key#mCode}. 732 if (key == null || !Character.isLetter(key.mCode)) { 1014 lastX, lastY, Constants.printableCode(oldKey.mCode), 1015 x, y, Constants.printableCode(key.mCode))); 1037 lastX, lastY, Constants.printableCode(oldKey.mCode), 1038 x, y, Constants.printableCode(key.mCode))); 1046 callListenerOnRelease(oldKey, oldKey.mCode, true /* withSliding */); 1200 callListenerOnRelease(currentKey, currentKey.mCode, tru [all...] |
H A D | MainKeyboardView.java | 242 if (currentKey != null && currentKey.mCode == msg.arg1) { 266 sendMessageDelayed(obtainMessage(MSG_REPEAT_KEY, key.mCode, 0, tracker), delay); 308 switch (key.mCode) { 371 final int typedCode = typedKey.mCode; 1004 final int code = key.mCode; 1006 final int embeddedCode = key.mMoreKeys[0].mCode; 1348 if (key.mCode == Constants.CODE_SPACE) { 1354 } else if (key.mCode == Constants.CODE_LANGUAGE_SWITCH) {
|
H A D | MoreKeysKeyboardView.java | 130 onCodeInput(mCurrentKey.mCode, x, y);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
H A D | KeyCodeDescriptionMapper.java | 100 final int code = key.mCode; 129 if (key.mCode != Constants.CODE_UNSPECIFIED) { 270 final int code = key.mCode;
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EditEventFragment.java | 782 private int mCode = -1; field in class:EditEventFragment.Done 786 mCode = code; 800 if ((mCode & Utils.DONE_SAVE) != 0 && mModel != null 822 } else if ((mCode & Utils.DONE_SAVE) != 0 && mModel != null && isEmptyNewEvent()) { 826 if ((mCode & Utils.DONE_DELETE) != 0 && mOriginalModel != null 847 if ((mCode & Utils.DONE_EXIT) != 0) { 850 if ((mCode & Utils.DONE_SAVE) != 0) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | ExpandableDictionary.java | 58 char mCode; field in class:ExpandableDictionary.Node 220 if (node.mCode == c) { 228 childNode.mCode = c; 458 final char c = node.mCode; 597 if (node.mCode == c) { 604 childNode.mCode = c; 649 mLookedUpString[index] = node.mCode; 681 if (node.mCode == currentChar) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
H A D | JsonUtils.java | 78 jsonWriter.name("code").value(key.mCode);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | InputTestsBase.java | 208 if (key.mCode == codePoint) {
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeySpecParserTests.java | 75 Constants.printableCode(spec.mCode));
|