Home
last modified time | relevance | path

Searched refs:barLength (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dtabs_component.cpp95 uint8_t barLength = tabBarComponent_->GetChildrenLength(); in ProcessChildren() local
97 uint8_t length = (barLength > contentLength) ? contentLength : barLength; in ProcessChildren()
242 uint8_t barLength = tabBarComponent_->GetChildrenLength(); in CalculateBarWidth() local
244 uint8_t length = (barLength > contentLength) ? contentLength : barLength; in CalculateBarWidth()
258 uint8_t barLength = tabBarComponent_->GetChildrenLength(); in GetInitPageIndex() local
260 uint8_t length = (barLength > contentLength) ? contentLength : barLength; in GetInitPageIndex()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_modifier.cpp179 float barLength = in StartCapsuleSweepingAnimation() local
531 float barLength = 0.0f; in StartLinearSweepingAnimation() local
535 barLength = contentSize.Width() - radius * 2; in StartLinearSweepingAnimation()
537 barLength = contentSize.Height() - radius * 2; in StartLinearSweepingAnimation()
540 if (NearEqual(barLength, 0.0f)) { in StartLinearSweepingAnimation()
544 dateLength = barLength * value / maxValue_->Get(); in StartLinearSweepingAnimation()
720 double barLength = contentSize.Width() - radius * INT32_TWO; in PaintLinear() local
721 CHECK_NULL_VOID(Positive(barLength)); in PaintLinear()
722 double dateLength = std::min(barLength * value_->Get() / maxValue_->Get(), barLength); in PaintLinear()
752 CHECK_NULL_VOID(Positive(barLength)); in PaintLinear()
[all …]