/foundation/arkui/ace_engine/frameworks/core/common/ai/ |
H A D | image_analyzer_manager.h | 58 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 D | mock_image_analyzer_manager.cpp | 108 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 D | ui_label.cpp | 365 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 D | option_paint_method.cpp | 110 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 D | image_analyzer_manager.cpp | 392 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 D | js_input_monitor_manager.cpp | 349 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 D | text_field_content_modifier_test.cpp | 99 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 D | text.cpp | 400 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 D | overlength_dot_indicator_paint_method.cpp | 132 float rectWidth = padding + allPointDiameterSum + allPointSpaceSum + padding;
in CalculatePointCenterX() local 133 startCenterX = rectWidth - startCenterX;
in CalculatePointCenterX() 134 endCenterX = rectWidth - endCenterX;
in CalculatePointCenterX()
|
H A D | dot_indicator_paint_method.cpp | 326 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 D | dot_indicator_modifier.cpp | 85 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 D | cj_customdialog_controller_ffi.cpp | 48 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 D | web_pattern_touch_test_ng.cpp | 1112 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 D | mock_web_delegate.cpp | 1150 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 D | web_client_impl.h | 282 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 D | web_client_impl.cpp | 1204 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 D | web_delegate.h | 1046 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 D | web_delegate.cpp | 7161 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 D | menu_layout_algorithm.h | 160 void LimitContainerModalMenuRect(double& rectWidth, double& rectHeight);
|
H A D | menu_layout_algorithm.cpp | 1954 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 D | web_pattern.h | 644 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 D | web_pattern.cpp | 6826 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 D | scene_session_manager_stub.cpp | 1015 int32_t rectWidth = data.ReadInt32(); in HandleUpdateModalExtensionRect() local 1017 Rect windowRect{rectX, rectY, rectWidth, rectHeight}; in HandleUpdateModalExtensionRect()
|