Searched refs:itemLayoutProperty (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/indexer/ |
H A D | indexer_layout_test_ng.cpp | 213 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 D | grid_event_hub.cpp | 89 …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 D | grid_scroll_layout_algorithm.cpp | 703 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 D | grid_attr_test_ng.cpp | 738 auto itemLayoutProperty = GetChildLayoutProperty<GridItemLayoutProperty>(frameNode_, 0); variable 739 itemLayoutProperty->UpdateColumnStart(0); 740 itemLayoutProperty->UpdateColumnEnd(1);
|
H A D | grid_layout_test_ng.cpp | 1979 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 D | list_swipe_test_ng.cpp | 1275 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 D | water_flow_test_ng.cpp | 1880 auto itemLayoutProperty = GetChildLayoutProperty<WaterFlowItemLayoutProperty>(frameNode_, 2); variable 1881 itemLayoutProperty->UpdateMargin(margin); 1882 itemLayoutProperty->UpdatePadding(padding);
|