Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/policy/
DTransitionAnimation.java350 public Animation createClipRevealAnimationLocked(int transit, boolean enter, Rect appFrame, in createClipRevealAnimationLocked() argument
354 final int appWidth = appFrame.width(); in createClipRevealAnimationLocked()
355 final int appHeight = appFrame.height(); in createClipRevealAnimationLocked()
372 int clipStartX = centerX - halfWidth - appFrame.left; in createClipRevealAnimationLocked()
373 int clipStartY = centerY - halfHeight - appFrame.top; in createClipRevealAnimationLocked()
379 if (appFrame.top > centerY - halfHeight) { in createClipRevealAnimationLocked()
380 translationY = (centerY - halfHeight) - appFrame.top; in createClipRevealAnimationLocked()
385 if (appFrame.left > centerX - halfWidth) { in createClipRevealAnimationLocked()
386 translationX = (centerX - halfWidth) - appFrame.left; in createClipRevealAnimationLocked()
390 if (appFrame.right < centerX + halfWidth) { in createClipRevealAnimationLocked()
[all …]