HomeSort by relevance Sort by last modified time
    Searched refs:DragView (Results 1 - 9 of 9) sorted by null

  /packages/apps/Launcher2/src/com/android/launcher2/
DropTarget.java 49 public DragView dragView = null;
63 /** Defers removing the DragView from the DragLayer until after the drop animation. */
124 * @param dragView The DragView that's being dragged around on screen.
155 * @param dragView The DragView that's being dragged around on screen.
173 * @param dragView The DragView that's being dragged around on screen.
DragView.java 35 public class DragView extends View {
66 public DragView(Launcher launcher, Bitmap bitmap, int registrationX, int registrationY,
288 mDragLayer.removeView(DragView.this);
DeleteDropTarget.java 192 d.dragView.setColor(mHoverColor);
199 dragLayer.getViewRectRelativeToSelf(d.dragView, from);
200 Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(),
213 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f,
260 final Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(),
263 dragLayer.getViewRectRelativeToSelf(d.dragView, from);
287 final DragView dragView = (DragView) dragLayer.getAnimatedView()
    [all...]
DragLayer.java 67 private DragView mDropView = null;
425 public void animateViewIntoPosition(DragView dragView, final View child) {
426 animateViewIntoPosition(dragView, child, null);
429 public void animateViewIntoPosition(DragView dragView, final int[] pos, float alpha,
433 getViewRectRelativeToSelf(dragView, r);
437 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY,
441 public void animateViewIntoPosition(DragView dragView, final View child
    [all...]
DragController.java 96 /** The window token used as the parent for the DragView. */
244 final DragView dragView = mDragObject.dragView = new DragView(mLauncher, b, registrationX,
248 dragView.setDragVisualizeOffset(new Point(dragOffset));
251 dragView.setDragRegion(new Rect(dragRegion));
254 dragView.show(mMotionDownX, mMotionDownY);
357 if (mDragObject.dragView != null) {
360 mDragObject.dragView.remove()
    [all...]
FolderIcon.java 312 final ShortcutInfo srcInfo, final DragView srcView, Rect dstRect,
318 // This will animate the dragView (srcView) into the new folder
335 private void onDrop(final ShortcutInfo item, DragView animateView, Rect finalRect,
341 // Typically, the animateView corresponds to the DragView; however, if this is being done
399 onDrop(item, d.dragView, null, 1.0f, mInfo.contents.size(), d.postAnimationRunnable, d);
Workspace.java     [all...]
Folder.java 632 float[] r = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView, null);
644 // This is used to compute the visual center of the dragView. The idea is that
648 DragView dragView, float[] recycle) {
658 // top, as the dragRect is in that case taken to be the entire dragView.
664 res[0] = left + dragView.getDragRegion().width() / 2;
665 res[1] = top + dragView.getDragRegion().height() / 2;
    [all...]
Launcher.java 662 (DragView) mDragLayer.getAnimatedView(), onCompleteRunnable,
    [all...]

Completed in 48 milliseconds