/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | image_analyzer_manager.cpp | 323 int rectWidth, int rectHeight, int pointX, int pointY, OnTextSelectedCallback callback) in UpdatePressOverlay() argument 327 if (rectWidth > 0 && rectHeight > 0) { in UpdatePressOverlay() 328 analyzerUIConfig_.touchInfo.touchPoint.x = 1.0 * pointX / rectWidth * pixelMap->GetWidth(); in UpdatePressOverlay() 338 analyzerUIConfig_.contentWidth = rectWidth; in UpdatePressOverlay() 356 void ImageAnalyzerManager::UpdateOverlayStatus(bool status, int offsetX, int offsetY, int rectWidth… in UpdateOverlayStatus() argument 361 analyzerUIConfig_.contentWidth = rectWidth; in UpdateOverlayStatus()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/ai/ |
H A D | image_analyzer_manager.h | 46 …ePressOverlay(const RefPtr<OHOS::Ace::PixelMap>& pixelMap, int offsetX, int offsetY, int rectWidth, 49 void UpdateOverlayStatus(bool status, int offsetX, int offsetY, int rectWidth, int rectHeight);
|
/ohos5.0/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()
|
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/ |
H A D | js_input_monitor_manager.cpp | 335 int32_t rectWidth = -1; in GetHotRectAreaList() local 336 CHKRR(napi_get_value_int32(env, napiWidth, &rectWidth), GET_VALUE_INT32, hotRectAreaList); in GetHotRectAreaList() 337 rectItem.width = rectWidth; in GetHotRectAreaList() 347 if (rectX < 0 || rectY < 0 || rectHeight < 0 || rectWidth < 0) { in GetHotRectAreaList()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/option/ |
H A D | option_paint_method.cpp | 115 auto rectWidth = isRtl ? horInterval : optionSize.Width() - horInterval; in PaintDivider() local 116 …path.AddRect(startX, 0, rectWidth, static_cast<float>(selectTheme->GetDefaultDividerWidth().Conver… in PaintDivider()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/ |
H A D | dot_indicator_paint_method.cpp | 297 float rectWidth = padding + allPointDiameterSum + allPointSpaceSum + padding; in CalculatePointCenterX() local 298 startCenterX = rectWidth - startCenterX; in CalculatePointCenterX() 299 endCenterX = rectWidth - endCenterX; in CalculatePointCenterX() 472 float rectWidth = padding + allPointDiameterSum + allPointSpaceSum + padding; in UpdateBackground() local 474 …rectWidth * (TOUCH_BOTTOM_BACKGROUND_WIDTH_MULTIPLE - TOUCH_BOTTOM_DOT_WIDTH_MULTIPLE * itemCount_… in UpdateBackground() 475 auto changeValue = (newRectWidth - rectWidth) * touchBottomRate_; in UpdateBackground() 479 … space = (rectWidth + changeValue - padding * 2 - allPointDiameterSum) / (itemCount_ - 1); in UpdateBackground()
|
H A D | overlength_dot_indicator_paint_method.cpp | 134 float rectWidth = padding + allPointDiameterSum + allPointSpaceSum + padding; in CalculatePointCenterX() local 135 startCenterX = rectWidth - startCenterX; in CalculatePointCenterX() 136 endCenterX = rectWidth - endCenterX; in CalculatePointCenterX()
|
H A D | dot_indicator_modifier.cpp | 95 float rectWidth = in PaintBackground() local 102 auto widthChangeValue = (backgroundWidthDilateRatio_->Get() - 1.0f) * rectWidth; in PaintBackground() 113 float rectRight = rectLeft + (axis_ == Axis::HORIZONTAL ? rectWidth : rectHeight); in PaintBackground() 114 float rectBottom = rectTop + (axis_ == Axis::HORIZONTAL ? rectHeight : rectWidth); in PaintBackground() 135 rectWidth -= widthChangeValue; in PaintBackground() 143 auto radius = axis_ == Axis::HORIZONTAL ? rectHeight : rectWidth; in PaintBackground()
|
/ohos5.0/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 - lineWi… in LineStartPos() 404 xOffset = (direct_ == TEXT_DIRECT_RTL) ? rectWidth : (rectWidth - lineWidth); in LineStartPos() 406 xOffset = (direct_ == TEXT_DIRECT_RTL) ? rectWidth : 0; in LineStartPos()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_content_modifier_test.cpp | 99 auto rectWidth = clipRect.GetWidth(); variable 100 EXPECT_NE(rectWidth, MIN_RECT_WIDTH);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_customdialog_controller_ffi.cpp | 53 …Dimension rectWidth(options.maskRect.width, static_cast<DimensionUnit>(options.maskRect.widthUnit)… in ParseCjCustomDialogControllerMaskRect() local 56 rect.SetWidth(rectWidth); in ParseCjCustomDialogControllerMaskRect()
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/ |
H A D | MainEditor.js | 925 let rectWidth = 0; 968 rectWidth = pm2f.getTextWidth(keyAndValue, MainEditor.NODE_TEXT_SIZE); 969 return rectWidth; 997 let rectWidth = MainEditor.NODE_RECT_WIDTH; 1008 rectWidth = this.getRectWidth(pm2f, node); 1010 rectWidth = pm2f.getTextWidth( 1015 this.drawNodeRectButton(pm2f, x, y, rectWidth, node); 1028 …y, node.parent_ === undefined ? MainEditor.NODE_RECT_WIDTH : rectWidth + widthOffset + MainEditor.… 1035 drawNodeRectButton(pm2f, x, y, rectWidth, node) { argument 1040 let width = rectWidth + widthOffset + MainEditor.LOGO_SIZE + logoSizeOffset;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/resource/ |
H A D | web_client_impl.h | 280 …eateOverlay(void* data, size_t len, int width, int height, int offsetX, int offsetY, int rectWidth, 283 void OnOverlayStateChanged(int offsetX, int offsetY, int rectWidth, int rectHeight) override;
|
H A D | web_client_impl.cpp | 1200 int rectWidth, int rectHeight, int pointX, int pointY) in CreateOverlay() argument 1205 …delegate->CreateOverlay(data, len, width, height, offsetX, offsetY, rectWidth, rectHeight, pointX,… in CreateOverlay() 1208 void WebClientImpl::OnOverlayStateChanged(int offsetX, int offsetY, int rectWidth, int rectHeight) in OnOverlayStateChanged() argument 1213 delegate->OnOverlayStateChanged(offsetX, offsetY, rectWidth, rectHeight); in OnOverlayStateChanged()
|
H A D | web_delegate.h | 989 …eateOverlay(void* data, size_t len, int width, int height, int offsetX, int offsetY, int rectWidth, 992 void OnOverlayStateChanged(int offsetX, int offsetY, int rectWidth, int rectHeight);
|
H A D | web_delegate.cpp | 7211 …eateOverlay(void* data, size_t len, int width, int height, int offsetX, int offsetY, int rectWidth, in CreateOverlay() argument 7219 rectWidth, in CreateOverlay() 7225 void WebDelegate::OnOverlayStateChanged(int offsetX, int offsetY, int rectWidth, int rectHeight) in OnOverlayStateChanged() argument 7229 webPattern->OnOverlayStateChanged(offsetX, offsetY, rectWidth, rectHeight); in OnOverlayStateChanged()
|
/ohos5.0/base/web/webview/ohos_interface/include/ohos_nweb/ |
H A D | nweb_handler.h | 932 …eateOverlay(void* data, size_t len, int width, int height, int offsetX, int offsetY, int rectWidth, in CreateOverlay() argument 939 virtual void OnOverlayStateChanged(int offsetX, int offsetY, int rectWidth, int rectHeight) {} in OnOverlayStateChanged() argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/ |
H A D | menu_layout_algorithm.h | 152 void LimitContainerModalMenuRect(double& rectWidth, double& rectHeight);
|
H A D | menu_layout_algorithm.cpp | 1883 void MenuLayoutAlgorithm::LimitContainerModalMenuRect(double& rectWidth, double& rectHeight) in LimitContainerModalMenuRect() argument 1893 rectWidth -= containerOffsetX; in LimitContainerModalMenuRect()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-navigation.md | 2106 rectWidth: number = 0; 2184 this.rectWidth = event.target.area.width as number; 2192 let rate = event.fingerList[0].localX / this.rectWidth; 2196 let rate: number = event.fingerList[0].localX / this.rectWidth; 2216 rectWidth: number = 0; 2274 this.rectWidth = event.target.area.width as number; 2282 let rate = event.fingerList[0].localX / this.rectWidth; 2286 let rate = event.fingerList[0].localX / this.rectWidth;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_pattern.h | 639 …CreateOverlay(const RefPtr<OHOS::Ace::PixelMap>& pixelMap, int offsetX, int offsetY, int rectWidth, 641 void OnOverlayStateChanged(int offsetX, int offsetY, int rectWidth, int rectHeight);
|
H A D | web_pattern.cpp | 6671 …CreateOverlay(const RefPtr<OHOS::Ace::PixelMap>& pixelMap, int offsetX, int offsetY, int rectWidth, in CreateOverlay() argument 6681 rectWidth, in CreateOverlay() 6701 pixelMap, offsetX, offsetY, rectWidth, rectHeight, pointX, pointY, std::move(task)); in CreateOverlay() 6705 void WebPattern::OnOverlayStateChanged(int offsetX, int offsetY, int rectWidth, int rectHeight) in OnOverlayStateChanged() argument 6712 rectWidth, in OnOverlayStateChanged() 6714 imageAnalyzerManager_->UpdateOverlayStatus(true, offsetX, offsetY, rectWidth, rectHeight); in OnOverlayStateChanged()
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/zidl/ |
H A D | scene_session_manager_stub.cpp | 971 int32_t rectWidth = data.ReadInt32(); in HandleUpdateModalExtensionRect() local 973 Rect windowRect{rectX, rectY, rectWidth, rectHeight}; in HandleUpdateModalExtensionRect()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-navigation.md | 2108 rectWidth: number = 0; 2186 this.rectWidth = event.target.area.width as number; 2194 let rate = event.fingerList[0].localX / this.rectWidth; 2198 let rate: number = event.fingerList[0].localX / this.rectWidth; 2218 rectWidth: number = 0; 2276 this.rectWidth = event.target.area.width as number; 2284 let rate = event.fingerList[0].localX / this.rectWidth; 2288 let rate = event.fingerList[0].localX / this.rectWidth;
|