Home
last modified time | relevance | path

Searched refs:width (Results 1 - 25 of 253) sorted by relevance

1234567891011

/base/inputmethod/imf/frameworks/ndk/src/
H A Dinputmethod_cursor_info_capi.cpp20 InputMethod_CursorInfo *OH_CursorInfo_Create(double left, double top, double width, double height) in OH_CursorInfo_Create() argument
22 return new InputMethod_CursorInfo({ left, top, width, height }); in OH_CursorInfo_Create()
33 InputMethod_CursorInfo *cursorInfo, double left, double top, double width, double height) in OH_CursorInfo_SetRect()
41 cursorInfo->width = width; in OH_CursorInfo_SetRect()
47 InputMethod_CursorInfo *cursorInfo, double *left, double *top, double *width, double *height) in OH_CursorInfo_GetRect()
53 if (left == nullptr || top == nullptr || width == nullptr || height == nullptr) { in OH_CursorInfo_GetRect()
59 *width = cursorInfo->width; in OH_CursorInfo_GetRect()
32 OH_CursorInfo_SetRect( InputMethod_CursorInfo *cursorInfo, double left, double top, double width, double height) OH_CursorInfo_SetRect() argument
46 OH_CursorInfo_GetRect( InputMethod_CursorInfo *cursorInfo, double *left, double *top, double *width, double *height) OH_CursorInfo_GetRect() argument
/base/web/webview/ohos_nweb/src/
H A Dnweb_surface_adapter.cpp38 bool Handle(const char* buffer, uint32_t width, uint32_t height) override
40 return adapter_->OutputFrameCallback(buffer, width, height, surface_);
55 std::shared_ptr<NWebEngineInitArgs> initArgs, uint32_t width, uint32_t height, bool incognitoMode) in GetCreateInfo()
66 createInfo->SetWidth((width == 0) ? (uint32_t)surface->GetDefaultWidth() : width); in GetCreateInfo()
74 bool NWebSurfaceAdapter::OutputFrameCallback(const char *buffer, uint32_t width, uint32_t height, in OutputFrameCallback() argument
83 sptr<SurfaceBuffer> surfaceBuffer = this->RequestBuffer(surface, width, height); in OutputFrameCallback()
88 if (!this->CopyFrame(surfaceBuffer, buffer, width, height)) { in OutputFrameCallback()
93 return this->FlushBuffer(surface, surfaceBuffer, width, height); in OutputFrameCallback()
96 sptr<SurfaceBuffer> NWebSurfaceAdapter::RequestBuffer(sptr<Surface> surface, uint32_t width, uint32_ argument
54 GetCreateInfo(sptr<Surface> surface, std::shared_ptr<NWebEngineInitArgs> initArgs, uint32_t width, uint32_t height, bool incognitoMode) GetCreateInfo() argument
129 CopyFrame( sptr<SurfaceBuffer> surfaceBuffer, const char *src, uint32_t width, uint32_t height) CopyFrame() argument
164 FlushBuffer( sptr<Surface> surface, sptr<SurfaceBuffer> surfaceBuffer, uint32_t width, uint32_t height) FlushBuffer() argument
[all...]
H A Dnweb_enhance_surface_adapter.cpp33 bool Handle(const char* buffer, uint32_t width, uint32_t height) override
46 std::shared_ptr<NWebEngineInitArgs> initArgs, uint32_t width, uint32_t height, bool incognitoMode) in GetCreateInfo()
49 createInfo->SetWidth(width); in GetCreateInfo()
45 GetCreateInfo(void *enhanceSurfaceInfo, std::shared_ptr<NWebEngineInitArgs> initArgs, uint32_t width, uint32_t height, bool incognitoMode) GetCreateInfo() argument
/base/web/webview/ohos_nweb/include/
H A Dnweb_surface_adapter.h37 uint32_t width,
40 bool OutputFrameCallback(const char *buffer, uint32_t width, uint32_t height, wptr<Surface> surfaceWeak);
43 sptr<SurfaceBuffer> RequestBuffer(sptr<Surface> surface, uint32_t width, uint32_t height);
44 bool CopyFrame(sptr<SurfaceBuffer> surfaceBuffer, const char *src, uint32_t width, uint32_t height);
45 bool FlushBuffer(sptr<Surface> surface, sptr<SurfaceBuffer> surfaceBuffer, uint32_t width, uint32_t height);
/base/web/webview/test/fuzztest/ohos_nweb/copyframe_fuzzer/
H A Dcopyframe_fuzzer.cpp38 uint32_t width; in CopyFrameFuzzTest() local
40 if (memcpy_s(&width, sizeof(uint32_t), data, sizeof(uint32_t)) != 0) { in CopyFrameFuzzTest()
48 if (width == 0 || height == 0) { in CopyFrameFuzzTest()
55 surfaceAdapter.CopyFrame(surfaceBuffer, src, width, height); in CopyFrameFuzzTest()
/base/inputmethod/imf/interfaces/kits/c/
H A Dinputmethod_cursor_info_capi.h44 * The coordinates and width and height information of the cursor.
55 * @param width The width of the cursor.
61 InputMethod_CursorInfo *OH_CursorInfo_Create(double left, double top, double width, double height);
77 * @param width The width of the cursor.
86 InputMethod_CursorInfo *cursorInfo, double left, double top, double width, double height);
94 * @param width The width of the cursor.
103 InputMethod_CursorInfo *cursorInfo, double *left, double *top, double *width, doubl
[all...]
/base/msdp/device_status/test/fuzztest/startdrag_fuzzer/
H A Dstartdrag_fuzzer.cpp40 std::shared_ptr<Media::PixelMap> CreatePixelMap(int32_t width, int32_t height) in CreatePixelMap() argument
43 if (width <= 0 || width > MAX_PIXEL_MAP_WIDTH || height <= 0 || height > MAX_PIXEL_MAP_HEIGHT) { in CreatePixelMap()
44 FI_HILOGE("Invalid size, height:%{public}d, width:%{public}d", height, width); in CreatePixelMap()
49 opts.size.width = width; in CreatePixelMap()
54 int32_t colorLen = width * height; in CreatePixelMap()
/base/msdp/device_status/test/fuzztest/updateshadowpic_fuzzer/
H A Dupdateshadowpic_fuzzer.cpp40 std::shared_ptr<Media::PixelMap> CreatePixelMap(int32_t width, int32_t height) in CreatePixelMap() argument
43 if (width <= 0 || width > MAX_PIXEL_MAP_WIDTH || height <= 0 || height > MAX_PIXEL_MAP_HEIGHT) { in CreatePixelMap()
44 FI_HILOGE("Invalid size, width:%{public}d, height:%{public}d", width, height); in CreatePixelMap()
48 opts.size.width = width; in CreatePixelMap()
54 int32_t colorLen = width * height; in CreatePixelMap()
/base/web/webview/test/fuzztest/ohos_nweb/flushbuffer_fuzzer/
H A Dflushbuffer_fuzzer.cpp43 uint32_t width; in FlushBufferFuzzTest() local
45 if (memcpy_s(&width, sizeof(uint32_t), data, sizeof(uint32_t)) != 0) { in FlushBufferFuzzTest()
64 surfaceAdapter.FlushBuffer(g_surface, surfaceBuffer, width, height); in FlushBufferFuzzTest()
/base/web/webview/test/fuzztest/ohos_nweb/requestbuffer_fuzzer/
H A Drequestbuffer_fuzzer.cpp43 uint32_t width; in RequestBufferFuzzTest() local
45 if (memcpy_s(&width, sizeof(uint32_t), data, sizeof(uint32_t)) != 0) { in RequestBufferFuzzTest()
63 surfaceAdapter.RequestBuffer(g_surface, width, height); in RequestBufferFuzzTest()
/base/telephony/call_manager/interfaces/innerkits/
H A Dcall_manager_inner_type.h294 * the width of window
296 int32_t width = 0; member
507 int32_t width = 0; member
523 width = temp.width; in operator =()
535 * Indicates the peer window width.
537 int32_t width = 0; member
552 int32_t width = 0; member
568 width = temp.width; in operator =()
582 int32_t width = 0; global() member
[all...]
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/
H A Dark_web_touch_handle_hot_zone_impl.cpp27 void ArkWebTouchHandleHotZoneImpl::SetWidth(double width) in SetWidth() argument
29 nweb_touch_handle_hot_zone_->SetWidth(width); in SetWidth()
H A Dark_web_output_frame_callback_wrapper.cpp27 bool ArkWebOutputFrameCallbackWrapper::Handle(const char* buffer, uint32_t width, uint32_t height) in Handle() argument
29 return ark_web_output_frame_callback_->Handle(buffer, width, height); in Handle()
H A Dark_web_drag_data_impl.cpp76 bool ArkWebDragDataImpl::GetPixelMapSetting(const void** data, size_t& len, int& width, int& height) in GetPixelMapSetting() argument
78 return nweb_drag_data_->GetPixelMapSetting(data, len, width, height); in GetPixelMapSetting()
81 bool ArkWebDragDataImpl::SetPixelMapSetting(const void* data, size_t len, int width, int height) in SetPixelMapSetting() argument
83 return nweb_drag_data_->SetPixelMapSetting(data, len, width, height); in SetPixelMapSetting()
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H A Dark_web_touch_handle_hot_zone_wrapper.cpp27 void ArkWebTouchHandleHotZoneWrapper::SetWidth(double width) in SetWidth() argument
29 return ark_web_touch_handle_hot_zone_->SetWidth(width); in SetWidth()
H A Dark_web_output_frame_callback_impl.cpp27 bool ArkWebOutputFrameCallbackImpl::Handle(const char* buffer, uint32_t width, uint32_t height) in Handle() argument
29 return nweb_output_frame_callback_->Handle(buffer, width, height); in Handle()
/base/web/webview/ohos_adapter/media_adapter/src/
H A Dcodec_format_adapter_impl.cpp30 void CodecFormatAdapterImpl::SetWidth(int32_t width) in SetWidth() argument
32 width_ = width; in SetWidth()
H A Dcapability_data_adapter_impl.cpp35 void CapabilityDataAdapterImpl::SetMaxWidth(int32_t width) in SetMaxWidth() argument
37 maxWidth_ = width; in SetMaxWidth()
/base/web/webview/ohos_adapter/camera_adapter/src/
H A Dformat_adapter_impl.cpp40 void FormatAdapterImpl::SetWidth(uint32_t width) in SetWidth() argument
42 width_ = width; in SetWidth()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_panel.cpp174 void InputMethodPanel::SetResizeParams(uint32_t width, uint32_t height) in SetResizeParams() argument
178 IMSA_HILOGI("set fold device and unfold state resize params, width/height: %{public}u/%{public}u.", in SetResizeParams()
179 width, height); in SetResizeParams()
182 resizePanelUnfoldParams_.portraitRect.width_ = width; in SetResizeParams()
185 resizePanelUnfoldParams_.landscapeRect.width_ = width; in SetResizeParams()
188 IMSA_HILOGI("set fold device and fold state or other resize params, width/height: %{public}u/%{public}u.", in SetResizeParams()
189 width, height); in SetResizeParams()
192 resizePanelFoldParams_.portraitRect.width_ = width; in SetResizeParams()
195 resizePanelFoldParams_.landscapeRect.width_ = width; in SetResizeParams()
200 int32_t InputMethodPanel::Resize(uint32_t width, uint32_ argument
904 IsSizeValid(uint32_t width, uint32_t height) IsSizeValid() argument
995 auto width = defaultDisplay->GetWidth(); GetDisplaySize() local
1018 CheckSize(PanelFlag panelFlag, uint32_t width, uint32_t height, bool isDataPortrait) CheckSize() argument
1028 IsSizeValid(PanelFlag panelFlag, uint32_t width, uint32_t height, int32_t displayWidth, int32_t displayHeight) IsSizeValid() argument
[all...]
/base/customization/enterprise_device_management/services/edm_plugin/src/utils/
H A Dwatermark_image_serializer.cpp27 const char* const WIDTH = "width";
45 cJSON* width = cJSON_GetObjectItem(item, WIDTH); in Deserialize() local
48 width == nullptr || height == nullptr || !cJSON_IsNumber(width) || in Deserialize()
55 WatermarkImageType imageType{fileNameStr, width->valueint, height->valueint}; in Deserialize()
76 cJSON_AddNumberToObject(item, WIDTH, it.second.width); in Serialize()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_decoder_format_adapter_impl.cpp39 void ArkDecoderFormatAdapterImpl::SetWidth(int32_t width) in SetWidth() argument
41 return real_->SetWidth(width); in SetWidth()
H A Dark_window_adapter_wrapper.cpp38 int32_t ArkWindowAdapterWrapper::NativeWindowSetBufferGeometry(ArkWebNativeWindow window, int32_t width, int32_t height) in NativeWindowSetBufferGeometry() argument
43 return ctocpp_->NativeWindowSetBufferGeometry(window, width, height); in NativeWindowSetBufferGeometry()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_window_adapter_impl.cpp34 int32_t ArkWindowAdapterImpl::NativeWindowSetBufferGeometry(void* window, int32_t width, int32_t height) in NativeWindowSetBufferGeometry() argument
36 return real_.NativeWindowSetBufferGeometry(window, width, height); in NativeWindowSetBufferGeometry()
H A Dark_decoder_format_adapter_wrapper.cpp40 void ArkDecoderFormatAdapterWrapper::SetWidth(int32_t width) in SetWidth() argument
42 ctocpp_->SetWidth(width); in SetWidth()

Completed in 8 milliseconds

1234567891011