Lines Matching refs:dragLayer
205 DragLayer dragLayer = mLauncher.getDragLayer(); in animateToTrashAndCompleteDrop() local
207 dragLayer.getViewRectRelativeToSelf(d.dragView, from); in animateToTrashAndCompleteDrop()
221 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f, in animateToTrashAndCompleteDrop()
266 private AnimatorUpdateListener createFlingToTrashAnimatorListener(final DragLayer dragLayer, in createFlingToTrashAnimatorListener() argument
271 dragLayer.getViewRectRelativeToSelf(d.dragView, from); in createFlingToTrashAnimatorListener()
295 final DragView dragView = (DragView) dragLayer.getAnimatedView(); in createFlingToTrashAnimatorListener()
332 public FlingAlongVectorAnimatorUpdateListener(DragLayer dragLayer, PointF vel, Rect from,
334 mDragLayer = dragLayer;
338 mFriction = 1f - (dragLayer.getResources().getDisplayMetrics().density * friction);
369 private AnimatorUpdateListener createFlingAlongVectorAnimatorListener(final DragLayer dragLayer,
373 dragLayer.getViewRectRelativeToSelf(d.dragView, from);
375 return new FlingAlongVectorAnimatorUpdateListener(dragLayer, vel, from, startTime,
397 final DragLayer dragLayer = mLauncher.getDragLayer();
424 updateCb = createFlingToTrashAnimatorListener(dragLayer, d, vel, config);
426 updateCb = createFlingAlongVectorAnimatorListener(dragLayer, d, vel, startTime,
441 dragLayer.animateView(d.dragView, updateCb, duration, tInterpolator, onAnimationEndRunnable,