Home
last modified time | relevance | path

Searched refs:itemLayoutProperty (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/indexer/
H A Dindexer_layout_test_ng.cpp213 EXPECT_EQ(itemLayoutProperty->GetFontSize(), defaultFont.GetFontSize());
215 EXPECT_EQ(itemLayoutProperty->GetFontWeight(), defaultFont.GetFontWeight());
220 EXPECT_EQ(itemLayoutProperty->GetFontSize(), selectedFont.GetFontSize());
254 EXPECT_EQ(itemLayoutProperty->GetFontSize(), fontSize);
255 EXPECT_EQ(itemLayoutProperty->GetFontFamily(), fontFamily);
256 EXPECT_EQ(itemLayoutProperty->GetFontWeight(), fontWeight);
257 EXPECT_EQ(itemLayoutProperty->GetItalicFontStyle(), fontStyle);
260 EXPECT_EQ(itemLayoutProperty->GetFontSize(), fontSize);
261 EXPECT_EQ(itemLayoutProperty->GetFontFamily(), fontFamily);
262 EXPECT_EQ(itemLayoutProperty->GetFontWeight(), fontWeight);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_event_hub.cpp89 …RefPtr<GridItemLayoutProperty> itemLayoutProperty = itemFrameNode->GetLayoutProperty<GridItemLayou… in GetInsertPosition() local
90 CHECK_NULL_RETURN(itemLayoutProperty, 0); in GetInsertPosition()
91 auto mainIndex = itemLayoutProperty->GetMainIndex().value_or(-1); in GetInsertPosition()
92 auto crossIndex = itemLayoutProperty->GetCrossIndex().value_or(-1); in GetInsertPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/
H A Dgrid_scroll_layout_algorithm.cpp703 if (itemLayoutProperty->GetRowStart().has_value()) { in NeedAdjust()
709 if (itemLayoutProperty->GetRowEnd().has_value()) { in NeedAdjust()
710 currentItemRowEnd_ = itemLayoutProperty->GetRowEnd().value_or(-1); in NeedAdjust()
715 if (itemLayoutProperty->GetColumnStart().has_value()) { in NeedAdjust()
721 if (itemLayoutProperty->GetColumnEnd().has_value()) { in NeedAdjust()
734 CHECK_NULL_VOID(itemLayoutProperty); in AdjustRowColSpan()
742 needAdjust = NeedAdjust(itemLayoutProperty); in AdjustRowColSpan()
767 itemLayoutProperty->UpdateRealRowSpan(currentItemRowSpan_); in AdjustRowColSpan()
768 itemLayoutProperty->UpdateRealColumnSpan(currentItemColSpan_); in AdjustRowColSpan()
2244 if (!itemLayoutProperty) { in CheckLastLineItemFullyShowed()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/
H A Dgrid_attr_test_ng.cpp738 auto itemLayoutProperty = GetChildLayoutProperty<GridItemLayoutProperty>(frameNode_, 0); variable
739 itemLayoutProperty->UpdateColumnStart(0);
740 itemLayoutProperty->UpdateColumnEnd(1);
H A Dgrid_layout_test_ng.cpp1979 auto itemLayoutProperty = GetChildLayoutProperty<GridItemLayoutProperty>(frameNode_, 2); variable
1980 itemLayoutProperty->UpdateMargin(margin);
1981 itemLayoutProperty->UpdatePadding(padding);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/list/
H A Dlist_swipe_test_ng.cpp1275 auto itemLayoutProperty = listItemPattern->GetLayoutProperty<ListItemLayoutProperty>(); variable
1276 EXPECT_EQ(itemLayoutProperty->GetStartDeleteAreaDistance(), Dimension(startDeleteDistance));
1292 EXPECT_EQ(itemLayoutProperty->GetEndDeleteAreaDistance(), Dimension(endDeleteDistance));
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/
H A Dwater_flow_test_ng.cpp1880 auto itemLayoutProperty = GetChildLayoutProperty<WaterFlowItemLayoutProperty>(frameNode_, 2); variable
1881 itemLayoutProperty->UpdateMargin(margin);
1882 itemLayoutProperty->UpdatePadding(padding);