/bootable/recovery/minui/ |
D | resources.c | 48 png_uint_32* width, png_uint_32* height, png_byte* channels) { in open_png() argument 94 png_get_IHDR(*png_ptr, *info_ptr, width, height, &bit_depth, in open_png() 140 static gr_surface init_display_surface(png_uint_32 width, png_uint_32 height) { in init_display_surface() argument 143 surface = malloc_surface(width * height * 4); in init_display_surface() 147 surface->height = height; in init_display_surface() 204 png_uint_32 width, height; in res_create_display_surface() local 209 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_display_surface() 212 surface = init_display_surface(width, height); in res_create_display_surface() 220 for (y = 0; y < height; ++y) { in res_create_display_surface() 239 png_uint_32 width, height; in res_create_multi_display_surface() local [all …]
|
D | graphics_fbdev.c | 72 vi.yres_virtual = gr_framebuffer[0].height * 2; in set_displayed_framebuffer() 73 vi.yoffset = n * gr_framebuffer[0].height; in set_displayed_framebuffer() 136 gr_framebuffer[0].height = vi.yres; in fbdev_init() 140 memset(gr_framebuffer[0].data, 0, gr_framebuffer[0].height * gr_framebuffer[0].row_bytes); in fbdev_init() 148 gr_framebuffer[0].height * gr_framebuffer[0].row_bytes; in fbdev_init() 161 gr_draw->data = (unsigned char*) malloc(gr_draw->height * gr_draw->row_bytes); in fbdev_init() 168 memset(gr_draw->data, 0, gr_draw->height * gr_draw->row_bytes); in fbdev_init() 172 printf("framebuffer: %d (%d x %d)\n", fb_fd, gr_draw->width, gr_draw->height); in fbdev_init() 187 for (idx = 0 ; idx < (gr_draw->height * gr_draw->row_bytes); in fbdev_flip() 206 for (idx = 0 ; idx < (gr_draw->height * gr_draw->row_bytes); idx += 4) { in fbdev_flip() [all …]
|
D | graphics.c | 61 return x < 0 || x >= gr_draw->width || y < 0 || y >= gr_draw->height; in outside() 77 int width, int height) in text_blend() argument 80 for (j = 0; j < height; ++j) { in text_blend() 117 bold = bold && (font->texture->height != font->cheight); in gr_text() 151 if (outside(x, y) || outside(x+icon->width-1, y+icon->height-1)) return; in gr_texticon() 158 icon->width, icon->height); in gr_texticon() 173 memset(gr_draw->data, gr_current_r, gr_draw->height * gr_draw->row_bytes); in gr_clear() 177 for (y = 0; y < gr_draw->height; ++y) { in gr_clear() 265 return surface->height; in gr_get_height() 278 gr_font->cheight = gr_font->texture->height / 2; in gr_init_font() [all …]
|
D | mkfont.c | 12 n = gimp_image.width * gimp_image.height; in main() 23 … = %d,\n .height = %d,\n .cwidth = %d,\n .cheight = %d,\n", gimp_image.width, gimp_image.height, in main() 24 gimp_image.width / 96, gimp_image.height); in main()
|
D | font_10x18.h | 3 unsigned height; member 9 .height = 18,
|
D | graphics_adf.c | 63 surf->base.height = mode->vdisplay; in adf_surface_init() 67 surf->base.data = mmap(NULL, surf->pitch * surf->base.height, PROT_WRITE, in adf_surface_init() 200 surf->base.width, surf->base.height, pdata->format, surf->fd, in adf_flip() 218 munmap(surf->base.data, surf->pitch * surf->base.height); in adf_surface_destroy()
|
D | minui.h | 30 int height; member
|
/bootable/recovery/ |
D | screen_ui.cpp | 147 int height = gr_get_height(progressBarEmpty); in draw_progress_locked() local 150 int dy = (3*gr_fb_height() + iconHeight - 2*height)/4; in draw_progress_locked() 154 gr_fill(dx, dy, width, height); in draw_progress_locked() 163 gr_blit(progressBarFill, width-pos, 0, pos, height, dx+width-pos, dy); in draw_progress_locked() 166 gr_blit(progressBarEmpty, 0, 0, width-pos, height, dx, dy); in draw_progress_locked() 171 gr_blit(progressBarFill, 0, 0, pos, height, dx, dy); in draw_progress_locked() 174 gr_blit(progressBarEmpty, pos, 0, width-pos, height, dx+pos, dy); in draw_progress_locked()
|