Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java265 float toScale = scale; in animateViewIntoPosition() local
277 toScale *= ((1f * destRect.width()) in animateViewIntoPosition()
282 float scaleShiftX = dragView.getMeasuredWidth() * (1 - toScale) / 2; in animateViewIntoPosition()
283 float scaleShiftY = dragView.getMeasuredHeight() * (1 - toScale) / 2; in animateViewIntoPosition()
285 … toX += scale * destRect.left - toScale * dragView.getBlurSizeOutline() / 2 - scaleShiftX; in animateViewIntoPosition()
286 toY += scale * destRect.top - toScale * dragView.getBlurSizeOutline() / 2 - scaleShiftY; in animateViewIntoPosition()
291 animateViewIntoPosition(dragView, fromX, fromY, toX, toY, 1, 1, 1, toScale, toScale, in animateViewIntoPosition()
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java209 final float toScale = desiredVisibility == View.VISIBLE ? 1F : 0F; in revealOrHideViewWithAnimation() local
211 new ScaleAnimation(fromScale, toScale, fromScale, toScale, in revealOrHideViewWithAnimation()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java734 float toScale) { in startAnimation() argument
736 toScale); in startAnimation()
740 float fromScale, float toScale) { in startAnimation() argument
744 mAnimation.setScale(fromScale, toScale); in startAnimation()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java730 private void startAnimation(long duration, boolean timeout, float toScale) { in startAnimation() argument
731 startAnimation(duration, timeout, dialAngle, toScale); in startAnimation()
734 private void startAnimation(long duration, boolean timeout, float fromScale, float toScale) { in startAnimation() argument
738 animation.setScale(fromScale, toScale); in startAnimation()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java3212 float toScale = getMaxScaleForFullScreen();
3215 anim.play(ObjectAnimator.ofFloat(recentsView, RECENTS_SCALE_PROPERTY, toScale));
3219 float displacementX = tv.getWidth() * (toScale - 1f);