Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DGhostedViewTransitionAnimatorController.kt102 private val ghostedViewState = TransitionAnimator.State() constant
299 fillGhostedViewState(ghostedViewState) in onTransitionAnimationProgress()
300 val leftChange = state.left - ghostedViewState.left in onTransitionAnimationProgress()
301 val rightChange = state.right - ghostedViewState.right in onTransitionAnimationProgress()
302 val topChange = state.top - ghostedViewState.top in onTransitionAnimationProgress()
303 val bottomChange = state.bottom - ghostedViewState.bottom in onTransitionAnimationProgress()
305 val widthRatio = state.width.toFloat() / ghostedViewState.width in onTransitionAnimationProgress()
306 val heightRatio = state.height.toFloat() / ghostedViewState.height in onTransitionAnimationProgress()
319 ghostedViewState.centerX - transitionContainerLocation[0], in onTransitionAnimationProgress()
320 ghostedViewState.centerY - transitionContainerLocation[1] in onTransitionAnimationProgress()