Searched refs:toY (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DragLayer.java | 592 int toY = coord[1]; in animateViewIntoPosition() local 603 toY += Math.round(toScale * tv.getPaddingTop()); in animateViewIntoPosition() 604 toY -= dragView.getMeasuredHeight() * (1 - toScale) / 2; in animateViewIntoPosition() 606 toY -= Math.round(toScale * dragView.getDragVisualizeOffset().y); in animateViewIntoPosition() 612 toY += Math.round(scale * (child.getPaddingTop() - dragView.getDragRegionTop())); in animateViewIntoPosition() 613 toY -= scale * Workspace.DRAG_BITMAP_PADDING / 2; in animateViewIntoPosition() 614 toY -= (1 - scale) * dragView.getMeasuredHeight() / 2; in animateViewIntoPosition() 618 toY -= (Math.round(scale * (dragView.getHeight() - child.getMeasuredHeight()))) / 2; 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 [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DragLayer.java | 496 int toY = coord[1]; in animateViewIntoPosition() local 503 toY += Math.round(scale * tv.getPaddingTop()); in animateViewIntoPosition() 504 toY -= dragView.getMeasuredHeight() * (1 - scale) / 2; in animateViewIntoPosition() 508 toY -= scale * Workspace.DRAG_BITMAP_PADDING / 2; in animateViewIntoPosition() 509 toY -= (1 - scale) * dragView.getMeasuredHeight() / 2; in animateViewIntoPosition() 513 toY -= (Math.round(scale * (dragView.getHeight() - child.getMeasuredHeight()))) / 2; 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/ |
D | CarItemAnimator.java | 34 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/Contacts/src/com/android/contacts/editor/ |
D | EditorAnimator.java | 203 float toY, int startDelay, int duration) { in translateViews() argument 207 ObjectAnimator.ofFloat(child, View.TRANSLATION_Y, fromY, toY); in translateViews()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageShow.java | 687 int fromY, int toY, int delay) { in startAnimTranslation() argument 688 if (fromX == toX && fromY == toY) { in startAnimTranslation() 698 mAnimatorTranslateY = ValueAnimator.ofInt(fromY, toY); in startAnimTranslation()
|