Home
last modified time | relevance | path

Searched refs:INIT_SCALE (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/button/
H A Drender_button.cpp135 UpdateFocusAnimation(INIT_SCALE); in OnPaintFinish()
711 opacity_ = fabs((value - INIT_SCALE) * ratio_); in UpdateAnimationParam()
714 maskingOpacity_ = fabs((value - INIT_SCALE) * ratio_ / MASKING_ANIMATION_RATIO); in UpdateAnimationParam()
733 Size sizeDelta = buttonSize_ * (value - INIT_SCALE); in UpdateFocusAnimation()
761 ratio_ = INIT_SCALE / (end - start); in PlayAnimation()
785 PlayAnimation(INIT_SCALE, WATCH_SCALE, WATCH_DURATION_DOWN); in PlayTouchAnimation()
787 PlayAnimation(WATCH_SCALE, INIT_SCALE, WATCH_DURATION_UP); in PlayTouchAnimation()
847 UpdateFocusAnimation(INIT_SCALE); in PlayFocusAnimation()
855 PlayAnimation(INIT_SCALE, TV_EXPAND_SCALE, TV_FOCUS_SCALE_DURATION); in PlayFocusAnimation()
857 PlayAnimation(TV_EXPAND_SCALE, INIT_SCALE, TV_FOCUS_SCALE_DURATION); in PlayFocusAnimation()
H A Drender_button.h37 constexpr double INIT_SCALE = 1.0; variable
H A Drosen_render_button.cpp71 float translateX = GetLayoutSize().Width() / 2 * (INIT_SCALE - scale_); in UpdateLayer()
75 ? GetLayoutSize().Height() * (INIT_SCALE - scale_) * 2 in UpdateLayer()
630 return scale_ != INIT_SCALE; in HasEffectiveTransform()