Home
last modified time | relevance | path

Searched refs:focus (Results 1 – 25 of 367) sorted by relevance

12345678910>>...15

/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dfocus_manager.dart19 // 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 …]
Dfocus_scope.dart11 /// 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 …]
Dfocus_traversal.dart40 /// 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/
DSDL_mouse.c82 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 …]
DSDL_keyboard.c41 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/
Dfocus_traversal_test.dart11 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 …]
Dfocus_scope_test.dart72 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/libinput/doc/api/style/
Dbootstrap.css146 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/
Dbootstrap.css146 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/
Dbootstrap.css146 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/skia/third_party/externals/oboe/docs/reference/search/
Dsearch.js197 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/
Dbootstrap.min.css5focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbo…
/third_party/libjpeg-turbo/doc/html/search/
Dsearch.js198 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/libevdev/doc/html/search/
Dsearch.js200 child.focus();
309 this.DOMSearchField().focus();
646 focusItem.focus();
650 parent.document.getElementById("MSearchField").focus();
664 if (focusItem) focusItem.focus();
681 parent.document.getElementById("MSearchField").focus();
701 document.getElementById('Item'+itemIndex+'_c'+newIndex).focus();
705 document.getElementById('Item'+itemIndex).focus();
718 elem.focus();
724 parent.document.getElementById("MSearchField").focus();
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstahcsrc.c125 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/flutter/flutter/packages/flutter/test/material/
Dtext_field_splash_test.dart87 testWidgets('Tap and no focus causes a splash', (WidgetTester tester) async {
128 // textField1 already has the focus, no new splash
134 // textField2 gets the focus and a splash
140 // Tap outside of textField1's editable. It still gets focus and splash.
146 // Tap in the center of textField2's editable. It still gets the focus
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dsemantics.dart134 /// Indicates that the nodes has gained accessibility focus.
137 /// the accessibility focus. The accessibility focus is the
142 /// The accessibility focus is different from the input focus. The input focus
144 /// Accessibility focus and input focus can be held by two different nodes!
148 /// Indicates that the nodes has lost accessibility focus.
151 /// loses the accessibility focus. The accessibility focus is
156 /// The accessibility focus is different from the input focus. The input focus
158 /// Accessibility focus and input focus can be held by two different nodes!
349 /// Whether the semantic node currently holds the user's focus.
428 /// Semantic nodes annotated with this flag will still recieve a11y focus.
[all …]
/third_party/flutter/engine/flutter/lib/ui/
Dsemantics.dart131 /// Indicates that the node has gained accessibility focus.
134 /// the accessibility focus. The accessibility focus is the
139 /// The accessibility focus is different from the input focus. The input focus
141 /// Accessibility focus and input focus can be held by two different nodes!
144 /// Indicates that the node has lost accessibility focus.
147 /// loses the accessibility focus. The accessibility focus is
152 /// The accessibility focus is different from the input focus. The input focus
154 /// Accessibility focus and input focus can be held by two different nodes!
351 /// Whether the semantic node currently holds the user's focus.
429 /// Semantic nodes annotated with this flag will still receive a11y focus.
[all …]
/third_party/skia/third_party/externals/expat/expat/doc/
Dok.min.css2focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inne…
/third_party/flutter/flutter/dev/integration_tests/android_semantics_testing/test/
Dandroid_semantics_testing_test.dart51 AndroidSemanticsAction.focus,
62 expect(AndroidSemanticsAction.deserialize(0x1), AndroidSemanticsAction.focus);
88 AndroidSemanticsAction.focus,
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_evdev.c432 … SDL_SendMouseButton(mouse->focus, mouse->mouseID, SDL_RELEASED, EVDEV_MouseButtons[mouse_button]); in SDL_EVDEV_Poll()
434 … SDL_SendMouseButton(mouse->focus, mouse->mouseID, SDL_PRESSED, EVDEV_MouseButtons[mouse_button]); in SDL_EVDEV_Poll()
488 … SDL_SendMouseMotion(mouse->focus, mouse->mouseID, SDL_FALSE, events[i].value, mouse->y); in SDL_EVDEV_Poll()
493 … SDL_SendMouseMotion(mouse->focus, mouse->mouseID, SDL_FALSE, mouse->x, events[i].value); in SDL_EVDEV_Poll()
502 … SDL_SendMouseMotion(mouse->focus, mouse->mouseID, SDL_TRUE, events[i].value, 0); in SDL_EVDEV_Poll()
505 … SDL_SendMouseMotion(mouse->focus, mouse->mouseID, SDL_TRUE, 0, events[i].value); in SDL_EVDEV_Poll()
508 … SDL_SendMouseWheel(mouse->focus, mouse->mouseID, 0, events[i].value, SDL_MOUSEWHEEL_NORMAL); in SDL_EVDEV_Poll()
511 … SDL_SendMouseWheel(mouse->focus, mouse->mouseID, events[i].value, 0, SDL_MOUSEWHEEL_NORMAL); in SDL_EVDEV_Poll()
/third_party/flutter/skia/third_party/externals/sdl/src/video/nacl/
DSDL_naclevents.c354 …SDL_SendMouseButton(mouse->focus, mouse->mouseID, SDL_PRESSED, SDL_NACL_translate_mouse_button(dri… in NACL_PumpEvents()
357 …SDL_SendMouseButton(mouse->focus, mouse->mouseID, SDL_RELEASED, SDL_NACL_translate_mouse_button(dr… in NACL_PumpEvents()
362 … SDL_SendMouseWheel(mouse->focus, mouse->mouseID, (int) fp.x, (int) fp.y, SDL_MOUSEWHEEL_NORMAL); in NACL_PumpEvents()
373 … SDL_SendMouseMotion(mouse->focus, mouse->mouseID, SDL_FALSE, location.x, location.y); in NACL_PumpEvents()
/third_party/flutter/skia/third_party/externals/wuffs/cmd/wuffs-c/
Dtest.go83 func doBenchTest1(filename string, bench bool, ccompilers string, focus string,
128 if focus != "" {
129 outArgs = append(outArgs, fmt.Sprintf("-focus=%s", focus))
/third_party/libjpeg-turbo/doc/html/
Dtabs.css1focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grand…
/third_party/skia/third_party/externals/oboe/docs/reference/
Dtabs.css1focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grand…

12345678910>>...15