Searched refs:toY (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DragLayer.java | 574 int toY = coord[1]; in animateViewIntoPosition() local 585 toY += Math.round(toScale * tv.getPaddingTop()); in animateViewIntoPosition() 586 toY -= dragView.getMeasuredHeight() * (1 - toScale) / 2; in animateViewIntoPosition() 588 toY -= Math.round(toScale * dragView.getDragVisualizeOffset().y); in animateViewIntoPosition() 594 toY += Math.round(scale * (child.getPaddingTop() - dragView.getDragRegionTop())); in animateViewIntoPosition() 595 toY -= scale * Workspace.DRAG_BITMAP_PADDING / 2; in animateViewIntoPosition() 596 toY -= (1 - scale) * dragView.getMeasuredHeight() / 2; in animateViewIntoPosition() 600 toY -= (Math.round(scale * (dragView.getHeight() - child.getMeasuredHeight()))) / 2; in animateViewIntoPosition() 616 animateViewIntoPosition(dragView, fromX, fromY, toX, toY, 1, 1, 1, toScale, toScale, in animateViewIntoPosition() 621 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/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()
|