Home
last modified time | relevance | path

Searched refs:primaryCode (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/
DCarLatinIME.java257 public void onPress(int primaryCode) {
261 public void onRelease(int primaryCode) {
265 public void onKey(int primaryCode, int[] keyCodes) {
267 Log.d(TAG, "onKey " + primaryCode);
270 switch (primaryCode) {
342 String txt = Character.toString((char) primaryCode);
354 String commitText = Character.toString((char) primaryCode);
397 public void onPress(int primaryCode) {
401 public void onRelease(int primaryCode) {
405 public void onKey(int primaryCode, int[] keyCodes) {
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardActionListener.java32 public void onPressKey(int primaryCode, int repeatCount, boolean isSinglePointer); in onPressKey() argument
42 public void onReleaseKey(int primaryCode, boolean withSliding); in onReleaseKey() argument
59 public void onCodeInput(int primaryCode, int x, int y, boolean isKeyRepeat); in onCodeInput() argument
108 public void onPressKey(int primaryCode, int repeatCount, boolean isSinglePointer) {} in onPressKey() argument
110 public void onReleaseKey(int primaryCode, boolean withSliding) {} in onReleaseKey() argument
112 public void onCodeInput(int primaryCode, int x, int y, boolean isKeyRepeat) {} in onCodeInput() argument
DPointerTracker.java276 private void callListenerOnCodeInput(final Key key, final int primaryCode, final int x, in callListenerOnCodeInput() argument
280 final int code = altersCode ? key.getAltCode() : primaryCode; in callListenerOnCodeInput()
309 private void callListenerOnRelease(final Key key, final int primaryCode, in callListenerOnRelease() argument
318 Constants.printableCode(primaryCode), in callListenerOnRelease()
326 sListener.onReleaseKey(primaryCode, withSliding); in callListenerOnRelease()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DWordComposer.java180 final int primaryCode = event.mCodePoint; in applyProcessedEvent() local
201 mIsOnlyFirstCharCapitalized = Character.isUpperCase(primaryCode); in applyProcessedEvent()
204 && !Character.isUpperCase(primaryCode); in applyProcessedEvent()
206 if (Character.isUpperCase(primaryCode)) mCapsCount++; in applyProcessedEvent()
207 if (Character.isDigit(primaryCode)) mDigitsCount++; in applyProcessedEvent()
DLatinIME.java1727 public void onPressKey(final int primaryCode, final int repeatCount, in onPressKey() argument
1729 mKeyboardSwitcher.onPressKey(primaryCode, isSinglePointer, getCurrentAutoCapsState(), in onPressKey()
1731 hapticAndAudioFeedback(primaryCode, repeatCount); in onPressKey()
1737 public void onReleaseKey(final int primaryCode, final boolean withSliding) { in onReleaseKey() argument
1738 mKeyboardSwitcher.onReleaseKey(primaryCode, withSliding, getCurrentAutoCapsState(), in onReleaseKey()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DEvent.java231 final int primaryCode = suggestedWordInfo.mWord.charAt(0); in createPunctuationSuggestionPickedEvent() local
232 return new Event(EVENT_TYPE_SUGGESTION_PICKED, suggestedWordInfo.mWord, primaryCode, in createPunctuationSuggestionPickedEvent()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java90 void onPress(int primaryCode); in onPress() argument
97 void onRelease(int primaryCode); in onRelease() argument
109 void onKey(int primaryCode, int[] keyCodes); in onKey() argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripView.java63 public void onCodeInput(int primaryCode, int x, int y, boolean isKeyRepeat); in onCodeInput() argument