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.cpp145 …RefPtr<ProgressLayoutAlgorithm> progressLayoutAlgorithm = AceType::MakeRefPtr<ProgressLayoutAlgori… variable
153 … AceType::MakeRefPtr<LayoutAlgorithmWrapper>(progressLayoutAlgorithm, skipMeasures[i]);
202 auto progressLayoutAlgorithm = AceType::MakeRefPtr<ProgressLayoutAlgorithm>(); variable
203 auto size = progressLayoutAlgorithm->MeasureContent(contentConstraint, &layoutWrapper);
206 EXPECT_EQ(progressLayoutAlgorithm->GetType(), PROGRESS_TYPE_LINEAR);
207 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), DEFAULT_STROKE_WIDTH.ConvertToPx());
224 auto progressLayoutAlgorithm = AceType::MakeRefPtr<ProgressLayoutAlgorithm>(); variable
235 auto size = progressLayoutAlgorithm->MeasureContent(contentConstraint, &layoutWrapper);
277 auto progressLayoutAlgorithm = AceType::MakeRefPtr<ProgressLayoutAlgorithm>(); variable
278 auto size = progressLayoutAlgorithm->MeasureContent(contentConstraint, &layoutWrapper);
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
Dprogress_pattern.cpp43 …auto progressLayoutAlgorithm = DynamicCast<ProgressLayoutAlgorithm>(layoutAlgorithmWrapper->GetLay… in OnDirtyLayoutWrapperSwap() local
44 CHECK_NULL_RETURN(progressLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap()
45 strokeWidth_ = progressLayoutAlgorithm->GetStrokeWidth(); in OnDirtyLayoutWrapperSwap()