Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
Dsheet_wrapper_layout_algorithm.h25 class ACE_EXPORT SheetWrapperLayoutAlgorithm : public BoxLayoutAlgorithm {
26 DECLARE_ACE_TYPE(SheetWrapperLayoutAlgorithm, BoxLayoutAlgorithm);
29 SheetWrapperLayoutAlgorithm() in SheetWrapperLayoutAlgorithm() function
31 placementCheckFunc_[Placement::BOTTOM] = &SheetWrapperLayoutAlgorithm::CheckPlacementBottom; in SheetWrapperLayoutAlgorithm()
32 …placementCheckFunc_[Placement::BOTTOM_LEFT] = &SheetWrapperLayoutAlgorithm::CheckPlacementBottomLe… in SheetWrapperLayoutAlgorithm()
33 …placementCheckFunc_[Placement::BOTTOM_RIGHT] = &SheetWrapperLayoutAlgorithm::CheckPlacementBottomR… in SheetWrapperLayoutAlgorithm()
35 directionCheckFunc_[Placement::BOTTOM] = &SheetWrapperLayoutAlgorithm::CheckDirectionBottom; in SheetWrapperLayoutAlgorithm()
36 … directionCheckFunc_[Placement::BOTTOM_LEFT] = &SheetWrapperLayoutAlgorithm::CheckDirectionBottom; in SheetWrapperLayoutAlgorithm()
37 … directionCheckFunc_[Placement::BOTTOM_RIGHT] = &SheetWrapperLayoutAlgorithm::CheckDirectionBottom; in SheetWrapperLayoutAlgorithm()
38 directionCheckFunc_[Placement::TOP] = &SheetWrapperLayoutAlgorithm::CheckDirectionTop; in SheetWrapperLayoutAlgorithm()
[all …]
Dsheet_wrapper_layout_algorithm.cpp132 void SheetWrapperLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure()
154 void SheetWrapperLayoutAlgorithm::MeasureSheetMask(LayoutWrapper* layoutWrapper) in MeasureSheetMask()
175 void SheetWrapperLayoutAlgorithm::InitParameter(LayoutWrapper* layoutWrapper) in InitParameter()
231 void SheetWrapperLayoutAlgorithm::GetSheetPageSize(LayoutWrapper* layoutWrapper) in GetSheetPageSize()
251 void SheetWrapperLayoutAlgorithm::DecreaseArrowHeightWhenArrowIsShown(const RefPtr<FrameNode>& shee… in DecreaseArrowHeightWhenArrowIsShown()
298 OffsetF SheetWrapperLayoutAlgorithm::GetPopupStyleSheetOffset(LayoutWrapper* layoutWrapper) in GetPopupStyleSheetOffset()
332 OffsetF SheetWrapperLayoutAlgorithm::GetOffsetInAvoidanceRule( in GetOffsetInAvoidanceRule()
359 Placement SheetWrapperLayoutAlgorithm::AvoidanceRuleBottom( in AvoidanceRuleBottom()
390 Placement SheetWrapperLayoutAlgorithm::AvoidanceRuleOfPlacement( in AvoidanceRuleOfPlacement()
433 bool SheetWrapperLayoutAlgorithm::CheckDirectionBottom(const SizeF& targetSize, const OffsetF& targ… in CheckDirectionBottom()
[all …]
Dsheet_wrapper_pattern.h49 return MakeRefPtr<SheetWrapperLayoutAlgorithm>(); in CreateLayoutAlgorithm()
/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/
Dsheet_wrapper_layout_test_ng.cpp87 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
113 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
147 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
205 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
258 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
315 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
336 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
377 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
418 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
459 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
[all …]
Dsheet_popup_test_ng.cpp65 RefPtr<SheetWrapperLayoutAlgorithm>& sheetWrapperLayoutAlgorithm);
168 RefPtr<SheetWrapperLayoutAlgorithm>& sheetWrapperLayoutAlgorithm) in InitSheetAndWrapperLayoutInfo()
180 … AceType::DynamicCast<SheetWrapperLayoutAlgorithm>(sheetWrapperPattern->CreateLayoutAlgorithm()); in InitSheetAndWrapperLayoutInfo()
245 RefPtr<SheetWrapperLayoutAlgorithm> sheetWrapperLayoutAlgorithm;
335 RefPtr<SheetWrapperLayoutAlgorithm> sheetWrapperLayoutAlgorithm;
427 RefPtr<SheetWrapperLayoutAlgorithm> sheetWrapperLayoutAlgorithm;
520 RefPtr<SheetWrapperLayoutAlgorithm> sheetWrapperLayoutAlgorithm;
612 RefPtr<SheetWrapperLayoutAlgorithm> sheetWrapperLayoutAlgorithm;
711 RefPtr<SheetWrapperLayoutAlgorithm> sheetWrapperLayoutAlgorithm;
807 RefPtr<SheetWrapperLayoutAlgorithm> sheetWrapperLayoutAlgorithm;
[all …]
Dsheet_presentation_test_four_ng.cpp676 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
701 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
726 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
751 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
776 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
801 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
826 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
851 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
876 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
901 auto sheetWrapperLayoutAlgorithm = AceType::MakeRefPtr<SheetWrapperLayoutAlgorithm>();
[all …]
Dsheet_showInSubwindow_test_ng.cpp82 RefPtr<SheetWrapperLayoutAlgorithm>& sheetWrapperLayoutAlgorithm);
162 RefPtr<SheetWrapperLayoutAlgorithm>& sheetWrapperLayoutAlgorithm) in InitSheetAndWrapperLayoutInfo()
174 … AceType::DynamicCast<SheetWrapperLayoutAlgorithm>(sheetWrapperPattern->CreateLayoutAlgorithm()); in InitSheetAndWrapperLayoutInfo()
317 RefPtr<SheetWrapperLayoutAlgorithm> sheetWrapperLayoutAlgorithm;
392 RefPtr<SheetWrapperLayoutAlgorithm> sheetWrapperLayoutAlgorithm;
458 RefPtr<SheetWrapperLayoutAlgorithm> sheetWrapperLayoutAlgorithm;
523 RefPtr<SheetWrapperLayoutAlgorithm> sheetWrapperLayoutAlgorithm;