Home
last modified time | relevance | path

Searched refs:height (Results 1 – 25 of 190) sorted by relevance

12345678

/base/web/webview/ohos_nweb/src/
Dnweb_surface_adapter.cpp41 uint32_t height) in GetCreateInfo() argument
50 GetSize(surface, createInfo, width, height); in GetCreateInfo()
58 uint32_t height) const in GetSize()
64 createInfo.height = (height == 0) ? (uint32_t)surface->GetDefaultHeight() : height; in GetSize()
70 …_render_frame = [surfaceWeak, this] (const char *buffer, uint32_t width, uint32_t height) -> bool { in GetRenderInterface() argument
77 sptr<SurfaceBuffer> surfaceBuffer = this->RequestBuffer(surface, width, height); in GetRenderInterface()
82 if (!this->CopyFrame(surfaceBuffer, buffer, width, height)) { in GetRenderInterface()
87 return this->FlushBuffer(surface, surfaceBuffer, width, height); in GetRenderInterface()
91 …ceBuffer> NWebSurfaceAdapter::RequestBuffer(sptr<Surface> surface, uint32_t width, uint32_t height) in RequestBuffer() argument
99 .height = height, in RequestBuffer()
[all …]
Dnweb_enhance_surface_adapter.cpp37 uint32_t height) in GetCreateInfo() argument
43 GetSize(createInfo, width, height); in GetCreateInfo()
50 uint32_t height) const in GetSize()
53 createInfo.height = height; in GetSize()
58 …createInfo.output_render_frame = [] (const char *buffer, uint32_t width, uint32_t height) -> bool { in GetRenderInterface() argument
/base/web/webview/ohos_nweb/include/
Dnweb_surface_adapter.h37 uint32_t height);
40 …void GetSize(sptr<Surface> surface, NWebCreateInfo &createInfo, uint32_t width, uint32_t height) c…
42 sptr<SurfaceBuffer> RequestBuffer(sptr<Surface> surface, uint32_t width, uint32_t height);
43 …ool CopyFrame(sptr<SurfaceBuffer> surfaceBuffer, const char *src, uint32_t width, uint32_t height);
44 …hBuffer(sptr<Surface> surface, sptr<SurfaceBuffer> surfaceBuffer, uint32_t width, uint32_t height);
Dnweb_enhance_surface_adapter.h33 uint32_t height);
35 void GetSize(NWebCreateInfo &createInfo, uint32_t width, uint32_t height) const;
Dnweb_adapter_helper.h37 uint32_t height = 0);
41 uint32_t height = 0);
Dnweb_drag_data.h54 virtual bool GetPixelMapSetting(const void** data, size_t& len, int& width, int& height) = 0;
60 virtual bool SetPixelMapSetting(const void* data, size_t len, int width, int height) = 0;
/base/web/webview/test/fuzztest/ohos_nweb/copyframe_fuzzer/
Dcopyframe_fuzzer.cpp39 uint32_t height; in DoSomethingInterestingWithMyAPI() local
43 if (memcpy_s(&height, sizeof(uint32_t), data, sizeof(uint32_t)) != 0) { in DoSomethingInterestingWithMyAPI()
48 if (width == 0 || height == 0) { in DoSomethingInterestingWithMyAPI()
55 surfaceAdapter.CopyFrame(surfaceBuffer, src, width, height); in DoSomethingInterestingWithMyAPI()
/base/msdp/device_status/test/fuzztest/getshadowoffset_fuzzer/
Dgetshadowoffset_fuzzer.cpp34 int32_t height = 0; in GetShadowOffsetFuzzTest() local
35 InteractionManager::GetInstance()->GetShadowOffset(offsetX, offsetY, width, height); in GetShadowOffsetFuzzTest()
37 offsetX, offsetY, width, height); in GetShadowOffsetFuzzTest()
/base/useriam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/config/
Dconfig.ts28 if (typeof display.height === "string") {
33 Log.info(this.TAG, "display height: " + display.height +
35 if (display.height > display.width) {
/base/useriam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/pages/
DentryView.ets66 .height("100%")
74 this.SYSTEM_STATUS_BAR_HEIGHT = px2vp(regionData.region.height)
75 Log.info(this.TAG, "set status bar height " + regionData.region.height)
79 this.SYSTEM_NAVIGATION_BAR_HEIGHT = px2vp(regionData.region.height)
80 Log.info(this.TAG, "set navigation bar height " + this.SYSTEM_NAVIGATION_BAR_HEIGHT)
86 CommonController.setDisplaySize(Number(newArea.width), Number(newArea.height))
87 Log.info(this.TAG, "total area w: " + newArea.width + " h: " + newArea.height)
DenrollIntro.ets72 .height(this.enrollImageHeight)
115 .height('40vp')
127 .height("100%")
131 CommonController.setNonAppBarDisplaySize(Number(newArea.width), Number(newArea.height))
132 Log.info(this.TAG, "non app bar area w: " + newArea.width + " h: " + newArea.height)
136 .height('100%')
140 CommonController.setDisplaySize(Number(newArea.width), Number(newArea.height))
141 Log.info(this.TAG, "total area w: " + newArea.width + " h: " + newArea.height)
Denrolling.ets94 .height('100%')
106 .height(this.stackShelterHeight)
115 .height('100%')
140 .height('84vp')
144 .height(this.enrollImageHeight)
165 .height('40vp')
175 .height('100%')
/base/web/webview/test/fuzztest/ohos_nweb/requestbuffer_fuzzer/
Drequestbuffer_fuzzer.cpp44 uint32_t height; in DoSomethingInterestingWithMyAPI() local
48 if (memcpy_s(&height, sizeof(uint32_t), data, sizeof(uint32_t)) != 0) { in DoSomethingInterestingWithMyAPI()
63 surfaceAdapter.RequestBuffer(g_surface, width, height); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_nweb/flushbuffer_fuzzer/
Dflushbuffer_fuzzer.cpp44 uint32_t height; in DoSomethingInterestingWithMyAPI() local
48 if (memcpy_s(&height, sizeof(uint32_t), data, sizeof(uint32_t)) != 0) { in DoSomethingInterestingWithMyAPI()
64 surfaceAdapter.FlushBuffer(g_surface, surfaceBuffer, width, height); in DoSomethingInterestingWithMyAPI()
/base/powermgr/power_manager/power_dialog/entry/src/main/ets/ServiceExtAbility/
DThermalHighDialogAbility.ts45 height: dis.height
72 await thermalHighWin.resetSize(rect.width, rect.height);
DThermalLowDialogAbility.ts45 height: dis.height
72 await thermalLowWin.resetSize(rect.width, rect.height);
/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/main/ets/ServiceExtAbility/
DUsbDialogAbility.ts50 height: dis.height
80 await usbWin.resetSize(rect.width, rect.height);
/base/usb/usb_manager/frameworks/dialog/functionswitch_ui/usb_function_dialog/src/main/ets/pages/
DIndex.ets39 Blank().height(5)
42 .height('15%')
58 .height('100%')
86 .height('100%')
114 .height('100%')
133 .height('60%')
135 Divider().height('5%')
140 .height('100%')
144 .height('15%')
160 Blank().height(5)
[all …]
/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_page_size.cpp28 …intPageSize::PrintPageSize(PAGE_SIZE_ID id, DiscretePageName name, uint32_t width, uint32_t height) in PrintPageSize() argument
33 height_ = height; in PrintPageSize()
95 void PrintPageSize::SetHeight(uint32_t height) in SetHeight() argument
97 height_ = height; in SetHeight()
/base/msdp/device_status/test/fuzztest/updateshadowpic_fuzzer/
Dupdateshadowpic_fuzzer.cpp50 std::shared_ptr<Media::PixelMap> CreatePixelMap(int32_t width, int32_t height) in CreatePixelMap() argument
55 opts.size.height = height; in CreatePixelMap()
/base/web/webview/ohos_adapter/graphic_adapter/src/
Dwindow_adapter_impl.cpp51 int32_t height = va_arg(args, int32_t); in NativeWindowHandleOpt() local
52 … ret = ::NativeWindowHandleOpt(reinterpret_cast<OHNativeWindow*>(window), code, width, height); in NativeWindowHandleOpt()
/base/msdp/device_status/services/interaction/drag/src/
Ddrag_data_manager.cpp103 …Manager::GetShadowOffset(int32_t& offsetX, int32_t& offsetY, int32_t& width, int32_t& height) const in GetShadowOffset()
110 height = pixelMap->GetHeight(); in GetShadowOffset()
112 offsetX, offsetY, width, height); in GetShadowOffset()
/base/update/updater/services/ui/driver/
Ddrm_driver.cpp35 surface.height = static_cast<int>(buff_.height); in GetGrSurface()
52 create.height = bo->height; in ModesetCreateFb()
64 …int ret = drmModeAddFB2(fd_, bo->width, bo->height, DRM_FORMAT_ARGB8888, handles, pitches, offsets… in ModesetCreateFb()
66 …LOG(ERROR) << "[fbtest]failed to add fb (" << bo->width << "x" << bo->height << "): " << strerror(… in ModesetCreateFb()
281 buff_.height = conn_->modes[modeId].vdisplay; in DrmInit()
286 LOG(INFO) << "DrmInit: buff_.width:" << buff_.width << " buff_.height:" << buff_.height; in DrmInit()
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
Dinput_method_utils.h88 double height = -1.0; member
91 … return (left == info.left && top == info.top && width == info.width && height == info.height);
/base/notification/distributed_notification_service/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/
Dnotifybody.ets47 .height("40vp")
53 .height('22fp')
70 .height("40vp")
74 .height(56)

12345678