Home
last modified time | relevance | path

Searched refs:weights_ (Results 1 - 7 of 7) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_chart.cpp183 chart.weights_.clear(); in SetSpecializedStyle()
184 StringUtils::StringSplitter(val, ',', chart.weights_); in SetSpecializedStyle()
199 if (colors_.empty() || weights_.empty() || colors_.size() != weights_.size()) { in OnSetStyleFinished()
204 weights_.push_back(1); in OnSetStyleFinished()
205 weights_.push_back(1); in OnSetStyleFinished()
206 weights_.push_back(1); in OnSetStyleFinished()
329 progressChild_->GetTrack()->SetSectionsStyle(colors_, weights_); in PrepareSpecializedComponent()
H A Ddom_progress.h79 std::vector<double> weights_; member in OHOS::Ace::Framework::final
H A Ddom_chart.h211 std::vector<double> weights_; member in OHOS::Ace::Framework::DOMChart
/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_arc_track.cpp248 if (colors_.size() == 0 || colors_.size() != weights_.size()) { in Paint()
252 for (const auto& weight : weights_) { in Paint()
266 currentStart += weights_[index]; in Paint()
267 if (ShouldHighLight(totalWeight - currentStart, weights_[index], ratio * totalWeight)) { in Paint()
272 data.sweepDegree = (weights_[index] / totalWeight) * paintData_.sweepDegree; in Paint()
278 data.sweepDegree = (weights_[highLightIndex] / totalWeight) * paintData_.sweepDegree; in Paint()
H A Dtrack_component.h283 weights_ = weights; in SetSectionsStyle()
293 return weights_; in GetSectionsWeights()
376 std::vector<double> weights_; member in OHOS::Ace::TrackComponent
H A Drender_track.h164 std::vector<double> weights_; member in OHOS::Ace::RenderTrack
H A Drender_track.cpp45 weights_ = track->GetSectionsWeights(); in Update()

Completed in 5 milliseconds