| /packages/apps/Launcher3/src/com/android/launcher3/celllayout/ |
| D | ReorderAlgorithm.java | 60 int minSpanY, int spanX, int spanY, int[] direction, View dragView, boolean decX, in findReorderSolution() argument 77 dragView, solution); in findReorderSolution() 84 direction, dragView, false, solution); in findReorderSolution() 87 direction, dragView, true, solution); in findReorderSolution() 111 int spanY, View dragView) { in dropInPlaceSolution() argument 113 if (mCellLayout.isNearestDropLocationOccupied(pixelX, pixelY, spanX, spanY, dragView, in dropInPlaceSolution() 176 int minSpanY, int spanX, int spanY, View dragView) { in calculateReorder() argument 177 mCellLayout.getDirectionVectorForDrop(pixelX, pixelY, spanX, spanY, dragView, in calculateReorder() 182 dragView); in calculateReorder() 186 minSpanY, spanX, spanY, mCellLayout.mDirectionVector, dragView, true, in calculateReorder()
|
| D | MulticellReorderAlgorithm.java | 61 int minSpanY, int spanX, int spanY, int[] direction, View dragView, boolean decX, in findReorderSolution() argument 65 direction, dragView, decX, solution))); in findReorderSolution() 71 View dragView) { in dropInPlaceSolution() argument 73 () -> super.dropInPlaceSolution(pixelX, pixelY, spanX, spanY, dragView))); in dropInPlaceSolution()
|
| /packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
| D | TaskbarDragController.java | 170 DragView dragView = startInternalDrag(btv, dragPreviewProvider); in startDragOnLongClick() local 172 dragView.animateShift(-iconShift.x, -iconShift.y); in startDragOnLongClick() 227 mDragView = dragObject.dragView; in startInternalDrag() 280 final DragView dragView = mDragObject.dragView = new TaskbarDragView( in startDrag() local 288 dragView.setItemInfo(dragInfo); in startDrag() 296 mDragObject.stateAnnouncer = DragViewStateAnnouncer.createFor(dragView); in startDrag() 304 dragView.setHasDragOffset(mOptions.preDragCondition.getDragOffset().x != 0 in startDrag() 309 dragView.setDragRegion(new Rect(dragRegion)); in startDrag() 312 dragView.show(mLastTouch.x, mLastTouch.y); in startDrag() 323 return dragView; in startDrag() [all …]
|
| /packages/apps/Launcher3/src/com/android/launcher3/util/ |
| D | FlingAnimation.java | 60 mDragObject.dragView.cancelAnimation(); in run() 61 mDragObject.dragView.requestLayout(); in run() 65 mDragLayer.getViewRectRelativeToSelf(mDragObject.dragView, from); in run() 69 ((1 - mDragObject.dragView.getScaleX()) * from.width()) / 2f, in run() 70 ((1 - mDragObject.dragView.getScaleY()) * from.height()) / 2f); in run() 108 mDragLayer.playDropAnimation(mDragObject.dragView, anim, DragLayer.ANIMATION_END_DISAPPEAR); in run() 175 final DragView dragView = (DragView) mDragLayer.getAnimatedView(); in onAnimationUpdate() local 177 dragView.setTranslationX(time * mUX + mFrom.left + mAX * time * time / 2); in onAnimationUpdate() 178 dragView.setTranslationY(time * mUY + mFrom.top + mAY * time * time / 2); in onAnimationUpdate() 179 dragView.setAlpha(1f - mAlphaInterpolator.getInterpolation(t)); in onAnimationUpdate()
|
| /packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
| D | SecondaryDragController.java | 84 final DragView dragView = mDragObject.dragView = drawable != null in startDrag() local 103 dragView.setItemInfo(dragInfo); in startDrag() 112 mDragObject.stateAnnouncer = DragViewStateAnnouncer.createFor(dragView); in startDrag() 120 dragView.setHasDragOffset(mOptions.preDragCondition.getDragOffset().x != 0 || in startDrag() 125 dragView.setDragRegion(new Rect(dragRegion)); in startDrag() 129 dragView.show(mLastTouch.x, mLastTouch.y); in startDrag() 139 return dragView; in startDrag() 157 dragObject.dragView.remove(); in getDefaultDropTarget()
|
| D | SecondaryDragLayer.java | 241 mDragView = dragObject.dragView; in onIconLongClicked()
|
| /packages/apps/Launcher3/src/com/android/launcher3/ |
| D | MultipageCellLayout.java | 58 int spanY, View dragView, int[] resultDirection) { in getDirectionVectorForDrop() argument 62 dragView, resultDirection); in getDirectionVectorForDrop() 69 View dragView, int[] result) { in isNearestDropLocationOccupied() argument 71 () -> super.isNearestDropLocationOccupied(pixelX, pixelY, spanX, spanY, dragView, in isNearestDropLocationOccupied() 93 boolean createAreaForResize(int cellX, int cellY, int spanX, int spanY, View dragView, in createAreaForResize() argument 101 () -> super.createAreaForResize(finalCellX, cellY, spanX, spanY, dragView, in createAreaForResize() 107 View dragView, int[] result, int[] resultSpan, int mode) { in performReorder() argument 111 return super.performReorder(pixelX, pixelY, minSpanX, minSpanY, spanX, spanY, dragView, in performReorder()
|
| D | ButtonDropTarget.java | 167 d.dragView.setAlpha(DRAG_VIEW_HOVER_OVER_OPACITY); in onDragEnter() 185 d.dragView.setAlpha(1f); in onDragExit() 188 d.dragView.setAlpha(DRAG_VIEW_HOVER_OVER_OPACITY); in onDragExit() 245 final DragView dragView = d.dragView; in onDrop() local 247 final float scale = (float) to.width() / dragView.getMeasuredWidth(); in onDrop() 248 dragView.detachContentView(/* reattachToPreviousParent= */ true); in onDrop() 259 dragLayer.animateView(d.dragView, to, scale, 0.1f, 0.1f, in onDrop() 285 int viewWidth = dragObject.dragView.getMeasuredWidth(); in getIconRect() 286 int viewHeight = dragObject.dragView.getMeasuredHeight(); in getIconRect()
|
| D | CellLayout.java | 1197 View view = dragObject.dragView.getContentView(); in applyColorExtractionOnWidget() 1390 private void copySolutionToTempState(ItemConfiguration solution, View dragView) { in copySolutionToTempState() argument 1396 if (child == dragView) continue; in copySolutionToTempState() 1410 private void animateItemsToSolution(ItemConfiguration solution, View dragView, boolean in animateItemsToSolution() argument 1419 if (child == dragView) continue; in animateItemsToSolution() 1435 View dragView, int mode) { in beginOrAdjustReorderPreviewAnimations() argument 1439 if (child == dragView) continue; in beginOrAdjustReorderPreviewAnimations() 1622 private void commitTempPlacement(View dragView) { in commitTempPlacement() argument 1640 if (info != null && child != dragView) { in commitTempPlacement() 1667 View dragView, Rect boundingRect, ArrayList<View> intersectingViews) { in getViewsIntersectingRegion() argument [all …]
|
| D | Workspace.java | 463 ? dragObject.dragView.getContentViewParent().getParent() in onDragStart() 708 if (dragObject.dragView.getContentView() instanceof LauncherAppWidgetHostView) { in addExtraEmptyScreenOnDrag() 2079 d.dragView.detachContentView(/* reattachToPreviousParent= */ false); in onDrop() 2112 d.dragView.detachContentView(/* reattachToPreviousParent= */ true); in onDrop() 2125 d.dragView.detachContentView(/* reattachToPreviousParent= */ true); in onDrop() 2138 if (d.dragView.hasDrawn()) { in onDrop() 2168 animateWidgetDrop(info, parent, d.dragView, null, animationType, cell, false); in onDrop() 2171 mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, cell, duration, in onDrop() 2833 animateWidgetDrop(info, cellLayout, d.dragView, onAnimationCompleteRunnable, 2900 if (d.dragView != null) { [all …]
|
| D | DropTarget.java | 55 public DragView dragView = null; field in DropTarget.DragObject 96 Rect dragRegion = dragView.getDragRegion(); in getVisualCenter()
|
| /packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
| D | LauncherDragController.java | 97 final DragView dragView = mDragObject.dragView = drawable != null in startDrag() local 116 dragView.setItemInfo(dragInfo); in startDrag() 124 mDragObject.stateAnnouncer = DragViewStateAnnouncer.createFor(dragView); in startDrag() 132 dragView.setHasDragOffset(mOptions.preDragCondition.getDragOffset().x != 0 || in startDrag() 137 dragView.setDragRegion(new Rect(dragRegion)); in startDrag() 141 dragView.show(mLastTouch.x, mLastTouch.y); in startDrag() 156 return dragView; in startDrag()
|
| D | DragLayer.java | 231 public void animateViewIntoPosition(DragView dragView, final int[] pos, float alpha, in animateViewIntoPosition() argument 234 animateViewIntoPosition(dragView, pos[0], pos[1], alpha, scaleX, scaleY, in animateViewIntoPosition() 238 public void animateViewIntoPosition(DragView dragView, final View child, View anchorView) { in animateViewIntoPosition() argument 239 animateViewIntoPosition(dragView, child, -1, anchorView); in animateViewIntoPosition() 242 public void animateViewIntoPosition(DragView dragView, final View child, int duration, in animateViewIntoPosition() argument 279 / (dragView.getMeasuredWidth() - dragView.getBlurSizeOutline())); in animateViewIntoPosition() 283 float scaleShiftX = dragView.getMeasuredWidth() * (1 - toScale) / 2; in animateViewIntoPosition() 284 float scaleShiftY = dragView.getMeasuredHeight() * (1 - toScale) / 2; in animateViewIntoPosition() 286 … toX += scale * destRect.left - toScale * dragView.getBlurSizeOutline() / 2 - scaleShiftX; in animateViewIntoPosition() 287 toY += scale * destRect.top - toScale * dragView.getBlurSizeOutline() / 2 - scaleShiftY; in animateViewIntoPosition() [all …]
|
| D | DragController.java | 208 mDragObject.dragView in callOnDragStart() 216 mDragObject.dragView.onDragStart(); in callOnDragStart() 290 if (mDragObject.dragView != null) { in endDrag() 293 mDragObject.dragView.remove(); in endDrag() 297 mDragObject.dragView.clearAnimation(); in endDrag() 298 mDragObject.dragView = null; in endDrag() 320 mDragObject.dragView.animateTo(mMotionDown.x, mMotionDown.y, onCompleteRunnable, duration); in animateDragViewToOriginalPosition() 337 void onDeferredEndDrag(DragView dragView) { in onDeferredEndDrag() argument 338 dragView.remove(); in onDeferredEndDrag() 433 mDragObject.dragView.move(x, y); in handleMoveEvent()
|
| D | BaseItemDragListener.java | 145 dragObject.dragView.setAlpha(.5f); in onPreDragStart() 151 dragObject.dragView.setAlpha(1f); in onPreDragEnd()
|
| /packages/apps/Launcher3/src/com/android/launcher3/widget/dragndrop/ |
| D | AppWidgetHostViewDragListener.java | 35 if (dragObject.dragView.getContentView() instanceof LauncherAppWidgetHostView) { in onDragStart() 36 mAppWidgetHostView = (LauncherAppWidgetHostView) dragObject.dragView.getContentView(); in onDragStart()
|
| /packages/apps/Launcher3/src/com/android/launcher3/folder/ |
| D | FolderIcon.java | 308 final DragView srcView = d.dragView; in performCreateAnimation() 336 DragView animateView = d.dragView; in onDrop()
|
| D | Folder.java | 892 mScrollAreaOffset = d.dragView.getDragRegionWidth() / 2 - d.xOffset; in onDragEnter() 1307 if (d.dragView.hasDrawn()) { in onDrop() 1314 launcher.getDragLayer().animateViewIntoPosition(d.dragView, currentDragView, null); in onDrop()
|