Searched refs:dragView (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DDeleteDropTarget.java192 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();
290 float initialScale = dragView
[all...]
H A DDragController.java244 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();
362 mDragObject.dragView = null;
379 void onDeferredEndDrag(DragView dragView) { argument
380 dragView
[all...]
H A DButtonDropTarget.java90 d.dragView.setColor(mHoverColor);
98 d.dragView.setColor(0);
H A DDropTarget.java49 public DragView dragView = null; field in class:DropTarget.DragObject
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.
H A DDragLayer.java425 public void animateViewIntoPosition(DragView dragView, final View child) { argument
426 animateViewIntoPosition(dragView, child, null);
429 public void animateViewIntoPosition(DragView dragView, final int[] pos, float alpha, argument
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, argument
443 animateViewIntoPosition(dragView, child, -1, onFinishAnimationRunnable, null);
446 public void animateViewIntoPosition(DragView dragView, final View child, int duration, argument
454 getViewRectRelativeToSelf(dragView, r);
472 toY -= dragView
[all...]
H A DWorkspace.java1951 d.dragView, mDragViewVisualCenter);
2070 int[] targetCell, float distance, boolean external, DragView dragView,
2108 // If the dragView is null, we can't animate
2109 boolean animate = dragView != null;
2111 fi.performCreateAnimation(destInfo, v, sourceInfo, dragView, folderLocation, scale,
2146 mDragViewVisualCenter = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView,
2192 dropTargetLayout, mTargetCell, distance, false, d.dragView, null)) {
2305 if (d.dragView.hasDrawn()) {
2310 animateWidgetDrop(info, parent, d.dragView,
2314 mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, cel
2069 createUserFolderIfNecessary(View newView, long container, CellLayout target, int[] targetCell, float distance, boolean external, DragView dragView, Runnable postAnimationRunnable) argument
2601 overlaps(CellLayout cl, DragView dragView, int dragViewX, int dragViewY, Matrix cachedInverseMatrix) argument
2644 findMatchingPageForDragOver( DragView dragView, float originX, float originY, boolean exact) argument
2693 getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, DragView dragView, float[] recycle) argument
2911 DragView dragView; field in class:Workspace.ReorderAlarmListener
2914 ReorderAlarmListener(float[] dragViewCenter, int minSpanX, int minSpanY, int spanX, int spanY, DragView dragView, View child) argument
3163 getFinalPositionForDropAnimation(int[] loc, float[] scaleXY, DragView dragView, CellLayout layout, ItemInfo info, int[] targetCell, boolean external, boolean scale) argument
3199 animateWidgetDrop(ItemInfo info, CellLayout cellLayout, DragView dragView, final Runnable onCompleteRunnable, int animationType, final View finalView, boolean external) argument
[all...]
H A DCellLayout.java1579 boolean[][] occupied, View dragView, ItemConfiguration currentState) {
1604 if (views.contains(child) || child == dragView) continue;
1634 int[] direction, boolean push, View dragView, ItemConfiguration currentState) {
1653 while (push && addViewInDirection(dup, boundingRect, direction, mTmpOccupied, dragView,
1883 int spanY, int[] direction, View dragView, boolean decX, ItemConfiguration solution) {
1898 success = rearrangementExists(result[0], result[1], spanX, spanY, direction, dragView,
1906 dragView, false, solution);
1909 dragView, true, solution);
1937 private void copySolutionToTempState(ItemConfiguration solution, View dragView) { argument
1947 if (child == dragView) continu
1578 addViewInDirection(ArrayList<View> views, Rect boundingRect, int[] direction, boolean[][] occupied, View dragView, ItemConfiguration currentState) argument
1633 addViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, boolean push, View dragView, ItemConfiguration currentState) argument
1882 simpleSwap(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, int[] direction, View dragView, boolean decX, ItemConfiguration solution) argument
1962 animateItemsToSolution(ItemConfiguration solution, View dragView, boolean commitDragView) argument
1990 beginOrAdjustHintAnimations(ItemConfiguration solution, View dragView, int delay) argument
2161 findConfigurationNoShuffle(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View dragView, ItemConfiguration solution) argument
2192 getDirectionVectorForDrop(int dragViewCenterX, int dragViewCenterY, int spanX, int spanY, View dragView, int[] resultDirection) argument
2231 getViewsIntersectingRegion(int cellX, int cellY, int spanX, int spanY, View dragView, Rect boundingRect, ArrayList<View> intersectingViews) argument
2254 isNearestDropLocationOccupied(int pixelX, int pixelY, int spanX, int spanY, View dragView, int[] result) argument
2279 createAreaForResize(int cellX, int cellY, int spanX, int spanY, View dragView, int[] direction, boolean commit) argument
2310 createArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View dragView, int[] result, int resultSpan[], int mode) argument
[all...]
H A DFolder.java632 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;
1009 if (d.dragView.hasDrawn()) {
1010 mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, mCurrentDragView);
647 getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, DragView dragView, float[] recycle) argument
H A DFolderIcon.java318 // This will animate the dragView (srcView) into the new folder
399 onDrop(item, d.dragView, null, 1.0f, mInfo.contents.size(), d.postAnimationRunnable, d);
/packages/apps/Music/src/com/android/music/
H A DTouchInterceptor.java327 dragView(x, y);
400 private void dragView(int x, int y) { method in class:TouchInterceptor

Completed in 119 milliseconds