HomeSort by relevance Sort by last modified time
    Searched refs:getKeyCode (Results 1 - 25 of 181) sorted by null

1 2 3 4 5 6 7 8

  /frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
LeanbackSettingsRootView.java 51 if (event.getAction() == KeyEvent.ACTION_UP && event.getKeyCode() == KeyEvent.KEYCODE_BACK
53 handled = mOnBackKeyListener.onKey(this, event.getKeyCode(), event);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowKeyEvent.java 24 public final int getKeyCode() {
  /packages/apps/TV/src/com/android/tv/ui/
OnRepeatedKeyInterceptListener.java 55 if (event.getKeyCode() != KeyEvent.KEYCODE_DPAD_UP &&
56 event.getKeyCode() != KeyEvent.KEYCODE_DPAD_DOWN) {
66 mDirection = event.getKeyCode() == KeyEvent.KEYCODE_DPAD_UP ? View.FOCUS_UP
IntroView.java 48 switch (event.getKeyCode()) {
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListSetSelection.java 65 if (event.getKeyCode() == KeyEvent.KEYCODE_S) {
  /packages/apps/Launcher2/src/com/android/launcher2/
FolderEditText.java 31 if (event.getKeyCode() == android.view.KeyEvent.KEYCODE_BACK) {
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyKeyEvent.java 64 public int getKeyCode() {
65 return mKeyEvent != null ? mKeyEvent.getKeyCode() : mKeyCode;
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/
InputListener.java 45 return keyDown(event, event.getKeyCode());
47 return keyUp(event, event.getKeyCode());
InputEvent.java 85 public int getKeyCode () {
  /packages/services/Car/car-support-lib/src/android/support/car/input/
CarRestrictedEditText.java 115 mListener.onKeyDown(event.getKeyCode());
117 mListener.onKeyUp(event.getKeyCode());
  /development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
MusicIntentReceiver.java 46 switch (keyEvent.getKeyCode()) {
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
SearchEditText.java 56 if (event.getKeyCode() == KeyEvent.KEYCODE_BACK) {
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
BaseKeyEventsTestCase.java 160 assertEquals("onKeyDown event matches", KeyEvent.KEYCODE_DEL, downEvent.getKeyCode());
164 assertEquals("onKeyUp event matches", KeyEvent.KEYCODE_DEL, upEvent.getKeyCode());
175 assertEquals("onKeyDown event matches", KeyEvent.KEYCODE_MENU, downEvent.getKeyCode());
179 assertEquals("onKeyDown event matches", KeyEvent.KEYCODE_MENU, upEvent.getKeyCode());
KeyboardShortcutsTestCaseWithToolbar.java 84 KeyEvent controlKey = new KeyEvent(time, time, event.getAction(), event.getKeyCode(),
  /packages/apps/TV/src/com/android/tv/receiver/
GlobalKeyReceiver.java 41 int keyCode = event.getKeyCode();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
HardwareKeyboardEventDecoder.java 48 final int keyCode = keyEvent.getKeyCode();
  /cts/tests/tests/text/src/android/text/method/cts/
BaseKeyListenerTest.java 55 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event);
60 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event);
65 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event);
67 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event);
75 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event);
80 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event);
85 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event);
93 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event);
98 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event);
102 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event)
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
KeyEventTest.java 73 assertEquals(KeyEvent.KEYCODE_UNKNOWN, mKeyEvent.getKeyCode());
118 assertEquals(KeyEvent.KEYCODE_0, callback.getKeyCode());
126 assertEquals(KeyEvent.KEYCODE_0, callback.getKeyCode());
136 assertEquals(KeyEvent.KEYCODE_0, callback.getKeyCode());
149 assertEquals(KeyEvent.KEYCODE_0, callback.getKeyCode());
541 assertEquals(mKeyEvent.getKeyCode(), keyEvent.getKeyCode());
557 assertEquals(KeyEvent.KEYCODE_0, mKeyEvent.getKeyCode());
589 assertEquals(mKeyEvent.getKeyCode(), newEvent.getKeyCode());
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
PipRecentsControlsView.java 165 if (event.getKeyCode() == KeyEvent.KEYCODE_BACK
171 } else if (event.getKeyCode() == KeyEvent.KEYCODE_DPAD_DOWN) {
  /packages/services/Car/service/src/com/android/car/
CarInputService.java 134 int keyCode = event.getKeyCode();
207 int keyCode = event.getKeyCode();
  /development/samples/ApiDemos/src/com/example/android/apis/accessibility/
MagnificationService.java 84 final int keyCode = event.getKeyCode();
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/
MediaButtonCallback.java 33 int keyCode = event.getKeyCode();
  /frameworks/base/core/tests/coretests/src/android/util/
KeyUtils.java 64 final int shortcutKeyCode = shortcutKeyEvent.getKeyCode();
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
PlaybackControlGlue.java 276 return onKey(null, keyEvent.getKeyCode(), keyEvent);
490 keyEvent.getKeyCode() == KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE ||
491 keyEvent.getKeyCode() == KeyEvent.KEYCODE_MEDIA_PLAY;
493 keyEvent.getKeyCode() == KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE ||
494 keyEvent.getKeyCode() == KeyEvent.KEYCODE_MEDIA_PAUSE;
PlaybackControlSupportGlue.java 278 return onKey(null, keyEvent.getKeyCode(), keyEvent);
492 keyEvent.getKeyCode() == KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE ||
493 keyEvent.getKeyCode() == KeyEvent.KEYCODE_MEDIA_PLAY;
495 keyEvent.getKeyCode() == KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE ||
496 keyEvent.getKeyCode() == KeyEvent.KEYCODE_MEDIA_PAUSE;

Completed in 1858 milliseconds

1 2 3 4 5 6 7 8