Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DPasswordEntryKeyboardHelper.java203 public void onKey(int primaryCode, int[] keyCodes) { in onKey() argument
204 if (primaryCode == Keyboard.KEYCODE_DELETE) { in onKey()
206 } else if (primaryCode == Keyboard.KEYCODE_SHIFT) { in onKey()
208 } else if (primaryCode == Keyboard.KEYCODE_CANCEL) { in onKey()
211 } else if (primaryCode == Keyboard.KEYCODE_MODE_CHANGE && mKeyboardView != null) { in onKey()
214 handleCharacter(primaryCode, keyCodes); in onKey()
293 private void handleCharacter(int primaryCode, int[] keyCodes) { in handleCharacter() argument
295 if (mKeyboardView.isShifted() && primaryCode != ' ' && primaryCode != '\n') { in handleCharacter()
296 primaryCode = Character.toUpperCase(primaryCode); in handleCharacter()
298 sendKeyEventsToTarget(primaryCode); in handleCharacter()
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java83 void onPress(int primaryCode); in onPress() argument
90 void onRelease(int primaryCode); in onRelease() argument
102 void onKey(int primaryCode, int[] keyCodes); in onKey() argument
1104 public void onKey(int primaryCode, int[] keyCodes) { in onLongPress()
1105 mKeyboardActionListener.onKey(primaryCode, keyCodes); in onLongPress()
1118 public void onPress(int primaryCode) { in onLongPress()
1119 mKeyboardActionListener.onPress(primaryCode); in onLongPress()
1121 public void onRelease(int primaryCode) { in onLongPress()
1122 mKeyboardActionListener.onRelease(primaryCode); in onLongPress()