Home
last modified time | relevance | path

Searched refs:CODE_SPACE (Results 1 – 25 of 28) sorted by relevance

12

/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DConstants.java204 public static final int CODE_SPACE = ' '; field in Constants
252 return code >= CODE_SPACE; in isLetterCode()
274 case CODE_SPACE: return "space"; in printableCode()
276 if (code < CODE_SPACE) return String.format("\\u%02X", code); in printableCode()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMockKeyboardSwitcher.java39 public static final int CODE_SPACE = Constants.CODE_SPACE; field
40 public static final int CODE_AUTO_CAPS_TRIGGER = Constants.CODE_SPACE;
DKeyboardStateSingleTouchTests.java119 pressAndReleaseKey(CODE_SPACE, SYMBOLS_UNSHIFTED, ALPHABET_UNSHIFTED); in testSwitchBackBySpace()
128 pressAndReleaseKey(CODE_SPACE, SYMBOLS_SHIFTED, ALPHABET_UNSHIFTED); in testSwitchBackBySpace()
144 pressAndReleaseKey(CODE_SPACE, SYMBOLS_UNSHIFTED, ALPHABET_SHIFT_LOCKED); in testSwitchBackBySpaceShiftLocked()
153 pressAndReleaseKey(CODE_SPACE, SYMBOLS_SHIFTED, ALPHABET_SHIFT_LOCKED); in testSwitchBackBySpaceShiftLocked()
180 pressAndReleaseKey(CODE_SPACE, SYMBOLS_UNSHIFTED, ALPHABET_AUTOMATIC_SHIFTED); in testAutomaticUpperCase()
189 pressAndReleaseKey(CODE_SPACE, SYMBOLS_SHIFTED, ALPHABET_AUTOMATIC_SHIFTED); in testAutomaticUpperCase()
210 pressAndReleaseKey(CODE_SPACE, ALPHABET_SHIFT_LOCKED, ALPHABET_SHIFT_LOCKED); in testLongPressShift()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DProximityInfo.java100 return key.getCode() >= Constants.CODE_SPACE; in needsProximityInfo()
376 if (primaryKeyCode > Constants.CODE_SPACE) { in fillArrayWithNearestKeyCodes()
385 if (code <= Constants.CODE_SPACE) { in fillArrayWithNearestKeyCodes()
DMainKeyboardView.java399 mSpaceKey = keyboard.getKey(Constants.CODE_SPACE); in setKeyboard()
812 if (code == Constants.CODE_SPACE) { in onDrawKeyTopVisuals()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DStringUtilsTests.java121 assert_toTitleCaseOfKeyCode(US, Constants.CODE_SPACE, Constants.CODE_SPACE); in test_toTitleCaseOfKeyCode()
334 private static final int[] SPACE = { Constants.CODE_SPACE };
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardCodesSet.java61 Constants.CODE_SPACE,
DTimerHandler.java153 if (typedCode == Constants.CODE_SPACE || typedCode == Constants.CODE_ENTER) { in startTypingStateTimer()
DKeyboardState.java618 return c == Constants.CODE_SPACE || c == Constants.CODE_ENTER; in isSpaceOrEnter()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java458 if (processedEvent.mCodePoint != Constants.CODE_SPACE) { in onCodeInput()
886 final boolean shouldAvoidSendingCode = Constants.CODE_SPACE == codePoint in handleSeparatorEvent()
943 } else if (Constants.CODE_SPACE == codePoint) { in handleSeparatorEvent()
1257 if (Constants.CODE_SPACE != codePointBeforeCursor) { in trySwapSwapperAndSpace()
1330 || Constants.CODE_SPACE != event.mCodePoint in tryPerformDoubleSpacePeriod()
1340 if (lastTwo.charAt(length - 1) != Constants.CODE_SPACE) { in tryPerformDoubleSpacePeriod()
2024 sendKeyCodePoint(settingsValues, Constants.CODE_SPACE); in insertAutomaticSpaceIfOptionsAndTextAllow()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DAudioAndHapticFeedbackManager.java101 case Constants.CODE_SPACE: in performAudioFeedback()
DContactsManager.java221 final boolean hasSpace = name.indexOf(Constants.CODE_SPACE) != -1; in isValidName()
DRichInputConnection.java797 if (Constants.CODE_SPACE == codePointBeforeCursor) { in removeTrailingSpace()
838 || (Constants.CODE_SPACE != textBeforeCursor.charAt(1))) { in revertSwapPunctuation()
DSuggest.java407 || -1 == info.mWord.indexOf(Constants.CODE_SPACE); in isAllowedByAutoCorrectionWithSpaceFilter()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBlueUnderlineTests.java71 type(Constants.CODE_SPACE); in testBlueUnderlineOnBackspace()
DRichInputConnectionAndTextRangeTests.java226 mSpacingAndPunctuations, new int[] { Constants.CODE_SPACE }); in testGetWordRangeAtCursor()
294 mSpacingAndPunctuations, new int[] { Constants.CODE_SPACE }); in helpTestGetSuggestionSpansAtWord()
DInputLogicTestsDeadKeys.java97 .addCodePoint(Constants.CODE_SPACE, false) in testDeadDiaeresisSpace()
DInputLogicTests.java494 type(Constants.CODE_SPACE); in testAutoCorrectByUserHistory()
498 type(Constants.CODE_SPACE); in testAutoCorrectByUserHistory()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSpacingAndPunctuations.java65 mSentenceSeparator, Constants.CODE_SPACE }, 0, 2); in SpacingAndPunctuations()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DAbstractLayoutBase.java146 protected static final ExpectedKey SPACE_KEY = key(ICON_SPACE, Constants.CODE_SPACE);
DActualKeyboardBuilder.java118 } else if (code < Constants.CODE_SPACE) { in toString()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCapsModeUtils.java151 char prevChar = Constants.CODE_SPACE; in getCapsMode()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DRecapitalizeStatusTests.java28 private static final int[] SPACE = { Constants.CODE_SPACE };
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyCodeDescriptionMapper.java57 mKeyCodeMap.put(Constants.CODE_SPACE, R.string.spoken_description_space); in KeyCodeDescriptionMapper()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiPalettesView.java227 mSpacebar.setTag(Constants.CODE_SPACE); in onFinishInflate()

12