/bootable/recovery/minui/ |
D | resources.cpp | 48 png_uint_32* width, png_uint_32* height, png_byte* channels) { in open_png() argument 95 png_get_IHDR(*png_ptr, *info_ptr, width, height, &bit_depth, in open_png() 141 static GRSurface* init_display_surface(png_uint_32 width, png_uint_32 height) { in init_display_surface() argument 142 GRSurface* surface = malloc_surface(width * height * 4); in init_display_surface() 145 surface->width = width; in init_display_surface() 147 surface->row_bytes = width * 4; in init_display_surface() 164 int channels, int width) { in transform_rgb_to_draw() argument 172 for (x = 0; x < width; ++x) { in transform_rgb_to_draw() 183 for (x = 0; x < width; ++x) { in transform_rgb_to_draw() 193 memcpy(output_row, input_row, width*4); in transform_rgb_to_draw() [all …]
|
D | graphics.cpp | 54 return x < 0 || x >= gr_draw->width || y < 0 || y >= gr_draw->height; in outside() 75 int width, int height) in text_blend() argument 80 for (int i = 0; i < width; ++i) { in text_blend() 145 if (outside(x, y) || outside(x+icon->width-1, y+icon->height-1)) return; in gr_texticon() 152 icon->width, icon->height); in gr_texticon() 177 for (int x = 0; x < gr_draw->width; ++x) { in gr_clear() 183 px += gr_draw->row_bytes - (gr_draw->width * gr_draw->pixel_bytes); in gr_clear() 257 return surface->width; in gr_get_width() 282 font->char_width = font->texture->width / 96; in gr_init_font() 303 gr_font->texture->width = font.width; in gr_init_font() [all …]
|
D | mkfont.c | 12 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()
|
D | font_10x18.h | 2 unsigned width; member 8 .width = 960,
|
D | graphics_drm.cpp | 130 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()
|
D | graphics_fbdev.cpp | 132 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()
|
D | minui.h | 29 int width; member
|
D | graphics_adf.cpp | 61 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/ |
D | interlace-frames.py | 81 width, height = img.size 84 out = Image.new('RGB', (width, height)) 86 for i in range(width):
|
D | screen_ui.cpp | 187 int width = gr_get_width(progressBarEmpty); in draw_foreground_locked() local 190 int progress_x = (gr_fb_width() - width)/2; in draw_foreground_locked() 195 gr_fill(progress_x, progress_y, width, height); in draw_foreground_locked() 199 int pos = (int) (p * width); in draw_foreground_locked() 204 gr_blit(progressBarFill, width-pos, 0, pos, height, in draw_foreground_locked() 205 progress_x+width-pos, progress_y); in draw_foreground_locked() 207 if (pos < width-1) { in draw_foreground_locked() 208 gr_blit(progressBarEmpty, 0, 0, width-pos, height, progress_x, progress_y); in draw_foreground_locked() 215 if (pos < width-1) { in draw_foreground_locked() 216 gr_blit(progressBarEmpty, pos, 0, width-pos, height, in draw_foreground_locked() [all …]
|
D | wear_ui.cpp | 90 int width = gr_get_width(surface); in draw_background_locked() local 93 int x = (gr_fb_width() - width) / 2; in draw_background_locked() 96 gr_blit(surface, 0, 0, width, height, x, y); in draw_background_locked()
|
/bootable/recovery/tools/recovery_l10n/src/com/android/recovery_l10n/ |
D | Main.java | 208 int width = 10; 216 if (w > width) width = w; 226 Log.i(TAG, "output bitmap is " + width + " x " + height); 227 Bitmap out = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 229 int[] pixels = new int[maxHeight * width];
|