| /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/quickstep/src/com/android/launcher3/taskbar/ |
| D | TaskbarDragController.java | 171 DragView dragView = startInternalDrag(btv, dragPreviewProvider); in startDragOnLongClick() local 173 dragView.animateShift(-iconShift.x, -iconShift.y); in startDragOnLongClick() 228 mDragView = dragObject.dragView; in startInternalDrag() 283 final DragView dragView = mDragObject.dragView = new TaskbarDragView( in startDrag() local 291 dragView.setItemInfo(dragInfo); in startDrag() 299 mDragObject.stateAnnouncer = DragViewStateAnnouncer.createFor(dragView); in startDrag() 307 dragView.setHasDragOffset(mOptions.preDragCondition.getDragOffset().x != 0 in startDrag() 312 dragView.setDragRegion(new Rect(dragRegion)); in startDrag() 315 dragView.show(mLastTouch.x, mLastTouch.y); in startDrag() 326 return dragView; in startDrag() [all …]
|
| /packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
| D | SecondaryDragController.java | 86 final DragView dragView = mDragObject.dragView = drawable != null in startDrag() local 105 dragView.setItemInfo(dragInfo); in startDrag() 114 mDragObject.stateAnnouncer = DragViewStateAnnouncer.createFor(dragView); in startDrag() 122 dragView.setHasDragOffset(mOptions.preDragCondition.getDragOffset().x != 0 || in startDrag() 127 dragView.setDragRegion(new Rect(dragRegion)); in startDrag() 131 dragView.show(mLastTouch.x, mLastTouch.y); in startDrag() 145 return dragView; in startDrag() 163 dragObject.dragView.remove(); in getDefaultDropTarget()
|
| D | SecondaryDragLayer.java | 229 mDragView = dragObject.dragView; in onIconLongClicked()
|
| /packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
| D | LauncherDragController.java | 103 final DragView dragView = mDragObject.dragView = drawable != null in startDrag() local 122 dragView.setItemInfo(dragInfo); in startDrag() 130 mDragObject.stateAnnouncer = DragViewStateAnnouncer.createFor(dragView); in startDrag() 138 dragView.setHasDragOffset(mOptions.preDragCondition.getDragOffset().x != 0 || in startDrag() 143 dragView.setDragRegion(new Rect(dragRegion)); in startDrag() 147 dragView.show(mLastTouch.x, mLastTouch.y); in startDrag() 163 return dragView; in startDrag()
|
| D | DragLayer.java | 233 public void animateViewIntoPosition(DragView dragView, final int[] pos, float alpha, in animateViewIntoPosition() argument 236 animateViewIntoPosition(dragView, pos[0], pos[1], alpha, scaleX, scaleY, in animateViewIntoPosition() 240 public void animateViewIntoPosition(DragView dragView, final View child, View anchorView) { in animateViewIntoPosition() argument 241 animateViewIntoPosition(dragView, child, -1, anchorView); in animateViewIntoPosition() 244 public void animateViewIntoPosition(DragView dragView, final View child, int duration, in animateViewIntoPosition() argument 281 / (dragView.getMeasuredWidth() - dragView.getBlurSizeOutline())); in animateViewIntoPosition() 285 float scaleShiftX = dragView.getMeasuredWidth() * (1 - toScale) / 2; in animateViewIntoPosition() 286 float scaleShiftY = dragView.getMeasuredHeight() * (1 - toScale) / 2; in animateViewIntoPosition() 288 … toX += scale * destRect.left - toScale * dragView.getBlurSizeOutline() / 2 - scaleShiftX; in animateViewIntoPosition() 289 toY += scale * destRect.top - toScale * dragView.getBlurSizeOutline() / 2 - scaleShiftY; in animateViewIntoPosition() [all …]
|
| D | DragController.java | 215 mDragObject.dragView in callOnDragStart() 223 mDragObject.dragView.onDragStart(); in callOnDragStart() 304 if (mDragObject.dragView != null) { in endDrag() 307 mDragObject.dragView.remove(); in endDrag() 311 mDragObject.dragView.clearAnimation(); in endDrag() 312 mDragObject.dragView = null; in endDrag() 334 mDragObject.dragView.animateTo(mMotionDown.x, mMotionDown.y, onCompleteRunnable, duration); in animateDragViewToOriginalPosition() 351 void onDeferredEndDrag(DragView dragView) { in onDeferredEndDrag() argument 352 dragView.remove(); in onDeferredEndDrag() 445 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/ |
| 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 | 1357 private void copySolutionToTempState(ItemConfiguration solution, View dragView) { in copySolutionToTempState() argument 1363 if (child == dragView) continue; in copySolutionToTempState() 1377 private void animateItemsToSolution(ItemConfiguration solution, View dragView, boolean in animateItemsToSolution() argument 1386 if (child == dragView) continue; in animateItemsToSolution() 1402 View dragView, int mode) { in beginOrAdjustReorderPreviewAnimations() argument 1406 if (child == dragView) continue; in beginOrAdjustReorderPreviewAnimations() 1428 private void commitTempPlacement(View dragView) { in commitTempPlacement() argument 1446 if (info != null && child != dragView) { in commitTempPlacement() 1477 public Rect getIntersectingRectanglesInRegion(final Rect region, final View dragView) { in getIntersectingRectanglesInRegion() argument 1484 if (child == dragView) continue; in getIntersectingRectanglesInRegion() [all …]
|
| D | MultipageCellLayout.java | 60 View dragView, int[] result) { in isNearestDropLocationOccupied() argument 62 () -> super.isNearestDropLocationOccupied(pixelX, pixelY, spanX, spanY, dragView, in isNearestDropLocationOccupied() 84 boolean createAreaForResize(int cellX, int cellY, int spanX, int spanY, View dragView, in createAreaForResize() argument 92 () -> super.createAreaForResize(finalCellX, cellY, spanX, spanY, dragView, in createAreaForResize() 98 View dragView, int[] result, int[] resultSpan, int mode) { in performReorder() argument 102 return super.performReorder(pixelX, pixelY, minSpanX, minSpanY, spanX, spanY, dragView, in performReorder()
|
| D | Workspace.java | 471 ? dragObject.dragView.getContentViewParent().getParent() in onDragStart() 716 if (dragObject.dragView.getContentView() instanceof LauncherAppWidgetHostView) { in addExtraEmptyScreenOnDrag() 2107 d.dragView.detachContentView(/* reattachToPreviousParent= */ false); in onDrop() 2140 d.dragView.detachContentView(/* reattachToPreviousParent= */ true); in onDrop() 2153 d.dragView.detachContentView(/* reattachToPreviousParent= */ true); in onDrop() 2166 if (d.dragView.hasDrawn()) { in onDrop() 2196 animateWidgetDrop(info, parent, d.dragView, null, animationType, cell, false); in onDrop() 2199 mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, cell, duration, in onDrop() 2865 animateWidgetDrop(info, cellLayout, d.dragView, onAnimationCompleteRunnable, 2909 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/celllayout/ |
| D | ReorderAlgorithm.java | 84 int minSpanY, int spanX, int spanY, int[] direction, View dragView, boolean decX, in findReorderSolutionRecursive() argument 100 success = rearrangementExists(result[0], result[1], spanX, spanY, direction, dragView, in findReorderSolutionRecursive() 108 spanY, direction, dragView, false, solution); in findReorderSolutionRecursive() 111 spanY - 1, direction, dragView, true, solution); in findReorderSolutionRecursive() 210 int[] direction, View dragView, ItemConfiguration currentState) { in pushViewsToTempLocation() argument 260 if (!cluster.views.contains(v) && v != dragView) { in pushViewsToTempLocation() 352 int[] direction, View dragView, ItemConfiguration currentState) { in addViewsToTempLocation() argument
|
| D | ReorderParameters.kt | 28 val dragView: View?, constant in com.android.launcher3.celllayout.ReorderParameters
|
| /packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
| D | WidgetPickerActivity.java | 197 View dragView = widgetCell.getDragAndDropView(); in getAllAppsItemLongClickListener() local 198 if (dragView == null) { in getAllAppsItemLongClickListener() 217 return dragView.startDragAndDrop( in getAllAppsItemLongClickListener() 219 new View.DragShadowBuilder(dragView), in getAllAppsItemLongClickListener()
|
| /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 | 920 mScrollAreaOffset = d.dragView.getDragRegionWidth() / 2 - d.xOffset; in onDragEnter() 1337 if (d.dragView.hasDrawn()) { in onDrop() 1344 launcher.getDragLayer().animateViewIntoPosition(d.dragView, currentDragView, null); in onDrop()
|