Home
last modified time | relevance | path

Searched refs:Create (Results 1 – 11 of 11) sorted by relevance

/bootable/recovery/tests/unit/
Dminui_test.cpp28 auto surface = GRSurface::Create(9, 11, 9, 1); in TEST()
37 ASSERT_FALSE(GRSurface::Create(9, 11, 0, 1)); in TEST()
38 ASSERT_FALSE(GRSurface::Create(9, 0, 9, 1)); in TEST()
39 ASSERT_FALSE(GRSurface::Create(0, 11, 9, 1)); in TEST()
40 ASSERT_FALSE(GRSurface::Create(9, 11, 9, 0)); in TEST()
41 ASSERT_FALSE(GRSurface::Create(9, 101, std::numeric_limits<size_t>::max() / 100, 1)); in TEST()
45 auto image = GRSurface::Create(50, 10, 50, 1); in TEST()
Dscreen_ui_test.cpp234 auto image = GRSurface::Create(50, 50, 50, 1); in TEST_F()
261 auto image = GRSurface::Create(50, 50, 50, 1); in TEST_F()
272 auto wide_surface = GRSurface::Create(300, 50, 300, 1); in TEST_F()
/bootable/recovery/minui/
Dgraphics_fbdev.cpp35 std::unique_ptr<GRSurfaceFbdev> GRSurfaceFbdev::Create(size_t width, size_t height, in Create() function in GRSurfaceFbdev
105 GRSurfaceFbdev::Create(vi.xres, vi.yres, fi.line_length, vi.bits_per_pixel / 8); in Init()
110 GRSurfaceFbdev::Create(gr_framebuffer[0]->width, gr_framebuffer[0]->height, in Init()
Dresources.cpp43 std::unique_ptr<GRSurface> GRSurface::Create(size_t width, size_t height, size_t row_bytes, in Create() function in GRSurface
60 auto result = GRSurface::Create(width, height, row_bytes, pixel_bytes); in Clone()
196 auto surface = GRSurface::Create(width, height, width * 4, 4); in res_create_display_surface()
266 auto created_surface = GRSurface::Create(width, height / *frames, width * 4, 4); in res_create_multi_display_surface()
314 auto surface = GRSurface::Create(width, height, width, 1); in res_create_alpha_surface()
430 auto surface = GRSurface::Create(w, h, w, 1); in res_create_localized_alpha_surface()
Dgraphics_adf.cpp44 std::unique_ptr<GRSurfaceAdf> GRSurfaceAdf::Create(int intf_fd, const drm_mode_modeinfo* mode, in Create() function in GRSurfaceAdf
77 surfaces[0] = GRSurfaceAdf::Create(intf_fd, &intf_data.current_mode, format, &result); in InterfaceInit()
83 surfaces[1] = GRSurfaceAdf::Create(intf_fd, &intf_data.current_mode, format, &result); in InterfaceInit()
Dgraphics_drm.cpp79 std::unique_ptr<GRSurfaceDrm> GRSurfaceDrm::Create(int drm_fd, int width, int height) { in Create() function in GRSurfaceDrm
348 GRSurfaceDrms[0] = GRSurfaceDrm::Create(drm_fd, width, height); in Init()
349 GRSurfaceDrms[1] = GRSurfaceDrm::Create(drm_fd, width, height); in Init()
Dgraphics_fbdev.h34 static std::unique_ptr<GRSurfaceFbdev> Create(size_t width, size_t height, size_t row_bytes,
Dgraphics_adf.h34 static std::unique_ptr<GRSurfaceAdf> Create(int intf_fd, const drm_mode_modeinfo* mode,
Dgraphics_drm.h34 static std::unique_ptr<GRSurfaceDrm> Create(int drm_fd, int width, int height);
/bootable/recovery/minui/include/minui/
Dminui.h45 static std::unique_ptr<GRSurface> Create(size_t width, size_t height, size_t row_bytes,
/bootable/recovery/updater_sample/
DREADME.md209 - [x] Create a UI with list of configs, current version,