Home
last modified time | relevance | path

Searched refs:topPadding (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/
H A Dqrcode_layout_algorithm.cpp45 auto topPadding = 0.0f; in MeasureContent() local
51 topPadding = padding->top.value_or(CalcLength(0.0_vp)).GetDimension().ConvertToPx(); in MeasureContent()
63 auto height = DEFAULT_SIZE.ConvertToPx() - topPadding - bottomPadding; in MeasureContent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/
H A Dbutton_layout_algorithm.cpp214 auto topPadding = padding.top.value_or(0.0); in PerformMeasureSelf() local
231 … auto actualHeight = static_cast<float>(childSize_.Height() + topPadding + bottomPadding); in PerformMeasureSelf()
239 … if (GreatOrEqual(childSize_.Height() + topPadding + bottomPadding, frameSize.Height())) { in PerformMeasureSelf()
240 … frameSize = SizeF(frameSize.Width(), childSize_.Height() + topPadding + bottomPadding); in PerformMeasureSelf()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/
H A Dcalendar_month_pattern.cpp359 auto topPadding = isCalendarDialog_ ? 0.0 : theme->GetCalendarTheme().topPadding.ConvertToPx(); in JudgeArea() local
392 auto browHeight = weekHeight + topPadding + weekAndDayRowSpace; in JudgeArea()
779 auto topPadding = isCalendarDialog_ ? 0.0 : theme->GetCalendarTheme().topPadding.ConvertToPx(); in UpdateAccessibilityButtonNode() local
784 auto browHeight = weekHeight + topPadding + weekAndDayRowSpace; in UpdateAccessibilityButtonNode()
H A Dcalendar_paint_method.cpp599 topPadding_ = isCalendarDialog_ ? 0.0 : theme->GetCalendarTheme().topPadding.ConvertToPx(); in SetCalendarTheme()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Drender_calendar.cpp367 auto topPadding = NormalizeToPx(calendarTheme_.topPadding); in JudgeArea() local
368 auto browHeight = weekHeight_ + topPadding + NormalizeToPx(calendarTheme_.weekAndDayRowSpace); in JudgeArea()
H A Dcalendar_theme.h93 Dimension topPadding; member
383 theme->calendarTheme_.topPadding = pattern->GetAttr<Dimension>("top_padding", 16.0_vp); in ParseCalendarThemePattern()
438 …theme->cardCalendarTheme_.topPadding = pattern->GetAttr<Dimension>("card_calendar_top_padding", 0.… in ParseCardCalendarThemePattern()
H A Drosen_render_calendar.cpp185 topPadding_ = type_ == CalendarType::SIMPLE ? 0.0 : NormalizeToPx(calendarTheme_.topPadding); in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dnav_bar_layout_algorithm.cpp131 float topPadding = padding.top.value_or(0.0f); in CheckTopEdgeOverlap() local
132 if (!NearEqual(topPadding, 0.0f) || !NearEqual(topMargin, 0.0f)) { in CheckTopEdgeOverlap()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/
H A Dsearch_layout_algorithm.cpp646 float topPadding = padding.top.value_or(0.0f); in LayoutSearchIcon() local
660 float imageVerticalOffset = topPadding; in LayoutSearchIcon()
663 if (topPadding <= iconInterval && bottomPadding <= iconInterval) { in LayoutSearchIcon()
665 } else if (topPadding <= iconInterval && bottomPadding > iconInterval) { in LayoutSearchIcon()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/
H A Dnavdestination_layout_algorithm.cpp40 float topPadding = padding.top.value_or(0.0f); in CheckTopEdgeOverlap() local
41 if (!NearEqual(topPadding, 0.0f) || !NearEqual(topMargin, 0.0f)) { in CheckTopEdgeOverlap()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_measure_layout.cpp79 auto topPadding = padding ? padding->top->GetDimension().ConvertToVp() : 0.0f; in GenPlaceChildrenConstraintNG() local
89 …roperty<double>("maxHeight", size.Height() / pipeline->GetDipScale() - topPadding - bottomPadding - in GenPlaceChildrenConstraintNG()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_pattern.cpp3984 auto topPadding = userPadding.top->GetDimension().ConvertToPx(); in GetInlinePositionYAndHeight() local
3986 … positionY += static_cast<double>(inlineMeasureItem_.inlineSizeHeight) + safeBoundary + topPadding; in GetInlinePositionYAndHeight()