/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_progress_ffi.cpp | 25 const std::vector<ProgressType> PROGRESS_TYPES = { ProgressType::LINEAR, ProgressType::RING, ProgressType::MOON, 26 ProgressType::SCALE, ProgressType::CAPSULE }; 28 const std::vector<NG::ProgressType> PROGRESS_TYPES_NG = { NG::ProgressType::LINEAR, NG::ProgressType::RING, 29 NG::ProgressType [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/ |
H A D | progress_test_ng.h | 63 constexpr ProgressType PROGRESS_TYPE_LINEAR = ProgressType::LINEAR; 64 constexpr ProgressType PROGRESS_TYPE_RING = ProgressType::RING; 65 constexpr ProgressType PROGRESS_TYPE_SCALE = ProgressType::SCALE; 66 constexpr ProgressType PROGRESS_TYPE_MOON = ProgressType::MOON; 67 constexpr ProgressType PROGRESS_TYPE_CAPSULE = ProgressType [all...] |
H A D | progress_builder_test_ng.cpp | 61 constexpr ProgressType PROGRESS_TYPE_LINEAR = ProgressType::LINEAR; 62 constexpr ProgressType PROGRESS_TYPE_SCALE = ProgressType::SCALE; 63 constexpr ProgressType PROGRESS_TYPE_MOON = ProgressType::MOON; 89 ProgressModelNG CreateProgress(double value, double max, NG::ProgressType type); 150 ProgressModelNG ProgressBuilderTestNg::CreateProgress(double value, double max, NG::ProgressType type) in CreateProgress()
|
/foundation/arkui/ace_engine/frameworks/core/components/progress/ |
H A D | progress_component.cpp | 23 ProgressComponent::ProgressComponent(double min, double value, double cachedValue, double max, ProgressType type) in ProgressComponent() 26 case ProgressType::LINEAR: { in ProgressComponent() 30 case ProgressType::RING: { in ProgressComponent() 34 case ProgressType::SCALE: { in ProgressComponent() 38 case ProgressType::GAUGE: in ProgressComponent() 39 case ProgressType::ARC: { in ProgressComponent() 43 case ProgressType::MOON: { in ProgressComponent() 47 case ProgressType::CAPSULE: { in ProgressComponent()
|
H A D | render_progress.h | 55 ProgressType GetProgressType() const in GetProgressType() 73 ProgressType type_ = ProgressType::LINEAR;
|
H A D | progress_component.h | 26 enum class ProgressType { class 42 ProgressComponent(double min, double value, double cachedValue, double max, ProgressType type); 100 ProgressType GetType() const in GetType() 178 ProgressType type_ = ProgressType::LINEAR;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/ |
H A D | progress_date.h | 28 enum class ProgressType { class 47 static std::string ConvertProgressTypeToString(ProgressType progressType) in ConvertProgressTypeToString() 51 case ProgressType::LINEAR: in ConvertProgressTypeToString() 54 case ProgressType::MOON: in ConvertProgressTypeToString() 57 case ProgressType::SCALE: in ConvertProgressTypeToString() 60 case ProgressType::RING: in ConvertProgressTypeToString() 63 case ProgressType::CAPSULE: in ConvertProgressTypeToString() 96 ACE_DEFINE_PROPERTY_GROUP_ITEM(Type, ProgressType);
|
H A D | progress_layout_algorithm.cpp | 58 type_ = progressLayoutProperty->GetType().value_or(ProgressType::LINEAR); in MeasureContent() 68 if (type_ == ProgressType::RING || type_ == ProgressType::SCALE || type_ == ProgressType::MOON) { in MeasureContent() 80 } else if (type_ == ProgressType::CAPSULE) { in MeasureContent() 87 } else if (type_ == ProgressType::LINEAR) { in MeasureContent() 105 type_ = progressLayoutProperty->GetType().value_or(ProgressType::LINEAR); in MeasureContentForApiNine() 107 value_or(progressTheme ? (type_ == ProgressType::SCALE ? progressTheme->GetScaleLength() : in MeasureContentForApiNine() 121 if (type_ == ProgressType::RING || type_ == ProgressType in MeasureContentForApiNine() [all...] |
H A D | progress_paint_method.cpp | 26 if (progressType_ == ProgressType::CAPSULE) { in GetThemeData() 29 } else if (progressType_ == ProgressType::RING) { in GetThemeData() 47 case ProgressType::LINEAR: in CalculateStrokeWidth() 50 case ProgressType::RING: in CalculateStrokeWidth() 51 case ProgressType::SCALE: in CalculateStrokeWidth() 56 case ProgressType::MOON: in CalculateStrokeWidth() 57 case ProgressType::CAPSULE: in CalculateStrokeWidth()
|
H A D | progress_layout_algorithm.h | 42 ProgressType GetType() const; 49 ProgressType type_ = ProgressType::LINEAR;
|
H A D | progress_model_ng.h | 26 void Create(double min, double value, double cachedValue, double max, NG::ProgressType type) override; 52 static RefPtr<FrameNode> CreateFrameNode(int32_t nodeId, double value, double max, NG::ProgressType type); 78 static void SetType(FrameNode* frameNode, NG::ProgressType type); 82 static NG::ProgressType GetType(FrameNode* frameNode); 85 FrameNode* frameNode, double min, double value, double cachedValue, double max, NG::ProgressType type);
|
H A D | progress_paint_property.cpp | 47 ProgressType progressType = GetProgressType().value_or(ProgressType::LINEAR); in ToJsonValue() 48 if (progressType == ProgressType::CAPSULE) { in ToJsonValue() 51 } else if (progressType == ProgressType::RING) { in ToJsonValue() 69 ProgressTypeUtils::ConvertProgressTypeToString(GetProgressType().value_or(ProgressType::LINEAR)).c_str()); in ProgressOptions()
|
H A D | progress_model_ng.cpp | 30 void ProgressModelNG::Create(double min, double value, double cachedValue, double max, NG::ProgressType type) in Create() 42 ACE_UPDATE_PAINT_PROPERTY(ProgressPaintProperty, ProgressType, type); in Create() 51 if (type == ProgressType::CAPSULE) { in Create() 61 if (type == ProgressType::CAPSULE) { in Create() 81 RefPtr<FrameNode> ProgressModelNG::CreateFrameNode(int32_t nodeId, double value, double max, NG::ProgressType type) in CreateFrameNode() 149 if (progressType == ProgressType::CAPSULE) { in SetBorderColor() 368 void ProgressModelNG::SetType(FrameNode* frameNode, NG::ProgressType type) in SetType() 370 ACE_UPDATE_NODE_PAINT_PROPERTY(ProgressPaintProperty, ProgressType, type, frameNode); in SetType() 567 NG::ProgressType ProgressModelNG::GetType(FrameNode* frameNode) in GetType() 569 NG::ProgressType valu in GetType() [all...] |
H A D | progress_layout_property.h | 65 (ProgressTypeUtils::ConvertProgressTypeToString(propType_.value_or(ProgressType::LINEAR))).c_str(), filter); 70 ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP(Type, ProgressType, PROPERTY_UPDATE_MEASURE);
|
H A D | progress_pattern.h | 49 progressType_ = progressLayoutProperty->GetType().value_or(ProgressType::LINEAR); 171 ProgressType progressType_ = ProgressType::LINEAR;
|
H A D | progress_paint_method.h | 42 ProgressType progressType, float strokeWidth, const RefPtr<ProgressModifier>& progressModifier) in ProgressPaintMethod() 122 ProgressType progressType_ = ProgressType::LINEAR;
|
H A D | progress_pattern.cpp | 63 if (progressType_ == ProgressType::CAPSULE) { in InitAnimatableProperty() 66 } else if (progressType_ == ProgressType::RING) { in InitAnimatableProperty() 104 case ProgressType::LINEAR: in CalculateStrokeWidth() 107 case ProgressType::RING: in CalculateStrokeWidth() 108 case ProgressType::SCALE: in CalculateStrokeWidth() 273 if (progressLayoutProperty->GetType() == ProgressType::CAPSULE) { in OnModifyDone()
|
H A D | progress_paint_property.h | 93 ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP(ProgressType, ProgressType, PROPERTY_UPDATE_MEASURE);
|
H A D | progress_modifier.cpp | 65 progressType_(AceType::MakeRefPtr<PropertyInt>(static_cast<int32_t>(ProgressType::LINEAR))), in ProgressModifier() 142 void ProgressModifier::SetProgressType(ProgressType type) in SetProgressType() 148 void ProgressModifier::ProcessSweepingAnimation(ProgressType type, float value) in ProcessSweepingAnimation() 155 case ProgressType::RING: in ProcessSweepingAnimation() 158 case ProgressType::LINEAR: in ProcessSweepingAnimation() 161 case ProgressType::CAPSULE: in ProcessSweepingAnimation() 434 (ProgressType(progressType_->Get()) == ProgressType::LINEAR || in StartContinuousSweepingAnimation() 435 ProgressType(progressType_->Get()) == ProgressType in StartContinuousSweepingAnimation() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_progress.cpp | 61 double min, double percent, double cachedValue, double max, ProgressType type) in CreateProgressComponent() 63 if (type == ProgressType::CIRCLE) { in CreateProgressComponent() 64 return AceType::MakeRefPtr<ProgressComponent>(min, percent, cachedValue, max, ProgressType::LINEAR); in CreateProgressComponent() 101 progress.type_ = ProgressType::CIRCLE; in SetSpecializedAttr() 103 progress.type_ = ProgressType::RING; in SetSpecializedAttr() 105 progress.type_ = ProgressType::LINEAR; in SetSpecializedAttr() 107 progress.type_ = ProgressType::SCALE; in SetSpecializedAttr() 109 progress.type_ = ProgressType::MOON; in SetSpecializedAttr() 111 progress.type_ = ProgressType::ARC; in SetSpecializedAttr() 113 progress.type_ = ProgressType in SetSpecializedAttr() [all...] |
H A D | dom_progress.h | 36 double min, double percent, double cachedValue, double max, ProgressType type); 81 ProgressType type_ = ProgressType::LINEAR;
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | progress_composed_element.cpp | 90 ProgressType type = renderProgress->GetProgressType(); in GetTypeProgress() 94 case ProgressType::LINEAR: in GetTypeProgress() 97 case ProgressType::MOON: in GetTypeProgress() 100 case ProgressType::SCALE: in GetTypeProgress() 103 case ProgressType::RING: in GetTypeProgress() 106 case ProgressType::CAPSULE: in GetTypeProgress()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_progress.cpp | 32 ProgressType g_progressType = ProgressType::LINEAR; 88 g_progressType = ProgressType::MOON; in Create() 90 g_progressType = ProgressType::RING; in Create() 92 g_progressType = ProgressType::SCALE; in Create() 94 g_progressType = ProgressType::CAPSULE; in Create() 96 g_progressType = ProgressType::LINEAR; in Create() 99 ProgressModel::GetInstance()->Create(0.0, value, 0.0, total, static_cast<NG::ProgressType>(g_progressType)); in Create() 151 if (g_progressType == ProgressType::CAPSULE) { in SetColor() 188 case ProgressType in SetCircularStyle() [all...] |
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | progress_modifier.cpp | 93 ProgressModelNG::SetType(frameNode, static_cast<ProgressType>(type)); in SetProgressType() 100 ProgressModelNG::SetType(frameNode, ProgressType::LINEAR); in ResetProgressType() 150 if (progresstype == ProgressType::RING) { in ResetProgressColor() 153 } else if (progresstype == ProgressType::CAPSULE) { in ResetProgressColor() 271 if (progresstype == ProgressType::LINEAR) { in SetProgressStyle() 273 } else if (progresstype == ProgressType::RING) { in SetProgressStyle() 275 } else if (progresstype == ProgressType::CAPSULE) { in SetProgressStyle() 337 if (progresstype == ProgressType::LINEAR) { in ResetProgressStyle() 339 } else if (progresstype == ProgressType::RING) { in ResetProgressStyle() 341 } else if (progresstype == ProgressType in ResetProgressStyle() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | progress_model_impl.cpp | 28 void ProgressModelImpl::Create(double min, double value, double cachedValue, double max, NG::ProgressType type) in Create() 31 min, value, cachedValue, max, static_cast<ProgressType>(type)); in Create() 41 if (type == NG::ProgressType::SCALE) { in Create()
|