Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/
H A Dcontainer_modal_view.cpp295 float imageScale = isHover ? baseScale : 1.0f; in AddButtonHover() local
301 …nUtils::Animate(option, [buttonNodeRenderContext, imageIconRenderContext, imageScale, btnScale]() { in AddButtonHover()
303 … imageIconRenderContext->UpdateTransformScale(VectorF(1 / imageScale, 1 / imageScale)); in AddButtonHover()
307 …nUtils::Animate(option, [buttonNodeRenderContext, imageIconRenderContext, imageScale, btnScale]() { in AddButtonHover()
309 imageIconRenderContext->UpdateTransformScale(VectorF(imageScale, imageScale)); in AddButtonHover()
342 float imageScale = baseScale; in AddButtonMouse() local
350 …nUtils::Animate(option, [buttonNodeRenderContext, imageIconRenderContext, imageScale, btnScale]() { in AddButtonMouse()
352 imageIconRenderContext->UpdateTransformScale(VectorF(imageScale, imageScale)); in AddButtonMouse()