Lines Matching refs:from

140         // If we are dragging a widget from AppsCustomize, hide the delete target
145 // If we are dragging an application from AppsCustomize, only show the control if we can
197 Rect from = new Rect();
198 dragLayer.getViewRectRelativeToSelf(d.dragView, from);
201 float scale = (float) to.width() / from.width();
212 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f,
222 // Uninstall the application if it is being dragged from AppsCustomize
227 // Remove the folder from the workspace and delete the contents from launcher model
232 // Remove the widget from the workspace
255 * Creates an animation from the current drag view to the delete trash icon.
261 final Rect from = new Rect();
262 dragLayer.getViewRectRelativeToSelf(d.dragView, from);
268 int offsetY = (int) (-from.top * vp);
270 final float y2 = from.top + offsetY; // intermediate t/l
271 final float x2 = from.left + offsetX;
272 final float x1 = from.left; // drag view t/l
273 final float y1 = from.top;
309 * Creates an animation from the current drag view along its current velocity vector.
323 public FlingAlongVectorAnimatorUpdateListener(DragLayer dragLayer, PointF vel, Rect from,
327 mFrom = from;
363 final Rect from = new Rect();
364 dragLayer.getViewRectRelativeToSelf(d.dragView, from);
366 return new FlingAlongVectorAnimatorUpdateListener(dragLayer, vel, from, startTime,
376 // Don't highlight the target if we are flinging from AllApps
423 // If we are dragging from AllApps, then we allow AppsCustomizePagedView to clean up