Lines Matching refs:mDragObject
89 private DropTarget.DragObject mDragObject; field in DragController
236 mDragObject = new DropTarget.DragObject(); in startDrag()
238 mDragObject.dragComplete = false; in startDrag()
239 mDragObject.xOffset = mMotionDownX - (dragLayerX + dragRegionLeft); in startDrag()
240 mDragObject.yOffset = mMotionDownY - (dragLayerY + dragRegionTop); in startDrag()
241 mDragObject.dragSource = source; in startDrag()
242 mDragObject.dragInfo = dragInfo; in startDrag()
246 final DragView dragView = mDragObject.dragView = new DragView(mLauncher, b, registrationX, in startDrag()
322 mLastDropTarget.onDragExit(mDragObject); in cancelDrag()
324 mDragObject.deferDragViewCleanupPostAnimation = false; in cancelDrag()
325 mDragObject.cancelled = true; in cancelDrag()
326 mDragObject.dragComplete = true; in cancelDrag()
327 mDragObject.dragSource.onDropCompleted(null, mDragObject, false, false); in cancelDrag()
333 if (mDragObject != null) { in onAppsRemoved()
334 Object rawDragInfo = mDragObject.dragInfo; in onAppsRemoved()
358 if (mDragObject.dragView != null) { in endDrag()
359 isDeferred = mDragObject.deferDragViewCleanupPostAnimation; in endDrag()
361 mDragObject.dragView.remove(); in endDrag()
363 mDragObject.dragView = null; in endDrag()
446 PointF vec = isFlingingToDelete(mDragObject.dragSource); in onInterceptTouchEvent()
485 mDragObject.dragView.move(x, y); in handleMoveEvent()
490 mDragObject.x = coordinates[0]; in handleMoveEvent()
491 mDragObject.y = coordinates[1]; in handleMoveEvent()
510 DropTarget delegate = dropTarget.getDropTargetDelegate(mDragObject); in checkTouchMove()
517 mLastDropTarget.onDragExit(mDragObject); in checkTouchMove()
519 dropTarget.onDragEnter(mDragObject); in checkTouchMove()
521 dropTarget.onDragOver(mDragObject); in checkTouchMove()
524 mLastDropTarget.onDragExit(mDragObject); in checkTouchMove()
599 PointF vec = isFlingingToDelete(mDragObject.dragSource);
646 mDragObject.x = coordinates[0];
647 mDragObject.y = coordinates[1];
652 mLastDropTarget.onDragExit(mDragObject);
657 mFlingToDeleteDropTarget.onDragEnter(mDragObject);
660 mDragObject.dragComplete = true;
661 mFlingToDeleteDropTarget.onDragExit(mDragObject);
662 if (mFlingToDeleteDropTarget.acceptDrop(mDragObject)) {
663 mFlingToDeleteDropTarget.onFlingToDelete(mDragObject, mDragObject.x, mDragObject.y,
667 mDragObject.dragSource.onDropCompleted((View) mFlingToDeleteDropTarget, mDragObject, true,
675 mDragObject.x = coordinates[0];
676 mDragObject.y = coordinates[1];
679 mDragObject.dragComplete = true;
680 dropTarget.onDragExit(mDragObject);
681 if (dropTarget.acceptDrop(mDragObject)) {
682 dropTarget.onDrop(mDragObject);
686 mDragObject.dragSource.onDropCompleted((View) dropTarget, mDragObject, false, accepted);
705 mDragObject.x = x;
706 mDragObject.y = y;
708 DropTarget delegate = target.getDropTargetDelegate(mDragObject);
789 return mDragObject.dragView;