/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | raw_keyboard_listener_test.dart | 22 …await tester.pumpWidget(RawKeyboardListener(focusNode: focusNode, onKey: null, child: Container())… 23 …await tester.pumpWidget(RawKeyboardListener(focusNode: focusNode, onKey: null, child: Container())… 35 onKey: events.add, 73 onKey: events.add,
|
D | focus_manager_test.dart | 442 final FocusAttachment scope1Attachment = scope1.attach(context, onKey: handleEvent); 444 final FocusAttachment scope2Attachment = scope2.attach(context, onKey: handleEvent); 445 final FocusNode parent1 = FocusNode(debugLabel: 'Parent 1', onKey: handleEvent); 447 final FocusNode parent2 = FocusNode(debugLabel: 'Parent 2', onKey: handleEvent); 450 final FocusAttachment child1Attachment = child1.attach(context, onKey: handleEvent); 452 final FocusAttachment child2Attachment = child2.attach(context, onKey: handleEvent); 454 final FocusAttachment child3Attachment = child3.attach(context, onKey: handleEvent); 456 final FocusAttachment child4Attachment = child4.attach(context, onKey: handleEvent);
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | raw_keyboard_listener.dart | 42 this.onKey, 56 final ValueChanged<RawKeyEvent> onKey; 120 if (widget.onKey != null) 121 widget.onKey(event);
|
D | focus_scope.dart | 16 /// For keyboard events, [onKey] is called if [FocusNode.hasFocus] is true for 17 /// this widget's [focusNode], unless a focused descendant's [onKey] callback 87 /// onKey: _handleKeyPress, 147 this.onKey, 176 /// if its [onKey] method return false, then they are given to each ancestor 185 final FocusOnKeyCallback onKey; 344 _focusAttachment = focusNode.attach(context, onKey: widget.onKey); 440 /// The [onKey] argument allows specification of a key event handler that is 443 /// ancestors of that node, stopping if one of them returns true from [onKey], 491 FocusOnKeyCallback onKey, [all …]
|
D | focus_manager.dart | 35 /// Signature of a callback used by [Focus.onKey] and [FocusScope.onKey] 208 /// [onKey] callback for that node. If the callback returns false, indicating 210 /// of that node and call its [onKey]. If that [onKey] returns true, then it 267 /// _nodeAttachment = _node.attach(context, onKey: _handleKeyPress); 369 FocusOnKeyCallback onKey, 376 _onKey = onKey { 443 FocusOnKeyCallback get onKey => _onKey; 520 /// its focused descendants returned true from their [onKey] handler. 550 /// receive key events through its [onKey] handler. 740 FocusAttachment attach(BuildContext context, {FocusOnKeyCallback onKey}) { [all …]
|
/third_party/flutter/skia/tools/sk_app/ |
D | Window.cpp | 47 bool Window::onKey(Key key, InputState state, ModifierKey modifiers) { in onKey() function in sk_app::Window 48 return this->signalLayers([=](Layer* layer) { return layer->onKey(key, state, modifiers); }); in onKey()
|
D | Window.h | 140 virtual bool onKey(Key key, InputState state, ModifierKey modifiers) { return false; } in onKey() function 161 bool onKey(Key key, InputState state, ModifierKey modifiers);
|
D | CommandSet.h | 44 bool onKey(sk_app::Window::Key key, InputState state, ModifierKey modifiers);
|
D | CommandSet.cpp | 38 bool CommandSet::onKey(Window::Key key, InputState state, ModifierKey modifiers) { in onKey() function in sk_app::CommandSet
|
/third_party/skia/tools/sk_app/ |
D | Window.cpp | 47 bool Window::onKey(skui::Key key, skui::InputState state, skui::ModifierKey modifiers) { in onKey() function in sk_app::Window 48 return this->signalLayers([=](Layer* layer) { return layer->onKey(key, state, modifiers); }); in onKey()
|
D | Window.h | 105 virtual bool onKey(skui::Key, skui::InputState, skui::ModifierKey) { return false; } in onKey() function 129 bool onKey(skui::Key key, skui::InputState state, skui::ModifierKey modifiers);
|
D | CommandSet.h | 44 bool onKey(skui::Key key, skui::InputState state, skui::ModifierKey modifiers);
|
D | CommandSet.cpp | 37 bool CommandSet::onKey(skui::Key key, skui::InputState state, skui::ModifierKey modifiers) { in onKey() function in sk_app::CommandSet
|
/third_party/skia/experimental/sktext/editor/ |
D | Editor.h | 44 bool onKey(skui::Key, skui::InputState, skui::ModifierKey) override;
|
/third_party/flutter/skia/tools/sk_app/ios/ |
D | Window_ios.cpp | 219 if (!this->onKey(key, InputState::kDown, get_modifiers(event))) { in handleEvent() 230 (void) this->onKey(key, InputState::kUp, in handleEvent()
|
/third_party/flutter/skia/tools/sk_app/win/ |
D | Window_win.cpp | 254 eventHandled = window->onKey(get_key(wParam), InputState::kDown, in WndProc() 260 eventHandled = window->onKey(get_key(wParam), InputState::kUp, in WndProc()
|
/third_party/skia/tools/sk_app/android/ |
D | surface_glue_android.cpp | 169 … skiaAndroidApp->fWindow->onKey(it->second, skui::InputState::kDown, skui::ModifierKey::kNone); in message_callback() 170 … skiaAndroidApp->fWindow->onKey(it->second, skui::InputState::kUp, skui::ModifierKey::kNone); in message_callback()
|
/third_party/flutter/skia/tools/sk_app/android/ |
D | surface_glue_android.cpp | 169 skiaAndroidApp->fWindow->onKey(it->second, InputState::kDown, ModifierKey::kNone); in message_callback() 170 skiaAndroidApp->fWindow->onKey(it->second, InputState::kUp, ModifierKey::kNone); in message_callback()
|
/third_party/skia/tools/sk_app/win/ |
D | Window_win.cpp | 253 eventHandled = window->onKey(get_key(wParam), skui::InputState::kDown, in WndProc() 259 eventHandled = window->onKey(get_key(wParam), skui::InputState::kUp, in WndProc()
|
/third_party/flutter/skia/tools/sk_app/unix/ |
D | Window_unix.cpp | 299 if (!this->onKey(key, InputState::kDown, get_modifiers(event))) { in handleEvent() 317 (void) this->onKey(key, InputState::kUp, in handleEvent()
|
/third_party/skia/tools/sk_app/mac/ |
D | Window_mac.mm | 353 (void) fWindow->onKey(cur.key, state, modifiers); 377 if (!fWindow->onKey(key, skui::InputState::kDown, modifiers)) { 401 (void) fWindow->onKey(key, skui::InputState::kUp, modifiers);
|
/third_party/flutter/skia/tools/viewer/ |
D | Viewer.h | 43 bool onKey(sk_app::Window::Key key, InputState state, ModifierKey modifiers) override;
|
D | ImGuiLayer.h | 128 bool onKey(sk_app::Window::Key key, InputState state, ModifierKey modifiers) override;
|
/third_party/skia/tools/viewer/ |
D | ImGuiLayer.h | 131 bool onKey(skui::Key key, skui::InputState state, skui::ModifierKey modifiers) override;
|
/third_party/skia/tools/sk_app/unix/ |
D | Window_unix.cpp | 300 if (!this->onKey(key, skui::InputState::kDown, get_modifiers(event))) { in handleEvent() 318 (void) this->onKey(key, skui::InputState::kUp, in handleEvent()
|