/external/jmonkeyengine/engine/src/core/com/jme3/input/controls/ |
D | TouchTrigger.java | 42 private final int keyCode; field in TouchTrigger 48 public TouchTrigger(int keyCode) { in TouchTrigger() argument 50 this.keyCode = keyCode; in TouchTrigger() 55 if (keyCode != 0) in getName() 58 return "TouchInput KeyCode " + keyCode; in getName() 61 public static int touchHash(int keyCode){ in touchHash() argument 62 assert keyCode >= 0 && keyCode <= 255; in touchHash() local 63 return 0xfedcba98 + keyCode; in touchHash() 67 return touchHash(keyCode); in triggerHashCode() 71 return keyCode; in getKeyCode()
|
D | KeyTrigger.java | 44 private final int keyCode; field in KeyTrigger 51 public KeyTrigger(int keyCode){ in KeyTrigger() argument 52 this.keyCode = keyCode; in KeyTrigger() 56 return "KeyCode " + keyCode; in getName() 60 return keyCode; in getKeyCode() 63 public static int keyHash(int keyCode){ in keyHash() argument 64 assert keyCode >= 0 && keyCode <= 255; in keyHash() local 65 return keyCode & 0xff; in keyHash() 69 return keyHash(keyCode); in triggerHashCode()
|
/external/droiddriver/src/io/appium/droiddriver/actions/ |
D | SingleKeyAction.java | 50 private final int keyCode; field in SingleKeyAction 54 public SingleKeyAction(int keyCode) { in SingleKeyAction() argument 55 this(keyCode, 0); in SingleKeyAction() 59 public SingleKeyAction(int keyCode, int metaState) { in SingleKeyAction() argument 60 this(keyCode, metaState, 100L, false); in SingleKeyAction() 63 public SingleKeyAction(int keyCode, int metaState, long timeoutMillis, boolean checkFocused) { in SingleKeyAction() argument 65 this.keyCode = keyCode; in SingleKeyAction() 73 final long downTime = Events.keyDown(injector, keyCode, metaState); in perform() 74 Events.keyUp(injector, downTime, keyCode, metaState); in perform() 83 Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB_MR1 ? String.valueOf(keyCode) in toString() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/input/event/ |
D | KeyInputEvent.java | 44 private int keyCode; field in KeyInputEvent 49 public KeyInputEvent(int keyCode, char keyChar, boolean pressed, boolean repeating) { in KeyInputEvent() argument 50 this.keyCode = keyCode; in KeyInputEvent() 73 return keyCode; in getKeyCode() 105 String str = "Key(CODE="+keyCode; in toString()
|
D | TouchEvent.java | 101 private int keyCode; field in TouchEvent 127 keyCode = 0; in set() 179 return keyCode; in getKeyCode() 182 public void setKeyCode(int keyCode) { in setKeyCode() argument 183 this.keyCode = keyCode; in setKeyCode()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | GalleryTest.java | 33 assertThat(listener.keyCode, equalTo(KeyEvent.KEYCODE_DPAD_RIGHT)); in onKeyDown_dPadRightShouldTriggerKeyEventDPadRight() 41 assertThat(listener.keyCode, equalTo(KeyEvent.KEYCODE_DPAD_RIGHT)); in onKeyDown_dPadLeftShouldTriggerKeyEventListener() 48 int keyCode; field in GalleryTest.TestOnKeyListener 52 public boolean onKey(View view, int keyCode, KeyEvent event) { in onKey() argument 54 this.keyCode = keyCode; in onKey()
|
/external/libvncserver/webclients/novnc/include/ |
D | input.js | 43 switch ( evt.keyCode ) { 54 switch ( evt.keyCode ) { 97 keysym = evt.keyCode; 181 keysym = evt.keyCode; 201 msg = msg + " " + c + " - keyCode: " + keyDownList[c].keyCode + 223 function getKeyEvent(keyCode, pop) { argument 226 if (keyDownList[i].keyCode === keyCode) { 240 if (evt.keyCode === 229) { 314 " (onKeyDown key: " + evt.keyCode + 374 " (onKeyPress key: " + evt.keyCode + [all …]
|
/external/skia/src/animator/ |
D | SkDisplayEvents.cpp | 51 int keyCode = state ? state->fCode : 0; in doEvent() local 60 …if ((int) evt->code > keyCode || (int) (evt->fMax != (SkKey) -1 ? evt->fMax : evt->code) < keyCode) in doEvent() 62 evt->fLastCode = (SkKey) keyCode; in doEvent() 98 int keyCode = state ? state->fCode : 0; in removeEvent() local 105 …if ((int) evt->code > keyCode || (int) (evt->fMax != (SkKey) -1 ? evt->fMax : evt->code) < keyCode) in removeEvent()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | KeyboardConfigDialogPreference.java | 211 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { in onKey() argument 217 mLeftText.setText(getKeyLabel(keyCode)); in onKey() 218 mLeftKeyCode = keyCode; in onKey() 221 mRightText.setText(getKeyLabel(keyCode)); in onKey() 222 mRightKeyCode = keyCode; in onKey() 225 mJumpText.setText(getKeyLabel(keyCode)); in onKey() 226 mJumpKeyCode = keyCode; in onKey() 229 mAttackText.setText(getKeyLabel(keyCode)); in onKey() 230 mAttackKeyCode = keyCode; in onKey()
|
D | AndouKun.java | 363 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 365 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyDown() 372 } else if (keyCode == KeyEvent.KEYCODE_MENU) { in onKeyDown() 389 result = mGame.onKeyDownEvent(keyCode); in onKeyDown() 401 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() argument 403 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyUp() 405 } else if (keyCode == KeyEvent.KEYCODE_MENU){ in onKeyUp() 410 result = mGame.onKeyUpEvent(keyCode); in onKeyUp()
|
D | DifficultyMenuActivity.java | 111 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 113 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyDown() 126 result = super.onKeyDown(keyCode, event); in onKeyDown()
|
D | LevelSelectActivity.java | 324 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 326 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyDown() 333 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() argument 335 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyUp()
|
D | ExtrasMenuActivity.java | 132 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 134 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyDown() 147 result = super.onKeyDown(keyCode, event); in onKeyDown()
|
/external/droiddriver/src/io/appium/droiddriver/util/ |
D | Events.java | 76 private static KeyEvent newKeyEvent(long downTime, long eventTime, int action, int keyCode, in newKeyEvent() argument 78 KeyEvent event = new KeyEvent(downTime, eventTime, action, keyCode, 0 /* repeat */, metaState); in newKeyEvent() 123 public static long keyDown(InputInjector injector, int keyCode, int metaState) { in keyDown() argument 125 KeyEvent downEvent = newKeyEvent(downTime, downTime, KeyEvent.ACTION_DOWN, keyCode, metaState); in keyDown() 130 public static void keyUp(InputInjector injector, long downTime, int keyCode, int metaState) { in keyUp() argument 132 newKeyEvent(downTime, SystemClock.uptimeMillis(), KeyEvent.ACTION_UP, keyCode, metaState)); in keyUp()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowGallery.java | 15 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 16 switch (keyCode) { in onKeyDown() 20 onKeyListener.onKey(gallery, keyCode, event); in onKeyDown()
|
D | ShadowTextView.java | 278 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 279 previousKeyCodes.add(keyCode); in onKeyDown() 282 return onKeyListener.onKey(realView, keyCode, event); in onKeyDown() 289 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() argument 290 previousKeyCodes.add(keyCode); in onKeyUp() 293 return onKeyListener.onKey(realView, keyCode, event); in onKeyUp()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
D | CTableCombo.java | 232 e.keyCode = event.keyCode; in handleTableEvent() 241 e.keyCode = event.keyCode; in handleTableEvent() 267 e.keyCode = event.keyCode; in handleTableEvent() 388 if (event.keyCode == SWT.ARROW_UP || event.keyCode == SWT.ARROW_DOWN) { in handleTextEvent() 390 if (event.keyCode == SWT.ARROW_UP) { in handleTextEvent() 431 e.keyCode = event.keyCode; in handleTextEvent() 442 e.keyCode = event.keyCode; in handleTextEvent() 489 e.keyCode = event.keyCode; in handleTextEvent()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
D | AbstractTextPropertyEditor.java | 253 lowEvent.keyCode = event.keyCode; in postKeyEvent() 269 if (e.keyCode == SWT.CR) { in handleKeyPressed() 277 } else if (e.keyCode == SWT.ESC) { in handleKeyPressed() 279 } else if (e.keyCode == SWT.ARROW_UP || e.keyCode == SWT.ARROW_DOWN) { in handleKeyPressed()
|
D | AbstractComboBoxPropertyEditor.java | 92 if (e.keyCode == SWT.ESC) { in handleKeyPressed() 94 } else if (e.keyCode == SWT.ARROW_UP || e.keyCode == SWT.ARROW_DOWN) { in handleKeyPressed()
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
D | CaptureActivity.java | 163 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 164 if (keyCode == KeyEvent.KEYCODE_BACK) { in onKeyDown() 168 } else if (keyCode == KeyEvent.KEYCODE_FOCUS || keyCode == KeyEvent.KEYCODE_CAMERA) { in onKeyDown() 172 return super.onKeyDown(keyCode, event); in onKeyDown()
|
/external/jmonkeyengine/engine/src/android/com/jme3/input/android/ |
D | AndroidInput.java | 295 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 299 evt.setKeyCode(keyCode); in onKeyDown() 307 if ((keyCode == KeyEvent.KEYCODE_VOLUME_UP) || (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN)) { in onKeyDown() 315 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() argument 319 evt.setKeyCode(keyCode); in onKeyUp() 327 if ((keyCode == KeyEvent.KEYCODE_VOLUME_UP) || (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN)) { in onKeyUp()
|
/external/libvncserver/x11vnc/ |
D | macosxCG.c | 924 void CGPostKeyboardEvent_wr(CGCharCode keyChar, CGKeyCode keyCode, int down) { in CGPostKeyboardEvent_wr() argument 936 … fprintf(stderr, "CGPostKeyboardEvent(keyChar=%d, keyCode=%d, down=%d)\n", keyChar, keyCode, down); in CGPostKeyboardEvent_wr() 937 CGPostKeyboardEvent(keyChar, keyCode, down); in CGPostKeyboardEvent_wr() 944 event = CGEventCreateKeyboardEvent(NULL, keyCode, down); in CGPostKeyboardEvent_wr() 950 …eyboard) fprintf(stderr, "CGEventCreateKeyboardEvent(NULL, keyCode=%d, down=%d)\n", keyCode, down); in CGPostKeyboardEvent_wr() 955 CGKeyCode keyCode = (CGKeyCode) keycode; in macosxCG_keycode_inject() local 960 CGPostKeyboardEvent_wr(keyChar, keyCode, down); in macosxCG_keycode_inject() 964 CGKeyCode keyCode = keyTable[(unsigned short)keysym]; in macosxCG_keysym_inject() local 979 if (keyCode == 0xFFFF) { in macosxCG_keysym_inject() 984 CGPostKeyboardEvent_wr(keyChar, keyCode, down); in macosxCG_keysym_inject()
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/evalexception/media/ |
D | debug.js | 117 if (event.keyCode != 38 && event.keyCode != 40) { 121 var dir = event.keyCode == 38 ? 1 : -1;
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/input/lwjgl/ |
D | LwjglKeyInput.java | 81 int keyCode = Keyboard.getEventKey(); in update() local 86 KeyInputEvent evt = new KeyInputEvent(keyCode, keyChar, pressed, down); in update()
|
/external/doclava/res/assets/templates/assets/ |
D | search_autocomplete.js | 110 if (e.keyCode == 13) { 120 else if (kd && (e.keyCode == 38)) { 128 else if (kd && (e.keyCode == 40)) {
|