Home
last modified time | relevance | path

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

/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()
DList12.java70 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey()
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
DInternalSelectionView.java203 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/
DClientCallbackImpl.java222 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
239 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress()
244 public boolean onKeyMultiple(int keyCode, KeyEvent event) { in onKeyMultiple()
249 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/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.java213 int keyCode = getKeyCode(command.get(2)); in translateCommand() local
244 int keyCode = -1; in getKeyCode() local
370 int keyCode = getKeyCode(command.get(1)); in translateCommand() local
DMonkeySourceScript.java683 int keyCode = MonkeySourceRandom.getKeyCode(key_name); in handleEvent() local
/development/samples/Snake/src/com/example/android/snake/
DSnake.java123 public boolean onKeyDown(int keyCode, KeyEvent msg) { in onKeyDown()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DMagnificationService.java84 final int keyCode = event.getKeyCode(); in onKeyEvent() local
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DSoftKeyboard.java350 private boolean translateKeyDown(int keyCode, KeyEvent event) { in translateKeyDown()
387 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
454 @Override public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
519 private void sendKey(int keyCode) { in sendKey()
/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()
DTouchRotateActivity.java122 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/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/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/apps/NinePatchLab/src/com/android/ninepatch/
DNinePatchLab.java169 @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/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/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/
DDumpActivity.java304 public boolean onAutocompleteKey(View view, int keyCode, KeyEvent keyevent) { in onAutocompleteKey()