/bootable/recovery/minui/ |
D | resources.cpp | 59 png_uint_32 width() const { in width() function in PngHandler 182 static GRSurface* init_display_surface(png_uint_32 width, png_uint_32 height) { in init_display_surface() argument 183 GRSurface* surface = malloc_surface(width * height * 4); in init_display_surface() 186 surface->width = width; in init_display_surface() 188 surface->row_bytes = width * 4; in init_display_surface() 205 int channels, int width) { in transform_rgb_to_draw() argument 213 for (x = 0; x < width; ++x) { in transform_rgb_to_draw() 224 for (x = 0; x < width; ++x) { in transform_rgb_to_draw() 234 memcpy(output_row, input_row, width*4); in transform_rgb_to_draw() 246 png_uint_32 width = png_handler.width(); in res_create_display_surface() local [all …]
|
D | graphics.cpp | 46 return x < 0 || x >= (rotation % 2 ? gr_draw->height : gr_draw->width) || y < 0 || in outside() 47 y >= (rotation % 2 ? gr_draw->width : gr_draw->height); in outside() 105 return reinterpret_cast<uint32_t*>(surf->data) + x * row_pixels + (surf->width - y); in pixel_at() 108 (surf->width - 1 - x); in pixel_at() 118 int width, int height) { in text_blend() argument 123 for (int i = 0; i < width; ++i, incr_x(&px, dst_row_pixels)) { in text_blend() 177 if (outside(x, y) || outside(x + icon->width - 1, y + icon->height - 1)) return; in gr_texticon() 183 text_blend(src_p, icon->row_bytes, dst_p, row_pixels, icon->width, icon->height); in gr_texticon() 199 gr_draw->row_bytes == gr_draw->width * gr_draw->pixel_bytes) { in gr_clear() 203 int row_diff = gr_draw->row_bytes / gr_draw->pixel_bytes - gr_draw->width; in gr_clear() [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 | 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 | 196 int width = gr_get_width(progressBarEmpty); in draw_foreground_locked() local 199 int progress_x = (ScreenWidth() - width) / 2; in draw_foreground_locked() 204 DrawFill(progress_x, progress_y, width, height); in draw_foreground_locked() 208 int pos = static_cast<int>(p * width); in draw_foreground_locked() 213 DrawSurface(progressBarFill, width - pos, 0, pos, height, progress_x + width - pos, in draw_foreground_locked() 216 if (pos < width - 1) { in draw_foreground_locked() 217 DrawSurface(progressBarEmpty, 0, 0, width - pos, height, progress_x, progress_y); in draw_foreground_locked() 224 if (pos < width - 1) { in draw_foreground_locked() 225 DrawSurface(progressBarEmpty, pos, 0, width - pos, height, progress_x + pos, progress_y); in draw_foreground_locked() 355 void ScreenRecoveryUI::DrawHighlightBar(int x, int y, int width, int height) const { in DrawHighlightBar() argument [all …]
|
D | vr_ui.h | 36 void DrawHighlightBar(int x, int y, int width, int height) const override;
|
D | screen_ui.h | 133 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 | 31 int width; member
|