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

  /packages/apps/Launcher2/src/com/android/launcher2/
DeleteDropTarget.java 191 d.dragView.setColor(mHoverColor);
198 dragLayer.getViewRectRelativeToSelf(d.dragView, from);
199 Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(),
212 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f,
259 final Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(),
262 dragLayer.getViewRectRelativeToSelf(d.dragView, from);
286 final DragView dragView = (DragView) dragLayer.getAnimatedView()
    [all...]
DragController.java 96 /** The window token used as the parent for the DragView. */
246 final DragView dragView = mDragObject.dragView = new DragView(mLauncher, b, registrationX,
250 dragView.setDragVisualizeOffset(new Point(dragOffset));
253 dragView.setDragRegion(new Rect(dragRegion));
256 dragView.show(mMotionDownX, mMotionDownY);
358 if (mDragObject.dragView != null) {
361 mDragObject.dragView.remove()
    [all...]
DragLayer.java 66 private DragView mDropView = null;
454 public void animateViewIntoPosition(DragView dragView, final View child) {
455 animateViewIntoPosition(dragView, child, null);
458 public void animateViewIntoPosition(DragView dragView, final int[] pos, float alpha,
462 getViewRectRelativeToSelf(dragView, r);
466 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY,
470 public void animateViewIntoPosition(DragView dragView, final View child
    [all...]
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.
ButtonDropTarget.java 91 d.dragView.setColor(mHoverColor);
99 d.dragView.setColor(0);
Workspace.java     [all...]
CellLayout.java     [all...]
Folder.java 620 float[] r = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView, null);
636 // This is used to compute the visual center of the dragView. The idea is that
640 DragView dragView, float[] recycle) {
650 // top, as the dragRect is in that case taken to be the entire dragView.
656 res[0] = left + dragView.getDragRegion().width() / 2;
657 res[1] = top + dragView.getDragRegion().height() / 2;
    [all...]
FolderIcon.java 322 final ShortcutInfo srcInfo, final DragView srcView, Rect dstRect,
335 // This will animate the dragView (srcView) into the new folder
358 private void onDrop(final ShortcutInfo item, DragView animateView, Rect finalRect,
364 // Typically, the animateView corresponds to the DragView; however, if this is being done
427 onDrop(item, d.dragView, null, 1.0f, mInfo.contents.size(), d.postAnimationRunnable, d);
  /packages/apps/Launcher3/src/com/android/launcher3/
DeleteDropTarget.java 225 d.dragView.setColor(mHoverColor);
232 dragLayer.getViewRectRelativeToSelf(d.dragView, from);
233 final Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(),
248 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f,
356 final Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(),
359 dragLayer.getViewRectRelativeToSelf(d.dragView, from);
383 final DragView dragView = (DragView) dragLayer.getAnimatedView()
    [all...]
DragController.java 88 /** The window token used as the parent for the DragView. */
200 public DragView startDrag(Bitmap b, int dragLayerX, int dragLayerY,
234 final DragView dragView = mDragObject.dragView = new DragView(mLauncher, b, registrationX,
238 dragView.setDragVisualizeOffset(new Point(dragOffset));
241 dragView.setDragRegion(new Rect(dragRegion));
245 dragView.show(mMotionDownX, mMotionDownY);
247 return dragView;
    [all...]
DragLayer.java 62 private DragView mDropView = null;
492 public void animateViewIntoPosition(DragView dragView, final View child) {
493 animateViewIntoPosition(dragView, child, null, null);
496 public void animateViewIntoPosition(DragView dragView, final int[] pos, float alpha,
500 getViewRectRelativeToSelf(dragView, r);
504 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY,
508 public void animateViewIntoPosition(DragView dragView, final View child
    [all...]
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.
154 * @param dragView The DragView that's being dragged around on screen.
ButtonDropTarget.java 89 d.dragView.setColor(mHoverColor);
97 d.dragView.setColor(0);
Workspace.java     [all...]
CellLayout.java     [all...]
PagedView.java     [all...]
Folder.java 666 final DragView dragView = d.dragView;
668 final float[] r = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, dragView, null);
705 // This is used to compute the visual center of the dragView. The idea is that
709 DragView dragView, float[] recycle) {
719 // top, as the dragRect is in that case taken to be the entire dragView.
725 res[0] = left + dragView.getDragRegion().width() / 2;
726 res[1] = top + dragView.getDragRegion().height() / 2
    [all...]
FolderIcon.java 370 final ShortcutInfo srcInfo, final DragView srcView, Rect dstRect,
383 // This will animate the dragView (srcView) into the new folder
407 private void onDrop(final ShortcutInfo item, DragView animateView, Rect finalRect,
413 // Typically, the animateView corresponds to the DragView; however, if this is being done
476 onDrop(item, d.dragView, null, 1.0f, mInfo.contents.size(), d.postAnimationRunnable, d);
Launcher.java     [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
PagedView.java     [all...]
  /packages/apps/Music/src/com/android/music/
TouchInterceptor.java 327 dragView(x, y);
400 private void dragView(int x, int y) {

Completed in 215 milliseconds