Lines Matching defs:dragView
562 public void animateViewIntoPosition(DragView dragView, final int[] pos, float alpha,
566 getViewRectRelativeToSelf(dragView, r);
570 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY,
574 public void animateViewIntoPosition(DragView dragView, final View child,
576 animateViewIntoPosition(dragView, child, -1, onFinishAnimationRunnable, anchorView);
579 public void animateViewIntoPosition(DragView dragView, final View child, int duration,
586 getViewRectRelativeToSelf(dragView, r);
606 toScale = scale / dragView.getIntrinsicIconScaleFactor();
612 toY -= dragView.getMeasuredHeight() * (1 - toScale) / 2;
613 if (dragView.getDragVisualizeOffset() != null) {
614 toY -= Math.round(toScale * dragView.getDragVisualizeOffset().y);
617 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
620 toY += Math.round(scale * (child.getPaddingTop() - dragView.getDragRegionTop()));
621 toY -= scale * dragView.getBlurSizeOutline() / 2;
622 toY -= (1 - scale) * dragView.getMeasuredHeight() / 2;
624 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
626 toY -= (Math.round(scale * (dragView.getHeight() - child.getMeasuredHeight()))) / 2;
627 toX -= (Math.round(scale * (dragView.getMeasuredWidth()
642 animateViewIntoPosition(dragView, fromX, fromY, toX, toY, 1, 1, 1, toScale, toScale,