Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DDragLayer.java495 int toX = coord[0]; in animateViewIntoPosition() local
505 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; in animateViewIntoPosition()
511 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; in animateViewIntoPosition()
514 toX -= (Math.round(scale * (dragView.getMeasuredWidth() in animateViewIntoPosition()
529 animateViewIntoPosition(dragView, fromX, fromY, toX, toY, 1, 1, 1, scale, scale, in animateViewIntoPosition()
534 final int toX, final int toY, float finalAlpha, float initScaleX, float initScaleY, in animateViewIntoPosition() argument
539 Rect to = new Rect(toX, toY, toX + view.getMeasuredWidth(), toY + view.getMeasuredHeight()); in animateViewIntoPosition()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCarItemAnimator.java34 RecyclerView.ViewHolder newHolder, int fromX, int fromY, int toX, int toY) { in animateChange() argument
42 boolean ret = super.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY); in animateChange()
/packages/apps/Launcher3/src/com/android/launcher3/
DDragLayer.java591 int toX = coord[0]; in animateViewIntoPosition() local
609 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; in animateViewIntoPosition()
616 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; in animateViewIntoPosition()
619 toX -= (Math.round(scale * (dragView.getMeasuredWidth() in animateViewIntoPosition()
634 animateViewIntoPosition(dragView, fromX, fromY, toX, toY, 1, 1, 1, toScale, toScale, in animateViewIntoPosition()
639 final int toX, final int toY, float finalAlpha, float initScaleX, float initScaleY, in animateViewIntoPosition() argument
644 Rect to = new Rect(toX, toY, toX + view.getMeasuredWidth(), toY + view.getMeasuredHeight()); in animateViewIntoPosition()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageShow.java686 private void startAnimTranslation(int fromX, int toX, in startAnimTranslation() argument
688 if (fromX == toX && fromY == toY) { in startAnimTranslation()
697 mAnimatorTranslateX = ValueAnimator.ofInt(fromX, toX); in startAnimTranslation()