Home
last modified time | relevance | path

Searched refs:getKeyCode (Results 1 – 9 of 9) 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.java213 int keyCode = getKeyCode(command.get(2)); in translateCommand()
243 private static int getKeyCode(String keyName) { in getKeyCode() method in MonkeySourceNetwork
250 keyCode = MonkeySourceRandom.getKeyCode(keyName); in getKeyCode()
257 keyCode = MonkeySourceRandom.getKeyCode("KEYCODE_" + keyName.toUpperCase()); in getKeyCode()
370 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/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/Home/src/com/example/android/home/
DHome.java412 switch (event.getKeyCode()) { in dispatchKeyEvent()
421 switch (event.getKeyCode()) { in dispatchKeyEvent()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DMainActivity.java421 switch (event.getKeyCode()) { in handleMediaKey()