Home
last modified time | relevance | path

Searched refs:isHoverExists (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/rating/
H A Drender_rating.cpp623 void RenderRating::PlayEventEffectAnimation(int32_t starIndex, bool isHoverExists) in PlayEventEffectAnimation() argument
639 if (item.first == starIndex && !isHoverExists) { in PlayEventEffectAnimation()
640 CreateColorAnimation(item.second, hoverColor_, item.first, isHoverExists); in PlayEventEffectAnimation()
642 CreateColorAnimation(item.second, Color::TRANSPARENT, item.first, isHoverExists); in PlayEventEffectAnimation()
648 …ng::CreateColorAnimation(const Color& from, const Color& to, int32_t starIndex, bool isHoverExists) in CreateColorAnimation() argument
656 if (isHoverExists && from.GetValue() < hoverColor_.GetValue()) { in CreateColorAnimation()
H A Drender_rating.h250 …id CreateColorAnimation(const Color& from, const Color& to, int32_t starIndex, bool isHoverExists);
251 void PlayEventEffectAnimation(int32_t starIndex, bool isHoverExists = false);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/option/
H A Drender_option.h122 …void PlayEventEffectAnimation(const Color& endColor, int32_t duration, bool isHoverExists = false);
H A Drender_option.cpp815 …RenderOption::PlayEventEffectAnimation(const Color& endColor, int32_t duration, bool isHoverExists) in PlayEventEffectAnimation() argument
825 if (isHoverExists && GetEventEffectColor().GetValue() < hoveredColor_.GetValue()) { in PlayEventEffectAnimation()