Home
last modified time | relevance | path

Searched refs:layoutProperty (Results 1 - 25 of 440) sorted by relevance

12345678910>>...18

/foundation/arkui/ace_engine/test/unittest/core/layout/
H A Dlayout_property_test_ng.cpp83 void MakeProperty(RefPtr<LayoutProperty> layoutProperty) in MakeProperty() argument
85 layoutProperty->calcLayoutConstraint_ = std::make_unique<MeasureProperty>(); in MakeProperty()
86 layoutProperty->positionProperty_ = std::make_unique<PositionProperty>(); in MakeProperty()
87 layoutProperty->flexItemProperty_ = std::make_unique<FlexItemProperty>(); in MakeProperty()
88 layoutProperty->borderWidth_ = std::make_unique<BorderWidthProperty>(); in MakeProperty()
89 layoutProperty->gridProperty_ = std::make_unique<GridProperty>(); in MakeProperty()
90 layoutProperty->padding_ = std::make_unique<PaddingProperty>(); in MakeProperty()
91 layoutProperty->margin_ = std::make_unique<MarginProperty>(); in MakeProperty()
92 layoutProperty->safeAreaInsets_ = std::make_unique<SafeAreaInsets>(); in MakeProperty()
93 layoutProperty in MakeProperty()
130 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
177 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
223 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
253 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
300 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
343 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
378 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
418 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
462 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
519 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
551 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
602 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
651 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
695 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
738 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
777 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
814 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
858 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
892 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
936 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
954 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
981 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1008 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1028 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1065 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1093 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1158 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1194 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1218 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1243 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1263 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1302 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1341 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1373 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1418 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1461 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1501 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1541 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1582 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1617 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1658 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1693 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1735 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1769 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1822 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1870 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1924 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
[all...]
H A Dlayout_property_test_ng_two.cpp58 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); in HWTEST_F() local
60 layoutProperty->SetHost(frameNodeHost); in HWTEST_F()
70 layoutProperty->CheckLocalizedBorderImageOutset(textDirection); in HWTEST_F()
74 layoutProperty->CheckLocalizedBorderImageOutset(textDirection); in HWTEST_F()
85 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); in HWTEST_F() local
87 layoutProperty->SetHost(frameNodeHost); in HWTEST_F()
97 layoutProperty->CheckLocalizedBorderImageOutset(textDirection); in HWTEST_F()
101 layoutProperty->CheckLocalizedBorderImageOutset(textDirection); in HWTEST_F()
112 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); in HWTEST_F() local
114 layoutProperty in HWTEST_F()
134 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
161 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
188 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
210 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
237 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
264 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
286 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
314 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
345 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
367 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
399 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
429 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
451 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
481 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
509 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
531 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
561 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
589 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
611 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
634 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
662 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
693 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
717 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
750 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
774 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
820 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
857 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
881 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
918 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
942 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
960 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
978 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
996 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
1018 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/badge/
H A Dbadge_model_ng.cpp36 auto layoutProperty = frameNode->GetLayoutProperty<BadgeLayoutProperty>(); in Create() local
37 layoutProperty->SetIsDefault(isDefaultFontSize_, isDefaultBadgeSize_); in Create()
40 layoutProperty->UpdateBadgeValue(badgeParameters.badgeValue.value()); in Create()
43 layoutProperty->UpdateBadgeCount(badgeParameters.badgeCount.value()); in Create()
46 layoutProperty->UpdateBadgeMaxCount(badgeParameters.badgeMaxCount.value()); in Create()
48 layoutProperty->UpdateBadgeMaxCount(badgeTheme->GetMaxCount()); in Create()
53 layoutProperty->UpdateBadgePosition(badgePosition); in Create()
55 layoutProperty->UpdateBadgePosition(badgeTheme->GetBadgePosition()); in Create()
58 layoutProperty->UpdateBadgePositionX(badgeParameters.badgePositionX.value()); in Create()
60 layoutProperty in Create()
80 auto layoutProperty = frameNode->GetLayoutProperty<BadgeLayoutProperty>(); UpdateBadgeStyle() local
129 auto layoutProperty = frameNode->GetLayoutProperty<BadgeLayoutProperty>(); SetBadgeParam() local
[all...]
H A Dbadge_pattern.cpp44 auto layoutProperty = frameNode->GetLayoutProperty<BadgeLayoutProperty>(); in OnModifyDone() local
45 CHECK_NULL_VOID(layoutProperty); in OnModifyDone()
46 auto badgeCount = layoutProperty->GetBadgeCount(); in OnModifyDone()
47 auto badgeValue = layoutProperty->GetBadgeValue(); in OnModifyDone()
52 auto badgeMaxCount = layoutProperty->GetBadgeMaxCount().value_or(maxCountNum); in OnModifyDone()
66 if (layoutProperty->GetBadgeFontWeight().has_value()) { in OnModifyDone()
67 textLayoutProperty->UpdateFontWeight(layoutProperty->GetBadgeFontWeightValue()); in OnModifyDone()
77 auto circleSize = layoutProperty->GetBadgeCircleSize(); in OnModifyDone()
82 Dimension width = layoutProperty->GetBadgeBorderWidthValue(badgeTheme->GetBadgeBorderWidth()); in OnModifyDone()
87 auto badgeTextColor = layoutProperty in OnModifyDone()
115 auto layoutProperty = GetLayoutProperty<BadgeLayoutProperty>(); DumpInfo() local
141 auto layoutProperty = GetLayoutProperty<BadgeLayoutProperty>(); DumpInfo() local
167 auto layoutProperty = GetLayoutProperty<BadgeLayoutProperty>(); DumpSimplifyInfo() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/side_bar/
H A Dside_bar_container_layout_algorithm.cpp49 auto layoutProperty = AceType::DynamicCast<SideBarContainerLayoutProperty>(layoutWrapper->GetLayoutProperty()); in Measure() local
50 CHECK_NULL_VOID(layoutProperty); in Measure()
51 const auto& constraint = layoutProperty->GetLayoutConstraint(); in Measure()
54 layoutProperty->GetMeasureType(MeasureType::MATCH_PARENT)).ConvertToSizeT() : in Measure()
56 constraint.value(), Axis::HORIZONTAL, layoutProperty->GetMeasureType(MeasureType::MATCH_PARENT), true); in Measure()
66 GetAllPropertyValue(layoutProperty, parentWidth); in Measure()
73 type_ = layoutProperty->GetSideBarContainerType().value_or(SideBarContainerType::EMBED); in Measure()
76 auto type = layoutProperty->GetSideBarContainerType().value_or(SideBarContainerType::EMBED); in Measure()
78 AutoMode(layoutProperty, parentWidth); in Measure()
81 if ((parentWidth < typeUpdateWidth_) && (!layoutProperty in Measure()
167 auto layoutProperty = AceType::DynamicCast<SideBarContainerLayoutProperty>(layoutWrapper->GetLayoutProperty()); AdjustMinAndMaxSideBarWidth() local
209 GetAllPropertyValue( const RefPtr<SideBarContainerLayoutProperty>& layoutProperty, float parentWidth) GetAllPropertyValue() argument
347 auto layoutProperty = AceType::DynamicCast<SideBarContainerLayoutProperty>(layoutWrapper->GetLayoutProperty()); InitRealSideBarWidth() local
369 AutoChangeSideBarWidth( const RefPtr<SideBarContainerLayoutProperty>& layoutProperty, float parentWidth) AutoChangeSideBarWidth() argument
388 AutoMode( const RefPtr<SideBarContainerLayoutProperty>& layoutProperty, float parentWidth) AutoMode() argument
405 MeasureSideBar( const RefPtr<SideBarContainerLayoutProperty>& layoutProperty, const RefPtr<LayoutWrapper>& sideBarLayoutWrapper) MeasureSideBar() argument
449 MeasureDivider(const RefPtr<SideBarContainerLayoutProperty>& layoutProperty, const RefPtr<LayoutWrapper>& dividerLayoutWrapper, float parentWidth) MeasureDivider() argument
480 MeasureSideBarContent( const RefPtr<SideBarContainerLayoutProperty>& layoutProperty, const RefPtr<LayoutWrapper>& contentLayoutWrapper, float parentWidth) MeasureSideBarContent() argument
512 MeasureControlButton(const RefPtr<SideBarContainerLayoutProperty>& layoutProperty, const RefPtr<LayoutWrapper>& buttonLayoutWrapper, float parentWidth) MeasureControlButton() argument
562 auto layoutProperty = AceType::DynamicCast<SideBarContainerLayoutProperty>(layoutWrapper->GetLayoutProperty()); LayoutControlButton() local
623 auto layoutProperty = AceType::DynamicCast<SideBarContainerLayoutProperty>(layoutWrapper->GetLayoutProperty()); LayoutSideBar() local
665 auto layoutProperty = AceType::DynamicCast<SideBarContainerLayoutProperty>(layoutWrapper->GetLayoutProperty()); LayoutSideBarContent() local
691 auto layoutProperty = AceType::DynamicCast<SideBarContainerLayoutProperty>(layoutWrapper->GetLayoutProperty()); LayoutDivider() local
740 GetSideBarPositionWithRtl( const RefPtr<SideBarContainerLayoutProperty>& layoutProperty) GetSideBarPositionWithRtl() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_indicator/
H A Dlinear_indicator_pattern.cpp46 RefPtr<LinearIndicatorLayoutProperty> layoutProperty = GetLayoutProperty<LinearIndicatorLayoutProperty>(); in UpdateProgressNode() local
47 CHECK_NULL_VOID(layoutProperty); in UpdateProgressNode()
50 std::size_t newCount = layoutProperty->GetProgressCountValue(theme_->GetDefaultProgressCount()); in UpdateProgressNode()
57 if (IsChangeLayoutPropertyAndUpdate(layoutProperty)) { in UpdateProgressNode()
66 controller_->Loop(layoutProperty->GetLoopValue(theme_->GetDefaultLoop())); in UpdateProgressNode()
69 bool LinearIndicatorPattern::IsChangeLayoutPropertyAndUpdate(RefPtr<LinearIndicatorLayoutProperty> layoutProperty) in IsChangeLayoutPropertyAndUpdate() argument
72 CHECK_NULL_RETURN(layoutProperty, ret); in IsChangeLayoutPropertyAndUpdate()
75 Dimension strokeWidth = layoutProperty->GetStrokeWidthValue(theme_->GetDefaultStrokeWidth()); in IsChangeLayoutPropertyAndUpdate()
76 Dimension strokeRadius = layoutProperty->GetStrokeRadiusValue(theme_->GetDefaultStrokeRadius()); in IsChangeLayoutPropertyAndUpdate()
77 Color trackBackgroundColor = layoutProperty in IsChangeLayoutPropertyAndUpdate()
195 auto layoutProperty = GetLayoutProperty<LinearIndicatorLayoutProperty>(); CalcProgressWidth() local
222 auto layoutProperty = GetLayoutProperty<LinearIndicatorLayoutProperty>(); DumpInfo() local
248 auto layoutProperty = GetLayoutProperty<LinearIndicatorLayoutProperty>(); DumpInfo() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dspan_sub_test_ng.cpp925 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); in HWTEST_F() local
926 ASSERT_NE(layoutProperty, nullptr); in HWTEST_F()
929 layoutProperty->UpdateBaselineOffset(offset); in HWTEST_F()
930 EXPECT_TRUE(layoutProperty->HasBaselineOffset()); in HWTEST_F()
931 EXPECT_EQ(layoutProperty->GetBaselineOffset(), Dimension(0.0, DimensionUnit::PX)); in HWTEST_F()
947 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); in HWTEST_F() local
948 ASSERT_NE(layoutProperty, nullptr); in HWTEST_F()
951 layoutProperty->UpdateBaselineOffset(offset); in HWTEST_F()
952 EXPECT_TRUE(layoutProperty->HasBaselineOffset()); in HWTEST_F()
953 EXPECT_EQ(layoutProperty in HWTEST_F()
969 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
991 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1013 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1035 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1057 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1079 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1101 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1123 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1145 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1167 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1189 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1214 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1239 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1261 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1283 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1305 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1327 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1349 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1371 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1393 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1430 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1470 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1510 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
1550 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid_col/
H A Dgrid_col_test_ng.cpp73 * @tc.steps: step2. Get frameNode, layoutProperty. in HWTEST_F()
78 auto layoutProperty = frameNode->GetLayoutProperty<GridColLayoutProperty>(); in HWTEST_F() local
79 ASSERT_NE(layoutProperty, nullptr); in HWTEST_F()
80 EXPECT_EQ(layoutProperty->GetSpan(), testVal); in HWTEST_F()
81 EXPECT_EQ(layoutProperty->GetOffset(), testVal); in HWTEST_F()
82 EXPECT_EQ(layoutProperty->GetOrder(), testVal); in HWTEST_F()
85 auto clone = layoutProperty->Clone(); in HWTEST_F()
88 layoutProperty->ToJsonValue(json, filter); in HWTEST_F()
100 * @tc.steps: step1. Create gridCol and get frameNode, layoutProperty. in HWTEST_F()
106 auto layoutProperty in HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtabs_layout_algorithm.cpp27 auto layoutProperty = AceType::DynamicCast<TabsLayoutProperty>(layoutWrapper->GetLayoutProperty()); in Measure() local
28 CHECK_NULL_VOID(layoutProperty); in Measure()
31 auto axis = layoutProperty->GetAxis().value_or(Axis::HORIZONTAL); in Measure()
32 auto constraint = layoutProperty->GetLayoutConstraint(); in Measure()
34 layoutProperty->GetMeasureType(MeasureType::MATCH_PARENT)).ConvertToSizeT(); in Measure()
40 MinusPaddingToSize(layoutProperty->CreatePaddingAndBorder(), idealSize); in Measure()
41 auto childLayoutConstraint = layoutProperty->CreateChildConstraint(); in Measure()
56 dividerStrokeWidth = MeasureDivider(layoutProperty, dividerWrapper, idealSize); in Measure()
59 auto barOverlap = layoutProperty->GetBarOverlap().value_or(false); in Measure()
64 swiperWrapper->GetLayoutProperty()->UpdateLayoutDirection(layoutProperty in Measure()
99 auto layoutProperty = AceType::DynamicCast<TabsLayoutProperty>(layoutWrapper->GetLayoutProperty()); Layout() local
156 auto layoutProperty = DynamicCast<TabsLayoutProperty>(layoutWrapper->GetLayoutProperty()); LayoutOffsetList() local
200 auto layoutProperty = AceType::DynamicCast<TabsLayoutProperty>(layoutWrapper->GetLayoutProperty()); GetBarPosition() local
207 auto layoutProperty = AceType::DynamicCast<TabsLayoutProperty>(layoutWrapper->GetLayoutProperty()); GetAxis() local
214 auto layoutProperty = AceType::DynamicCast<TabsLayoutProperty>(layoutWrapper->GetLayoutProperty()); GetDivider() local
220 MeasureDivider(const RefPtr<TabsLayoutProperty>& layoutProperty, const RefPtr<LayoutWrapper>& dividerWrapper, const SizeF& idealSize) MeasureDivider() argument
251 MeasureSwiper(const RefPtr<TabsLayoutProperty>& layoutProperty, RefPtr<LayoutWrapper>& swiperWrapper, const SizeF& idealSize, const SizeF& tabBarSize, const float dividerWidth) MeasureSwiper() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_accessibility_property.cpp25 auto layoutProperty = frameNode->GetLayoutProperty<IndexerLayoutProperty>(); in GetCollectionItemCounts() local
26 CHECK_NULL_RETURN(layoutProperty, 0); in GetCollectionItemCounts()
27 if (layoutProperty->GetActualArrayValue().has_value()) { in GetCollectionItemCounts()
28 auto arrayValue = layoutProperty->GetActualArrayValue().value(); in GetCollectionItemCounts()
53 auto layoutProperty = frameNode->GetLayoutProperty<IndexerLayoutProperty>(); in GetText() local
54 CHECK_NULL_RETURN(layoutProperty, ""); in GetText()
55 if (layoutProperty->GetActualArrayValue().has_value()) { in GetText()
56 auto arrayValue = layoutProperty->GetActualArrayValue().value(); in GetText()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/
H A Dbutton_pattern.cpp55 bool ButtonPattern::NeedAgingUpdateText(RefPtr<ButtonLayoutProperty>& layoutProperty) in NeedAgingUpdateText() argument
57 CHECK_NULL_RETURN(layoutProperty, false); in NeedAgingUpdateText()
64 if (layoutProperty->HasType() && layoutProperty->GetType() == ButtonType::CIRCLE) { in NeedAgingUpdateText()
68 if (layoutProperty->HasLabel() && layoutProperty->GetLabel()->empty()) { in NeedAgingUpdateText()
72 if (layoutProperty->HasFontSize() && layoutProperty->GetFontSize()->Unit() != DimensionUnit::FP) { in NeedAgingUpdateText()
75 const auto& calcConstraint = layoutProperty->GetCalcLayoutConstraint(); in NeedAgingUpdateText()
89 RefPtr<ButtonLayoutProperty>& layoutProperty, RefPt in UpdateTextLayoutProperty()
88 UpdateTextLayoutProperty( RefPtr<ButtonLayoutProperty>& layoutProperty, RefPtr<TextLayoutProperty>& textLayoutProperty) UpdateTextLayoutProperty() argument
141 UpdateTextStyle( RefPtr<ButtonLayoutProperty>& layoutProperty, RefPtr<TextLayoutProperty>& textLayoutProperty) UpdateTextStyle() argument
179 auto layoutProperty = GetLayoutProperty<ButtonLayoutProperty>(); InitButtonLabel() local
414 auto layoutProperty = GetLayoutProperty<ButtonLayoutProperty>(); HandleBackgroundColor() local
547 auto layoutProperty = GetLayoutProperty<ButtonLayoutProperty>(); BuildContentModifierNode() local
610 UpdateTextFontScale( RefPtr<ButtonLayoutProperty>& layoutProperty, RefPtr<TextLayoutProperty>& textLayoutProperty) UpdateTextFontScale() argument
630 auto layoutProperty = GetLayoutProperty<ButtonLayoutProperty>(); OnFontScaleConfigurationUpdate() local
[all...]
H A Dbutton_pattern.h85 auto layoutProperty = host->GetLayoutProperty<ButtonLayoutProperty>(); variable
87 auto isNeedAdjust = layoutProperty->HasAspectRatio() &&
88 layoutProperty->GetType().value_or(ButtonType::CAPSULE) != ButtonType::CIRCLE;
90 isNeedAdjust = layoutProperty->HasAspectRatio() &&
91 layoutProperty->GetType().value_or(ButtonType::ROUNDED_RECTANGLE) != ButtonType::CIRCLE;
133 auto layoutProperty = host->GetLayoutProperty<ButtonLayoutProperty>(); variable
134 CHECK_NULL_VOID(layoutProperty); variable
140 auto buttonType = layoutProperty->GetType().value_or(ButtonType::CAPSULE);
142 buttonType = layoutProperty->GetType().value_or(ButtonType::ROUNDED_RECTANGLE);
147 layoutProperty
184 auto layoutProperty = host->GetLayoutProperty<ButtonLayoutProperty>(); ToJsonValueAttribute() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid_row/old_cases/
H A Dgrid_row_test_ng.cpp131 auto layoutProperty = layoutWrapper->GetLayoutProperty(); in CreateLayoutWrapperAndLayout() local
132 layoutProperty->BuildGridProperty(rowNode_); in CreateLayoutWrapperAndLayout()
133 layoutProperty->UpdateLayoutConstraint(constraint); in CreateLayoutWrapperAndLayout()
136 layoutProperty->UpdateContentConstraint(); in CreateLayoutWrapperAndLayout()
150 auto layoutProperty = colNode->GetLayoutProperty<GridColLayoutProperty>(); in TestGridColWidth() local
151 layoutProperty->UpdateSpan(V2::GridContainerSize(span)); in TestGridColWidth()
152 layoutProperty->UpdateOffset(V2::GridContainerSize(0)); in TestGridColWidth()
225 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); in HWTEST_F() local
229 layoutProperty->UpdateColumns(columns); in HWTEST_F()
230 layoutProperty in HWTEST_F()
247 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
271 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
328 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
360 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
393 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
429 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
465 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
501 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
535 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
586 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
634 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
682 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
730 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
778 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
829 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
878 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
926 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
975 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
1024 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
1075 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
1123 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
1171 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
1219 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
1266 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
1317 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
1366 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
1415 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
1464 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
1514 auto layoutProperty = rowNode_->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
1561 auto layoutProperty = frameNode->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
1609 auto layoutProperty = frameNode->GetLayoutProperty<GridRowLayoutProperty>(); HWTEST_F() local
1633 auto layoutProperty = frameNode->GetLayoutProperty<GridColLayoutProperty>(); HWTEST_F() local
1672 auto layoutProperty = frameNode->GetLayoutProperty<GridColLayoutProperty>(); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dimage_span_view.cpp90 const auto& layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); in Create() local
91 CHECK_NULL_VOID(layoutProperty); in Create()
92 const auto& src = layoutProperty->GetImageSourceInfo().value_or(ImageSourceInfo("")); in Create()
105 auto layoutProperty = imageSpanNode->GetLayoutProperty<ImageLayoutProperty>(); in CreateFrameNode() local
106 layoutProperty->UpdateHasPlaceHolderStyle(false); in CreateFrameNode()
114 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); in GetImageSpanSrc() local
115 CHECK_NULL_RETURN(layoutProperty, defaultImageSource); in GetImageSpanSrc()
116 return layoutProperty->GetImageSourceInfo().value_or(defaultImageSource); in GetImageSpanSrc()
122 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); in GetObjectFit() local
123 CHECK_NULL_RETURN(layoutProperty, ImageFi in GetObjectFit()
130 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); GetVerticalAlign() local
139 auto layoutProperty = frameNode->GetLayoutProperty<ImageLayoutProperty>(); GetSpanTextBackgroundStyle() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/navrouter/
H A Dnavrouter_model_test_ng.cpp99 auto layoutProperty = AceType::MakeRefPtr<NavigationLayoutProperty>(); in HWTEST_F() local
100 parent->layoutProperty_ = layoutProperty; in HWTEST_F()
398 auto layoutProperty = AceType::MakeRefPtr<LayoutProperty>(); in HWTEST_F() local
402 AceType::WeakClaim(AceType::RawPtr(barItem)), geometryNode, layoutProperty); in HWTEST_F()
521 auto layoutProperty = AceType::MakeRefPtr<NavBarLayoutProperty>(); in HWTEST_F() local
523 AceType::WeakClaim(AceType::RawPtr(navBar)), geometryNode, layoutProperty); in HWTEST_F()
546 layoutProperty->layoutConstraint_ = constraint; in HWTEST_F()
547 layoutProperty->propHideTitleBar_ = true; in HWTEST_F()
548 layoutProperty->contentConstraint_ = constraint2; in HWTEST_F()
557 layoutProperty in HWTEST_F()
648 auto layoutProperty = titleBarNode->GetLayoutProperty<TitleBarLayoutProperty>(); HWTEST_F() local
858 auto layoutProperty = titleBarNode->GetLayoutProperty<TitleBarLayoutProperty>(); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/
H A Ddrag_bar_layout_algorithm.cpp32 auto layoutProperty = AceType::DynamicCast<DragBarLayoutProperty>(layoutWrapper->GetLayoutProperty()); in MeasureContent() local
33 CHECK_NULL_RETURN(layoutProperty, std::nullopt); in MeasureContent()
34 const auto& layoutConstraint = layoutProperty->GetLayoutConstraint(); in MeasureContent()
37 auto idealSize = CreateIdealSize(contentConstraint, Axis::HORIZONTAL, layoutProperty->GetMeasureType(), true); in MeasureContent()
38 auto hotRegionHeight = layoutProperty->GetHotRegionHeight().value_or(HOT_REGION_HEIGHT.ConvertToPx()); in MeasureContent()
43 auto fullScreenMode = layoutProperty->GetFullScreenMode().value_or(false); in MeasureContent()
48 layoutProperty->UpdatePadding({ CalcLength(PADDING), CalcLength(PADDING), {}, {} }); in MeasureContent()
H A Dsliding_panel_layout_algorithm.cpp37 auto layoutProperty = AceType::DynamicCast<SlidingPanelLayoutProperty>(layoutWrapper->GetLayoutProperty()); in Measure() local
38 CHECK_NULL_VOID(layoutProperty); in Measure()
39 auto layoutConstraint = layoutProperty->GetLayoutConstraint(); in Measure()
50 layoutProperty->GetMeasureType(MeasureType::MATCH_PARENT)).ConvertToSizeT() in Measure()
52 layoutProperty->GetMeasureType(MeasureType::MATCH_PARENT), true)) in Measure()
59 MinusPaddingToSize(layoutProperty->CreatePaddingAndBorder(), idealSize); in Measure()
60 auto type = layoutProperty->GetPanelType(); in Measure()
68 auto calc = layoutProperty->GetCustomHeight().value_or(Dimension(0.0)); in Measure()
82 MeasureCloseIcon(closeIconWrapper, layoutProperty); in Measure()
89 auto layoutProperty in Layout() local
[all...]
H A Dsliding_panel_pattern.cpp37 auto layoutProperty = host->GetLayoutProperty<SlidingPanelLayoutProperty>(); in OnModifyDone() local
38 CHECK_NULL_VOID(layoutProperty); in OnModifyDone()
44 if (layoutProperty->GetPanelType() == PanelType::CUSTOM) { in OnModifyDone()
45 auto calc = layoutProperty->GetCustomHeight().value_or(Dimension(0.0)); in OnModifyDone()
51 AddOrRemoveDragBarNode(layoutProperty); in OnModifyDone()
52 AddOrRemoveCloseIconNode(layoutProperty); in OnModifyDone()
53 if (layoutProperty->GetHasDragBarValue(true)) { in OnModifyDone()
63 if (layoutProperty->GetShowCloseIconValue(false)) { in OnModifyDone()
79 auto layoutProperty = host->GetLayoutProperty<SlidingPanelLayoutProperty>(); in UpdatePanelRenderContext() local
80 CHECK_NULL_VOID(layoutProperty); in UpdatePanelRenderContext()
126 auto layoutProperty = AceType::DynamicCast<SlidingPanelLayoutProperty>(dirty->GetLayoutProperty()); OnDirtyLayoutWrapperSwap() local
168 auto layoutProperty = GetLayoutProperty<SlidingPanelLayoutProperty>(); Update() local
218 auto layoutProperty = GetLayoutProperty<SlidingPanelLayoutProperty>(); InitializeLayoutProps() local
255 auto layoutProperty = GetLayoutProperty<SlidingPanelLayoutProperty>(); FirstLayout() local
293 auto layoutProperty = GetLayoutProperty<SlidingPanelLayoutProperty>(); IsShowChanged() local
415 auto layoutProperty = GetLayoutProperty<SlidingPanelLayoutProperty>(); InitPanEvent() local
425 auto layoutProperty = GetLayoutProperty<SlidingPanelLayoutProperty>(); IsNeedResetPanEvent() local
762 auto layoutProperty = GetLayoutProperty<SlidingPanelLayoutProperty>(); FireSizeChangeEvent() local
787 auto layoutProperty = GetLayoutProperty<SlidingPanelLayoutProperty>(); FireHeightChangeEvent() local
868 auto layoutProperty = GetLayoutProperty<SlidingPanelLayoutProperty>(); ToJsonValue() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_field_pattern_testfour.cpp42 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); in HWTEST_F() local
43 ASSERT_NE(layoutProperty, nullptr); in HWTEST_F()
44 layoutProperty->UpdateNumberOfLines(1024); in HWTEST_F()
62 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); in HWTEST_F() local
63 ASSERT_NE(layoutProperty, nullptr); in HWTEST_F()
64 layoutProperty->UpdateMaxLines(0); in HWTEST_F()
65 layoutProperty->UpdateShowCounter(true); in HWTEST_F()
66 layoutProperty->UpdateMaxLength(1024); in HWTEST_F()
67 layoutProperty->UpdateShowUnderline(true); in HWTEST_F()
69 layoutProperty in HWTEST_F()
247 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
280 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
361 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
404 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
441 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
482 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
[all...]
H A Dtext_field_pattern_testtwo.cpp200 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); in HWTEST_F() local
201 ASSERT_NE(layoutProperty, nullptr); in HWTEST_F()
202 layoutProperty->UpdateMaxLines(0); in HWTEST_F()
203 layoutProperty->UpdateTextInputType(TextInputType::VISIBLE_PASSWORD); in HWTEST_F()
343 auto layoutProperty = pattern->GetLayoutProperty<TextFieldLayoutProperty>(); in HWTEST_F() local
344 ASSERT_NE(layoutProperty, nullptr); in HWTEST_F()
345 layoutProperty->UpdateFontSize(Dimension(10)); in HWTEST_F()
379 auto layoutProperty = pattern->GetLayoutProperty<TextFieldLayoutProperty>(); in HWTEST_F() local
380 ASSERT_NE(layoutProperty, nullptr); in HWTEST_F()
381 layoutProperty in HWTEST_F()
414 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
446 auto layoutProperty = pattern->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
489 auto layoutProperty = pattern->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
730 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
811 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
839 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
875 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
955 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
990 auto layoutProperty = frameNode_->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
1020 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
1046 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
1082 auto layoutProperty = pattern->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
1144 auto layoutProperty = pattern->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
1224 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
1257 auto layoutProperty = pattern->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
1291 auto layoutProperty = pattern->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
1359 auto layoutProperty = pattern->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
1413 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
1434 auto layoutProperty = textFieldNode->GetLayoutProperty<TextFieldLayoutProperty>(); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/shape/
H A Dpath_pattern_test_ng.cpp56 auto layoutProperty = frameNode->GetLayoutProperty(); variable
57 EXPECT_EQ(layoutProperty == nullptr, false);
65 layoutProperty->UpdateLayoutConstraint(layoutConstraint);
66 layoutProperty->UpdateContentConstraint();
67 auto size = layoutAlgorithm->MeasureContent(layoutProperty->CreateContentConstraint(), nullptr);
134 auto layoutProperty = frameNode->GetLayoutProperty(); in HWTEST_F() local
140 layoutProperty->UpdateLayoutConstraint(layoutConstraint); in HWTEST_F()
141 layoutProperty->UpdateContentConstraint(); in HWTEST_F()
151 layoutProperty->CreateContentConstraint(), AccessibilityManager::RawPtr(layoutWrapper)); in HWTEST_F()
152 EXPECT_NE(size01, layoutProperty in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/
H A Dsearch_layout_algorithm.cpp40 auto layoutProperty = AceType::DynamicCast<SearchLayoutProperty>(layoutWrapper->GetLayoutProperty()); in IsFixedHeightMode() local
41 CHECK_NULL_RETURN(layoutProperty, false); in IsFixedHeightMode()
43 auto constraint = layoutProperty->GetLayoutConstraint(); in IsFixedHeightMode()
49 auto layoutProperty = AceType::DynamicCast<SearchLayoutProperty>(layoutWrapper->GetLayoutProperty()); in CancelImageMeasure() local
50 CHECK_NULL_VOID(layoutProperty); in CancelImageMeasure()
63 auto constraint = layoutProperty->GetLayoutConstraint(); in CancelImageMeasure()
66 auto imageHeight = static_cast<float>(std::min(layoutProperty->HasCancelButtonUDSize() ? in CancelImageMeasure()
67 layoutProperty->GetCancelButtonUDSizeValue().ConvertToPx() : defaultImageHeight, in CancelImageMeasure()
76 auto childLayoutConstraint = layoutProperty->CreateChildConstraint(); in CancelImageMeasure()
85 auto layoutProperty in CancelButtonMeasure() local
122 auto layoutProperty = AceType::DynamicCast<SearchLayoutProperty>(layoutWrapper->GetLayoutProperty()); TextFieldMeasure() local
173 auto layoutProperty = AceType::DynamicCast<SearchLayoutProperty>(layoutWrapper->GetLayoutProperty()); UpdateFontFeature() local
187 auto layoutProperty = AceType::DynamicCast<SearchLayoutProperty>(layoutWrapper->GetLayoutProperty()); UpdateTextFieldSize() local
214 auto layoutProperty = AceType::DynamicCast<SearchLayoutProperty>(layoutWrapper->GetLayoutProperty()); ImageMeasure() local
253 auto layoutProperty = AceType::DynamicCast<SearchLayoutProperty>(layoutWrapper->GetLayoutProperty()); SearchButtonMeasure() local
311 auto layoutProperty = AceType::DynamicCast<SearchLayoutProperty>(layoutWrapper->GetLayoutProperty()); DividerMeasure() local
351 auto layoutProperty = AceType::DynamicCast<SearchLayoutProperty>(layoutWrapper->GetLayoutProperty()); CalcSearchAdaptHeight() local
396 auto layoutProperty = AceType::DynamicCast<SearchLayoutProperty>(layoutWrapper->GetLayoutProperty()); SelfMeasure() local
457 auto layoutProperty = AceType::DynamicCast<SearchLayoutProperty>(layoutWrapper->GetLayoutProperty()); CalcSearchHeight() local
595 auto layoutProperty = DynamicCast<SearchLayoutProperty>(layoutWrapper->GetLayoutProperty()); Layout() local
637 auto layoutProperty = params.layoutProperty; LayoutSearchIcon() local
810 auto layoutProperty = DynamicCast<SearchLayoutProperty>(params.layoutWrapper->GetLayoutProperty()); LayoutTextField() local
847 auto layoutProperty = AceType::DynamicCast<SearchLayoutProperty>(layoutWrapper->GetLayoutProperty()); UpdateClipBounds() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/blank/
H A Dblank_model_ng.cpp62 auto layoutProperty = blankNode->GetLayoutProperty<BlankLayoutProperty>(); in SetBlankMin() local
63 CHECK_NULL_VOID(layoutProperty); in SetBlankMin()
78 auto layoutProperty = blankNode->GetLayoutProperty<BlankLayoutProperty>(); in SetHeight() local
79 CHECK_NULL_VOID(layoutProperty); in SetHeight()
80 layoutProperty->UpdateHeight(height); in SetHeight()
96 auto layoutProperty = frameNode->GetLayoutProperty<BlankLayoutProperty>(); in SetHeight() local
97 CHECK_NULL_VOID(layoutProperty); in SetHeight()
98 layoutProperty->UpdateHeight(height); in SetHeight()
104 auto layoutProperty = frameNode->GetLayoutProperty<BlankLayoutProperty>(); in SetBlankMin() local
105 CHECK_NULL_VOID(layoutProperty); in SetBlankMin()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid_container/
H A Dgrid_container_test_ng.cpp80 auto layoutProperty = layoutWrapper->GetLayoutProperty(); in CreateGridContainerWithChild() local
81 layoutProperty->UpdateLayoutConstraint(constraint); in CreateGridContainerWithChild()
84 layoutProperty->UpdateContentConstraint(); in CreateGridContainerWithChild()
107 auto layoutProperty = frameNode->GetLayoutProperty<GridContainerLayoutProperty>(); in HWTEST_F() local
108 EXPECT_NE(layoutProperty, nullptr); in HWTEST_F()
109 auto clone = AceType::DynamicCast<GridContainerLayoutProperty>(layoutProperty->Clone()); in HWTEST_F()
110 EXPECT_EQ(*clone, *layoutProperty); in HWTEST_F()
115 layoutProperty->ToJsonValue(json, filter); in HWTEST_F()
136 auto layoutProperty = AceType::DynamicCast<GridContainerLayoutProperty>(layoutWrapper->GetLayoutProperty()); in HWTEST_F() local
137 layoutProperty in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dnavdestination_layout_property_base.h63 void UpdateBaseLayoutProperty(const NavDestinationLayoutPropertyBase* layoutProperty) in UpdateBaseLayoutProperty() argument
65 LayoutProperty::UpdateLayoutProperty(layoutProperty); in UpdateBaseLayoutProperty()
66 propHideTitleBar_ = layoutProperty->GetHideTitleBar(); in UpdateBaseLayoutProperty()
67 propIsAnimatedTitleBar_ = layoutProperty->GetIsAnimatedTitleBar(); in UpdateBaseLayoutProperty()
68 propHideToolBar_ = layoutProperty->GetHideToolBar(); in UpdateBaseLayoutProperty()
69 propIsAnimatedToolBar_ = layoutProperty->GetIsAnimatedToolBar(); in UpdateBaseLayoutProperty()

Completed in 18 milliseconds

12345678910>>...18