Home
last modified time | relevance | path

Searched refs:width (Results 1 – 9 of 9) sorted by relevance

/bootable/recovery/minui/
Dresources.cpp50 png_uint_32* width, png_uint_32* height, png_byte* channels) { in open_png() argument
97 png_get_IHDR(*png_ptr, *info_ptr, width, height, &bit_depth, in open_png()
143 static GRSurface* init_display_surface(png_uint_32 width, png_uint_32 height) { in init_display_surface() argument
144 GRSurface* surface = malloc_surface(width * height * 4); in init_display_surface()
147 surface->width = width; in init_display_surface()
149 surface->row_bytes = width * 4; in init_display_surface()
166 int channels, int width) { in transform_rgb_to_draw() argument
174 for (x = 0; x < width; ++x) { in transform_rgb_to_draw()
185 for (x = 0; x < width; ++x) { in transform_rgb_to_draw()
195 memcpy(output_row, input_row, width*4); in transform_rgb_to_draw()
[all …]
Dgraphics.cpp60 return x < 0 || x >= gr_draw->width || y < 0 || y >= gr_draw->height; in outside()
76 int width, int height) in text_blend() argument
81 for (int i = 0; i < width; ++i) { in text_blend()
148 if (outside(x, y) || outside(x+icon->width-1, y+icon->height-1)) return; in gr_texticon()
155 icon->width, icon->height); in gr_texticon()
180 for (int x = 0; x < gr_draw->width; ++x) { in gr_clear()
186 px += gr_draw->row_bytes - (gr_draw->width * gr_draw->pixel_bytes); in gr_clear()
260 return surface->width; in gr_get_width()
279 gr_font->cwidth = gr_font->texture->width / 96; in gr_init_font()
286 gr_font->texture->width = font.width; in gr_init_font()
[all …]
Dmkfont.c12 n = gimp_image.width * gimp_image.height; in main()
23 …printf(" .width = %d,\n .height = %d,\n .cwidth = %d,\n .cheight = %d,\n", gimp_image.width, g… in main()
24 gimp_image.width / 96, gimp_image.height); in main()
Dfont_10x18.h2 unsigned width; member
8 .width = 960,
Dgraphics_drm.cpp130 static drm_surface *drm_create_surface(int width, int height) { in drm_create_surface() argument
154 create_dumb.width = width; in drm_create_surface()
172 ret = drmModeAddFB2(drm_fd, width, height, in drm_create_surface()
192 surface->base.width = width; in drm_create_surface()
353 int width, height; in drm_init() local
422 width = main_monitor_crtc->mode.hdisplay; in drm_init()
427 drm_surfaces[0] = drm_create_surface(width, height); in drm_init()
428 drm_surfaces[1] = drm_create_surface(width, height); in drm_init()
Dgraphics_fbdev.cpp132 gr_framebuffer[0].width = vi.xres; in fbdev_init()
169 printf("framebuffer: %d (%d x %d)\n", fb_fd, gr_draw->width, gr_draw->height); in fbdev_init()
Dminui.h29 int width; member
Dgraphics_adf.cpp61 surf->base.width = mode->hdisplay; in adf_surface_init()
202 surf->base.width, surf->base.height, pdata->format, surf->fd, in adf_flip()
/bootable/recovery/
Dscreen_ui.cpp142 int width = gr_get_width(progressBarEmpty); in draw_progress_locked() local
145 int dx = (gr_fb_width() - width)/2; in draw_progress_locked()
150 gr_fill(dx, dy, width, height); in draw_progress_locked()
154 int pos = (int) (p * width); in draw_progress_locked()
159 gr_blit(progressBarFill, width-pos, 0, pos, height, dx+width-pos, dy); in draw_progress_locked()
161 if (pos < width-1) { in draw_progress_locked()
162 gr_blit(progressBarEmpty, 0, 0, width-pos, height, dx, dy); in draw_progress_locked()
169 if (pos < width-1) { in draw_progress_locked()
170 gr_blit(progressBarEmpty, pos, 0, width-pos, height, dx+pos, dy); in draw_progress_locked()
492 int width = gr_get_width(progressBarEmpty); in SetProgress() local
[all …]