/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | focus_manager.dart | 19 // Used for debugging focus code. Set to true to see highly verbose debug output 20 // when focus changes occur. 52 /// different focus node, then the new node needs to be attached in 57 /// Without these attachment points, it would be possible for a focus node to 65 // The focus node that this attachment manages an attachment for. The node may 73 /// the focus tree (i.e. to not have a parent yet in the focus tree). 77 /// focus tree, and disconnects it from this attachment point. 105 /// maintain the focus hierarchy. 113 /// [FocusScope] widgets to build the focus tree, or if there is a need to 127 /// An object that can be used by a stateful widget to obtain the keyboard focus [all …]
|
D | focus_scope.dart | 11 /// A widget that manages a [FocusNode] to allow keyboard focus to be given 14 /// When the focus is gained or lost, [onFocusChanged] is called. 20 /// This widget does not provide any visual indication that the focus has 25 /// establish a relationship that will rebuild the widget when the focus 31 /// calling widget when the focus changes. 34 /// in focus, and re-parenting it when needed to keep the focus hierarchy in 41 /// This example shows how to manage focus using the [Focus] and [FocusScope] 107 /// child: Text(hasFocus ? "I'm in color! Press R,G,B!" : 'Press to focus'), 122 /// * [FocusNode], which represents a node in the focus hierarchy and 124 /// role in the overall focus system. [all …]
|
D | focus_traversal.dart | 40 /// An object used to specify a focus traversal policy used for configuring a 43 /// The focus traversal policy is what determines which widget is "next", 47 /// create a unique focus order. 51 /// * [FocusNode], for a description of the focus system. 60 /// focus traversal in a direction. 62 /// Returns the node that should receive focus if there is no current focus 66 /// focus if they are called, but no node is currently focused. 68 /// It is also used by the [FocusManager] to know which node to focus 78 /// Returns the node in the given [direction] that should receive focus if 79 /// there is no current focus in the scope to which the [currentNode] belongs. [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/events/ |
D | SDL_mouse.c | 82 return mouse->focus; in SDL_GetMouseFocus() 96 SDL_SendMouseButton(mouse->focus, mouse->mouseID, SDL_RELEASED, i); in SDL_ResetMouse() 107 if (mouse->focus == window) { in SDL_SetMouseFocus() 117 if (mouse->focus && !window) { in SDL_SetMouseFocus() 124 if (mouse->focus) { in SDL_SetMouseFocus() 125 SDL_SendWindowEvent(mouse->focus, SDL_WINDOWEVENT_LEAVE, 0, 0); in SDL_SetMouseFocus() 128 mouse->focus = window; in SDL_SetMouseFocus() 130 if (mouse->focus) { in SDL_SetMouseFocus() 131 SDL_SendWindowEvent(mouse->focus, SDL_WINDOWEVENT_ENTER, 0, 0); in SDL_SetMouseFocus() 167 if (window == mouse->focus) { [all …]
|
D | SDL_keyboard.c | 41 SDL_Window *focus; member 608 return keyboard->focus; in SDL_GetKeyboardFocus() 616 if (keyboard->focus && !window) { in SDL_SetKeyboardFocus() 622 if (keyboard->focus && keyboard->focus != window) { in SDL_SetKeyboardFocus() 628 if (keyboard->focus->flags & SDL_WINDOW_MOUSE_CAPTURE) { in SDL_SetKeyboardFocus() 630 SDL_assert(!(keyboard->focus->flags & SDL_WINDOW_MOUSE_CAPTURE)); in SDL_SetKeyboardFocus() 633 SDL_SendWindowEvent(keyboard->focus, SDL_WINDOWEVENT_FOCUS_LOST, in SDL_SetKeyboardFocus() 645 keyboard->focus = window; in SDL_SetKeyboardFocus() 647 if (keyboard->focus) { in SDL_SetKeyboardFocus() 648 SDL_SendWindowEvent(keyboard->focus, SDL_WINDOWEVENT_FOCUS_GAINED, in SDL_SetKeyboardFocus() [all …]
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | focus_traversal_test.dart | 11 testWidgets('Find the initial focus if there is none yet.', (WidgetTester tester) async { 49 testWidgets('Move focus to next node.', (WidgetTester tester) async { 66 onFocusChange: (bool focus) => focus1 = focus, 72 onFocusChange: (bool focus) => focus2 = focus, 78 onFocusChange: (bool focus) => focus3 = focus, 84 onFocusChange: (bool focus) => focus5 = focus, 165 testWidgets('Move focus to previous node.', (WidgetTester tester) async { 240 testWidgets('Find the initial focus if there is none yet.', (WidgetTester tester) async { 278 testWidgets('Move reading focus to next node.', (WidgetTester tester) async { 297 onFocusChange: (bool focus) => focus1 = focus, [all …]
|
D | focus_scope_test.dart | 72 testWidgets('Can focus', (WidgetTester tester) async { 113 // Set focus to the "B" node to unfocus the "A" node. 189 // This moves a focus node first into a focus scope that is added to its 190 // parent, and then out of that focus scope again. 191 testWidgets('Can move focus in and out of FocusScope', (WidgetTester tester) async { 196 // Initially create the focus inside of the parent FocusScope. 257 // Add the child focus scope to the focus tree. 263 // Now add the child focus scope with no child focusable in it to the tree. 287 // Now move the existing focus node into the child focus scope. 312 // Now remove the child focus scope. [all …]
|
/third_party/weston/libweston/ |
D | data-device.c | 44 struct weston_view *focus; member 510 if (drag->focus && view && drag->focus->surface == view->surface) { in weston_drag_set_focus() 511 drag->focus = view; in weston_drag_set_focus() 519 drag->focus = NULL; in weston_drag_set_focus() 564 drag->focus = view; in weston_drag_set_focus() 582 if (drag->base.focus != view) in drag_grab_focus() 609 weston_view_from_global_fixed(drag->base.focus, in drag_grab_motion() 775 if (drag->base.focus != view) in drag_grab_touch_focus() 805 weston_view_from_global_fixed(touch_drag->base.focus, in drag_grab_touch_motion() 1043 pointer->focus && in data_device_start_drag() [all …]
|
D | input.c | 270 if (pointer->focus && in weston_pointer_ensure_pointer_client() 271 pointer->focus->surface->resource && in weston_pointer_ensure_pointer_client() 272 wl_resource_get_client(pointer->focus->surface->resource) == client) { in weston_pointer_ensure_pointer_client() 366 pointer->grab->interface->focus(pointer->grab); in weston_seat_repick() 469 if (pointer->focus != view || pointer->sx != sx || pointer->sy != sy) in default_grab_pointer_focus() 543 if (pointer->focus) { in weston_pointer_send_motion() 545 weston_view_from_global_fixed(pointer->focus, x, y, in weston_pointer_send_motion() 795 if (!touch->focus) in weston_touch_has_focus_resource() 830 weston_view_from_global_fixed(touch->focus, x, y, &sx, &sy); in weston_touch_send_down() 840 touch->focus->surface->resource, in weston_touch_send_down() [all …]
|
D | bindings.c | 265 struct weston_surface *focus) in install_binding_grab() argument 282 if (focus && keyboard->focus == focus) { in install_binding_grab() 284 weston_keyboard_set_focus(keyboard, focus); in install_binding_grab() 295 struct weston_surface *focus; in weston_compositor_run_key_binding() local 308 focus = keyboard->focus; in weston_compositor_run_key_binding() 319 focus); in weston_compositor_run_key_binding()
|
/third_party/libinput/doc/api/style/ |
D | bootstrap.css | 146 button::-moz-focus-inner, 147 input::-moz-focus-inner { 1108 a:focus { 1112 a:focus { 1114 outline: 5px auto -webkit-focus-ring-color; 1168 .sr-only-focusable:focus { 1348 a.text-primary:focus { 1355 a.text-success:focus { 1362 a.text-info:focus { 1369 a.text-warning:focus { [all …]
|
/third_party/libevdev/doc/html/ |
D | bootstrap.css | 146 button::-moz-focus-inner, 147 input::-moz-focus-inner { 1108 a:focus { 1112 a:focus { 1114 outline: 5px auto -webkit-focus-ring-color; 1168 .sr-only-focusable:focus { 1348 a.text-primary:focus { 1355 a.text-success:focus { 1362 a.text-info:focus { 1369 a.text-warning:focus { [all …]
|
/third_party/libevdev/doc/style/ |
D | bootstrap.css | 146 button::-moz-focus-inner, 147 input::-moz-focus-inner { 1108 a:focus { 1112 a:focus { 1114 outline: 5px auto -webkit-focus-ring-color; 1168 .sr-only-focusable:focus { 1348 a.text-primary:focus { 1355 a.text-success:focus { 1362 a.text-info:focus { 1369 a.text-warning:focus { [all …]
|
/third_party/wayland-ivi-extension/ivi-input-modules/ivi-input-controller/src/ |
D | ivi-input-controller.c | 62 ilmInputDevice focus; member 340 && ((st_focus->focus & ILM_INPUT_DEVICE_KEYBOARD))) { in input_ctrl_kbd_leave_surf() 348 st_focus->focus &= ~ILM_INPUT_DEVICE_KEYBOARD; in input_ctrl_kbd_leave_surf() 365 (!(st_focus->focus & ILM_INPUT_DEVICE_KEYBOARD))) { in input_ctrl_kbd_enter_surf() 373 st_focus->focus |= ILM_INPUT_DEVICE_KEYBOARD; in input_ctrl_kbd_enter_surf() 429 if (!(st_focus->focus & ILM_INPUT_DEVICE_KEYBOARD)) in keyboard_grab_key() 464 if (!(st_focus->focus in keyboard_grab_modifiers() 509 st_focus->focus |= device; in input_ctrl_snd_focus_to_controller() 511 st_focus->focus &= ~device; in input_ctrl_snd_focus_to_controller() 526 if (NULL != pointer->focus) { in input_ctrl_ptr_leave_west_focus() [all …]
|
/third_party/weston/kiosk-shell/ |
D | util.c | 63 if (touch && touch->focus) in get_focused_output() 64 output = touch->focus->output; in get_focused_output() 65 else if (pointer && pointer->focus) in get_focused_output() 66 output = pointer->focus->output; in get_focused_output() 67 else if (keyboard && keyboard->focus) in get_focused_output() 68 output = keyboard->focus->output; in get_focused_output()
|
D | kiosk-shell.c | 333 shseat->focused_surface = weston_surface_get_main_surface(keyboard->focus); in kiosk_shell_seat_handle_keyboard_focus() 616 if (keyboard && keyboard->focus == surface) in desktop_surface_removed() 698 struct weston_surface *focus; in desktop_surface_move() local 701 pointer->focus && in desktop_surface_move() 704 focus = weston_surface_get_main_surface(pointer->focus->surface); in desktop_surface_move() 705 if ((focus == surface) && in desktop_surface_move() 711 touch->focus && in desktop_surface_move() 713 focus = weston_surface_get_main_surface(touch->focus->surface); in desktop_surface_move() 714 if ((focus == surface) && in desktop_surface_move() 887 if (pointer->focus == NULL) in kiosk_shell_click_to_activate_binding() [all …]
|
/third_party/libjpeg-turbo/doc/html/search/ |
D | search.js | 205 child.focus(); 214 if (elem) elem.focus(); 315 this.DOMSearchField().focus(); 654 focusItem.focus(); 658 parent.document.getElementById("MSearchField").focus(); 672 if (focusItem) focusItem.focus(); 689 parent.document.getElementById("MSearchField").focus(); 709 document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); 713 document.getElementById('Item'+itemIndex).focus(); 726 elem.focus(); [all …]
|
/third_party/boost/libs/sort/doc/doxygen/html/search/ |
D | search.js | 174 child.focus(); 183 if (elem) elem.focus(); 284 this.DOMSearchField().focus(); 621 focusItem.focus(); 625 parent.document.getElementById("MSearchField").focus(); 639 if (focusItem) focusItem.focus(); 656 parent.document.getElementById("MSearchField").focus(); 676 document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); 680 document.getElementById('Item'+itemIndex).focus(); 693 elem.focus(); [all …]
|
/third_party/skia/third_party/externals/oboe/docs/reference/search/ |
D | search.js | 197 child.focus(); 206 if (elem) elem.focus(); 307 this.DOMSearchField().focus(); 644 focusItem.focus(); 648 parent.document.getElementById("MSearchField").focus(); 662 if (focusItem) focusItem.focus(); 679 parent.document.getElementById("MSearchField").focus(); 699 document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); 703 document.getElementById('Item'+itemIndex).focus(); 716 elem.focus(); [all …]
|
/third_party/ffmpeg/doc/ |
D | bootstrap.min.css | 5 …focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbo…
|
/third_party/libevdev/doc/html/search/ |
D | search.js | 198 child.focus(); 307 this.DOMSearchField().focus(); 644 focusItem.focus(); 648 parent.document.getElementById("MSearchField").focus(); 662 if (focusItem) focusItem.focus(); 679 parent.document.getElementById("MSearchField").focus(); 699 document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); 703 document.getElementById('Item'+itemIndex).focus(); 716 elem.focus(); 722 parent.document.getElementById("MSearchField").focus();
|
/third_party/weston/desktop-shell/ |
D | shell.c | 802 focus_state_set_focus(state, keyboard->focus); in replace_focus_state() 1273 struct weston_surface *focus; in surface_keyboard_focus_lost() local 1282 focus = weston_surface_get_main_surface(keyboard->focus); in surface_keyboard_focus_lost() 1283 if (focus == surface) in surface_keyboard_focus_lost() 1301 surface = weston_surface_get_main_surface(keyboard->focus); in take_surface_to_workspace_by_seat() 1852 struct weston_view *view = pointer->focus; in handle_pointer_focus() 1897 seat->focused_surface = weston_surface_get_main_surface(keyboard->focus); in handle_keyboard_focus() 2232 if (touch && touch->focus) in get_focused_output() 2233 output = touch->focus->output; in get_focused_output() 2234 else if (pointer && pointer->focus) in get_focused_output() [all …]
|
D | input-panel.c | 67 struct weston_surface *focus; in show_input_panel_surface() local 74 if (!keyboard || !keyboard->focus) in show_input_panel_surface() 76 focus = weston_surface_get_main_surface(keyboard->focus); in show_input_panel_surface() 77 if (!focus) in show_input_panel_surface() 79 ipsurf->output = focus->output; in show_input_panel_surface()
|
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/ |
D | gstahcsrc.c | 125 static gboolean _focus_modes_to_enum (const gchar * focus, 641 GstPhotographyFocusMode focus = g_value_get_enum (value); in gst_ahc_src_set_property() local 643 gst_ahc_src_set_focus_mode (GST_PHOTOGRAPHY (self), focus); in gst_ahc_src_set_property() 819 GstPhotographyFocusMode focus; in gst_ahc_src_get_property() local 821 if (gst_ahc_src_get_focus_mode (GST_PHOTOGRAPHY (self), &focus)) in gst_ahc_src_get_property() 822 g_value_set_enum (value, focus); in gst_ahc_src_get_property() 985 _focus_modes_to_enum (const gchar * focus, GstPhotographyFocusMode * mode) in _focus_modes_to_enum() argument 987 if (focus == Parameters_FOCUS_MODE_AUTO) in _focus_modes_to_enum() 989 else if (focus == Parameters_FOCUS_MODE_INFINITY) in _focus_modes_to_enum() 991 else if (focus == Parameters_FOCUS_MODE_MACRO) in _focus_modes_to_enum() [all …]
|
/third_party/weston/ivi-shell/ |
D | ivi-shell.c | 407 struct weston_surface *focus = focus_view->surface; in activate_binding() local 409 weston_surface_get_main_surface(focus); in activate_binding() 414 weston_seat_set_keyboard_focus(seat, focus); in activate_binding() 424 if (pointer->focus == NULL) in click_to_activate_binding() 427 activate_binding(pointer->seat, pointer->focus); in click_to_activate_binding() 437 if (touch->focus == NULL) in touch_to_activate_binding() 440 activate_binding(touch->seat, touch->focus); in touch_to_activate_binding()
|