Searched refs:primaryCode (Results 1 – 2 of 2) sorted by relevance
203 public void onKey(int primaryCode, int[] keyCodes) { in onKey() argument204 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() argument295 if (mKeyboardView.isShifted() && primaryCode != ' ' && primaryCode != '\n') { in handleCharacter()296 primaryCode = Character.toUpperCase(primaryCode); in handleCharacter()298 sendKeyEventsToTarget(primaryCode); in handleCharacter()[all …]
83 void onPress(int primaryCode); in onPress() argument90 void onRelease(int primaryCode); in onRelease() argument102 void onKey(int primaryCode, int[] keyCodes); in onKey() argument1104 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()