Searched refs:layoutHeight (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ui_lite/frameworks/layout/ |
H A D | grid_layout.cpp | 57 int16_t layoutHeight = GetHeight() / rows_; in LayoutHorizontal() local 60 int16_t posY = i * layoutHeight; in LayoutHorizontal() 74 …int16_t actPosY = posY + (layoutHeight - child->GetRelativeRect().GetHeight() - top - bottom) / 2 … in LayoutHorizontal() 77 child->ResizeVisibleArea(posX, posY, layoutWidth, layoutHeight); in LayoutHorizontal() 91 int16_t layoutHeight = GetHeight() / rows_; in LayoutVertical() local 99 posY = j * layoutHeight; in LayoutVertical() 108 …int16_t actPosY = posY + (layoutHeight - child->GetRelativeRect().GetHeight() - top - bottom) / 2 … in LayoutVertical() 111 child->ResizeVisibleArea(posX, posY, layoutWidth, layoutHeight); in LayoutVertical()
|
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | session_utils.h | 41 inline float ToWinHeight(const int32_t layoutHeight, float vpr) in ToWinHeight() argument 43 return layoutHeight + (WINDOW_FRAME_WIDTH + WINDOW_TITLE_BAR_HEIGHT) * vpr; in ToWinHeight()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/button/ |
H A D | render_button.cpp | 548 double layoutHeight = heightDefined_ ? layoutSize_.Height() : childrenSize_.Height(); in CalculateLayoutSize() local 552 layoutWidth = layoutHeight * aspectRatio_; in CalculateLayoutSize() 554 layoutHeight = layoutWidth / aspectRatio_; in CalculateLayoutSize() 557 layoutSize = Size(layoutWidth, layoutHeight); in CalculateLayoutSize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/rich_text/resource/ |
H A D | rich_text_delegate.cpp | 404 int32_t layoutHeight = GetIntParam(param, NTC_PARAM_LAYOUT_HEIGHT); in OnGotLayoutParam() local 408 webviewLayoutCallback_(layoutWidth, layoutHeight, contentHeight); in OnGotLayoutParam()
|