Home
last modified time | relevance | path

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

/foundation/arkui/ui_lite/frameworks/components/
H A Dui_button.cpp299 constexpr float SHRINK_SCALE = 0.8f; member
309 float targetScale = isReverse ? SHRINK_SCALE : FULL_SCALE; in Start()
321 float x = isReverseAnimation_ ? (FULL_SCALE - scale_) : (scale_ - SHRINK_SCALE); in Start()
322 float y = x / (FULL_SCALE - SHRINK_SCALE); in Start()
349 float scale = (FULL_SCALE - SHRINK_SCALE) * offset; in Callback()
351 scale_ = isReverseAnimation_ ? (FULL_SCALE - scale) : (scale + SHRINK_SCALE); in Callback()
358 scale_ = SHRINK_SCALE; in OnStop()
359 ScaleButton(button_, SHRINK_SCALE); in OnStop()

Completed in 1 milliseconds