Searched refs:mCode (Results 1 - 15 of 15) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DMoreKeySpec.java27 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 DKeyboardParams.java92 if (key.mCode == Constants.CODE_SHIFT) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyDetector.java111 // 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 DKey.java61 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 DProximityInfo.java99 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 DKeyboard.java134 if (key.mCode == code) {
151 mKeyCache.put(key.mCode, key);
H A DPointerTracker.java462 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 DMainKeyboardView.java242 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 DMoreKeysKeyboardView.java130 onCodeInput(mCurrentKey.mCode, x, y);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
H A DKeyCodeDescriptionMapper.java100 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 DEditEventFragment.java782 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 DExpandableDictionary.java58 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 DJsonUtils.java78 jsonWriter.name("code").value(key.mCode);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DInputTestsBase.java208 if (key.mCode == codePoint) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
H A DKeySpecParserTests.java75 Constants.printableCode(spec.mCode));

Completed in 168 milliseconds