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

/linux-4.1.27/scripts/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, print_arrows() argument
120 if (scroll > 0) { print_arrows()
136 if ((height < item_no) && (scroll + height < item_no)) { print_arrows()
170 /* scroll up n lines (n may be negative) */ do_scroll()
171 static void do_scroll(WINDOW *win, int *scroll, int n) do_scroll() argument
177 *scroll = *scroll + n; do_scroll()
189 int key = 0, button = 0, scroll = 0, choice = 0; dialog_menu() local
251 /* get the saved scroll info */ dialog_menu()
252 scroll = *s_scroll; dialog_menu()
253 if ((scroll <= choice) && (scroll + max_choice > choice) && dialog_menu()
254 (scroll >= 0) && (scroll + max_choice <= item_count())) { dialog_menu()
255 first_item = scroll; dialog_menu()
256 choice = choice - scroll; dialog_menu()
258 scroll = 0; dialog_menu()
262 scroll = first_item = item_count() - max_choice; dialog_menu()
264 scroll = first_item = choice - max_choice / 2; dialog_menu()
265 choice = choice - scroll; dialog_menu()
275 print_arrows(dialog, item_count(), scroll, dialog_menu()
292 item_set(scroll + i); dialog_menu()
299 item_set(scroll + i); dialog_menu()
312 print_item(scroll + choice, choice, FALSE); dialog_menu()
315 if (choice < 2 && scroll) { dialog_menu()
317 do_scroll(menu, &scroll, -1); dialog_menu()
319 print_item(scroll, 0, FALSE); dialog_menu()
324 print_item(scroll+choice, choice, FALSE); dialog_menu()
327 (scroll + max_choice < item_count())) { dialog_menu()
329 do_scroll(menu, &scroll, 1); dialog_menu()
331 print_item(scroll+max_choice - 1, dialog_menu()
339 if (scroll > 0) { dialog_menu()
340 do_scroll(menu, &scroll, -1); dialog_menu()
341 print_item(scroll, 0, FALSE); dialog_menu()
350 if (scroll + max_choice < item_count()) { dialog_menu()
351 do_scroll(menu, &scroll, 1); dialog_menu()
352 print_item(scroll+max_choice-1, dialog_menu()
362 print_item(scroll + choice, choice, TRUE); dialog_menu()
364 print_arrows(dialog, item_count(), scroll, dialog_menu()
393 /* save scroll info */ dialog_menu()
394 *s_scroll = scroll; dialog_menu()
397 item_set(scroll + choice); dialog_menu()
H A Dchecklist.c63 * Print the scroll indicators.
65 static void print_arrows(WINDOW * win, int choice, int item_no, int scroll, print_arrows() argument
70 if (scroll > 0) { print_arrows()
85 if ((height < item_no) && (scroll + choice < item_no - 1)) { print_arrows()
121 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; dialog_checklist() local
189 scroll = choice - list_height + 1;
190 choice -= scroll;
195 item_set(scroll + i);
199 print_arrows(dialog, choice, item_count(), scroll,
212 item_set(i + scroll);
221 if (!scroll)
226 item_set(scroll);
232 scroll--;
233 item_set(scroll);
236 scroll, box_y, box_x + check_x + 5, list_height);
246 if (scroll + choice >= item_count() - 1)
251 item_set(scroll + max_choice - 1);
259 scroll++;
260 item_set(scroll + max_choice - 1);
264 scroll, box_y, box_x + check_x + 5, list_height);
275 item_set(scroll + choice);
279 item_set(scroll + choice);
298 item_set(scroll + choice);
H A Dtextbox.c223 /* Reprint current page to scroll horizontally */ dialog_textbox()
234 /* Reprint current page to scroll horizontally */ dialog_textbox()
/linux-4.1.27/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DSchedGui.py42 self.scroll = wx.ScrolledWindow(self.panel)
43 self.scroll.SetScrollbars(self.scroll_scale, self.scroll_scale, self.width_virtual / self.scroll_scale, self.height_virtual / self.scroll_scale)
44 self.scroll.EnableScrolling(True, True)
45 self.scroll.SetFocus()
48 self.scroll_panel = wx.Panel(self.scroll, size=(self.screen_width - 15, self.screen_height / 2))
52 self.scroll.Bind(wx.EVT_PAINT, self.on_paint)
53 self.scroll.Bind(wx.EVT_KEY_DOWN, self.on_key_press)
54 self.scroll.Bind(wx.EVT_LEFT_DOWN, self.on_mouse_down)
56 self.scroll.Fit()
72 (x, y) = self.scroll.GetViewStart()
150 (xpos, ypos) = self.scroll.GetViewStart()
152 self.scroll.SetScrollbars(self.scroll_scale, self.scroll_scale, self.width_virtual / self.scroll_scale, self.height_virtual / self.scroll_scale, xpos, ypos)
176 (x, y) = self.scroll.GetViewStart()
178 self.scroll.Scroll(x + 1, y)
180 self.scroll.Scroll(x - 1, y)
182 self.scroll.Scroll(x, y + 1)
184 self.scroll.Scroll(x, y - 1)
/linux-4.1.27/drivers/input/mouse/
H A Dsentelic.h114 bool vscroll; /* Vertical scroll zone enabled */
115 bool hscroll; /* Horizontal scroll zone enabled */
H A Dsynaptics.h161 signed char scroll; member in struct:synaptics_hw_state
180 int scroll; member in struct:synaptics_data
H A Dsynaptics.c781 hw->scroll = (signed char)(buf[1]); synaptics_parse_hw_state()
1000 if (hw.scroll) { synaptics_process_packet()
1001 priv->scroll += hw.scroll; synaptics_process_packet()
1003 while (priv->scroll >= 4) { synaptics_process_packet()
1008 priv->scroll -= 4; synaptics_process_packet()
1010 while (priv->scroll <= -4) { synaptics_process_packet()
1015 priv->scroll += 4; synaptics_process_packet()
H A Dpsmouse-base.c146 * Scroll wheel on IntelliMice, scroll buttons on NetMice psmouse_process_byte()
158 case 0x80: /* vertical scroll on IntelliMouse Explorer 4.0 */ psmouse_process_byte()
161 case 0x40: /* horizontal scroll on IntelliMouse Explorer 4.0 */ psmouse_process_byte()
/linux-4.1.27/arch/mips/lasat/
H A Dpicvue_proc.c175 remove_proc_entry("scroll", pvc_display_dir); pvc_proc_cleanup()
200 proc_entry = proc_create("scroll", 0644, pvc_display_dir, pvc_proc_init()
/linux-4.1.27/drivers/input/keyboard/
H A Datkbd.c59 module_param_named(scroll, atkbd_scroll, bool, 0);
60 MODULE_PARM_DESC(scroll, "Enable scroll-wheel on MS Office and similar keyboards");
219 bool scroll; member in struct:atkbd
274 ATKBD_DEFINE_ATTR(scroll); variable
378 int scroll = 0, hscroll = 0, click = -1; atkbd_interrupt() local
478 scroll = 1; atkbd_interrupt()
481 scroll = 2; atkbd_interrupt()
484 scroll = 4; atkbd_interrupt()
487 scroll = 8; atkbd_interrupt()
521 if (atkbd->scroll) { atkbd_interrupt()
525 atkbd->release ? -scroll : scroll); atkbd_interrupt()
1017 if (atkbd->scroll) atkbd_set_keycode_table()
1027 if (atkbd->scroll) atkbd_set_keycode_table()
1106 if (atkbd->scroll) { atkbd_set_device_attrs()
1163 atkbd->scroll = atkbd_scroll; atkbd_connect()
1429 return sprintf(buf, "%d\n", atkbd->scroll ? 1 : 0); atkbd_show_scroll()
1446 if (atkbd->scroll != value) { atkbd_set_scroll()
1448 old_scroll = atkbd->scroll; atkbd_set_scroll()
1455 atkbd->scroll = value; atkbd_set_scroll()
1463 atkbd->scroll = old_scroll; atkbd_set_scroll()
/linux-4.1.27/include/uapi/linux/
H A Dtiocl.h34 #define TIOCL_SCROLLCONSOLE 13 /* scroll console */
H A Dkd.h29 #define LED_SCR 0x01 /* scroll lock led */
/linux-4.1.27/drivers/hid/
H A Dhid-magicmouse.c34 MODULE_PARM_DESC(emulate_scroll_wheel, "Emulate a scroll wheel");
49 MODULE_PARM_DESC(scroll_acceleration, "Accelerate sequential scroll events");
98 * @scroll_accel: Number of consecutive scroll motions.
99 * @scroll_jiffies: Time of last scroll motion.
214 /* If requested, emulate a scroll wheel by detecting small magicmouse_emit_touch()
222 /* Calculate and apply the scroll motion. */ magicmouse_emit_touch()
H A Dhid-holtek-kbd.c25 * - The report descriptor reports on caps/scroll/num lock key presses, but
H A Dhid-roccat-kone.h50 kone_button_info_type_button_3 = 0x3, /* scroll (wheel) */
/linux-4.1.27/drivers/media/radio/si4713/
H A Dsi4713.h172 * However, there is receivers which scroll PSNAME 8xN sized.
179 * However, there is receivers which scroll them as well.
H A Dsi4713.c1525 * should be 8. But there are receivers which scroll strings si4713_probe()
1533 * which scroll strings sized as 32xN. Setting default to 32. si4713_probe()
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
H A Dcurproc.h95 * scroll-step: 1
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-curproc.c109 * scroll-step: 1
/linux-4.1.27/arch/x86/boot/compressed/
H A Dmisc.c150 static void scroll(void) scroll() function
198 scroll(); __putstr()
206 scroll(); __putstr()
/linux-4.1.27/drivers/staging/speakup/
H A Di18n.c46 "press space to exit, up or down to scroll, or a letter to go to a command",
170 [MSG_KEYNAME_SCROLLLOCK] = "scroll lock",
277 [MSG_KEYNAME_SCROLLUP] = "scroll up",
278 [MSG_KEYNAME_SCROLLDN] = "scroll down",
/linux-4.1.27/include/linux/
H A Dkbd_kern.h45 #define VC_SCROLLOCK 0 /* scroll-lock mode */
H A Dconsole.h95 /* scroll */
/linux-4.1.27/drivers/video/fbdev/
H A Dfm2fb.c107 * color images. Imagine: When scroll up a text line there
110 * over the slow 16 bit wide Zorro2 bus! A scroll of one
H A Duvesafb.c45 static int ypan = 1; /* 0: scroll, 1: ypan, 2: ywrap */
1985 module_param_named(scroll, ypan, scroll, 0);
1986 MODULE_PARM_DESC(scroll,
H A Dsstfb.c51 - FIXME: Use accelerator for 2D scroll
/linux-4.1.27/arch/arm/mach-pxa/
H A Dtavorevb.c138 KEY(4, 4, KEY_ENTER), /* scroll push */
251 /* DISPLAY Setting, 262K, fixed(NO scroll), no split screen */
H A Dzylonite.c295 KEY(4, 6, KEY_ENTER), /* scroll push */ zylonite_init_mmc()
/linux-4.1.27/arch/x86/kernel/
H A Dearly_printk.c37 /* scroll 1 line up */ early_vga_write()
/linux-4.1.27/arch/mn10300/boot/compressed/
H A Dmisc.c173 static inline void scroll(void) scroll() function
/linux-4.1.27/arch/powerpc/platforms/chrp/
H A Dsetup.c360 * Print the banner, then scroll down so boot progress chrp_setup_arch()
/linux-4.1.27/kernel/
H A Dpanic.c379 * this to ensure that oopses don't scroll off the screen. It has the
/linux-4.1.27/drivers/input/misc/
H A Dad714x.c402 * When the scroll wheel is activated, we compute the absolute position based
442 * When the scroll wheel is activated, we compute the absolute position based
/linux-4.1.27/drivers/video/console/
H A Dvgacon.c138 * Use the "no-scroll" bootflag. no_scroll()
144 __setup("no-scroll", no_scroll);
H A Dnewport_con.c584 /* there is (nearly) no off-screen memory, so we can't scroll back */ newport_scrolldelta()
H A Dfbcon.c602 /* We can scroll screen down */ fbcon_prepare_logo()
1230 * Implies should only really hardware scroll in rows. Only reason for
/linux-4.1.27/scripts/kconfig/
H A Dmconf.c57 " You may also use the <PAGE UP> and <PAGE DOWN> keys to scroll\n"
107 "o Use the cursor keys to scroll up/down/left/right. The VI editor\n"
H A Dnconf.c926 * prefer not to scroll the menu if possible*/ center_item()
/linux-4.1.27/tools/perf/ui/browsers/
H A Dannotate.c125 /* The scroll bar isn't being used */ annotate_browser__write()
H A Dhists.c804 /* The scroll bar isn't being used */
/linux-4.1.27/drivers/media/rc/
H A Dati_remote.c609 * scroll up (0x78) / down (0x70) scancode ati_remote_input_report()
H A Dimon.c1359 /* ch+/- buttons, which we use for an emulated scroll wheel */ imon_mouse_event()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
H A Domap_dmm_tiler.c680 * buffers for accelerated pan/scroll) and FILL_DSC<n> which omap_dmm_probe()
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dpsb_intel_reg.h1158 * first line of the vertical scroll area.
/linux-4.1.27/drivers/tty/vt/
H A Dvt.c1104 /* don't scroll if above bottom of scrolling region, or lf()
1119 /* don't scroll if below top of scrolling region, or ri()
1167 case 3: /* erase scroll-back buffer (and whole display) */ csi_J()
/linux-4.1.27/scripts/
H A Danalyze_suspend.py2034 body {overflow-y: scroll;}\n\
2349 body {overflow-y: scroll;}\n\
2375 .zoombox {position: relative; width: 100%; overflow-x: scroll;}\n\
/linux-4.1.27/drivers/isdn/mISDN/
H A Ddsp_cmx.c1832 /* scroll up delays */
/linux-4.1.27/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c1809 minfo->fbcon.flags |= FBINFO_PARTIAL_PAN_OK | /* Prefer panning for scroll under MC viewer/edit */ initMatrox2()
/linux-4.1.27/arch/m68k/kernel/
H A Dhead.S174 * My hope is that the scroll algorithm does the right thing on the

Completed in 1331 milliseconds