Home
last modified time | relevance | path

Searched refs:rectWidth (Results 1 - 23 of 23) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/common/ai/
H A Dimage_analyzer_manager.h58 void UpdatePressOverlay(const RefPtr<OHOS::Ace::PixelMap>& pixelMap, int offsetX, int offsetY, int rectWidth,
61 void UpdateOverlayStatus(bool status, int offsetX, int offsetY, int rectWidth, int rectHeight);
/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_image_analyzer_manager.cpp108 int rectWidth, int rectHeight, int pointX, int pointY, OnTextSelectedCallback callback) in UpdatePressOverlay()
112 void ImageAnalyzerManager::UpdateOverlayStatus(bool status, int offsetX, int offsetY, int rectWidth, int rectHeight) in UpdateOverlayStatus() argument
107 UpdatePressOverlay(const RefPtr<OHOS::Ace::PixelMap>& pixelMap, int offsetX, int offsetY, int rectWidth, int rectHeight, int pointX, int pointY, OnTextSelectedCallback callback) UpdatePressOverlay() argument
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_label.cpp365 int16_t rectWidth = GetWidth(); in RemeasureForMarquee() local
366 if (textWidth > rectWidth) { in RemeasureForMarquee()
374 static_cast<LabelAnimator*>(animator_.animator)->UpdateWidth(textWidth, rectWidth); in RemeasureForMarquee()
376 LabelAnimator* animator = new LabelAnimator(textWidth, rectWidth, offsetX_, this); in RemeasureForMarquee()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/option/
H A Doption_paint_method.cpp110 auto rectWidth = isRtl ? horInterval : optionSize.Width() - horInterval; in PaintDivider() local
111 path.AddRect(startX, 0, rectWidth, static_cast<float>(selectTheme->GetDefaultDividerWidth().ConvertToPx())); in PaintDivider()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dimage_analyzer_manager.cpp392 int rectWidth, int rectHeight, int pointX, int pointY, OnTextSelectedCallback callback) in UpdatePressOverlay()
396 if (rectWidth > 0 && rectHeight > 0) { in UpdatePressOverlay()
397 analyzerUIConfig_.touchInfo.touchPoint.x = 1.0 * pointX / rectWidth * pixelMap->GetWidth(); in UpdatePressOverlay()
407 analyzerUIConfig_.contentWidth = rectWidth; in UpdatePressOverlay()
425 void ImageAnalyzerManager::UpdateOverlayStatus(bool status, int offsetX, int offsetY, int rectWidth, int rectHeight) in UpdateOverlayStatus() argument
430 analyzerUIConfig_.contentWidth = rectWidth; in UpdateOverlayStatus()
391 UpdatePressOverlay(const RefPtr<OHOS::Ace::PixelMap>& pixelMap, int offsetX, int offsetY, int rectWidth, int rectHeight, int pointX, int pointY, OnTextSelectedCallback callback) UpdatePressOverlay() argument
/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/
H A Djs_input_monitor_manager.cpp349 int32_t rectWidth = -1; in GetHotRectAreaList() local
350 CHKRR(napi_get_value_int32(env, napiWidth, &rectWidth), GET_VALUE_INT32, hotRectAreaList); in GetHotRectAreaList()
351 rectItem.width = rectWidth; in GetHotRectAreaList()
361 if (rectX < 0 || rectY < 0 || rectHeight < 0 || rectWidth < 0) { in GetHotRectAreaList()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_field_content_modifier_test.cpp99 auto rectWidth = clipRect.GetWidth(); in HWTEST_F() local
100 EXPECT_NE(rectWidth, MIN_RECT_WIDTH); in HWTEST_F()
/foundation/arkui/ui_lite/frameworks/common/
H A Dtext.cpp400 int16_t rectWidth = textRect.GetWidth(); in LineStartPos() local
402 xOffset = (direct_ == TEXT_DIRECT_RTL) ? ((rectWidth + lineWidth + 1) >> 1) : ((rectWidth - lineWidth) >> 1); in LineStartPos()
404 xOffset = (direct_ == TEXT_DIRECT_RTL) ? rectWidth : (rectWidth - lineWidth); in LineStartPos()
406 xOffset = (direct_ == TEXT_DIRECT_RTL) ? rectWidth : 0; in LineStartPos()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Doverlength_dot_indicator_paint_method.cpp132 float rectWidth = padding + allPointDiameterSum + allPointSpaceSum + padding; in CalculatePointCenterX() local
133 startCenterX = rectWidth - startCenterX; in CalculatePointCenterX()
134 endCenterX = rectWidth - endCenterX; in CalculatePointCenterX()
H A Ddot_indicator_paint_method.cpp326 float rectWidth = padding + allPointDiameterSum + allPointSpaceSum + padding; in CalculatePointCenterX() local
327 startCenterX = rectWidth - startCenterX; in CalculatePointCenterX()
328 endCenterX = rectWidth - endCenterX; in CalculatePointCenterX()
505 float rectWidth = padding + allPointDiameterSum + allPointSpaceSum + padding; in UpdateBackground() local
507 rectWidth * (TOUCH_BOTTOM_BACKGROUND_WIDTH_MULTIPLE - TOUCH_BOTTOM_DOT_WIDTH_MULTIPLE * itemCount_); in UpdateBackground()
508 auto changeValue = (newRectWidth - rectWidth) * touchBottomRate_; in UpdateBackground()
512 space = (rectWidth + changeValue - padding * 2 - allPointDiameterSum) / (itemCount_ - 1); in UpdateBackground()
H A Ddot_indicator_modifier.cpp85 float rectWidth = in PaintBackground() local
92 auto widthChangeValue = (backgroundWidthDilateRatio_->Get() - 1.0f) * rectWidth; in PaintBackground()
103 float rectRight = rectLeft + (axis_ == Axis::HORIZONTAL ? rectWidth : rectHeight); in PaintBackground()
104 float rectBottom = rectTop + (axis_ == Axis::HORIZONTAL ? rectHeight : rectWidth); in PaintBackground()
125 rectWidth -= widthChangeValue; in PaintBackground()
133 auto radius = axis_ == Axis::HORIZONTAL ? rectHeight : rectWidth; in PaintBackground()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_customdialog_controller_ffi.cpp48 Dimension rectWidth(options.maskRect.width, static_cast<DimensionUnit>(options.maskRect.widthUnit)); in ParseCjCustomDialogControllerMaskRect()
51 rect.SetWidth(rectWidth); in ParseCjCustomDialogControllerMaskRect()
/foundation/arkui/ace_engine/test/unittest/core/pattern/web/
H A Dweb_pattern_touch_test_ng.cpp1112 int rectWidth = 30; in HWTEST_F() local
1116 webPattern->CreateOverlay(pixelMap, offsetX, offsetY, rectWidth, rectHeight, pointX, pointY); in HWTEST_F()
1146 int rectWidth = 30; in HWTEST_F() local
1150 webPattern->CreateOverlay(pixelMap, offsetX, offsetY, rectWidth, rectHeight, pointX, pointY); in HWTEST_F()
1178 int rectWidth = 30; in HWTEST_F() local
1180 webPattern->OnOverlayStateChanged(offsetX, offsetY, rectWidth, rectHeight); in HWTEST_F()
1208 int rectWidth = 30; in HWTEST_F() local
1210 webPattern->OnOverlayStateChanged(offsetX, offsetY, rectWidth, rectHeight); in HWTEST_F()
H A Dmock_web_delegate.cpp1150 void WebDelegate::CreateOverlay(void* data, size_t len, int width, int height, int offsetX, int offsetY, int rectWidth, in CreateOverlay() argument
1153 void WebDelegate::OnOverlayStateChanged(int offsetX, int offsetY, int rectWidth, int rectHeight) {} in OnOverlayStateChanged() argument
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_client_impl.h282 void CreateOverlay(void* data, size_t len, int width, int height, int offsetX, int offsetY, int rectWidth,
285 void OnOverlayStateChanged(int offsetX, int offsetY, int rectWidth, int rectHeight) override;
H A Dweb_client_impl.cpp1204 int rectWidth, int rectHeight, int pointX, int pointY) in CreateOverlay()
1209 delegate->CreateOverlay(data, len, width, height, offsetX, offsetY, rectWidth, rectHeight, pointX, pointY); in CreateOverlay()
1212 void WebClientImpl::OnOverlayStateChanged(int offsetX, int offsetY, int rectWidth, int rectHeight) in OnOverlayStateChanged() argument
1217 delegate->OnOverlayStateChanged(offsetX, offsetY, rectWidth, rectHeight); in OnOverlayStateChanged()
1203 CreateOverlay(void* data, size_t len, int width, int height, int offsetX, int offsetY, int rectWidth, int rectHeight, int pointX, int pointY) CreateOverlay() argument
H A Dweb_delegate.h1046 void CreateOverlay(void* data, size_t len, int width, int height, int offsetX, int offsetY, int rectWidth,
1049 void OnOverlayStateChanged(int offsetX, int offsetY, int rectWidth, int rectHeight);
H A Dweb_delegate.cpp7161 void WebDelegate::CreateOverlay(void* data, size_t len, int width, int height, int offsetX, int offsetY, int rectWidth, in CreateOverlay() argument
7167 offsetX, offsetY, rectWidth, rectHeight, pointX, pointY); in CreateOverlay()
7170 void WebDelegate::OnOverlayStateChanged(int offsetX, int offsetY, int rectWidth, int rectHeight) in OnOverlayStateChanged() argument
7174 webPattern->OnOverlayStateChanged(offsetX, offsetY, rectWidth, rectHeight); in OnOverlayStateChanged()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dmenu_layout_algorithm.h160 void LimitContainerModalMenuRect(double& rectWidth, double& rectHeight);
H A Dmenu_layout_algorithm.cpp1954 void MenuLayoutAlgorithm::LimitContainerModalMenuRect(double& rectWidth, double& rectHeight) in LimitContainerModalMenuRect() argument
1964 rectWidth -= containerOffsetX; in LimitContainerModalMenuRect()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_pattern.h644 void CreateOverlay(const RefPtr<OHOS::Ace::PixelMap>& pixelMap, int offsetX, int offsetY, int rectWidth,
646 void OnOverlayStateChanged(int offsetX, int offsetY, int rectWidth, int rectHeight);
H A Dweb_pattern.cpp6826 void WebPattern::CreateOverlay(const RefPtr<OHOS::Ace::PixelMap>& pixelMap, int offsetX, int offsetY, int rectWidth, in CreateOverlay() argument
6834 rectWidth, rectHeight); in CreateOverlay()
6853 pixelMap, offsetX, offsetY, rectWidth, rectHeight, pointX, pointY, std::move(callback)); in CreateOverlay()
6857 void WebPattern::OnOverlayStateChanged(int offsetX, int offsetY, int rectWidth, int rectHeight) in OnOverlayStateChanged() argument
6862 offsetX, offsetY, rectWidth, rectHeight); in OnOverlayStateChanged()
6863 imageAnalyzerManager_->UpdateOverlayStatus(true, offsetX, offsetY, rectWidth, rectHeight); in OnOverlayStateChanged()
/foundation/window/window_manager/window_scene/session_manager/src/zidl/
H A Dscene_session_manager_stub.cpp1015 int32_t rectWidth = data.ReadInt32(); in HandleUpdateModalExtensionRect() local
1017 Rect windowRect{rectX, rectY, rectWidth, rectHeight}; in HandleUpdateModalExtensionRect()

Completed in 55 milliseconds