Home
last modified time | relevance | path

Searched refs:getKeyCode (Results 1 – 14 of 14) sorted by relevance

/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyKeyEvent.java64 public int getKeyCode() { in getKeyCode() method in MonkeyKeyEvent
65 return mKeyEvent != null ? mKeyEvent.getKeyCode() : mKeyCode; in getKeyCode()
DMonkeySourceNetwork.java212 int keyCode = getKeyCode(command.get(2)); in translateCommand()
242 private static int getKeyCode(String keyName) { in getKeyCode() method in MonkeySourceNetwork
249 keyCode = MonkeySourceRandom.getKeyCode(keyName); in getKeyCode()
256 keyCode = MonkeySourceRandom.getKeyCode("KEYCODE_" + keyName.toUpperCase()); in getKeyCode()
369 int keyCode = getKeyCode(command.get(1)); in translateCommand()
DMonkeySourceRandom.java118 public static int getKeyCode(String keyName) { in getKeyCode() method in MonkeySourceRandom
DMonkeySourceScript.java683 int keyCode = MonkeySourceRandom.getKeyCode(key_name); in handleEvent()
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DMusicIntentReceiver.java46 switch (keyEvent.getKeyCode()) { in onReceive()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DMagnificationService.java84 final int keyCode = event.getKeyCode(); in onKeyEvent()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameControllerInput.java251 public int getKeyCode(int keyIndex) { in getKeyCode() method in GameControllerInput.InputDeviceState
260 final int keyCode = event.getKeyCode(); in onKeyDown()
273 final int keyCode = event.getKeyCode(); in onKeyUp()
403 final int keyCode = state.getKeyCode(i); in show()
DInternalSelectionView.java204 switch(event.getKeyCode()) { in onKeyDown()
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DPlaybackControlSupportHelper.java121 Action action = getControlsRow().getActionForKeyCode(keyEvent.getKeyCode()); in onKey()
DPlaybackControlHelper.java119 Action action = getControlsRow().getActionForKeyCode(keyEvent.getKeyCode()); in onKey()
/development/samples/Home/src/com/example/android/home/
DHome.java412 switch (event.getKeyCode()) { in dispatchKeyEvent()
421 switch (event.getKeyCode()) { in dispatchKeyEvent()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
DMediaPlayerGlue.java204 consume = consume && event.getKeyCode() == KeyEvent.KEYCODE_DPAD_CENTER; in onKey()
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DSampleMediaRouterActivity.java409 switch (event.getKeyCode()) { in handleMediaKey()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DMainActivity.java421 switch (event.getKeyCode()) { in handleMediaKey()