Home
last modified time | relevance | path

Searched refs:height (Results 1 - 25 of 271) sorted by relevance

1234567891011

/base/inputmethod/imf/frameworks/ndk/src/
H A Dinputmethod_text_avoid_info_capi.cpp21 InputMethod_TextAvoidInfo *OH_TextAvoidInfo_Create(double positionY, double height) in OH_TextAvoidInfo_Create() argument
23 return new InputMethod_TextAvoidInfo({ positionY, height }); in OH_TextAvoidInfo_Create()
42 InputMethod_ErrorCode OH_TextAvoidInfo_SetHeight(InputMethod_TextAvoidInfo *info, double height) in OH_TextAvoidInfo_SetHeight() argument
48 info->height = height; in OH_TextAvoidInfo_SetHeight()
64 InputMethod_ErrorCode OH_TextAvoidInfo_GetHeight(InputMethod_TextAvoidInfo *info, double *height) in OH_TextAvoidInfo_GetHeight() argument
70 if (height == nullptr) { in OH_TextAvoidInfo_GetHeight()
71 IMSA_HILOGE("height is nullptr"); in OH_TextAvoidInfo_GetHeight()
74 *height = info->height; in OH_TextAvoidInfo_GetHeight()
[all...]
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()
42 cursorInfo->height = height; 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()
60 *height = cursorInfo->height; 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()
67 createInfo->SetHeight((height == 0) ? (uint32_t)surface->GetDefaultHeight() : height); 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_t height) in RequestBuffer() 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()
50 createInfo->SetHeight(height); 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.h38 uint32_t height,
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.cpp39 uint32_t height; in CopyFrameFuzzTest() local
43 if (memcpy_s(&height, 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_text_avoid_info_capi.h55 * @param height The height of the avoid area.
60 InputMethod_TextAvoidInfo *OH_TextAvoidInfo_Create(double positionY, double height);
81 * @brief Set height value into {@link InputMethod_TextAvoidInfo}.
84 * @param height Represents height value.
91 InputMethod_ErrorCode OH_TextAvoidInfo_SetHeight(InputMethod_TextAvoidInfo *info, double height);
105 * @brief Get height value into {@link InputMethod_TextAvoidInfo}.
108 * @param height Represents height valu
[all...]
H A Dinputmethod_cursor_info_capi.h44 * The coordinates and width and height information of the cursor.
56 * @param height The height of the cursor.
61 InputMethod_CursorInfo *OH_CursorInfo_Create(double left, double top, double width, double height);
78 * @param height The height of the cursor.
86 InputMethod_CursorInfo *cursorInfo, double left, double top, double width, double height);
95 * @param height The height of the cursor.
103 InputMethod_CursorInfo *cursorInfo, double *left, double *top, double *width, double *height);
[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()
48 opts.size.height = height; 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()
49 opts.size.height = height; in CreatePixelMap()
54 int32_t colorLen = width * height; in CreatePixelMap()
/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()
181 resizePanelUnfoldParams_.portraitRect.height_ = height; in SetResizeParams()
184 resizePanelUnfoldParams_.landscapeRect.height_ = height; 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()
191 resizePanelFoldParams_.portraitRect.height_ = height; in SetResizeParams()
194 resizePanelFoldParams_.landscapeRect.height_ = height; in SetResizeParams()
200 int32_t InputMethodPanel::Resize(uint32_t width, uint32_t height) in Resize() argument
640 SetTextFieldAvoidInfo(double positionY, double height) SetTextFieldAvoidInfo() argument
904 IsSizeValid(uint32_t width, uint32_t height) IsSizeValid() argument
996 auto height = defaultDisplay->GetHeight(); GetDisplaySize() local
1014 auto height = defaultDisplay->GetHeight(); global() 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/web/webview/test/fuzztest/ohos_nweb/flushbuffer_fuzzer/
H A Dflushbuffer_fuzzer.cpp44 uint32_t height; in FlushBufferFuzzTest() local
48 if (memcpy_s(&height, 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.cpp44 uint32_t height; in RequestBufferFuzzTest() local
48 if (memcpy_s(&height, 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.h298 * the height of window
300 int32_t height = 0; member
511 int32_t height = 0; member
524 height = temp.height; in operator =()
539 * Indicates the peer window height.
541 int32_t height = 0; member
556 int32_t height = 0; member
569 height = temp.height; in operator =()
586 int32_t height = 0; global() member
[all...]
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/
H A Dark_web_touch_handle_hot_zone_impl.cpp32 void ArkWebTouchHandleHotZoneImpl::SetHeight(double height) in SetHeight() argument
34 nweb_touch_handle_hot_zone_->SetHeight(height); in SetHeight()
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.cpp32 void ArkWebTouchHandleHotZoneWrapper::SetHeight(double height) in SetHeight() argument
34 return ark_web_touch_handle_hot_zone_->SetHeight(height); in SetHeight()
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.cpp35 void CodecFormatAdapterImpl::SetHeight(int32_t height) in SetHeight() argument
37 height_ = height; in SetHeight()
H A Dcapability_data_adapter_impl.cpp40 void CapabilityDataAdapterImpl::SetMaxHeight(int32_t height) in SetMaxHeight() argument
42 maxHeight_ = height; in SetMaxHeight()
/base/web/webview/ohos_adapter/camera_adapter/src/
H A Dformat_adapter_impl.cpp45 void FormatAdapterImpl::SetHeight(uint32_t height) in SetHeight() argument
47 height_ = height; in SetHeight()
/base/customization/enterprise_device_management/services/edm_plugin/src/utils/
H A Dwatermark_image_serializer.cpp28 const char* const HEIGHT = "height";
46 cJSON* height = cJSON_GetObjectItem(item, HEIGHT); in Deserialize() local
48 width == nullptr || height == nullptr || !cJSON_IsNumber(width) || in Deserialize()
49 !cJSON_IsNumber(accountId) || !cJSON_IsNumber(height)) { in Deserialize()
55 WatermarkImageType imageType{fileNameStr, width->valueint, height->valueint}; in Deserialize()
77 cJSON_AddNumberToObject(item, HEIGHT, it.second.height); in Serialize()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_decoder_format_adapter_impl.cpp44 void ArkDecoderFormatAdapterImpl::SetHeight(int32_t height) in SetHeight() argument
46 return real_->SetHeight(height); in SetHeight()
/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()

Completed in 8 milliseconds

1234567891011