/foundation/multimedia/av_session/services/session/server/test/fuzztest/avsessionitem_fuzzer/ |
H A D | avsessionitem_fuzzer.cpp | 124 bool top = *(reinterpret_cast<const bool *>(data)); in AvSessionItemTestImpl() local 140 avSessionItem->SetTop(top); in AvSessionItemTestImpl()
|
/foundation/arkui/ace_engine/adapter/ohos/capability/html/ |
H A D | html_to_span.cpp | 89 if (align == "top") { in StringToTextVerticalAlign() 507 if (key == "padding" || key == "padding-top" || key == "padding-right" || key == "padding-bottom" || in IsPaddingAttr() 516 if (key == "margin" || key == "margin-top" || key == "margin-right" || key == "margin-bottom" || in IsMarginAttr() 525 if (key == "border-radius" || key == "border-top-left-radius" || key == "border-top-right-radius" || in IsBorderAttr() 548 paddings->top = NG::CalcLength::FromString(words[TOP_PARAM]); in SetPaddingOption() 553 paddings->top = NG::CalcLength::FromString(words[TOP_PARAM]); in SetPaddingOption() 558 paddings->top = NG::CalcLength::FromString(words[TOP_PARAM]); in SetPaddingOption() 563 paddings->top = NG::CalcLength::FromString(words[TOP_PARAM]); in SetPaddingOption() 568 } else if (key == "padding-top") { in SetPaddingOption() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/flex/old_cases/ |
H A D | flex_test_ng.cpp | 487 noPadding.top = CalcLength(NOPADDING); in HWTEST_F() 586 noPadding.top = CalcLength(NOPADDING); in HWTEST_F() 689 noPadding.top = CalcLength(NOPADDING); in HWTEST_F() 774 noPadding.top = CalcLength(NOPADDING); in HWTEST_F() 874 noPadding.top = CalcLength(NOPADDING); in HWTEST_F() 978 noPadding.top = CalcLength(NOPADDING); in HWTEST_F() 1063 noPadding.top = CalcLength(NOPADDING); in HWTEST_F() 1146 noPadding.top = CalcLength(NOPADDING); in HWTEST_F() 1231 noPadding.top = CalcLength(NOPADDING); in HWTEST_F() 1316 noPadding.top in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_model_ng.cpp | 224 paddings.top = NG::CalcLength(themePadding.Top().ConvertToPx()); in ProcessDefaultStyleAndBehaviors() 724 userMargin.top = margin->top; in SetMargin() 758 paddings.top = NG::CalcLength(themePadding.Top().ConvertToPx()); in SetDefaultPadding() 1649 paddings.top = NG::CalcLength(themePadding.Top().ConvertToPx()); in ResetTextInputPadding() 2034 userMargin.top = margin.top; in SetMargin() 2045 margins.top = std::optional<CalcLength>(defaultDimen); in GetMargin() 2053 margins.top = std::optional<CalcLength>(property.top); in GetMargin() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/layout/ |
H A D | layout_property_test_ng_two.cpp | 446 * @tc.desc: Test CheckLocalizedMargin when start,top,bottom,left have values 457 paddingProperty.top = std::make_optional<CalcLength>(6.0); in HWTEST_F() 526 * @tc.desc: Test CheckLocalizedPadding when start,top,bottom,left have values 537 paddingProperty.top = std::make_optional<CalcLength>(6.0); in HWTEST_F() 824 auto top = CalcDimension(1.0); in HWTEST_F() local 830 edges.SetTop(top); in HWTEST_F() 885 auto top = CalcDimension(1.0); in HWTEST_F() local 891 edges.SetTop(top); in HWTEST_F() 1031 EXPECT_EQ(jsonValue->GetString("top"), VALUE); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | form_render_test.cpp | 404 int32_t top = 50; in HWTEST_F() local 409 EXPECT_EQ(renderDelegate->OnGetRectRelativeToWindow(top, left), ERR_INVALID_DATA); in HWTEST_F() 411 EXPECT_EQ(renderDelegate->OnGetRectRelativeToWindow(top, left), ERR_OK); in HWTEST_F() 583 int32_t top = 0; in HWTEST_F() local 585 formRenderer->GetRectRelativeToWindow(top, left); in HWTEST_F() 588 formRenderer->GetRectRelativeToWindow(top, left); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_round_corner_display_test.cpp | 1079 auto top = RoundCornerDisplayManager::RCDLayerType::TOP; in HWTEST_F() local 1083 rcdInstance.AddLayer(topName, id, top); in HWTEST_F() 1085 EXPECT_TRUE(LayerInfo.first == id && LayerInfo.second == top); in HWTEST_F() 1169 auto top = RoundCornerDisplayManager::RCDLayerType::TOP; in HWTEST_F() local 1174 rcdInstance.AddLayer(topName, id, top); in HWTEST_F() 1192 if (type == top) { in HWTEST_F() 1235 rs_rcd::RoundCornerLayer layerTmp{"top.png", 0, 0, "top.bin", 8112, 2028, 1, 896, 1848, bitMap.get()}; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_group_layout_algorithm.cpp | 60 paddingBeforeContent_ = axis_ == Axis::HORIZONTAL ? padding.left.value_or(0) : padding.top.value_or(0); in Measure() 161 auto top = padding.top.value_or(0.0f); in Layout() local 162 auto paddingOffset = OffsetF(left, top); in Layout() 328 auto offsetBeforeContent = axis_ == Axis::HORIZONTAL ? padding.left.value_or(0) : padding.top.value_or(0); in UpdateReferencePos() 330 offsetBeforeContent += axis_ == Axis::HORIZONTAL ? margin.left.value_or(0) : margin.top.value_or(0); in UpdateReferencePos() 538 float top = startPos_ + contentStartOffset_; in GetItemGroupPosition() local 540 top += headerMainSize_; in GetItemGroupPosition() 543 float delta = top - refPos; in GetItemGroupPosition()
|
/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | rosen_render_svg_ellipse.cpp | 110 return Rect(bounds.left(), bounds.top(), bounds.width(), bounds.height()); in GetPaintBounds()
|
H A D | rosen_render_svg_circle.cpp | 120 return Rect(bounds.left(), bounds.top(), bounds.width(), bounds.height()); in GetPaintBounds()
|
H A D | rosen_render_svg_rect.cpp | 110 return Rect(bounds.left(), bounds.top(), bounds.width(), bounds.height()); in GetPaintBounds()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | offscreen_canvas_pattern.h | 62 std::unique_ptr<Ace::ImageData> GetImageData(double left, double top, double width, double height);
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/ |
H A D | style.h | 120 Dimension top; member
|
/foundation/arkui/ace_engine/frameworks/core/components/flex/ |
H A D | render_flex_item.h | 45 positionParam_.top.first.SetContextAndCallback(context_, [weak = WeakClaim(this)] {
|
/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | tab_bar_item_component.cpp | 90 auto component = allChildren.top(); in UpdateStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/interfaces/ |
H A D | customtitle.js | 120 Row.padding({ top: 6, bottom: 6, left: 8, right: 8 });
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_grid_column.cpp | 77 positionStyle.top = Dimension(0.0, DimensionUnit::PX); in SetSpecializedAttr()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_side_bar_container_ffi.cpp | 92 SideBarContainerModel::GetInstance()->SetControlButtonTop(Dimension(style.top, DimensionUnit::VP)); in FfiOHOSAceFrameworkSideBarControlButton()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/ |
H A D | select_model.h | 82 virtual void SetPaddings(const std::optional<CalcDimension>& top, const std::optional<CalcDimension>& bottom,
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/ |
H A D | switch_layout_algorithm.cpp | 54 frameHeight = static_cast<float>(height) - padding.top.value() - padding.bottom.value(); in MeasureContent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_base.cpp | 93 parent = nodeStack.top(); in RevertLocalPointWithTransform()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | measure_utils.h | 99 ACE_FORCE_EXPORT PaddingProperty ConvertToCalcPaddingProperty(const std::optional<CalcDimension>& top,
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/ |
H A D | refresh_pattern.h | 187 void UpdateLoadingMarginTop(float top);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | scrollable_paint_method.cpp | 126 offset -= OffsetF(safeAreaPad.left.value_or(0.0f), safeAreaPad.top.value_or(0.0f)); in TryContentClip()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/ |
H A D | water_flow_layout_info_sw.h | 134 * @brief Calculates distance from the item's top edge to the top of the viewport. 137 * @return positive result when item's top edge is below viewport. 186 return (axis_ == Axis::VERTICAL ? margins_.front().top : margins_.front().left).value_or(0.0f); in TopMargin() 222 /* Record total offset when continuously scrolling. No longer accurate after jump. Reset when reach top */
|