/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/ |
H A D | qrcode_layout_algorithm.cpp | 45 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 D | button_layout_algorithm.cpp | 214 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 D | calendar_month_pattern.cpp | 359 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 D | calendar_paint_method.cpp | 599 topPadding_ = isCalendarDialog_ ? 0.0 : theme->GetCalendarTheme().topPadding.ConvertToPx(); in SetCalendarTheme()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/ |
H A D | render_calendar.cpp | 367 auto topPadding = NormalizeToPx(calendarTheme_.topPadding); in JudgeArea() local 368 auto browHeight = weekHeight_ + topPadding + NormalizeToPx(calendarTheme_.weekAndDayRowSpace); in JudgeArea()
|
H A D | calendar_theme.h | 93 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 D | rosen_render_calendar.cpp | 185 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 D | nav_bar_layout_algorithm.cpp | 131 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 D | search_layout_algorithm.cpp | 646 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 D | navdestination_layout_algorithm.cpp | 40 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 D | js_view_measure_layout.cpp | 79 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 D | text_field_pattern.cpp | 3984 auto topPadding = userPadding.top->GetDimension().ConvertToPx(); in GetInlinePositionYAndHeight() local 3986 … positionY += static_cast<double>(inlineMeasureItem_.inlineSizeHeight) + safeBoundary + topPadding; in GetInlinePositionYAndHeight()
|