/bootable/recovery/minui/ |
D | resources.cpp | 50 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 …]
|
D | graphics.cpp | 47 return x < 0 || x >= gr_draw->width || y < 0 || y >= gr_draw->height; in outside() 68 int width, int height) in text_blend() argument 73 for (int i = 0; i < width; ++i) { in text_blend() 138 if (outside(x, y) || outside(x+icon->width-1, y+icon->height-1)) return; in gr_texticon() 145 icon->width, icon->height); in gr_texticon() 170 for (int x = 0; x < gr_draw->width; ++x) { in gr_clear() 176 px += gr_draw->row_bytes - (gr_draw->width * gr_draw->pixel_bytes); in gr_clear() 250 return surface->width; in gr_get_width() 275 font->char_width = font->texture->width / 96; in gr_init_font() 296 gr_font->texture->width = font.width; in gr_init_font() [all …]
|
D | font_10x18.h | 2 unsigned width; member 8 .width = 960,
|
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 | graphics_drm.cpp | 111 GRSurfaceDrm* MinuiBackendDrm::DrmCreateSurface(int width, int height) { in DrmCreateSurface() argument 128 create_dumb.width = width; in DrmCreateSurface() 147 drmModeAddFB2(drm_fd, width, height, format, handles, pitches, offsets, &(surface->fb_id), 0); in DrmCreateSurface() 164 surface->width = width; in DrmCreateSurface() 357 int width = main_monitor_crtc->mode.hdisplay; in Init() local 362 GRSurfaceDrms[0] = DrmCreateSurface(width, height); in Init() 363 GRSurfaceDrms[1] = DrmCreateSurface(width, height); in Init()
|
D | graphics_fbdev.cpp | 99 gr_framebuffer[0].width = vi.xres; in Init() 136 printf("framebuffer: %d (%d x %d)\n", fb_fd, gr_draw->width, gr_draw->height); in Init()
|
D | graphics_drm.h | 46 GRSurfaceDrm* DrmCreateSurface(int width, int height);
|
D | graphics_adf.cpp | 43 surf->width = mode->hdisplay; in SurfaceInit() 173 int fence_fd = adf_interface_simple_post(intf_fd, eng_id, surf->width, surf->height, format, in Flip()
|
/bootable/recovery/ |
D | screen_ui.cpp | 193 int width = gr_get_width(progressBarEmpty); in draw_foreground_locked() local 196 int progress_x = (gr_fb_width() - width) / 2; in draw_foreground_locked() 201 gr_fill(progress_x, progress_y, width, height); in draw_foreground_locked() 205 int pos = static_cast<int>(p * width); in draw_foreground_locked() 210 gr_blit(progressBarFill, width - pos, 0, pos, height, progress_x + width - pos, in draw_foreground_locked() 213 if (pos < width - 1) { in draw_foreground_locked() 214 gr_blit(progressBarEmpty, 0, 0, width - pos, height, progress_x, progress_y); in draw_foreground_locked() 221 if (pos < width - 1) { in draw_foreground_locked() 222 gr_blit(progressBarEmpty, pos, 0, width - pos, height, progress_x + pos, progress_y); in draw_foreground_locked() 264 void ScreenRecoveryUI::DrawHighlightBar(int x, int y, int width, int height) const { in DrawHighlightBar() argument [all …]
|
D | interlace-frames.py | 81 width, height = img.size 84 out = Image.new('RGB', (width, height)) 86 for i in range(width):
|
D | wear_ui.cpp | 94 int width = gr_get_width(surface); in draw_background_locked() local 97 int x = (gr_fb_width() - width) / 2; in draw_background_locked() 100 gr_blit(surface, 0, 0, width, height, x, y); in draw_background_locked()
|
D | screen_ui.h | 184 virtual void DrawHighlightBar(int x, int y, int width, int height) const;
|
/bootable/recovery/tools/recovery_l10n/src/com/android/recovery_l10n/ |
D | Main.java | 227 int width = 10; 235 if (w > width) width = w; 245 Log.i(TAG, "output bitmap is " + width + " x " + height); 246 Bitmap out = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 248 int[] pixels = new int[maxHeight * width];
|
/bootable/recovery/tests/manual/ |
D | recovery_test.cpp | 163 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, nullptr, nullptr, in SetUp() 166 ASSERT_LT(static_cast<png_uint_32>(5), width); in SetUp() 190 png_uint_32 width, height; member in ResourceTest 198 std::vector<unsigned char> row(width); in TEST_P()
|
/bootable/recovery/tools/recovery_l10n/ |
D | README.md | 11 * We can set up the maximum width of the final png image in res/layout/main.xml 12 Currently, the image width is 1200px for xxxhdpi, 900px for xxhdpi and
|
/bootable/recovery/minui/include/minui/ |
D | minui.h | 30 int width; member
|