Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/
H A Dprogress_modifier_test_ng.cpp384 progressPaintMethod.progressType_ = PROGRESS_TYPE_CAPSULE;
438 progressPaintMethod.progressType_ = PROGRESS_TYPE_RING;
460 progressPaintMethod.progressType_ = PROGRESS_TYPE_RING;
1103 EXPECT_EQ(modifier->progressType_->Get(), static_cast<int32_t>(PROGRESS_TYPE_SCALE));
1182 EXPECT_EQ(modifier->progressType_->Get(), static_cast<int32_t>(it));
1250 EXPECT_EQ(modifier->progressType_->Get(), static_cast<int32_t>(PROGRESS_TYPE_RING));
1414 progressPaintMethod.progressType_ = PROGRESS_TYPE_LINEAR;
1417 progressPaintMethod.progressType_ = PROGRESS_TYPE_MOON;
1420 progressPaintMethod.progressType_ = PROGRESS_TYPE_RING;
1474 progressPaintMethod.progressType_ = PROGRESS_TYPE_SCALE;
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_paint_method.cpp37 if (progressType_ == ProgressType::CAPSULE) { in GetThemeData()
40 } else if (progressType_ == ProgressType::RING) { in GetThemeData()
57 switch (progressType_) { in CalculateStrokeWidth()
H A Dprogress_paint_method.h43 … : strokeWidth_(strokeWidth), progressType_(progressType), progressModifier_(progressModifier) in DECLARE_ACE_TYPE()
45 progressModifier_->SetProgressType(progressType_); in DECLARE_ACE_TYPE()
87 progressModifier_->SetProgressType(progressType_); in UpdateContentModifier()
122 ProgressType progressType_ = ProgressType::LINEAR; variable
H A Dprogress_pattern.h49 progressType_ = progressLayoutProperty->GetType().value_or(ProgressType::LINEAR); in CreateNodePaintMethod()
62 return MakeRefPtr<ProgressPaintMethod>(progressType_, strokeWidth_, progressModifier_); in CreateNodePaintMethod()
169 ProgressType progressType_ = ProgressType::LINEAR; variable
H A Dprogress_modifier.cpp92 AttachProperty(progressType_); in ProgressModifier()
151 CHECK_NULL_VOID(progressType_); in SetProgressType()
152 progressType_->Set(static_cast<int32_t>(type)); in SetProgressType()
441 (ProgressType(progressType_->Get()) == ProgressType::LINEAR || in StartContinuousSweepingAnimation()
442 ProgressType(progressType_->Get()) == ProgressType::RING)) { in StartContinuousSweepingAnimation()
462 switch (ProgressType(modifier->progressType_->Get())) { in StartContinuousSweepingAnimation()
489 switch (ProgressType(progressType_->Get())) { in IsSweepEffectOn()
631 ProcessSweepingAnimation(ProgressType(progressType_->Get()), value); in SetValue()
682 if (progressType_->Get() == static_cast<int32_t>(ProgressType::LINEAR)) { in ContentDrawWithFunction()
684 } else if (progressType_->Get() == static_cast<int32_t>(ProgressType::RING)) { in ContentDrawWithFunction()
[all …]
H A Dprogress_pattern.cpp63 if (progressType_ == ProgressType::CAPSULE) { in InitAnimatableProperty()
66 } else if (progressType_ == ProgressType::RING) { in InitAnimatableProperty()
103 switch (progressType_) { in CalculateStrokeWidth()
H A Dprogress_modifier.h139 RefPtr<PropertyInt> progressType_; variable