Home
last modified time | relevance | path

Searched refs:layoutWidth (Results 1 - 6 of 6) sorted by relevance

/foundation/arkui/ui_lite/frameworks/layout/
H A Dgrid_layout.cpp56 int16_t layoutWidth = GetWidth() / cols_; in LayoutHorizontal() local
65 posX = j * layoutWidth; in LayoutHorizontal()
72 int16_t actPosX = posX + (layoutWidth - child->GetRelativeRect().GetWidth() - left - right) / 2 + left; in LayoutHorizontal()
77 child->ResizeVisibleArea(posX, posY, layoutWidth, layoutHeight); in LayoutHorizontal()
90 int16_t layoutWidth = GetWidth() / cols_; in LayoutVertical() local
94 int16_t posX = i * layoutWidth; in LayoutVertical()
106 int16_t actPosX = posX + (layoutWidth - child->GetRelativeRect().GetWidth() - left - right) / 2 + left; in LayoutVertical()
111 child->ResizeVisibleArea(posX, posY, layoutWidth, layoutHeight); in LayoutVertical()
/foundation/window/window_manager/window_scene/session/host/include/
H A Dsession_utils.h36 inline float ToWinWidth(const int32_t layoutWidth, float vpr) in ToWinWidth() argument
38 return layoutWidth + 2 * WINDOW_FRAME_WIDTH * vpr; // 2: left and right edge in ToWinWidth()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_content_modifier.cpp539 float layoutWidth = textFrameRect.Width() - padding; in ProcessErrorParagraph() local
543 layoutWidth -= borderWidth; in ProcessErrorParagraph()
547 layoutWidth -= counterWidth; in ProcessErrorParagraph()
549 if (layoutWidth <= 0) { in ProcessErrorParagraph()
552 errorParagraph->Layout(layoutWidth); in ProcessErrorParagraph()
553 if (errorParagraph->GetLongestLine() > layoutWidth) { in ProcessErrorParagraph()
/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Drosen_render_text.cpp244 auto layoutWidth = GetSize().Width(); in CheckMeasureFlag() local
248 } else if (!IsCompatibleVersion() && GreatOrEqual(layoutWidth, paragraphMinWidth) && in CheckMeasureFlag()
249 LessOrEqual(layoutWidth, paragraphMaxWidth) && (lastLayoutMaxWidth_ - layoutWidth > 1.0)) { in CheckMeasureFlag()
/foundation/arkui/ace_engine/frameworks/core/components/button/
H A Drender_button.cpp547 double layoutWidth = widthDefined_ ? layoutSize_.Width() : childrenSize_.Width(); in CalculateLayoutSize() local
552 layoutWidth = layoutHeight * aspectRatio_; in CalculateLayoutSize()
554 layoutHeight = layoutWidth / aspectRatio_; in CalculateLayoutSize()
557 layoutSize = Size(layoutWidth, layoutHeight); in CalculateLayoutSize()
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/resource/
H A Drich_text_delegate.cpp53 constexpr char NTC_PARAM_LAYOUT_WIDTH[] = "layoutWidth";
406 int32_t layoutWidth = GetIntParam(param, NTC_PARAM_LAYOUT_WIDTH); in OnGotLayoutParam() local
408 webviewLayoutCallback_(layoutWidth, layoutHeight, contentHeight); in OnGotLayoutParam()

Completed in 6 milliseconds