Searched refs:height (Results 26 - 50 of 77) sorted by relevance

1234

/osnet-11/usr/src/grub/grub2/include/grub/efi/
H A Dgraphics_output.h47 grub_efi_uint32_t height; member in struct:grub_efi_gop_mode_info
85 grub_efi_uintn_t height,
/osnet-11/usr/src/grub/grub2/grub-core/video/
H A Dradeon_fuloong2e.c64 grub_video_radeon_fuloong2e_setup (unsigned int width, unsigned int height, argument
98 if ((width != 640 && width != 0) || (height != 480 && height != 0)
109 framebuffer.mode_info.height = 480;
139 framebuffer.mode_info.height * framebuffer.mode_info.pitch);
H A Defi_uga.c165 grub_uint32_t width, height, depth, rate, pixel; local
168 if (efi_call_5 (c->get_mode, c, &width, &height, &depth, &rate))
174 GRUB_EFI_UGA_VIDEO_FILL, 0, 0, 0, 0, 1, height, 0);
202 grub_video_uga_setup (unsigned int width, unsigned int height, argument
220 ((! height) || (height == h)) &&
224 framebuffer.mode_info.height = h;
H A Dbitmap_scale.c65 if (src->mode_info.width == 0 || src->mode_info.height == 0)
150 if (dst->mode_info.width == 0 || dst->mode_info.height == 0
151 || src->mode_info.width == 0 || src->mode_info.height == 0)
157 int dh = dst->mode_info.height;
159 int sh = src->mode_info.height;
233 if (dst->mode_info.width == 0 || dst->mode_info.height == 0
234 || src->mode_info.width == 0 || src->mode_info.height == 0)
240 int dh = dst->mode_info.height;
242 int sh = src->mode_info.height;
H A Dbochs.c175 int start = framebuffer.mode_info.height * page;
203 grub_video_bochs_setup (unsigned int width, unsigned int height, argument
238 if (width == 0 || height == 0)
241 height = 600;
248 if (height > BOCHS_MAX_HEIGHT)
249 return grub_error (GRUB_ERR_IO, "height must be at most",
278 page_size = pitch * height;
309 vbe_write (height, BOCHS_VBE_HEIGHT);
318 framebuffer.mode_info.height = height;
[all...]
H A Dcirrus.c239 grub_video_cirrus_setup (unsigned int width, unsigned int height, argument
273 if (width == 0 || height == 0)
276 height = 600;
288 if (height > CIRRUS_MAX_HEIGHT)
290 "screen height must be at most %d", CIRRUS_MAX_HEIGHT);
312 framebuffer.page_size = pitch * height;
343 .vdisplay_end = height - 1,
399 framebuffer.mode_info.height = height;
/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/
H A Dgui_canvas.c96 h = grub_fixed_sfs_multiply (self->bounds.height, comp->hfrac) + comp->h;
98 y = grub_fixed_sfs_multiply (self->bounds.height, comp->yfrac) + comp->y;
119 if (y >= (signed) self->bounds.height)
120 y = self->bounds.height - 32;
129 if (y + h >= (signed) self->bounds.height)
130 h = self->bounds.height - y;
135 r.height = h;
H A Dgui_list.c101 return (self->bounds.height + item_vspace - 2 * boxpad
186 int rightx, int topy, int height)
195 int tracklen = height - frame_vertical_pad;
237 &oviewport.width, &oviewport.height);
241 oviewport.height - 2 * boxpad);
289 oviewport.height);
324 content_rect.height = self->bounds.height - box_top_pad - box_bottom_pad;
326 box->set_content_size (box, content_rect.width, content_rect.height);
341 self->bounds.height
184 draw_scrollbar(list_impl_t self, int value, int extent, int min, int max, int rightx, int topy, int height) argument
376 list_get_minimal_size(void *vself, unsigned *width, unsigned *height) argument
[all...]
H A Dgui_box.c142 r.height = h;
165 /* All components have their height set to the box's height. */
220 r.height = c->h;
222 r.height += grub_fixed_sfs_multiply (self->bounds.height, c->hfrac);
224 if (r.height < mh)
225 r.height = mh;
229 y += r.height;
281 box_get_minimal_size (void *vself, unsigned *width, unsigned *height) argument
[all...]
H A Dicon_manager.c122 int width, int height)
124 /* If the width or height is changed, we must clear the cache, since the
126 if (width != mgr->icon_width || height != mgr->icon_height)
130 mgr->icon_height = height;
121 grub_gfxmenu_icon_manager_set_icon_size(grub_gfxmenu_icon_manager_t mgr, int width, int height) argument
H A Dgui_circular_progress.c131 int height = self->bounds.height; local
138 (height - center_height) / 2, 0, 0,
173 y = height / 2 + (grub_sin (angle) * radius / GRUB_TRIG_FRACTION_SCALE);
H A Dwidget-box.c146 int width, int height)
149 self->content_height = height;
151 /* Resize sides to match the width and height. */
152 /* It is assumed that the corners width/height match the adjacent sides. */
160 /* Resize E and W sides to match height. */
161 if (scale_pixmap(self, BOX_PIXMAP_E, -1, height) != GRUB_ERR_NONE)
163 if (scale_pixmap(self, BOX_PIXMAP_W, -1, height) != GRUB_ERR_NONE)
177 if (scale_pixmap(self, BOX_PIXMAP_CENTER, width, height) != GRUB_ERR_NONE)
145 set_content_size(grub_gfxmenu_box_t self, int width, int height) argument
/osnet-11/usr/src/grub/grub2/grub-core/term/ieee1275/
H A Dofconsole.c102 grub_ofconsole_terminfo_output.height
110 if (! grub_ofconsole_terminfo_output.height)
111 grub_ofconsole_terminfo_output.height = 24;
190 .height = 24
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dbitmap.h54 unsigned int width, unsigned int height,
H A Dgui.h53 void (*get_minimal_size) (void *self, unsigned *width, unsigned *height);
214 (unsigned *) &r->height);
220 grub_video_set_viewport (r->x, r->y, r->width, r->height);
232 r->height);
242 if (!((a->y <= b->y && b->y <= a->y + a->height)
243 || (b->y <= a->y && a->y <= b->y + b->height)))
H A Dfont.h52 /* Glyph bitmap height in pixels. */
53 grub_uint16_t height; member in struct:grub_font_glyph
65 The length of the array is (width * height + 7) / 8. Within a
H A Dgfxmenu_view.h34 int width, int height);
H A Dmultiboot.h84 int width, int height, int depth,
H A Dterminfo.h53 unsigned int width, height; member in struct:grub_terminfo_output_state
/osnet-11/usr/src/grub/grub2/grub-core/term/arc/
H A Dconsole.c65 grub_console_terminfo_output.height = info->h;
81 .height = 36
/osnet-11/usr/src/grub/grub2/grub-core/video/i386/pc/
H A Dvga.c119 grub_video_vga_setup (unsigned int width, unsigned int height, argument
125 if ((width && width != VGA_WIDTH) || (height && height != VGA_HEIGHT))
142 framebuffer.mode_info.height = VGA_HEIGHT;
240 unsigned int width, unsigned int height)
244 width, height);
253 unsigned int width, unsigned int height)
258 offset_x, offset_y, width, height);
237 grub_video_vga_blit_bitmap(struct grub_video_bitmap *bitmap, enum grub_video_blit_operators oper, int x, int y, int offset_x, int offset_y, unsigned int width, unsigned int height) argument
250 grub_video_vga_blit_render_target(struct grub_video_fbrender_target *source, enum grub_video_blit_operators oper, int x, int y, int offset_x, int offset_y, unsigned int width, unsigned int height) argument
/osnet-11/usr/src/grub/grub2/grub-core/loader/
H A Dmultiboot.c171 int width, int height, int depth,
191 if (depth && width && height)
193 height, depth, width, height);
194 else if (width && height)
195 buf = grub_xasprintf ("%dx%d,auto", width, height);
170 grub_multiboot_set_console(int console_type, int accepted_consoles, int width, int height, int depth, int console_req) argument
/osnet-11/usr/src/grub/grub2/grub-core/video/emu/
H A Dsdl.c74 grub_video_sdl_setup (unsigned int width, unsigned int height, argument
88 if (width == 0 && height == 0)
91 height = 600;
98 window = SDL_SetVideoMode (width, height, depth, flags | SDL_HWSURFACE);
100 window = SDL_SetVideoMode (width, height, depth, flags | SDL_SWSURFACE);
108 mode_info.height = window->h;
/osnet-11/usr/src/grub/grub2/include/grub/i386/
H A Dnetbsd_bootinfo.h132 grub_uint32_t height; member in struct:grub_netbsd_btinfo_framebuf
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-mkfont.c58 int height; member in struct:grub_glyph_info
173 int width, height; local
266 height = glyph->bitmap.rows - cutbottom - cuttop;
268 bitmap_size = ((width * height + 7) / 8);
279 glyph_info->height = height;
281 glyph_info->y_ofs = glyph->bitmap_top - height - cuttop;
287 if (height > font_info->max_height)
288 font_info->max_height = height;
293 if (glyph_info->y_ofs + height > font_inf
[all...]

Completed in 4320 milliseconds

1234