/base/inputmethod/imf/frameworks/ndk/src/ |
H A D | inputmethod_cursor_info_capi.cpp | 20 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 D | nweb_surface_adapter.cpp | 38 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 D | nweb_enhance_surface_adapter.cpp | 33 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 D | nweb_surface_adapter.h | 37 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 D | copyframe_fuzzer.cpp | 38 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 D | inputmethod_cursor_info_capi.h | 44 * 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 D | startdrag_fuzzer.cpp | 40 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 D | updateshadowpic_fuzzer.cpp | 40 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 D | flushbuffer_fuzzer.cpp | 43 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 D | requestbuffer_fuzzer.cpp | 43 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 D | call_manager_inner_type.h | 294 * 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 D | ark_web_touch_handle_hot_zone_impl.cpp | 27 void ArkWebTouchHandleHotZoneImpl::SetWidth(double width) in SetWidth() argument 29 nweb_touch_handle_hot_zone_->SetWidth(width); in SetWidth()
|
H A D | ark_web_output_frame_callback_wrapper.cpp | 27 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 D | ark_web_drag_data_impl.cpp | 76 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 D | ark_web_touch_handle_hot_zone_wrapper.cpp | 27 void ArkWebTouchHandleHotZoneWrapper::SetWidth(double width) in SetWidth() argument 29 return ark_web_touch_handle_hot_zone_->SetWidth(width); in SetWidth()
|
H A D | ark_web_output_frame_callback_impl.cpp | 27 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 D | codec_format_adapter_impl.cpp | 30 void CodecFormatAdapterImpl::SetWidth(int32_t width) in SetWidth() argument 32 width_ = width; in SetWidth()
|
H A D | capability_data_adapter_impl.cpp | 35 void CapabilityDataAdapterImpl::SetMaxWidth(int32_t width) in SetMaxWidth() argument 37 maxWidth_ = width; in SetMaxWidth()
|
/base/web/webview/ohos_adapter/camera_adapter/src/ |
H A D | format_adapter_impl.cpp | 40 void FormatAdapterImpl::SetWidth(uint32_t width) in SetWidth() argument 42 width_ = width; in SetWidth()
|
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_panel.cpp | 174 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 D | watermark_image_serializer.cpp | 27 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 D | ark_decoder_format_adapter_impl.cpp | 39 void ArkDecoderFormatAdapterImpl::SetWidth(int32_t width) in SetWidth() argument 41 return real_->SetWidth(width); in SetWidth()
|
H A D | ark_window_adapter_wrapper.cpp | 38 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 D | ark_window_adapter_impl.cpp | 34 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 D | ark_decoder_format_adapter_wrapper.cpp | 40 void ArkDecoderFormatAdapterWrapper::SetWidth(int32_t width) in SetWidth() argument 42 ctocpp_->SetWidth(width); in SetWidth()
|