Home
last modified time | relevance | path

Searched refs:height (Results 1 – 25 of 88) sorted by relevance

1234

/u-boot/scripts/kconfig/lxdialog/
A Dyesno.c14 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
17 int y = height - 2; in print_buttons()
29 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument
35 if (getmaxy(stdscr) < (height + YESNO_HEIGTH_MIN)) in dialog_yesno()
42 y = (getmaxy(stdscr) - height) / 2; in dialog_yesno()
44 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
46 dialog = newwin(height, width, y, x); in dialog_yesno()
49 draw_box(dialog, 0, 0, height, width, in dialog_yesno()
52 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_yesno()
63 print_buttons(dialog, height, width, 0); in dialog_yesno()
[all …]
A Dtextbox.c48 int height, width, boxh, boxw; in dialog_textbox() local
69 getmaxyx(stdscr, height, width); in dialog_textbox()
73 height = initial_height; in dialog_textbox()
75 if (height > 4) in dialog_textbox()
76 height -= 4; in dialog_textbox()
78 height = 0; in dialog_textbox()
97 boxh = height - 4; in dialog_textbox()
231 back_lines(height); in dialog_textbox()
307 for (i = 0; i < height; i++) in print_page()
310 back_lines(height); in print_page()
[all …]
A Dinputbox.c19 int y = height - 2; in print_buttons()
53 y = (getmaxy(stdscr) - height) / 2; in dialog_inputbox()
55 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox()
57 dialog = newwin(height, width, y, x); in dialog_inputbox()
60 draw_box(dialog, 0, 0, height, width, in dialog_inputbox()
63 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_inputbox()
82 print_buttons(dialog, height, width, 0); in dialog_inputbox()
234 print_buttons(dialog, height, width, 1); in dialog_inputbox()
238 print_buttons(dialog, height, width, 0); in dialog_inputbox()
244 print_buttons(dialog, height, width, 0); in dialog_inputbox()
[all …]
A Dmenubox.c99 int height) in print_arrows() argument
119 y = y + height + 1; in print_arrows()
123 if ((height < item_no) && (scroll + height < item_no)) { in print_arrows()
145 int y = height - 2; in print_buttons()
175 int height, width, menu_height; in dialog_menu() local
181 height = getmaxy(stdscr); in dialog_menu()
186 height -= 4; in dialog_menu()
188 menu_height = height - 10; in dialog_menu()
194 y = (getmaxy(stdscr) - height) / 2; in dialog_menu()
198 dialog = newwin(height, width, y, x); in dialog_menu()
[all …]
A Dchecklist.c53 int y, int x, int height) in print_arrows() argument
69 y = y + height + 1; in print_arrows()
91 int y = height - 2; in print_buttons()
131 y = (getmaxy(stdscr) - height) / 2; in dialog_checklist()
133 draw_shadow(stdscr, y, x, height, width); in dialog_checklist()
135 dialog = newwin(height, width, y, x); in dialog_checklist()
138 draw_box(dialog, 0, 0, height, width, in dialog_checklist()
141 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_checklist()
153 box_y = height - list_height - 5; in dialog_checklist()
189 print_buttons(dialog, height, width, 0); in dialog_checklist()
[all …]
A Ddialog.h202 void attr_clear(WINDOW * win, int height, int width, chtype attr);
207 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box,
209 void draw_shadow(WINDOW * win, int y, int x, int height, int width);
212 int dialog_yesno(const char *title, const char *prompt, int height, int width);
213 int dialog_msgbox(const char *title, const char *prompt, int height,
224 int dialog_checklist(const char *title, const char *prompt, int height,
226 int dialog_inputbox(const char *title, const char *prompt, int height,
A Dutil.c234 for (i = 0; i < height; i++) { in attr_clear()
304 int height, width; in init_dialog() local
311 getmaxyx(stdscr, height, width); in init_dialog()
312 if (height < WINDOW_HEIGTH_MIN || width < WINDOW_WIDTH_MIN) { in init_dialog()
464 draw_box(WINDOW * win, int y, int x, int height, int width, in draw_box() argument
470 for (i = 0; i < height; i++) { in draw_box()
475 else if (i == height - 1 && !j) in draw_box()
479 else if (i == height - 1 && j == width - 1) in draw_box()
483 else if (i == height - 1) in draw_box()
504 wmove(win, y + height, x + 2); in draw_shadow()
[all …]
/u-boot/board/friendlyarm/nanopi2/
A Dlcds.c95 .height = 1280,
122 .height = 480,
149 .height = 480,
176 .height = 480,
203 .height = 480,
230 .height = 800,
257 .height = 600,
283 .height = 600,
310 .height = 768,
547 int height; member
[all …]
A Dboard.c144 sync->v_active_len = lcd->height; in nx_display_fixup_dp()
152 div *= timing->v_sw + timing->v_bp + timing->v_fp + lcd->height; in nx_display_fixup_dp()
160 dp->top.screen_height = lcd->height; in nx_display_fixup_dp()
165 plane->height = lcd->height; in nx_display_fixup_dp()
177 if (lcd->width == 1920 && lcd->height == 1080) in nx_display_fixup_dp()
/u-boot/lib/efi_loader/
A Defi_gop.c94 efi_uintn_t height, in gop_blt_int() argument
124 sy + height > gopobj->info.height) in gop_blt_int()
137 dy + height > gopobj->info.height) in gop_blt_int()
177 for (i = 0; i < height; i++) { in gop_blt_int()
266 dy, width, height, delta, vid_bpp); in gop_blt_video_fill()
277 dy, width, height, delta, 16); in gop_blt_buf_to_vid16()
288 dy, width, height, delta, 32); in gop_blt_buf_to_vid32()
300 dy, width, height, delta, vid_bpp); in gop_blt_vid_to_vid()
395 sy, dx, dy, width, height, in gop_blt()
399 sy, dx, dy, width, height, in gop_blt()
[all …]
/u-boot/drivers/video/
A Dvideo_bmp.c45 ulong width, ulong height) in video_display_rle8_bitmap() argument
57 y = height - 1; in video_display_rle8_bitmap()
87 if (y < height) { in video_display_rle8_bitmap()
105 if (y < height) { in video_display_rle8_bitmap()
214 height = get_unaligned_le32(&bmp->header.height); in video_bmp_display()
261 if ((y + height) > priv->ysize) in video_bmp_display()
262 height = priv->ysize - y; in video_bmp_display()
286 y, width, height); in video_bmp_display()
294 for (i = 0; i < height; ++i) { in video_bmp_display()
326 for (i = 0; i < height; ++i) { in video_bmp_display()
[all …]
A Dsandbox_osd.c16 uint height; member
35 info->height = priv->height; in sandbox_osd_get_info()
52 if (pos >= 2 * (priv->width * priv->height)) in sandbox_osd_set_mem()
68 priv->height = row; in _sandbox_osd_set_size()
69 size = priv->width * priv->height; in _sandbox_osd_set_size()
98 if (col >= priv->width || row >= priv->height) in sandbox_osd_print()
133 uint memsize = 2 * (priv->width * priv->height); in sandbox_osd_get_mem()
A Dbus_vcxk.c114 int vcxk_init(unsigned long width, unsigned long height) in vcxk_init() argument
128 display_height = height; in vcxk_init()
363 unsigned long height; in vcxk_display_bitmap() local
376 height = le32_to_cpu(bmp->header.height); in vcxk_display_bitmap()
386 if (display_height < (height + y)) in vcxk_display_bitmap()
389 c_height = height; in vcxk_display_bitmap()
393 if (c_height < height) in vcxk_display_bitmap()
394 dataptr = dataptr + lw * (height - c_height); in vcxk_display_bitmap()
A Dda8xx-fb.c197 .height = -1,
484 static int lcd_cfg_frame_buffer(struct da8xx_fb_par *par, u32 width, u32 height, in lcd_cfg_frame_buffer() argument
517 reg = ((height - 1) & 0x3ff) | (reg & 0xfffffc00); in lcd_cfg_frame_buffer()
523 reg |= ((height - 1) & 0x400) << 16; in lcd_cfg_frame_buffer()
718 (unsigned int)panel->height, bpp, in lcd_init()
883 gpanel.winSizeY = lcd_panel->height; in video_hw_init()
885 gpanel.plnSizeY = lcd_panel->height; in video_hw_init()
952 par->vram_size = lcd_panel->width * lcd_panel->height * in video_hw_init()
975 par->dma_end = par->dma_start + lcd_panel->height * in video_hw_init()
993 da8xx_fb_var.yres = lcd_panel->height; in video_hw_init()
[all …]
/u-boot/tools/
A Dbmp_logo.c11 uint16_t height; member
71 b->width, b->height, n_colors, in gen_info()
125 if (fread (&b->height, sizeof (uint16_t), 1, fp) != 1) in main()
137 b->height = le_short(b->height); in main()
139 size = b->width * b->height; in main()
204 for (i = (b->height - 1) * b->width; i >= 0; i -= b->width) { in main()
/u-boot/common/
A Dlcd.c448 ulong width, height; in lcd_display_rle8_bitmap() local
454 height = get_unaligned_le32(&bmp->header.height); in lcd_display_rle8_bitmap()
458 y = height - 1; in lcd_display_rle8_bitmap()
488 if (y < height) { in lcd_display_rle8_bitmap()
506 if (y < height) { in lcd_display_rle8_bitmap()
582 height = get_unaligned_le32(&bmp->header.height); in lcd_display_bitmap()
626 height = panel_info.vl_row - y; in lcd_display_bitmap()
655 for (i = 0; i < height; ++i) { in lcd_display_bitmap()
684 for (i = 0; i < height; ++i) { in lcd_display_bitmap()
696 for (i = 0; i < height; ++i) { in lcd_display_bitmap()
[all …]
/u-boot/doc/device-tree-bindings/video/
A Dsimple-framebuffer.txt11 - height: The height of the framebuffer in pixels.
22 height = <1200>;
/u-boot/drivers/video/meson/
A Dmeson_canvas.c29 u32 stride, u32 height, in meson_canvas_setup() argument
40 (height << CANVAS_HEIGHT_BIT) | in meson_canvas_setup()
/u-boot/test/dm/
A Dosd.c31 static void print_mem(u8 *mem, uint width, uint height) in print_mem() argument
40 for (i = 0; i < width * height; i++) { in print_mem()
48 for (i = 0; i < width * height; i++) { in print_mem()
68 ut_asserteq(10, info.height); in dm_test_osd_basics()
153 ut_asserteq(5, info.height); in dm_test_osd_extended()
/u-boot/arch/sandbox/include/asm/
A Dsdl.h25 int sandbox_sdl_init_display(int width, int height, int log2_bpp,
84 static inline int sandbox_sdl_init_display(int width, int height, int log2_bpp, in sandbox_sdl_init_display() argument
/u-boot/arch/sandbox/cpu/
A Dsdl.c50 int height; member
101 int sandbox_sdl_init_display(int width, int height, int log2_bpp, in sandbox_sdl_init_display() argument
117 sdl.height = height; in sandbox_sdl_init_display()
120 sdl.vis_height = sdl.height * 2; in sandbox_sdl_init_display()
123 sdl.vis_height = sdl.height; in sandbox_sdl_init_display()
154 width, height); in sandbox_sdl_init_display()
/u-boot/include/
A Dvideo_easylogo.h20 int height; member
A Dbus_vcxk.h10 extern int vcxk_init(unsigned long width, unsigned long height);
/u-boot/arch/arm/mach-bcm283x/
A Dmsg.c110 *heightp = msg_query->physical_w_h.body.resp.height; in bcm2835_get_video_size()
125 msg_setup->physical_w_h.body.req.height = *heightp; in bcm2835_set_video_params()
128 msg_setup->virtual_w_h.body.req.height = *heightp; in bcm2835_set_video_params()
153 *heightp = msg_setup->physical_w_h.body.resp.height; in bcm2835_set_video_params()
/u-boot/arch/arm/mach-bcm283x/include/mach/
A Dmbox.h306 u32 height; member
310 u32 height; member
326 u32 height; member
330 u32 height; member

Completed in 37 milliseconds

1234