/base/web/webview/ohos_nweb/src/ |
D | nweb_surface_adapter.cpp | 38 NWebCreateInfo NWebSurfaceAdapter::GetCreateInfo(sptr<Surface> surface, in GetCreateInfo() argument 45 .producer_surface = reinterpret_cast<void *>(&surface), in GetCreateInfo() 47 if (surface == nullptr) { in GetCreateInfo() 50 GetSize(surface, createInfo, width, height); in GetCreateInfo() 51 GetRenderInterface(surface, createInfo); in GetCreateInfo() 55 void NWebSurfaceAdapter::GetSize(sptr<Surface> surface, in GetSize() argument 60 if (surface == nullptr) { in GetSize() 63 createInfo.width = (width == 0) ? (uint32_t)surface->GetDefaultWidth() : width; in GetSize() 64 createInfo.height = (height == 0) ? (uint32_t)surface->GetDefaultHeight() : height; in GetSize() 67 void NWebSurfaceAdapter::GetRenderInterface(sptr<Surface> surface, NWebCreateInfo &createInfo) in GetRenderInterface() argument [all …]
|
/base/web/webview/ohos_nweb/include/ |
D | nweb_surface_adapter.h | 34 NWebCreateInfo GetCreateInfo(sptr<Surface> surface, 40 …void GetSize(sptr<Surface> surface, NWebCreateInfo &createInfo, uint32_t width, uint32_t height) c… 41 void GetRenderInterface(sptr<Surface> surface, NWebCreateInfo &createInfo); 42 sptr<SurfaceBuffer> RequestBuffer(sptr<Surface> surface, uint32_t width, uint32_t height); 44 …bool FlushBuffer(sptr<Surface> surface, sptr<SurfaceBuffer> surfaceBuffer, uint32_t width, uint32_…
|
D | nweb_adapter_helper.h | 34 std::shared_ptr<NWeb> CreateNWeb(sptr<Surface> surface,
|
/base/update/updater/services/ui/driver/ |
D | surface_dev.cpp | 75 GrSurface surface {0}; in GetScreenSize() local 77 drv_->GetGrSurface(surface); in GetScreenSize() 79 w = surface.width; in GetScreenSize() 80 h = surface.height; in GetScreenSize()
|
D | fbdev_driver.cpp | 121 void FbdevDriver::GetGrSurface(GrSurface &surface) in GetGrSurface() argument 123 surface.width = static_cast<int>(vinfo_.xres); in GetGrSurface() 124 surface.height = static_cast<int>(vinfo_.yres); in GetGrSurface() 125 surface.rowBytes = finfo_.line_length; in GetGrSurface() 126 surface.pixelBytes = vinfo_.bits_per_pixel / 8; // 8: byte bit len in GetGrSurface()
|
D | graphic_drv.h | 32 virtual void GetGrSurface(GrSurface &surface) = 0;
|
D | drm_driver.cpp | 32 void DrmDriver::GetGrSurface(GrSurface &surface) in GetGrSurface() argument 34 surface.width = static_cast<int>(buff_.width); in GetGrSurface() 35 surface.height = static_cast<int>(buff_.height); in GetGrSurface() 36 surface.rowBytes = 0; in GetGrSurface() 37 surface.pixelBytes = 0; in GetGrSurface()
|
D | fbdev_driver.h | 39 void GetGrSurface(GrSurface &surface) override;
|
D | drm_driver.h | 50 void GetGrSurface(GrSurface &surface) override;
|
/base/useriam/face_auth/test/fuzztest/faceauthservice_fuzzer/ |
D | face_auth_service_fuzzer.cpp | 48 auto surface = IConsumerSurface::Create(); in FuzzSetBufferProducer() local 49 if (surface == nullptr) { in FuzzSetBufferProducer() 53 bufferProducer = surface->GetProducer(); in FuzzSetBufferProducer()
|
/base/web/webview/test/unittest/nweb_surface_adapter_test/ |
D | nweb_surface_adapter_test.cpp | 105 sptr<Surface> surface = nullptr; variable 106 surfaceAdapter.GetCreateInfo(surface, GetInitArgs(), DEFAULT_WIDTH, DEFAULT_HEIGHT); 200 sptr<Surface> surface = nullptr; variable 201 result = surfaceAdapter.FlushBuffer(surface, g_surfaceBuffer, DEFAULT_WIDTH, DEFAULT_WIDTH);
|
D | BUILD.gn | 24 "$graphicsurface_path/frameworks/surface/include", 50 "graphic_2d:surface",
|
/base/useriam/face_auth/test/unittest/ |
D | BUILD.gn | 44 "graphic_2d:surface", 70 "graphic_2d:surface", 99 "graphic_2d:surface",
|
/base/web/webview/test/unittest/ohos_adapter/camera_adapter_impl_test/ |
D | camera_adapter_impl_test.cpp | 56 sptr<Surface> surface = surfaceNode->GetSurface(); in SetUpTestCase() local 57 EXPECT_NE(surface, nullptr); in SetUpTestCase() 59 g_surfaceBuffer = surfaceAdapter.RequestBuffer(surface, DEFAULT_WIDTH, DEFAULT_HEIGHT); in SetUpTestCase() 96 void OnBufferAvailable(std::shared_ptr<CameraSurfaceAdapter> surface, in OnBufferAvailable() argument 176 sptr<IConsumerSurface> surface = IConsumerSurface::Create(); variable 177 EXPECT_NE(surface, nullptr); 180 …auto listener = std::make_shared<CameraSurfaceListener>(SurfaceType::PREVIEW, surface, listenerAda… 460 sptr<IConsumerSurface> surface = IConsumerSurface::Create(); variable 461 EXPECT_NE(surface, nullptr); 462 auto listener = std::make_shared<CameraSurfaceAdapterImpl>(surface);
|
/base/useriam/face_auth/frameworks/ipc/ |
D | BUILD.gn | 50 external_deps += [ "graphic_2d:surface" ] 76 external_deps += [ "graphic_2d:surface" ]
|
/base/web/webview/ohos_adapter/graphic_adapter/src/ |
D | surface_adapter_impl.cpp | 112 wptr<IConsumerSurface> surface, std::unique_ptr<IBufferConsumerListenerAdapter> listener) in BufferConsumerListenerImpl() argument 113 : cSurface_(surface), listener_(std::move(listener)) in BufferConsumerListenerImpl()
|
/base/theme/wallpaper_mgr/test/ |
D | BUILD.gn | 40 "graphic_2d:surface", 69 "graphic_2d:surface",
|
/base/web/webview/ohos_adapter/graphic_adapter/include/ |
D | surface_adapter_impl.h | 53 wptr<IConsumerSurface> surface, std::unique_ptr<IBufferConsumerListenerAdapter> listener);
|
/base/web/webview/test/unittest/ohos_adapter_helper/ |
D | ohos_adapter_helper_test.cpp | 124 sptr<Surface> surface = nullptr; variable 128 auto nweb = NWebAdapterHelper::Instance().CreateNWeb(surface, initArgs, width, height);
|
/base/web/webview/test/unittest/ohos_adapter/media_adapter_test/ |
D | BUILD.gn | 38 "graphic_2d:surface",
|
/base/useriam/face_auth/test/fuzztest/faceauthexecutorhdi_fuzzer/ |
D | BUILD.gn | 38 "graphic_2d:surface",
|
/base/useriam/face_auth/frameworks/js/napi/ |
D | BUILD.gn | 34 external_deps += [ "graphic_2d:surface" ]
|
/base/web/webview/ohos_adapter/camera_adapter/include/ |
D | camera_manager_adapter_impl.h | 167 sptr<IConsumerSurface> surface, 188 CameraSurfaceAdapterImpl(sptr<IConsumerSurface> surface);
|
/base/useriam/face_auth/test/fuzztest/faceauthstub_fuzzer/ |
D | BUILD.gn | 42 "graphic_2d:surface",
|
/base/web/webview/test/unittest/ohos_adapter/graphic_adapter_test/ |
D | BUILD.gn | 48 "graphic_2d:surface",
|