Home
last modified time | relevance | path

Searched refs:keycode (Results 1 – 25 of 28) sorted by relevance

12

/external/replicaisland/src/com/replica/replicaisland/
DInputKeyboard.java34 public void press(float currentTime, int keycode) { in press() argument
35 assert keycode >= 0 && keycode < mKeys.length; in press()
36 if (keycode >= 0 && keycode < mKeys.length){ in press()
37 mKeys[keycode].press(currentTime, 1.0f); in press()
41 public void release(int keycode) {
42 assert keycode >= 0 && keycode < mKeys.length;
43 if (keycode >= 0 && keycode < mKeys.length){
44 mKeys[keycode].release();
DInputSystem.java86 public void keyDown(int keycode) { in keyDown() argument
89 mKeyboard.press(gameTime, keycode); in keyDown()
92 public void keyUp(int keycode) { in keyUp() argument
93 mKeyboard.release(keycode); in keyUp()
DKeyboardConfigDialogPreference.java139 protected String getKeyLabel(int keycode) { in getKeyLabel() argument
145 if (keycode > 0 && keycode < mKeyLabels.length) { in getKeyLabel()
146 result = mKeyLabels[keycode - 1]; in getKeyLabel()
/external/libvncserver/webclients/novnc/include/
Dkeyboard.js201 function keysymFromKeyCode(keycode, shiftPressed) { argument
202 if (typeof(keycode) !== 'number') {
206 if (keycode >= 0x30 && keycode <= 0x39) {
207 return keycode; // digit
209 if (keycode >= 0x41 && keycode <= 0x5a) {
211 return shiftPressed ? keycode : keycode + 32; // A-Z
213 if (keycode >= 0x60 && keycode <= 0x69) {
214 return 0xffb0 + (keycode - 0x60); // numpad 0-9
217 switch(keycode) {
231 return nonCharacterKey({keyCode: keycode});
[all …]
/external/opencv3/samples/cpp/
Dsegment_objects.cpp103 int keycode = waitKey(30); in main() local
104 if( keycode == 27 ) in main()
106 if( keycode == ' ' ) in main()
/external/skia/platform_tools/android/apps/sample_app/src/main/jni/
DAndroidKeyToSkKey.h18 SkKey AndroidKeycodeToSkKey(int keycode) { in AndroidKeycodeToSkKey() argument
19 switch (keycode) { in AndroidKeycodeToSkKey()
/external/strace/
Devdev.c162 unsigned int keycode[2]; in keycode_ioctl() local
169 if (!verbose(tcp) || umove(tcp, arg, &keycode) < 0) in keycode_ioctl()
172 tprintf(", [%u, ", keycode[0]); in keycode_ioctl()
173 printxval(evdev_keycode, keycode[1], "KEY_???"); in keycode_ioctl()
197 printxval(evdev_keycode, ike.keycode, "KEY_???"); in keycode_V2_ioctl()
/external/autotest/client/site_tests/hardware_Keyboard/src/
Devtest.c353 int keycode = keycode_from_name(key_name); in is_key_supported() local
354 if (keycode) { in is_key_supported()
356 if (test_bit(keycode, bit[EV_KEY])) { in is_key_supported()
357 printf("%d", keycode); in is_key_supported()
/external/skia/platform_tools/android/apps/sample_app/src/main/java/com/skia/
DSkiaSampleActivity.java199 final int keycode = event.getKeyCode(); in dispatchKeyEvent() local
200 if (keycode == KeyEvent.KEYCODE_BACK) { in dispatchKeyEvent()
/external/kernel-headers/original/uapi/linux/
Dkd.h140 unsigned int scancode, keycode; member
Dinput.h97 __u32 keycode; member
/external/autotest/server/site_tests/firmware_ECLidSwitch/
Dcontrol23 - Check no power button keycode is sent in S0 when lid close
/external/skia/src/views/unix/
DSkOSWindow_Unix.cpp238 KeySym keysym = XkbKeycodeToKeysym(dsp, evt.xkey.keycode, in nextXEvent()
251 this->handleKeyUp(XKeyToSkKey(XkbKeycodeToKeysym(dsp, evt.xkey.keycode, 0, 0))); in nextXEvent()
/external/skia/platform_tools/android/apps/visualbenchsdl/src/main/java/org/libsdl/app/
DSDLActivity.java438 public static native int onNativePadDown(int device_id, int keycode); in onNativePadDown() argument
439 public static native int onNativePadUp(int device_id, int keycode); in onNativePadUp() argument
444 public static native void onNativeKeyDown(int keycode); in onNativeKeyDown() argument
445 public static native void onNativeKeyUp(int keycode); in onNativeKeyUp() argument
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py1077 def SendKeyEvent(self, keycode, timeout=None, retries=None): argument
1091 self.RunShellCommand(['input', 'keyevent', format(keycode, 'd')],
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-linux.c6642 (Addr)((struct vki_kbkeycode *)ARG3)->keycode, in PRE()
6643 sizeof(((struct vki_kbkeycode *)ARG3)->keycode) ); in PRE()
6650 (Addr)((struct vki_kbkeycode *)ARG3)->keycode, in PRE()
6651 sizeof(((struct vki_kbkeycode *)ARG3)->keycode) ); in PRE()
9239 POST_MEM_WRITE( (Addr)((struct vki_kbkeycode *)ARG3)->keycode, in POST()
9240 sizeof(((struct vki_kbkeycode *)ARG3)->keycode) ); in POST()
/external/valgrind/include/vki/
Dvki-linux.h2270 unsigned int scancode, keycode; member
/external/libvncserver/
DChangeLog2707 x11vnc/x11vnc.c, x11vnc/x11vnc_defs.c: x11vnc: fix keycode and other
3602 for orig uskdb code. keycode=N remote contol cmd. Find dpy look at
6149 …x11vnc/tkx11vnc.h, x11vnc/x11vnc.1, x11vnc/x11vnc.c: x11vnc: track keycode state for heuristics, …
6922 …* x11vnc/ChangeLog, x11vnc/x11vnc.c: x11vnc: ignore keysyms >4 for a keycode, add lastmod to -hel…
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jface_3.6.1.M20100825-0800.jar ... java.lang.String convertAccelerator (int) int keyCode public static int convertAccelerator (java.lang.String ...
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/v3/runtime/
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...

12