Home
last modified time | relevance | path

Searched refs:keyCode (Results 1 – 25 of 54) sorted by relevance

123

/third_party/flutter/flutter/packages/flutter/lib/src/services/
Draw_keyboard_linux.dart22 /// The [toolkit], [scanCode], [unicodeScalarValues], [keyCode], and [modifiers],
28 this.keyCode = 0,
33 assert(keyCode != null),
46 /// This is typically the character that [keyCode] would produce without any modifier keys.
61 final int keyCode;
75 // Look to see if the keyCode is a printable number pad key, so that a
78 final LogicalKeyboardKey numPadKey = keyHelper.numpadKey(keyCode);
97 // Look to see if the keyCode is one we know about and have a mapping for.
98 LogicalKeyboardKey newKey = keyHelper.logicalKey(keyCode);
108 linuxKeyIdPlane | keyCode | LogicalKeyboardKey.autogeneratedMask,
[all …]
Draw_keyboard_macos.dart27 this.keyCode = 0,
31 assert(keyCode != null),
54 final int keyCode;
67 PhysicalKeyboardKey get physicalKey => kMacOsToPhysicalKey[keyCode] ?? PhysicalKeyboardKey.none;
71 // Look to see if the keyCode is a printable number pad key, so that a
74 final LogicalKeyboardKey numPadKey = kMacOsNumPadMap[keyCode];
79 // Look to see if the keyCode is one we know about and have a mapping for.
116 macOsKeyIdPlane | keyCode | LogicalKeyboardKey.autogeneratedMask,
117 debugName: kReleaseMode ? null : 'Unknown macOS key code $keyCode',
311 return '$runtimeType(keyLabel: $keyLabel, keyCode: $keyCode, characters: $characters,'
Draw_keyboard_android.dart27 /// The [flags], [codePoint], [keyCode], [scanCode], and [metaState] arguments
33 this.keyCode = 0,
41 assert(keyCode != null),
83 final int keyCode;
144 // Android sends DPAD_UP, etc. as the keyCode for joystick DPAD events, but
149 final LogicalKeyboardKey foundKey = kAndroidToLogicalKey[keyCode];
168 // Look to see if the keyCode is a printable number pad key, so that a
171 final LogicalKeyboardKey numPadKey = kAndroidNumPadMap[keyCode];
190 // Look to see if the keyCode is one we know about and have a mapping for.
191 LogicalKeyboardKey newKey = kAndroidToLogicalKey[keyCode];
[all …]
Draw_keyboard.dart255 keyCode: message['keyCode'] ?? 0,
276 keyCode: message['keyCode'] ?? 0,
283 keyCode: message['keyCode'] ?? 0,
/third_party/flutter/flutter/dev/manual_tests/lib/
Draw_keyboard.dart89 dataText.add(Text('keyCode: ${data.keyCode} (${_asHex(data.keyCode)})'));
101 dataText.add(Text('keyCode: ${data.keyCode} (${_asHex(data.keyCode)})'));
106 dataText.add(Text('keyCode: ${data.keyCode} (${_asHex(data.keyCode)})'));
/third_party/flutter/skia/third_party/externals/sdl/android-project/src/org/libsdl/app/
DSDLActivity.java285 int keyCode = event.getKeyCode(); in dispatchKeyEvent() local
287 if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN || in dispatchKeyEvent()
288 keyCode == KeyEvent.KEYCODE_VOLUME_UP || in dispatchKeyEvent()
289 keyCode == KeyEvent.KEYCODE_CAMERA || in dispatchKeyEvent()
290 keyCode == 168 || /* API 11: KeyEvent.KEYCODE_ZOOM_IN */ in dispatchKeyEvent()
291 keyCode == 169 /* API 11: KeyEvent.KEYCODE_ZOOM_OUT */ in dispatchKeyEvent()
1005 public boolean onKey(DialogInterface d, int keyCode, KeyEvent event) { in onCreateDialog()
1006 Button button = mapping.get(keyCode); in onCreateDialog()
1239 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() argument
1250 if (SDLActivity.onNativePadDown(event.getDeviceId(), keyCode) == 0) { in onKey()
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/
DKeyEventChannel.java54 message.put("keyCode", event.keyCode); in encodeKeyEvent()
73 public final int keyCode; field in KeyEventChannel.FlutterKeyEvent
110 int keyCode, in FlutterKeyEvent() argument
120 this.keyCode = keyCode; in FlutterKeyEvent()
/third_party/flutter/flutter/packages/flutter/test/services/
Draw_keyboard_test.dart39 'keyCode': 0x04,
74 'keyCode': 0x04,
110 'keyCode': 29,
127 'keyCode': 111,
143 'keyCode': 59,
160 'keyCode': 20,
177 'keyCode': 20,
194 'keyCode': 23, // DPAD_CENTER code.
344 'keyCode': 0x04,
377 'keyCode': 0x04,
[all …]
/third_party/libjpeg-turbo/doc/html/search/
Dsearch.js187 if (e.keyCode==40 || e.keyCode==13)
209 else if (e.keyCode==27) // Escape out of the search field
293 if (e.keyCode==40 && this.searchIndex<this.SelectItemCount()) // Down
298 else if (e.keyCode==38 && this.searchIndex>0) // Up
303 else if (e.keyCode==13 || e.keyCode==27)
592 this.lastKey = e.keyCode;
613 if (e.keyCode==13) return true;
691 if (e.keyCode==13) return true;
/third_party/libevdev/doc/html/search/
Dsearch.js189 if (e.keyCode==40 || e.keyCode==13)
211 else if (e.keyCode==27) // Escape out of the search field
295 if (e.keyCode==40 && this.searchIndex<this.SelectItemCount()) // Down
300 else if (e.keyCode==38 && this.searchIndex>0) // Up
305 else if (e.keyCode==13 || e.keyCode==27)
594 this.lastKey = e.keyCode;
615 if (e.keyCode==13) return true;
693 if (e.keyCode==13) return true;
/third_party/skia/third_party/externals/oboe/docs/reference/search/
Dsearch.js186 if (e.keyCode==40 || e.keyCode==13)
209 else if (e.keyCode==27) // Escape out of the search field
293 if (e.keyCode==40 && this.searchIndex<this.SelectItemCount()) // Down
298 else if (e.keyCode==38 && this.searchIndex>0) // Up
303 else if (e.keyCode==13 || e.keyCode==27)
592 this.lastKey = e.keyCode;
613 if (e.keyCode==13) return true;
691 if (e.keyCode==13) return true;
/third_party/vk-gl-cts/external/vulkan-docs/src/config/chunkindex/
Dchunked.js113 if(e.keyCode == 27) {
121 } else if(e.keyCode == 10 || e.keyCode == 13) {
124 } else if(e.keyCode == 8) {
/third_party/flutter/engine/flutter/lib/web_ui/test/
Dkeyboard_test.dart36 // Unfortunately there's no way to fake `keyCode`.
37 expect(dataReceived['keyCode'], 0);
58 // Unfortunately there's no way to fake `keyCode`.
59 expect(dataReceived['keyCode'], 0);
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_multimodalInput_inputEventClient.js21 keyCode: '[PC preview] unknow keyCode', property
46 if (typeof args[0].KeyEvent.keyCode !== 'number') {
Dohos_multimodalInput_keyCode.js350 const keyCode = {
353 return keyCode;
/third_party/openh264/codec/build/android/dec/src/com/wels/dec/
DWelsDecTest.java129 public boolean onKeyDown (int keyCode, KeyEvent event) { in onKeyDown() argument
130 switch (keyCode) { in onKeyDown()
134 return super.onKeyDown (keyCode, event); in onKeyDown()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/android/
DFlutterView.java432 public boolean onKeyUp(int keyCode, @NonNull KeyEvent event) { in onKeyUp() argument
434 return super.onKeyUp(keyCode, event); in onKeyUp()
438 return super.onKeyUp(keyCode, event); in onKeyUp()
455 public boolean onKeyDown(int keyCode, @NonNull KeyEvent event) { in onKeyDown() argument
457 return super.onKeyDown(keyCode, event); in onKeyDown()
461 return super.onKeyDown(keyCode, event); in onKeyDown()
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dshortcuts_test.dart79 int keyCode;
82 keyCode = code;
85 assert(keyCode != null, 'Key $key not found in Android key map');
96 'keyCode': keyCode,
/third_party/openh264/codec/build/android/enc/src/com/wels/enc/
DWelsEncTest.java148 public boolean onKeyDown (int keyCode, KeyEvent event) { in onKeyDown() argument
149 switch (keyCode) { in onKeyDown()
153 return super.onKeyDown (keyCode, event); in onKeyDown()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/view/
DFlutterView.java246 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() argument
248 return super.onKeyUp(keyCode, event); in onKeyUp()
251 return super.onKeyUp(keyCode, event); in onKeyUp()
255 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument
257 return super.onKeyDown(keyCode, event); in onKeyDown()
260 return super.onKeyDown(keyCode, event); in onKeyDown()
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dkeyboard.dart60 'keyCode': event.keyCode,
/third_party/flutter/skia/third_party/externals/sdl/src/video/emscripten/
DSDL_emscriptenevents.c477 if (keyEvent->keyCode < SDL_arraysize(emscripten_scancode_table)) { in Emscripten_HandleKey()
478 scancode = emscripten_scancode_table[keyEvent->keyCode]; in Emscripten_HandleKey()
507 …ventState(SDL_TEXTINPUT) == SDL_ENABLE && keyEvent->keyCode != 8 /* backspace */ && keyEvent->keyC… in Emscripten_HandleKey()
/third_party/flutter/skia/third_party/externals/angle2/util/osx/
DOSXWindow.mm172 static Key NSCodeToKey(int keyCode)
175 switch (keyCode)
578 event.Key.Code = NSCodeToKey([nsEvent keyCode]);
587 event.Key.Code = NSCodeToKey([nsEvent keyCode]);
612 event.Key.Code = NSCodeToKey([nsEvent keyCode]);
/third_party/skia/third_party/externals/angle2/util/osx/
DOSXWindow.mm172 static Key NSCodeToKey(int keyCode)
175 switch (keyCode)
578 event.Key.Code = NSCodeToKey([nsEvent keyCode]);
587 event.Key.Code = NSCodeToKey([nsEvent keyCode]);
612 event.Key.Code = NSCodeToKey([nsEvent keyCode]);
/third_party/flutter/glfw/src/
Dwl_init.c270 int keyCode; in keyboardHandleKey() local
278 keyCode = toGLFWKeyCode(key); in keyboardHandleKey()
282 _glfwInputKey(window, keyCode, key, action, in keyboardHandleKey()

123