/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | scroll_events_test.dart | 15 log.add('scroll-start'); 17 log.add('scroll-update'); 19 log.add('scroll-end'); 48 expect(log, equals(<String>['scroll-start'])); 50 expect(log, equals(<String>['scroll-start'])); 52 expect(log, equals(<String>['scroll-start', 'scroll-update'])); 54 expect(log, equals(<String>['scroll-start', 'scroll-update'])); 56 expect(log, equals(<String>['scroll-start', 'scroll-update', 'scroll-end'])); 58 expect(log, equals(<String>['scroll-start', 'scroll-update', 'scroll-end'])); 68 expect(log, equals(<String>['scroll-start'])); [all …]
|
/third_party/libinput/src/ |
D | evdev-mt-touchpad-edge-scroll.c | 77 if (tp->scroll.method != LIBINPUT_CONFIG_SCROLL_EDGE) in tp_touch_get_edge() 80 if (t->point.x > tp->scroll.right_edge) in tp_touch_get_edge() 83 if (t->point.y > tp->scroll.bottom_edge) in tp_touch_get_edge() 103 libinput_timer_set(&t->scroll.timer, in tp_edge_scroll_set_timer() 113 libinput_timer_cancel(&t->scroll.timer); in tp_edge_scroll_set_state() 115 t->scroll.edge_state = state; in tp_edge_scroll_set_state() 119 t->scroll.edge = EDGE_NONE; in tp_edge_scroll_set_state() 122 t->scroll.edge = tp_touch_get_edge(tp, t); in tp_edge_scroll_set_state() 123 t->scroll.initial = t->point; in tp_edge_scroll_set_state() 129 t->scroll.edge = EDGE_NONE; in tp_edge_scroll_set_state() [all …]
|
D | evdev.c | 185 if (device->scroll.change_scroll_method) in evdev_pointer_post_button() 186 device->scroll.change_scroll_method(device); in evdev_pointer_post_button() 197 device->scroll.button_scroll_state = BUTTONSCROLL_READY; in evdev_button_scroll_timeout() 207 switch (device->scroll.lock_state) { in evdev_button_scroll_button() 212 device->scroll.lock_state = BUTTONSCROLL_LOCK_FIRSTDOWN; in evdev_button_scroll_button() 217 device->scroll.lock_state = BUTTONSCROLL_LOCK_FIRSTUP; in evdev_button_scroll_button() 222 device->scroll.lock_state = BUTTONSCROLL_LOCK_SECONDDOWN; in evdev_button_scroll_button() 227 device->scroll.lock_state = BUTTONSCROLL_LOCK_IDLE; in evdev_button_scroll_button() 233 if (device->scroll.button < BTN_MOUSE + 5) { in evdev_button_scroll_button() 238 device->scroll.button_scroll_state = BUTTONSCROLL_BUTTON_DOWN; in evdev_button_scroll_button() [all …]
|
D | evdev-mt-touchpad-gestures.c | 130 tp->scroll.active.h = false; in tp_gesture_init_scroll() 131 tp->scroll.active.v = false; in tp_gesture_init_scroll() 132 tp->scroll.duration.h = 0; in tp_gesture_init_scroll() 133 tp->scroll.duration.v = 0; in tp_gesture_init_scroll() 134 tp->scroll.vector = zero; in tp_gesture_init_scroll() 135 tp->scroll.time_prev = 0; in tp_gesture_init_scroll() 354 tp->device->scroll.buildup = tp_normalize_delta(tp, average); in tp_gesture_set_scroll_buildup() 372 if (tp->scroll.active.h && tp->scroll.active.v) in tp_gesture_apply_scroll_constraints() 376 if (tp->scroll.time_prev != 0) in tp_gesture_apply_scroll_constraints() 377 tdelta = time - tp->scroll.time_prev; in tp_gesture_apply_scroll_constraints() [all …]
|
D | evdev-fallback.c | 119 if (device->scroll.method != LIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWN) in post_trackpoint_scroll() 122 switch(device->scroll.button_scroll_state) { in post_trackpoint_scroll() 132 device->scroll.button_scroll_state = BUTTONSCROLL_SCROLLING; in post_trackpoint_scroll() 277 wheel_degrees.y = -1 * value/120.0 * device->scroll.wheel_click_angle.y; in fallback_flush_wheels() 290 wheel_degrees.y = -1 * value * device->scroll.wheel_click_angle.y; in fallback_flush_wheels() 305 wheel_degrees.x = value/120.0 * device->scroll.wheel_click_angle.x; in fallback_flush_wheels() 318 wheel_degrees.x = value * device->scroll.wheel_click_angle.x; in fallback_flush_wheels() 1575 if (device->scroll.want_method == device->scroll.method && in fallback_change_scroll_method() 1576 device->scroll.want_button == device->scroll.button && in fallback_change_scroll_method() 1577 device->scroll.want_lock_enabled == device->scroll.lock_enabled) in fallback_change_scroll_method() [all …]
|
/third_party/toybox/kconfig/lxdialog/ |
D | menubox.c | 111 static void print_arrows(WINDOW * win, int item_no, int scroll, int y, int x, in print_arrows() argument 120 if (scroll > 0) { in print_arrows() 136 if ((height < item_no) && (scroll + height < item_no)) { in print_arrows() 169 static void do_scroll(WINDOW *win, int *scroll, int n) in do_scroll() argument 175 *scroll = *scroll + n; in do_scroll() 187 int key = 0, button = 0, scroll = 0, choice = 0; in dialog_menu() local 250 scroll = *s_scroll; in dialog_menu() 251 if ((scroll <= choice) && (scroll + max_choice > choice) && in dialog_menu() 252 (scroll >= 0) && (scroll + max_choice <= item_count())) { in dialog_menu() 253 first_item = scroll; in dialog_menu() [all …]
|
D | checklist.c | 59 static void print_arrows(WINDOW * win, int choice, int item_no, int scroll, in print_arrows() argument 64 if (scroll > 0) { in print_arrows() 79 if ((height < item_no) && (scroll + choice < item_no - 1)) { in print_arrows() 115 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local 182 scroll = choice - list_height + 1; in dialog_checklist() 183 choice -= scroll; in dialog_checklist() 188 item_set(scroll + i); in dialog_checklist() 192 print_arrows(dialog, choice, item_count(), scroll, in dialog_checklist() 205 item_set(i + scroll); in dialog_checklist() 214 if (!scroll) in dialog_checklist() [all …]
|
D | inputbox.c | 48 int input_x = 0, scroll = 0, key = 0, button = -1; in dialog_inputbox() local 103 scroll = input_x - box_width + 1; in dialog_inputbox() 106 waddch(dialog, instr[scroll + i]); in dialog_inputbox() 130 if (input_x || scroll) { in dialog_inputbox() 133 scroll = scroll < box_width - 1 ? 0 : scroll - (box_width - 1); in dialog_inputbox() 137 instr[scroll + input_x + i] ? in dialog_inputbox() 138 instr[scroll + input_x + i] : ' '); in dialog_inputbox() 139 input_x = strlen(instr) - scroll; in dialog_inputbox() 142 instr[scroll + input_x] = '\0'; in dialog_inputbox() 150 if (scroll + input_x < MAX_LEN) { in dialog_inputbox() [all …]
|
/third_party/flutter/flutter/packages/flutter/test/physics/ |
D | newton_test.dart | 209 final BouncingScrollSimulation scroll = BouncingScrollSimulation( 216 scroll.tolerance = const Tolerance(velocity: 0.5, distance: 0.1); 217 expect(scroll.isDone(0.0), false); 218 expect(scroll.isDone(0.5), false); // switch from friction to spring 219 expect(scroll.isDone(3.5), true); 238 final BouncingScrollSimulation scroll = BouncingScrollSimulation( 245 scroll.tolerance = const Tolerance(velocity: 1.0); 247 expect(scroll.isDone(0.0), false); 248 expect(scroll.x(0.0), 100); 249 expect(scroll.dx(0.0), 400.0); [all …]
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/semantics/ |
D | scrollable.dart | 19 /// zero "neutral" scroll position value. This is done so we have a 20 /// predictable range of DOM scroll position values. When the amount of 31 /// Listens to HTML "scroll" gestures detected by the browser. 41 /// Responds to browser-detected "scroll" gestures. 44 if (!semanticsObject.owner.shouldAcceptBrowserGesture('scroll')) { 79 // that we already have it on the <body> tag because overflow:scroll 90 // We neutralize the scroll position after all children have been 108 semanticsObject.element.addEventListener('scroll', _scrollListener); 112 /// The value of "scrollTop" or "scrollLeft", depending on the scroll axis. 122 /// Resets the scroll position (top or left) to the neutral value. [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | scroll_controller.dart | 18 /// objects and are reused in each [State.build]. A single scroll controller can 20 /// as reading the scroll [offset], require the controller to be used with a 23 /// A scroll controller creates a [ScrollPosition] to manage the state specific 29 /// whenever any of them scroll). It does not notify its listeners when the list 42 /// * [ScrollPosition], which manages the scroll offset for an individual 45 /// the scroll position without using a [ScrollController]. 62 /// if [keepScrollOffset] is false or a scroll offset hasn't been saved yet. 68 /// Each time a scroll completes, save the current scroll [offset] with 71 /// If this property is set to false, the scroll offset is never saved 72 /// and [initialScrollOffset] is always used to initialize the scroll [all …]
|
D | scroll_activity.dart | 23 /// Used by subclasses of [ScrollActivity] to manipulate the scroll view that 31 /// The direction in which the scroll view scrolls. 34 /// Update the scroll position to the given pixel value. 40 /// Updates the scroll position by the given amount. 42 /// Appropriate for when the user is directly manipulating the scroll 43 /// position, for example by dragging the scroll view. Typically applies 66 /// The delegate that this activity will use to actuate the scroll view. 80 /// example, when changing from an Android-style scroll position to an 81 /// iOS-style scroll position). If this activity can differ between the two 94 /// Dispatch a [ScrollUpdateNotification] with the given metrics and scroll delta. [all …]
|
D | scroll_notification.dart | 49 /// has changed its scroll position, mixed with zero or more 51 /// its scroll position because the change would have caused its scroll 52 /// position to go outside its scroll bounds. 68 /// When a scroll notification is received by a [NotificationListener], the 71 /// build or layout based on a scroll notification would result in a layout that 75 /// widgets are examples of paint effects that use scroll notifications. 77 /// To drive layout based on the scroll position, consider listening to the 131 /// A notification that a [Scrollable] widget has changed its scroll position. 136 /// has not changed its scroll position because the change would have caused 137 /// its scroll position to go outside its scroll bounds. [all …]
|
D | scroll_physics.dart | 29 /// reaches the maximum scroll extent or when the user stops scrolling. 31 /// When starting a physics [Simulation], the current scroll position and 34 /// determine the scroll position for the widget. 37 /// [ScrollPhysics] objects of different types to get the desired scroll physics. 40 /// Creates an object with the default scroll physics. 76 /// If this scroll physics object already has a parent, then this method 86 /// scroll physics of two [ScrollPhysics] objects, the resulting [ScrollPhysics] 123 /// Whether the scrollable should let the user adjust the scroll offset, for 126 /// By default, the user can manipulate the scroll offset if, and only if, 217 /// to be considered a scroll fling gesture. [all …]
|
D | scroll_position.dart | 25 /// Determines which portion of the content is visible in a scroll view. 27 /// The [pixels] value determines the scroll offset that the scroll view uses to 63 /// the scroll position without using a [ScrollController]. 66 /// in a scroll view. 85 /// How the scroll position should respond to user input. 88 /// user stops dragging the scroll view. 96 /// Save the current scroll offset with [PageStorage] and restore it if 97 /// this scroll position's scrollable is recreated. 102 /// create scroll positions and initialize this property. 152 /// the activity and scroll activities tend to use those metrics when being [all …]
|
D | animated_list.dart | 87 /// The axis along which the scroll view scrolls. 92 /// Whether the scroll view scrolls in the reading direction. 95 /// [scrollDirection] is [Axis.horizontal], then the scroll view scrolls from 99 /// Similarly, if [scrollDirection] is [Axis.vertical], then the scroll view 106 /// An object that can be used to control the position to which this scroll 112 /// the initial scroll position (see [ScrollController.initialScrollOffset]). 113 /// It can be used to control whether the scroll view should automatically 114 /// save and restore its scroll position in the [PageStorage] (see 116 /// scroll position (see [ScrollController.offset]), or change it (see 120 /// Whether this is the primary scroll view associated with the parent [all …]
|
D | scroll_view.dart | 28 /// of the widgets inside the scroll view. 35 /// To control the initial scroll offset of the scroll view, provide a 46 /// * [CustomScrollView], which is a [ScrollView] that creates custom scroll 49 /// the scroll position without using a [ScrollController]. 88 /// The axis along which the scroll view scrolls. 93 /// Whether the scroll view scrolls in the reading direction. 96 /// [scrollDirection] is [Axis.horizontal], then the scroll view scrolls from 100 /// Similarly, if [scrollDirection] is [Axis.vertical], then the scroll view 107 /// An object that can be used to control the position to which this scroll 113 /// the initial scroll position (see [ScrollController.initialScrollOffset]). [all …]
|
/third_party/libinput/doc/user/ |
D | scrolling.rst | 23 documentation on how to query a device for available scroll methods. 32 scroll event contains both directions where applicable, see 56 engaged, any movement will scroll. In other words: to start scrolling, a 58 movements will translate into tiny scroll movements. 62 When a scroll gesture remains close to perfectly straight, it will be held to 64 scroll in any direction. 80 finger along the right edge (vertical scroll) or bottom edge (horizontal 81 scroll). 100 On-button scrolling converts the motion of a device into scroll events while 103 scroll events when the trackstick's middle mouse button is held down. [all …]
|
D | incorrectly-enabled-hires.rst | 4 Incorrectly enabled high-resolution scroll 7 Some devices might announce support for high-resolution scroll wheel by enabling 9 high-resolution scroll event. 11 When the first low-resolution scroll event is received without any previous 13 supports high-resolution scroll but only low-resolution events have been 21 Once the bug is detected, libinput will start emulating high-resolution scroll
|
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/ |
D | viewport_offset.dart | 10 /// The direction of a scroll, relative to the positive scroll offset axis given 14 /// for the case where no scroll is occurring. 17 /// the user is scrolling in the same direction as the detected scroll offset 23 /// Scrolling is happening in the positive scroll offset direction. 30 /// Scrolling is happening in the negative scroll offset direction. 57 /// The [pixels] value determines the scroll offset that the viewport uses to 106 /// since the layout is repeated each time the scroll offset is corrected. 114 /// If applying the viewport dimensions changes the scroll offset, return 116 /// will be laid out again with the new scroll offset. This is expensive. (The 125 /// The arguments are the minimum and maximum scroll extents respectively. The [all …]
|
/third_party/mesa3d/src/freedreno/perfcntrs/ |
D | fdperf.c | 461 static int scroll = 0; in redraw() local 469 if ((current_cntr - scroll) > (max - 1)) { in redraw() 470 scroll = current_cntr - (max - 1); in redraw() 471 } else if ((current_cntr - 1) < scroll) { in redraw() 472 scroll = current_cntr - 1; in redraw() 484 if ((scroll <= row) && ((row - scroll) < max)) in redraw() 485 redraw_group_header(win, row - scroll, group->group->name); in redraw() 490 if ((scroll <= row) && ((row - scroll) < max)) in redraw() 491 redraw_counter(win, row - scroll, group, j, row == current_cntr); in redraw() 554 int cnt = 0, current = 0, scroll; in counter_dialog() local [all …]
|
/third_party/python/Doc/library/ |
D | tkinter.scrolledtext.rst | 6 :synopsis: Text widget with a vertical scroll bar. 15 implements a basic text widget which has a vertical scroll bar configured to do 17 setting up a text widget and scroll bar directly. 32 The frame which surrounds the text and scroll bar widgets. 37 The scroll bar widget.
|
/third_party/flutter/flutter/dev/benchmarks/complex_layout/test_driver/ |
D | scroll_perf_test.dart | 42 await driver.scroll(list, 0.0, -300.0, const Duration(milliseconds: 300)); 48 await driver.scroll(list, 0.0, 300.0, const Duration(milliseconds: 300)); 59 await testScrollPerf('complex-scroll', 'complex_layout_scroll_perf'); 64 await driver.tap(find.byValueKey('scroll-switcher')); 65 await testScrollPerf('tiles-scroll', 'tiles_scroll_perf');
|
/third_party/libinput/tools/ |
D | libinput-debug-gui.c | 136 } scroll; member 590 cairo_rectangle(cr, w->scroll.vx - 10, w->scroll.vy - 20, 20, 40); in draw_scrollbars() 591 cairo_rectangle(cr, w->scroll.hx - 20, w->scroll.hy - 10, 40, 20); in draw_scrollbars() 596 cairo_rectangle(cr, w->scroll.vx_discrete - 5, w->scroll.vy_discrete - 10, 10, 20); in draw_scrollbars() 597 cairo_rectangle(cr, w->scroll.hx_discrete - 10, w->scroll.hy_discrete - 5, 20, 10); in draw_scrollbars() 1024 w->scroll.vx = w->width/2; in window_place_ui_elements() 1025 w->scroll.vy = w->height/2; in window_place_ui_elements() 1026 w->scroll.hx = w->width/2; in window_place_ui_elements() 1027 w->scroll.hy = w->height/2; in window_place_ui_elements() 1028 w->scroll.vx_discrete = w->width/2; in window_place_ui_elements() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | browser.c | 153 GtkWidget *scroll; in hs20_web_browser() local 172 scroll = gtk_scrolled_window_new(NULL, NULL); in hs20_web_browser() 173 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), in hs20_web_browser() 195 gtk_container_add(GTK_CONTAINER(scroll), GTK_WIDGET(view)); in hs20_web_browser() 196 gtk_container_add(GTK_CONTAINER(ctx.win), GTK_WIDGET(scroll)); in hs20_web_browser()
|