Searched refs:progressPaintProperty (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/ |
H A D | progress_content_modifier_test_ng.cpp | 213 ASSERT_NE(progressPaintProperty, nullptr); 254 ASSERT_NE(progressPaintProperty, nullptr); 295 ASSERT_NE(progressPaintProperty, nullptr); 336 ASSERT_NE(progressPaintProperty, nullptr); 377 ASSERT_NE(progressPaintProperty, nullptr); 418 ASSERT_NE(progressPaintProperty, nullptr); 459 ASSERT_NE(progressPaintProperty, nullptr); 500 ASSERT_NE(progressPaintProperty, nullptr); 541 ASSERT_NE(progressPaintProperty, nullptr); 582 ASSERT_NE(progressPaintProperty, nullptr); [all …]
|
H A D | progress_builder_test_ng.cpp | 182 ASSERT_NE(progressPaintProperty, nullptr); 226 ASSERT_NE(progressPaintProperty, nullptr); 270 ASSERT_NE(progressPaintProperty, nullptr); 311 ASSERT_NE(progressPaintProperty, nullptr); 355 ASSERT_NE(progressPaintProperty, nullptr); 399 ASSERT_NE(progressPaintProperty, nullptr); 443 ASSERT_NE(progressPaintProperty, nullptr); 487 ASSERT_NE(progressPaintProperty, nullptr); 531 ASSERT_NE(progressPaintProperty, nullptr); 574 ASSERT_NE(progressPaintProperty, nullptr); [all …]
|
H A D | progress_test_ng.cpp | 509 …RefPtr<ProgressPaintProperty> progressPaintProperty = frameNode->GetPaintProperty<ProgressPaintPro… variable 510 progressPaintProperty->Clone(); 511 auto cloneMaxValue = progressPaintProperty->GetMaxValue(); 513 progressPaintProperty->Reset(); 514 auto resetMaxValue = progressPaintProperty->GetMaxValue(); 1106 auto progressPaintProperty = frameNode->GetPaintProperty<NG::ProgressPaintProperty>(); variable 1107 ASSERT_NE(progressPaintProperty, nullptr); 1109 EXPECT_EQ(progressPaintProperty->GetIsSensitive().value_or(false), false); 1112 EXPECT_EQ(progressPaintProperty->GetIsSensitive().value_or(false), true);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/ |
H A D | progress_accessibility_property.cpp | 28 auto progressPaintProperty = frameNode->GetPaintProperty<NG::ProgressPaintProperty>(); in GetAccessibilityValue() local 29 CHECK_NULL_RETURN(progressPaintProperty, accessibilityValue); in GetAccessibilityValue() 31 accessibilityValue.max = progressPaintProperty->GetMaxValue().value_or(0); in GetAccessibilityValue() 32 accessibilityValue.current = progressPaintProperty->GetValue().value_or(0); in GetAccessibilityValue() 40 auto progressPaintProperty = frameNode->GetPaintProperty<NG::ProgressPaintProperty>(); in GetText() local 41 CHECK_NULL_RETURN(progressPaintProperty, ""); in GetText() 42 return std::to_string(progressPaintProperty->GetValue().value_or(0)); in GetText()
|
H A D | progress_model_ng.cpp | 86 progressPaintProperty->UpdateValue(value); in CreateFrameNode() 87 progressPaintProperty->UpdateMaxValue(max); in CreateFrameNode() 88 progressPaintProperty->UpdateProgressType(type); in CreateFrameNode() 99 CHECK_NULL_VOID(progressPaintProperty); in SetValue() 100 auto maxValue = progressPaintProperty->GetMaxValue(); in SetValue() 147 CHECK_NULL_VOID(progressPaintProperty); in SetBorderColor() 201 CHECK_NULL_VOID(progressPaintProperty); in SetText() 278 CHECK_NULL_VOID(progressPaintProperty); in SetTextDefaultStyle() 348 CHECK_NULL_VOID(progressPaintProperty); in SetValue() 364 CHECK_NULL_VOID(progressPaintProperty); in SetTotal() [all …]
|
H A D | progress_pattern.cpp | 395 auto progressPaintProperty = frameNode->GetPaintProperty<NG::ProgressPaintProperty>(); in OnSensitiveStyleChange() local 396 CHECK_NULL_VOID(progressPaintProperty); in OnSensitiveStyleChange() 397 progressPaintProperty->UpdateIsSensitive(isSensitive); in OnSensitiveStyleChange()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/ |
H A D | refresh_pattern.cpp | 231 CHECK_NULL_VOID(progressPaintProperty); in InitProgressNode() 239 progressPaintProperty->UpdateColor(theme->GetProgressColor()); in InitProgressNode() 305 CHECK_NULL_VOID(progressPaintProperty); in OnColorConfigurationUpdate() 306 progressPaintProperty->UpdateColor(theme->GetProgressColor()); in OnColorConfigurationUpdate() 661 CHECK_NULL_VOID(progressPaintProperty); in UpdateLoadingProgressStatus() 662 progressPaintProperty->UpdateRefreshAnimationState(state); in UpdateLoadingProgressStatus() 666 progressPaintProperty->UpdateRefreshSizeScaleRatio(ratio); in UpdateLoadingProgressStatus() 896 CHECK_NULL_RETURN(progressPaintProperty, defaultValue); in GetLoadingProgressStatus() 975 CHECK_NULL_VOID(progressPaintProperty); in HandleDragUpdateLowVersion() 1048 CHECK_NULL_VOID(progressPaintProperty); in UpdateLoadingProgress() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/refresh/ |
H A D | refresh_layout_test_ng.cpp | 154 …auto progressPaintProperty = pattern_->progressChild_->GetPaintProperty<LoadingProgressPaintProper… variable 155 EXPECT_EQ(progressPaintProperty->GetRefreshSizeScaleRatio().value(), 0);
|