Searched refs:mDragObject (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragController.java | 73 private DropTarget.DragObject mDragObject; field in DragController 158 mDragObject = new DropTarget.DragObject(); in startDrag() 166 final DragView dragView = mDragObject.dragView = new DragView(mLauncher, b, registrationX, in startDrag() 169 mDragObject.dragComplete = false; in startDrag() 172 mDragObject.xOffset = b.getWidth() / 2; in startDrag() 173 mDragObject.yOffset = b.getHeight() / 2; in startDrag() 174 mDragObject.accessibleDrag = true; in startDrag() 176 mDragObject.xOffset = mMotionDownX - (dragLayerX + dragRegionLeft); in startDrag() 177 mDragObject.yOffset = mMotionDownY - (dragLayerY + dragRegionTop); in startDrag() 178 mDragObject.stateAnnouncer = DragViewStateAnnouncer.createFor(dragView); in startDrag() [all …]
|
D | DragDriver.java | 100 private final DragObject mDragObject; field in SystemDragDriver 108 mDragObject = dragObject; in SystemDragDriver()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DragController.java | 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() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | FlingAnimation.java | 28 protected final DragObject mDragObject; field in FlingAnimation 43 mDragObject = d; in FlingAnimation() 51 mIconRect = mDropTarget.getIconRect(mDragObject); in run() 55 mDragLayer.getViewRectRelativeToSelf(mDragObject.dragView, mFrom); in run() 56 float scale = mDragObject.dragView.getScaleX(); in run() 57 float xOffset = ((scale - 1f) * mDragObject.dragView.getMeasuredWidth()) / 2f; in run() 58 float yOffset = ((scale - 1f) * mDragObject.dragView.getMeasuredHeight()) / 2f; in run() 68 mDragObject.dragView.setColor(0); in run() 99 mDropTarget.completeDrop(mDragObject); in run() 103 mDragLayer.animateView(mDragObject.dragView, this, duration, tInterpolator, in run()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | Folder.java | 1457 private final DragObject mDragObject; 1460 mDragObject = object; 1481 mScrollPauseAlarm.setOnAlarmListener(new OnScrollFinishedListener(mDragObject)); 1488 private final DragObject mDragObject; 1491 mDragObject = object; 1500 onDragOver(mDragObject, 1);
|