/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | DeleteDropTarget.java | 200 d.dragView.setColor(mHoverColor); 207 dragLayer.getViewRectRelativeToSelf(d.dragView, from); 208 Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(), 221 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f, 268 final Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(), 271 dragLayer.getViewRectRelativeToSelf(d.dragView, from); 295 final DragView dragView = (DragView) dragLayer.getAnimatedView(); 298 float initialScale = dragView [all...] |
H A D | DragController.java | 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(); 363 mDragObject.dragView = null; 380 void onDeferredEndDrag(DragView dragView) { argument 381 dragView [all...] |
H A D | DragLayer.java | 454 public void animateViewIntoPosition(DragView dragView, final View child) { argument 455 animateViewIntoPosition(dragView, child, null); 458 public void animateViewIntoPosition(DragView dragView, final int[] pos, float alpha, argument 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, argument 472 animateViewIntoPosition(dragView, child, -1, onFinishAnimationRunnable, null); 475 public void animateViewIntoPosition(DragView dragView, final View child, int duration, argument 482 getViewRectRelativeToSelf(dragView, r); 504 toY -= dragView [all...] |
H A D | DropTarget.java | 49 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 D | ButtonDropTarget.java | 91 d.dragView.setColor(mHoverColor); 99 d.dragView.setColor(0);
|
H A D | Workspace.java | 1976 d.dragView, mDragViewVisualCenter); 2095 int[] targetCell, float distance, boolean external, DragView dragView, 2133 // If the dragView is null, we can't animate 2134 boolean animate = dragView != null; 2136 fi.performCreateAnimation(destInfo, v, sourceInfo, dragView, folderLocation, scale, 2171 mDragViewVisualCenter = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView, 2217 dropTargetLayout, mTargetCell, distance, false, d.dragView, null)) { 2333 if (d.dragView.hasDrawn()) { 2338 animateWidgetDrop(info, parent, d.dragView, 2342 mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, cel 2094 createUserFolderIfNecessary(View newView, long container, CellLayout target, int[] targetCell, float distance, boolean external, DragView dragView, Runnable postAnimationRunnable) argument 2629 overlaps(CellLayout cl, DragView dragView, int dragViewX, int dragViewY, Matrix cachedInverseMatrix) argument 2672 findMatchingPageForDragOver( DragView dragView, float originX, float originY, boolean exact) argument 2721 getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, DragView dragView, float[] recycle) argument 2939 DragView dragView; field in class:Workspace.ReorderAlarmListener 2942 ReorderAlarmListener(float[] dragViewCenter, int minSpanX, int minSpanY, int spanX, int spanY, DragView dragView, View child) argument 3203 getFinalPositionForDropAnimation(int[] loc, float[] scaleXY, DragView dragView, CellLayout layout, ItemInfo info, int[] targetCell, boolean external, boolean scale) argument 3239 animateWidgetDrop(ItemInfo info, CellLayout cellLayout, DragView dragView, final Runnable onCompleteRunnable, int animationType, final View finalView, boolean external) argument [all...] |
H A D | CellLayout.java | 1824 int[] direction, View dragView, ItemConfiguration currentState) { 1874 if (!cluster.views.contains(v) && v != dragView) { 1919 int[] direction, View dragView, ItemConfiguration currentState) { 2156 int spanY, int[] direction, View dragView, boolean decX, ItemConfiguration solution) { 2171 success = rearrangementExists(result[0], result[1], spanX, spanY, direction, dragView, 2179 dragView, false, solution); 2182 dragView, true, solution); 2210 private void copySolutionToTempState(ItemConfiguration solution, View dragView) { argument 2220 if (child == dragView) continue; 2235 private void animateItemsToSolution(ItemConfiguration solution, View dragView, boolea argument 1823 pushViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument 1918 addViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument 2155 simpleSwap(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, int[] direction, View dragView, boolean decX, ItemConfiguration solution) argument 2263 beginOrAdjustHintAnimations(ItemConfiguration solution, View dragView, int delay) argument 2435 findConfigurationNoShuffle(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View dragView, ItemConfiguration solution) argument 2466 getDirectionVectorForDrop(int dragViewCenterX, int dragViewCenterY, int spanX, int spanY, View dragView, int[] resultDirection) argument 2505 getViewsIntersectingRegion(int cellX, int cellY, int spanX, int spanY, View dragView, Rect boundingRect, ArrayList<View> intersectingViews) argument 2528 isNearestDropLocationOccupied(int pixelX, int pixelY, int spanX, int spanY, View dragView, int[] result) argument 2553 createAreaForResize(int cellX, int cellY, int spanX, int spanY, View dragView, int[] direction, boolean commit) argument 2584 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 D | Folder.java | 623 float[] r = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView, null); 639 // This is used to compute the visual center of the dragView. The idea is that 643 DragView dragView, float[] recycle) { 653 // top, as the dragRect is in that case taken to be the entire dragView. 659 res[0] = left + dragView.getDragRegion().width() / 2; 660 res[1] = top + dragView.getDragRegion().height() / 2; 1016 if (d.dragView.hasDrawn()) { 1017 mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, mCurrentDragView); 642 getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, DragView dragView, float[] recycle) argument
|
H A D | FolderIcon.java | 335 // This will animate the dragView (srcView) into the new folder 427 onDrop(item, d.dragView, null, 1.0f, mInfo.contents.size(), d.postAnimationRunnable, d);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | DeleteDropTarget.java | 240 d.dragView.setColor(mHoverColor); 247 dragLayer.getViewRectRelativeToSelf(d.dragView, from); 251 final Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(), 266 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f, 376 final Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(), 379 dragLayer.getViewRectRelativeToSelf(d.dragView, from); 403 final DragView dragView = (DragView) dragLayer.getAnimatedView(); 406 float initialScale = dragView [all...] |
H A D | DragController.java | 240 final DragView dragView = mDragObject.dragView = new DragView(mLauncher, b, registrationX, 244 dragView.setDragVisualizeOffset(new Point(dragOffset)); 247 dragView.setDragRegion(new Rect(dragRegion)); 251 dragView.show(mMotionDownX, mMotionDownY); 253 return dragView; 354 if (mDragObject.dragView != null) { 357 mDragObject.dragView.remove(); 359 mDragObject.dragView = null; 376 void onDeferredEndDrag(DragView dragView) { argument [all...] |
H A D | DragLayer.java | 532 public void animateViewIntoPosition(DragView dragView, final View child) { argument 533 animateViewIntoPosition(dragView, child, null, null); 536 public void animateViewIntoPosition(DragView dragView, final int[] pos, float alpha, argument 540 getViewRectRelativeToSelf(dragView, r); 544 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY, 548 public void animateViewIntoPosition(DragView dragView, final View child, argument 550 animateViewIntoPosition(dragView, child, -1, onFinishAnimationRunnable, anchorView); 553 public void animateViewIntoPosition(DragView dragView, final View child, int duration, argument 560 getViewRectRelativeToSelf(dragView, r); 580 toScale = scale / dragView [all...] |
H A D | DropTarget.java | 49 public DragView dragView = null; field in class:DropTarget.DragObject 124 * @param dragView The DragView that's being dragged around on screen. 154 * @param dragView The DragView that's being dragged around on screen.
|
H A D | ButtonDropTarget.java | 89 d.dragView.setColor(mHoverColor); 97 d.dragView.setColor(0);
|
H A D | CellLayout.java | 1698 int[] direction, View dragView, ItemConfiguration currentState) { 1748 if (!cluster.views.contains(v) && v != dragView) { 1793 int[] direction, View dragView, ItemConfiguration currentState) { 2032 int spanX, int spanY, int[] direction, View dragView, boolean decX, 2048 success = rearrangementExists(result[0], result[1], spanX, spanY, direction, dragView, 2056 direction, dragView, false, solution); 2059 direction, dragView, true, solution); 2087 private void copySolutionToTempState(ItemConfiguration solution, View dragView) { argument 2097 if (child == dragView) continue; 2112 private void animateItemsToSolution(ItemConfiguration solution, View dragView, boolea argument 1697 pushViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument 1792 addViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument 2031 findReorderSolution(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, int[] direction, View dragView, boolean decX, ItemConfiguration solution) argument 2141 beginOrAdjustReorderPreviewAnimations(ItemConfiguration solution, View dragView, int delay, int mode) argument 2328 findConfigurationNoShuffle(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View dragView, ItemConfiguration solution) argument 2359 getDirectionVectorForDrop(int dragViewCenterX, int dragViewCenterY, int spanX, int spanY, View dragView, int[] resultDirection) argument 2398 getViewsIntersectingRegion(int cellX, int cellY, int spanX, int spanY, View dragView, Rect boundingRect, ArrayList<View> intersectingViews) argument 2421 isNearestDropLocationOccupied(int pixelX, int pixelY, int spanX, int spanY, View dragView, int[] result) argument 2447 createAreaForResize(int cellX, int cellY, int spanX, int spanY, View dragView, int[] direction, boolean commit) argument 2478 performReorder(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View dragView, int[] result, int resultSpan[], int mode) argument [all...] |
H A D | Workspace.java | 2862 d.dragView, mDragViewVisualCenter); 2988 int[] targetCell, float distance, boolean external, DragView dragView, 3026 // If the dragView is null, we can't animate 3027 boolean animate = dragView != null; 3029 fi.performCreateAnimation(destInfo, v, sourceInfo, dragView, folderLocation, scale, 3064 mDragViewVisualCenter = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView, 3110 dropTargetLayout, mTargetCell, distance, false, d.dragView, null)) { 3229 if (d.dragView.hasDrawn()) { 3234 animateWidgetDrop(info, parent, d.dragView, 3238 mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, cel 2987 createUserFolderIfNecessary(View newView, long container, CellLayout target, int[] targetCell, float distance, boolean external, DragView dragView, Runnable postAnimationRunnable) argument 3521 findMatchingPageForDragOver( DragView dragView, float originX, float originY, boolean exact) argument 3575 getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, DragView dragView, float[] recycle) argument 3805 DragView dragView; field in class:Workspace.ReorderAlarmListener 3808 ReorderAlarmListener(float[] dragViewCenter, int minSpanX, int minSpanY, int spanX, int spanY, DragView dragView, View child) argument 4077 getFinalPositionForDropAnimation(int[] loc, float[] scaleXY, DragView dragView, CellLayout layout, ItemInfo info, int[] targetCell, boolean external, boolean scale) argument 4113 animateWidgetDrop(ItemInfo info, CellLayout cellLayout, DragView dragView, final Runnable onCompleteRunnable, int animationType, final View finalView, boolean external) argument [all...] |
H A D | PagedView.java | 2631 public FlingAlongVectorAnimatorUpdateListener(View dragView, PointF vel, Rect from, argument 2633 mDragView = dragView; 2660 private Runnable createPostDeleteAnimationRunnable(final View dragView) { argument 2664 int dragViewIndex = indexOfChild(dragView); 2739 removeView(dragView); 2740 onRemoveView(dragView, true); 2775 final View dragView = mDragView; 2776 from.left = (int) dragView.getTranslationX(); 2777 from.top = (int) dragView.getTranslationY(); 2778 AnimatorUpdateListener updateCb = new FlingAlongVectorAnimatorUpdateListener(dragView, ve [all...] |
H A D | Folder.java | 738 final DragView dragView = d.dragView; 740 final float[] r = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, dragView, null); 774 // This is used to compute the visual center of the dragView. The idea is that 778 DragView dragView, float[] recycle) { 788 // top, as the dragRect is in that case taken to be the entire dragView. 794 res[0] = left + dragView.getDragRegion().width() / 2; 795 res[1] = top + dragView.getDragRegion().height() / 2; 1276 if (d.dragView.hasDrawn()) { 1283 mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, currentDragVie 777 getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, DragView dragView, float[] recycle) argument [all...] |
H A D | FolderIcon.java | 393 // This will animate the dragView (srcView) into the new folder 486 onDrop(item, d.dragView, null, 1.0f, mInfo.contents.size(), d.postAnimationRunnable, d);
|
H A D | Launcher.java | 5045 public void startDrag(View dragView, ItemInfo dragInfo, DragSource source) { argument 5046 dragView.setTag(dragInfo); 5047 mWorkspace.onExternalDragStartedWithItem(dragView); 5048 mWorkspace.beginExternalDragShared(dragView, source);
|
/packages/apps/Music/src/com/android/music/ |
H A D | TouchInterceptor.java | 327 dragView(x, y); 400 private void dragView(int x, int y) { method in class:TouchInterceptor
|