Lines Matching refs:from
206 Rect from = new Rect(); in animateToTrashAndCompleteDrop() local
207 dragLayer.getViewRectRelativeToSelf(d.dragView, from); in animateToTrashAndCompleteDrop()
210 float scale = (float) to.width() / from.width(); in animateToTrashAndCompleteDrop()
221 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f, in animateToTrashAndCompleteDrop()
270 final Rect from = new Rect(); in createFlingToTrashAnimatorListener() local
271 dragLayer.getViewRectRelativeToSelf(d.dragView, from); in createFlingToTrashAnimatorListener()
277 int offsetY = (int) (-from.top * vp); in createFlingToTrashAnimatorListener()
279 final float y2 = from.top + offsetY; // intermediate t/l in createFlingToTrashAnimatorListener()
280 final float x2 = from.left + offsetX; in createFlingToTrashAnimatorListener()
281 final float x1 = from.left; // drag view t/l in createFlingToTrashAnimatorListener()
282 final float y1 = from.top; in createFlingToTrashAnimatorListener()
332 public FlingAlongVectorAnimatorUpdateListener(DragLayer dragLayer, PointF vel, Rect from,
336 mFrom = from;
372 final Rect from = new Rect();
373 dragLayer.getViewRectRelativeToSelf(d.dragView, from);
375 return new FlingAlongVectorAnimatorUpdateListener(dragLayer, vel, from, startTime,