Home
last modified time | relevance | path

Searched refs:scroll (Results 1 - 25 of 43) sorted by relevance

12

/third_party/libinput/src/
H A Devdev-mt-touchpad-edge-scroll.c35 to do a small scroll. */
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 in tp_edge_scroll_set_state()
[all...]
H A Devdev.c204 if (device->scroll.change_scroll_method) in evdev_pointer_post_button()
205 device->scroll.change_scroll_method(device); in evdev_pointer_post_button()
216 device->scroll.button_scroll_state = BUTTONSCROLL_READY; in evdev_button_scroll_timeout()
226 switch (device->scroll.lock_state) { in evdev_button_scroll_button()
231 device->scroll.lock_state = BUTTONSCROLL_LOCK_FIRSTDOWN; in evdev_button_scroll_button()
232 evdev_log_debug(device, "scroll lock: first down\n"); in evdev_button_scroll_button()
236 device->scroll.lock_state = BUTTONSCROLL_LOCK_FIRSTUP; in evdev_button_scroll_button()
237 evdev_log_debug(device, "scroll lock: first up\n"); in evdev_button_scroll_button()
241 device->scroll.lock_state = BUTTONSCROLL_LOCK_SECONDDOWN; in evdev_button_scroll_button()
242 evdev_log_debug(device, "scroll loc in evdev_button_scroll_button()
[all...]
H A Dfilter-custom.c204 struct custom_accel_function *scroll; member
218 return f->funcs.scroll ? f->funcs.scroll : f->funcs.fallback; in custom_accelerator_get_custom_function()
268 custom_accel_function_destroy(f->funcs.scroll); in custom_accelerator_destroy()
292 *scroll = NULL; in custom_accelerator_set_accel_config() local
310 if (config->custom.scroll) { in custom_accelerator_set_accel_config()
311 scroll = create_custom_accel_function(config->custom.scroll->step, in custom_accelerator_set_accel_config()
312 config->custom.scroll->points, in custom_accelerator_set_accel_config()
313 config->custom.scroll in custom_accelerator_set_accel_config()
[all...]
H A Devdev-mt-touchpad-gestures.c130 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 in tp_gesture_apply_scroll_constraints()
[all...]
H A Devdev-fallback.c98 if (device->scroll.method != LIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWN) in post_button_scroll()
101 switch(device->scroll.button_scroll_state) { in post_button_scroll()
105 /* if the button is down but scroll is not active, we're within the in post_button_scroll()
107 scroll buttons */ in post_button_scroll()
111 device->scroll.button_scroll_state = BUTTONSCROLL_SCROLLING; in post_button_scroll()
127 assert(!"invalid scroll button state"); in post_button_scroll()
184 /* Use unaccelerated deltas for pointing stick scroll */ in fallback_flush_relative_motion()
1459 if (device->scroll.want_method == device->scroll.method && in fallback_change_scroll_method()
1460 device->scroll in fallback_change_scroll_method()
[all...]
H A Devdev-wheel.c117 /* Ignore scroll while accumulating deltas */ in wheel_handle_event_on_state_accumulating_scroll()
219 wheel_degrees.y = -1 * value/120.0 * device->scroll.wheel_click_angle.y; in wheel_flush_scroll()
232 wheel_degrees.y = -1 * value * device->scroll.wheel_click_angle.y; in wheel_flush_scroll()
247 wheel_degrees.x = value/120.0 * device->scroll.wheel_click_angle.x; in wheel_flush_scroll()
260 wheel_degrees.x = value * device->scroll.wheel_click_angle.x; in wheel_flush_scroll()
333 * means scroll down. This isn't done for any other angle in fallback_rotate_wheel()
394 "device supports high-resolution scroll but only low-resolution events have been received.\n" in fallback_wheel_handle_state()
435 wheel scroll events */ in fallback_init_wheel()
452 "%s wheel scroll", in fallback_init_wheel()
/third_party/toybox/kconfig/lxdialog/
H A Dmenubox.c53 * Reset 'scroll' to 0 if the value from lxdialog.scrltmp is bogus.
56 * fscanf would read in 'scroll', and eventually that value would get used.
109 * Print the scroll indicators.
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()
168 /* scroll up n lines (n may be negative) */
169 static void do_scroll(WINDOW *win, int *scroll, int n) in do_scroll() argument
175 *scroll = *scroll in do_scroll()
187 int key = 0, button = 0, scroll = 0, choice = 0; dialog_menu() local
[all...]
H A Dchecklist.c57 * Print the scroll indicators.
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()
[all...]
H A Dinputbox.c48 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()
[all...]
/third_party/mesa3d/src/freedreno/perfcntrs/
H A Dfdperf.c461 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) < ma in redraw()
554 int cnt = 0, current = 0, scroll; counter_dialog() local
[all...]
/third_party/libinput/tools/
H A Dlibinput-debug-gui.c129 /* scroll bar positions */
136 } scroll; member
602 cairo_rectangle(cr, w->scroll.vx - 10, w->scroll.vy - 20, 20, 40); in draw_scrollbars()
603 cairo_rectangle(cr, w->scroll.hx - 20, w->scroll.hy - 10, 40, 20); in draw_scrollbars()
608 cairo_rectangle(cr, w->scroll.vx_discrete - 5, w->scroll.vy_discrete - 10, 10, 20); in draw_scrollbars()
609 cairo_rectangle(cr, w->scroll.hx_discrete - 10, w->scroll in draw_scrollbars()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dbrowser.c153 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/
H A Deventhistory.cpp113 bool scroll = true; in addEvent() local
117 scroll = false; in addEvent()
122 if (scroll) in addEvent()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
H A Deventhistory.cpp113 bool scroll = true; in addEvent() local
117 scroll = false; in addEvent()
122 if (scroll) in addEvent()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dbrowser.c294 GtkWidget *scroll; in hs20_web_browser() local
320 scroll = gtk_scrolled_window_new(NULL, NULL); in hs20_web_browser()
321 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), in hs20_web_browser()
358 gtk_container_add(GTK_CONTAINER(scroll), GTK_WIDGET(view)); in hs20_web_browser()
359 gtk_container_add(GTK_CONTAINER(ctx.win), GTK_WIDGET(scroll)); in hs20_web_browser()
/third_party/python/Lib/idlelib/
H A Dhelp.py219 self.scroll = scroll = Scrollbar(self, command=text.yview)
220 text['yscrollcommand'] = scroll.set
226 scroll.grid(row=0, column=2, sticky='ns')
/third_party/glfw/deps/
H A Dnuklear_glfw_gl2.h76 struct nk_vec2 scroll; member
212 glfw.scroll.x += (float)xoff; in nk_gflw3_scroll_callback()
213 glfw.scroll.y += (float)yoff; in nk_gflw3_scroll_callback()
364 nk_input_scroll(ctx, glfw.scroll); in nk_glfw3_new_frame()
367 glfw.scroll = nk_vec2(0,0); in nk_glfw3_new_frame()
H A Dnuklear.h730 /// __nk_input_scroll__ | Mirrors mouse scroll values
779 /// Begins the input mirroring process by resetting text, scroll
836 /// Copies the last mouse scroll value to nuklear. Is generally
837 /// a scroll value. So does not have to come from mouse and could also originate
847 /// __val__ | vector with both X- as well as Y-scroll value
1406 /// nk_window_get_scroll | Gets the scroll offset of the current window
1420 /// nk_window_set_scroll | Sets the scroll offset of the current window
1725 /// Gets the scroll offset for the current window
1907 /// Sets the scroll offset for the current window
1918 /// __offset_x__ | The x offset to scroll t
14282 struct nk_style_scrollbar *scroll; nk_style_from_table() local
15908 struct nk_rect scroll; nk_panel_end() local
18803 nk_group_scrolled_begin(struct nk_context *ctx, struct nk_scroll *scroll, const char *title, nk_flags flags) nk_group_scrolled_begin() argument
21402 nk_scrollbar_behavior(nk_flags *state, struct nk_input *in, int has_scrolling, const struct nk_rect *scroll, const struct nk_rect *cursor, const struct nk_rect *empty0, const struct nk_rect *empty1, float scroll_offset, float target, float scroll_step, enum nk_orientation o) nk_scrollbar_behavior() argument
21478 nk_draw_scrollbar(struct nk_command_buffer *out, nk_flags state, const struct nk_style_scrollbar *style, const struct nk_rect *bounds, const struct nk_rect *scroll) nk_draw_scrollbar() argument
21512 nk_do_scrollbarv(nk_flags *state, struct nk_command_buffer *out, struct nk_rect scroll, int has_scrolling, float offset, float target, float step, float button_pixel_inc, const struct nk_style_scrollbar *style, struct nk_input *in, const struct nk_user_font *font) nk_do_scrollbarv() argument
21601 nk_do_scrollbarh(nk_flags *state, struct nk_command_buffer *out, struct nk_rect scroll, int has_scrolling, float offset, float target, float step, float button_pixel_inc, const struct nk_style_scrollbar *style, struct nk_input *in, const struct nk_user_font *font) nk_do_scrollbarh() argument
23199 struct nk_rect scroll; nk_do_edit() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_scroll.c103 static void scroll(AVFilterContext *ctx, AVFrame *in, AVFrame *out) in scroll() function
146 scroll(ctx, in, out); in filter_frame()
186 AVFILTER_DEFINE_CLASS(scroll); variable
205 .name = "scroll",
H A Dvsrc_cellauto.c54 int stitch, scroll, start_full; member
77 { "scroll", "scroll pattern downward", OFFSET(scroll), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, FLAGS },
202 "s:%dx%d r:%d/%d rule:%d stitch:%d scroll:%d full:%d seed:%"PRId64"\n", in init()
204 s->rule, s->stitch, s->scroll, s->start_full, in init()
267 if (s->scroll && s->generation >= s->h) in fill_picture()
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_textview.py75 scroll = tv.AutoHideScrollbar(root)
76 self.assertRaises(TclError, scroll.pack)
77 self.assertRaises(TclError, scroll.place)
/third_party/skia/modules/skplaintexteditor/app/
H A Deditor_application.cpp160 bool scroll(int delta) { in scroll() function
173 this->scroll(-(int)(delta * fEditor.font().getSpacing()));
291 // scroll if needed. in move()
318 return this->scroll(fHeight * 4 / 5);
320 return this->scroll(-fHeight * 4 / 5);
/third_party/toybox/toys/pending/
H A Dvi.c601 //and with big files scroll should not rely in knowing
624 TT.vi_mov_flag = 0x20000000; //TODO I disabled scroll in adjust_screen_buffer()
629 TT.vi_mov_flag = 0x20000000; //TODO I disabled scroll in adjust_screen_buffer()
1358 int scroll = 0, redraw = 0; in draw_page() local
1367 scroll = TT.drawn_row-TT.scr_row; in draw_page()
1369 else if (abs(scroll)>TT.screen_height/2) redraw = 3; in draw_page()
1373 else if (scroll>0) printf("\033[%dL", scroll); //scroll up in draw_page()
1374 else if (scroll< in draw_page()
[all...]
/third_party/node/test/fixtures/wpt/dom/events/non-cancelable-when-passive/resources/
H A Dscrolling.js30 .scroll(pos_x, pos_y, delta_x, delta_y).send();
/third_party/node/test/fixtures/wpt/resources/
H A Dtestdriver-actions.js360 * Create a scroll event for the current default wheel source
364 * @param {Number} deltaX - scroll delta value along the x-axis in pixels
365 * @param {Number} deltaY - scroll delta value along the y-axis in pixels
368 * @param {Number?} duration - Time in ms for the scroll
373 scroll: function(x, y, deltaX, deltaY,
376 source.scroll(this, x, y, deltaX, deltaY, duration, origin);
578 scroll: function(actions, x, y, deltaX, deltaY, duration, origin) {
583 this.actions.set(tick, {type: "scroll", x, y, deltaX, deltaY, origin});

Completed in 50 milliseconds

12