Searched defs:toX (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageShow.java685 private void startAnimTranslation(int fromX, int toX, argument
687 if (fromX == toX && fromY == toY) {
696 mAnimatorTranslateX = ValueAnimator.ofInt(fromX, toX);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragLayer.java495 int toX = coord[0];
505 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
511 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
514 toX -= (Math.round(scale * (dragView.getMeasuredWidth()
529 animateViewIntoPosition(dragView, fromX, fromY, toX, toY, 1, 1, 1, scale, scale,
534 final int toX, final int toY, float finalAlpha, float initScaleX, float initScaleY,
539 Rect to = new Rect(toX, toY, toX + view.getMeasuredWidth(), toY + view.getMeasuredHeight());
533 animateViewIntoPosition(final DragView view, final int fromX, final int fromY, final int toX, final int toY, float finalAlpha, float initScaleX, float initScaleY, float finalScaleX, float finalScaleY, Runnable onCompleteRunnable, int animationEndStyle, int duration, View anchorView) argument
/packages/apps/Launcher3/src/com/android/launcher3/
H A DDragLayer.java523 int toX = coord[0];
533 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
540 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
543 toX -= (Math.round(scale * (dragView.getMeasuredWidth()
558 animateViewIntoPosition(dragView, fromX, fromY, toX, toY, 1, 1, 1, scale, scale,
563 final int toX, final int toY, float finalAlpha, float initScaleX, float initScaleY,
568 Rect to = new Rect(toX, toY, toX + view.getMeasuredWidth(), toY + view.getMeasuredHeight());
562 animateViewIntoPosition(final DragView view, final int fromX, final int fromY, final int toX, final int toY, float finalAlpha, float initScaleX, float initScaleY, float finalScaleX, float finalScaleY, Runnable onCompleteRunnable, int animationEndStyle, int duration, View anchorView) argument

Completed in 310 milliseconds