Searched defs:primaryCode (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardHelper.java135 public void onKey(int primaryCode, int[] keyCodes) { argument
136 if (primaryCode == Keyboard.KEYCODE_DELETE) {
138 } else if (primaryCode == Keyboard.KEYCODE_SHIFT) {
140 } else if (primaryCode == Keyboard.KEYCODE_CANCEL) {
143 } else if (primaryCode == Keyboard.KEYCODE_MODE_CHANGE && mKeyboardView != null) {
146 handleCharacter(primaryCode, keyCodes);
224 private void handleCharacter(int primaryCode, int[] keyCodes) { argument
226 if (mKeyboardView.isShifted() && primaryCode != ' ' && primaryCode != '\n') {
227 primaryCode
236 onPress(int primaryCode) argument
242 onRelease(int primaryCode) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java75 * @param primaryCode the unicode of the key being pressed. If the touch is not on a valid
78 void onPress(int primaryCode); argument
83 * @param primaryCode the code of the key that was released
85 void onRelease(int primaryCode); argument
89 * @param primaryCode this is the key that was pressed
97 void onKey(int primaryCode, int[] keyCodes); argument
1020 public void onKey(int primaryCode, int[] keyCodes) {
1021 mKeyboardActionListener.onKey(primaryCode, keyCodes);
1034 public void onPress(int primaryCode) {
1035 mKeyboardActionListener.onPress(primaryCode);
[all...]

Completed in 6 milliseconds