Home
last modified time | relevance | path

Searched refs:height (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()
148 surface->height = height; in init_display_surface()
205 png_uint_32 width, height; in res_create_display_surface() local
212 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_display_surface()
215 surface = init_display_surface(width, height); in res_create_display_surface()
226 for (y = 0; y < height; ++y) { in res_create_display_surface()
245 png_uint_32 width, height; in res_create_multi_display_surface() local
[all …]
Dgraphics_fbdev.cpp73 vi.yres_virtual = gr_framebuffer[0].height * 2; in set_displayed_framebuffer()
74 vi.yoffset = n * gr_framebuffer[0].height; in set_displayed_framebuffer()
133 gr_framebuffer[0].height = vi.yres; in fbdev_init()
137 memset(gr_framebuffer[0].data, 0, gr_framebuffer[0].height * gr_framebuffer[0].row_bytes); in fbdev_init()
145 gr_framebuffer[0].height * gr_framebuffer[0].row_bytes; in fbdev_init()
158 gr_draw->data = (unsigned char*) malloc(gr_draw->height * gr_draw->row_bytes); in fbdev_init()
165 memset(gr_draw->data, 0, gr_draw->height * gr_draw->row_bytes); in fbdev_init()
169 printf("framebuffer: %d (%d x %d)\n", fb_fd, gr_draw->width, gr_draw->height); in fbdev_init()
184 for (idx = 0 ; idx < (gr_draw->height * gr_draw->row_bytes); in fbdev_flip()
199 gr_draw->height * gr_draw->row_bytes); in fbdev_flip()
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
78 for (int j = 0; j < height; ++j) { in text_blend()
112 bold = bold && (font->texture->height != font->cheight); in gr_text()
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()
176 memset(gr_draw->data, gr_current_r, gr_draw->height * gr_draw->row_bytes); in gr_clear()
179 for (int y = 0; y < gr_draw->height; ++y) { in gr_clear()
267 return surface->height; in gr_get_height()
280 gr_font->cheight = gr_font->texture->height / 2; in gr_init_font()
[all …]
Dmkfont.c12 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()
Dfont_10x18.h3 unsigned height; member
9 .height = 18,
Dgraphics_drm.cpp93 surface->base.row_bytes * surface->base.height); in drm_destroy_surface()
130 static drm_surface *drm_create_surface(int width, int height) { in drm_create_surface() argument
153 create_dumb.height = height; in drm_create_surface()
172 ret = drmModeAddFB2(drm_fd, width, height, in drm_create_surface()
191 surface->base.height = height; in drm_create_surface()
197 surface->base.height * surface->base.row_bytes, in drm_create_surface()
353 int width, height; in drm_init() local
423 height = main_monitor_crtc->mode.vdisplay; 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_adf.cpp62 surf->base.height = mode->vdisplay; in adf_surface_init()
67 surf->pitch * surf->base.height, PROT_WRITE, in adf_surface_init()
202 surf->base.width, surf->base.height, pdata->format, surf->fd, in adf_flip()
220 munmap(surf->base.data, surf->pitch * surf->base.height); in adf_surface_destroy()
Dminui.h30 int height; member
/bootable/recovery/
Dscreen_ui.cpp143 int height = gr_get_height(progressBarEmpty); in draw_progress_locked() local
146 int dy = (3*gr_fb_height() + iconHeight - 2*height)/4; in draw_progress_locked()
150 gr_fill(dx, dy, width, height); in draw_progress_locked()
159 gr_blit(progressBarFill, width-pos, 0, pos, height, dx+width-pos, dy); in draw_progress_locked()
162 gr_blit(progressBarEmpty, 0, 0, width-pos, height, dx, dy); in draw_progress_locked()
167 gr_blit(progressBarFill, 0, 0, pos, height, dx, dy); in draw_progress_locked()
170 gr_blit(progressBarEmpty, pos, 0, width-pos, height, dx+pos, dy); in draw_progress_locked()