Lines Matching refs:DragView
73 @Thunk DragView mDropView = null;
554 public void animateViewIntoPosition(DragView dragView, final int[] pos, float alpha,
558 getViewRectRelativeToSelf(dragView, r);
562 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY,
566 public void animateViewIntoPosition(DragView dragView, final View child,
568 animateViewIntoPosition(dragView, child, -1, onFinishAnimationRunnable, anchorView);
571 public void animateViewIntoPosition(DragView dragView, final View child, int duration,
578 getViewRectRelativeToSelf(dragView, r);
598 toScale = scale / dragView.getIntrinsicIconScaleFactor();
604 toY -= dragView.getMeasuredHeight() * (1 - toScale) / 2;
605 if (dragView.getDragVisualizeOffset() != null) {
606 toY -= Math.round(toScale * dragView.getDragVisualizeOffset().y);
609 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
612 toY += Math.round(scale * (child.getPaddingTop() - dragView.getDragRegionTop()));
614 toY -= (1 - scale) * dragView.getMeasuredHeight() / 2;
616 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
618 toY -= (Math.round(scale * (dragView.getHeight() - child.getMeasuredHeight()))) / 2;
619 toX -= (Math.round(scale * (dragView.getMeasuredWidth()
634 animateViewIntoPosition(dragView, fromX, fromY, toX, toY, 1, 1, 1, toScale, toScale,
638 public void animateViewIntoPosition(final DragView view, final int fromX, final int fromY,
670 public void animateView(final DragView view, final Rect from, final Rect to,
740 public void animateView(final DragView view, AnimatorUpdateListener updateCb, int duration,
826 if (getChildAt(i) instanceof DragView) {