Home
last modified time | relevance | path

Searched refs:progressLayoutAlgorithm (Results 1 – 2 of 2) sorted by relevance

/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/
Dprogress_test_ng.cpp144 …RefPtr<ProgressLayoutAlgorithm> progressLayoutAlgorithm = AceType::MakeRefPtr<ProgressLayoutAlgori… variable
152 … AceType::MakeRefPtr<LayoutAlgorithmWrapper>(progressLayoutAlgorithm, skipMeasures[i]);
201 auto progressLayoutAlgorithm = AceType::MakeRefPtr<ProgressLayoutAlgorithm>(); variable
202 auto size = progressLayoutAlgorithm->MeasureContent(contentConstraint, &layoutWrapper);
205 EXPECT_EQ(progressLayoutAlgorithm->GetType(), PROGRESS_TYPE_LINEAR);
206 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), DEFAULT_STROKE_WIDTH.ConvertToPx());
223 auto progressLayoutAlgorithm = AceType::MakeRefPtr<ProgressLayoutAlgorithm>(); variable
234 auto size = progressLayoutAlgorithm->MeasureContent(contentConstraint, &layoutWrapper);
276 auto progressLayoutAlgorithm = AceType::MakeRefPtr<ProgressLayoutAlgorithm>(); variable
277 auto size = progressLayoutAlgorithm->MeasureContent(contentConstraint, &layoutWrapper);
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
Dprogress_pattern.cpp40 …auto progressLayoutAlgorithm = DynamicCast<ProgressLayoutAlgorithm>(layoutAlgorithmWrapper->GetLay… in OnDirtyLayoutWrapperSwap() local
41 CHECK_NULL_RETURN(progressLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap()
42 strokeWidth_ = progressLayoutAlgorithm->GetStrokeWidth(); in OnDirtyLayoutWrapperSwap()