Home
last modified time | relevance | path

Searched defs:keyCode (Results 1 – 25 of 36) sorted by relevance

12

/development/samples/JetBoy/src/com/example/android/jetboy/
DJetBoy.java135 public boolean onKeyDown(int keyCode, KeyEvent msg) { in onKeyDown()
147 public boolean onKeyUp(int keyCode, KeyEvent msg) { in onKeyUp()
DJetBoyView.java87 public KeyGameEvent(int keyCode, boolean up, KeyEvent msg) { in KeyGameEvent()
93 public int keyCode; field in JetBoyView.KeyGameEvent
1118 public boolean doKeyDown(int keyCode, KeyEvent msg) { in doKeyDown()
1128 public boolean doKeyUp(int keyCode, KeyEvent msg) { in doKeyUp()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java118 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
161 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
200 private static boolean isFireKey(int keyCode) { in isFireKey()
DGameControllerInput.java260 final int keyCode = event.getKeyCode(); in onKeyDown() local
273 final int keyCode = event.getKeyCode(); in onKeyUp() local
314 private static boolean isGameKey(int keyCode) { in isGameKey()
403 final int keyCode = state.getKeyCode(i); in show() local
DList12.java70 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey()
DInternalSelectionView.java203 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyKeyEvent.java41 public MonkeyKeyEvent(int action, int keyCode) { in MonkeyKeyEvent()
46 int keyCode, int repeatCount, int metaState, in MonkeyKeyEvent()
DMonkeySourceNetwork.java212 int keyCode = getKeyCode(command.get(2)); in translateCommand() local
243 int keyCode = -1; in getKeyCode() local
369 int keyCode = getKeyCode(command.get(1)); in translateCommand() local
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DSoftKeyboard.java321 private boolean translateKeyDown(int keyCode, KeyEvent event) { in translateKeyDown()
358 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
425 @Override public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
490 private void sendKey(int keyCode) { in sendKey()
/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java547 boolean doKeyDown(int keyCode, KeyEvent msg) { in doKeyDown()
597 boolean doKeyUp(int keyCode, KeyEvent msg) { in doKeyUp()
831 public boolean onKeyDown(int keyCode, KeyEvent msg) { in onKeyDown()
840 public boolean onKeyUp(int keyCode, KeyEvent msg) { in onKeyUp()
/development/samples/Snake/src/com/example/android/snake/
DSnake.java123 public boolean onKeyDown(int keyCode, KeyEvent msg) { in onKeyDown()
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DMainActivity.java124 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DMagnificationService.java84 final int keyCode = event.getKeyCode(); in onKeyEvent() local
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java128 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
142 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
491 private static boolean isFireKey(int keyCode) { in isFireKey()
695 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
745 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DSweep.java83 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
DPathEffects.java91 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
DUnicodeChart.java101 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DMainActivity.java462 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
467 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DSampleMediaRouterActivity.java451 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
456 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/development/apps/NinePatchLab/src/com/android/ninepatch/
DNinePatchLab.java169 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/development/apps/OBJViewer/com/android/objviewer/
DOBJViewer.java105 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DLookupActivity.java119 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DPlaybackControlSupportHelper.java119 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey()
DPlaybackControlHelper.java117 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
DMediaPlayerGlue.java196 @Override public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey()

12