Home
last modified time | relevance | path

Searched refs:dragLayer (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DDeleteDropTarget.java205 DragLayer dragLayer = mLauncher.getDragLayer(); in animateToTrashAndCompleteDrop() local
207 dragLayer.getViewRectRelativeToSelf(d.dragView, from); in animateToTrashAndCompleteDrop()
221 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f, in animateToTrashAndCompleteDrop()
266 private AnimatorUpdateListener createFlingToTrashAnimatorListener(final DragLayer dragLayer, in createFlingToTrashAnimatorListener() argument
271 dragLayer.getViewRectRelativeToSelf(d.dragView, from); in createFlingToTrashAnimatorListener()
295 final DragView dragView = (DragView) dragLayer.getAnimatedView(); in createFlingToTrashAnimatorListener()
332 public FlingAlongVectorAnimatorUpdateListener(DragLayer dragLayer, PointF vel, Rect from,
334 mDragLayer = dragLayer;
338 mFriction = 1f - (dragLayer.getResources().getDisplayMetrics().density * friction);
369 private AnimatorUpdateListener createFlingAlongVectorAnimatorListener(final DragLayer dragLayer,
[all …]
DButtonDropTarget.java125 DragLayer dragLayer = mLauncher.getDragLayer(); in getIconRect() local
129 dragLayer.getViewRectRelativeToSelf(this, to); in getIconRect()
DFolderIcon.java368 DragLayer dragLayer = mLauncher.getDragLayer(); in onDrop() local
370 dragLayer.getViewRectRelativeToSelf(animateView, from); in onDrop()
381 scaleRelativeToDragLayer = dragLayer.getDescendantRectRelativeToSelf(this, to); in onDrop()
399 dragLayer.animateView(animateView, from, to, finalAlpha, in onDrop()
DDragController.java533 final DragLayer dragLayer = mLauncher.getDragLayer(); in checkScrollState()
534 final boolean isRtl = (dragLayer.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL); in checkScrollState()
542 dragLayer.onEnterScrollArea(forwardDirection); in checkScrollState()
551 dragLayer.onEnterScrollArea(backwardsDirection); in checkScrollState()
DAppWidgetResizeFrame.java77 LauncherAppWidgetHostView widgetView, CellLayout cellLayout, DragLayer dragLayer) { in AppWidgetResizeFrame() argument
84 mDragLayer = dragLayer; in AppWidgetResizeFrame()
85 mWorkspace = (Workspace) dragLayer.findViewById(R.id.workspace); in AppWidgetResizeFrame()
DWorkspace.java465 DragLayer dragLayer = mLauncher.getDragLayer(); in getOpenFolder() local
466 int count = dragLayer.getChildCount(); in getOpenFolder()
468 View child = dragLayer.getChildAt(i); in getOpenFolder()
1541 DragLayer dragLayer = mLauncher.getDragLayer();
1542 dragLayer.clearAllResizeFrames();
2290 DragLayer dragLayer = mLauncher.getDragLayer();
2291 dragLayer.addResizeFrame(info, hostView, cellLayout);
3267 DragLayer dragLayer = mLauncher.getDragLayer();
3290 dragLayer.animateViewIntoPosition(dragView, from.left, from.top, finalPos[0],
/packages/apps/Launcher3/src/com/android/launcher3/
DButtonDropTarget.java226 final DragLayer dragLayer = mLauncher.getDragLayer(); in onDrop() local
228 dragLayer.getViewRectRelativeToSelf(d.dragView, from); in onDrop()
245 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f, in onDrop()
267 DragLayer dragLayer = mLauncher.getDragLayer(); in getIconRect() local
271 dragLayer.getViewRectRelativeToSelf(this, to); in getIconRect()
DDeleteDropTarget.java85 final DragLayer dragLayer = mLauncher.getDragLayer(); in onFlingToDelete() local
89 dragLayer); in onFlingToDelete()
125 dragLayer.animateView(d.dragView, fling, duration, tInterpolator, onAnimationEndRunnable, in onFlingToDelete()
DWorkspaceStateTransitionAnimation.java483 final DragLayer dragLayer = mLauncher.getDragLayer(); in animateBackgroundGradient() local
484 final float startAlpha = dragLayer.getBackgroundAlpha(); in animateBackgroundGradient()
496 dragLayer.setBackgroundAlpha( in animateBackgroundGradient()
504 dragLayer.setBackgroundAlpha(finalAlpha); in animateBackgroundGradient()
DFolderIcon.java430 DragLayer dragLayer = mLauncher.getDragLayer(); in onDrop() local
432 dragLayer.getViewRectRelativeToSelf(animateView, from); in onDrop()
443 scaleRelativeToDragLayer = dragLayer.getDescendantRectRelativeToSelf(this, to); in onDrop()
461 dragLayer.animateView(animateView, from, to, finalAlpha, in onDrop()
DFocusHelper.java355 final ViewGroup dragLayer = (ViewGroup) workspace.getParent(); in handleIconKeyEvent() local
356 final ViewGroup tabs = (ViewGroup) dragLayer.findViewById(R.id.search_drop_target_bar); in handleIconKeyEvent()
357 final Hotseat hotseat = (Hotseat) dragLayer.findViewById(R.id.hotseat); in handleIconKeyEvent()
DDragController.java552 final DragLayer dragLayer = mLauncher.getDragLayer(); in checkScrollState()
560 dragLayer.onEnterScrollArea(forwardDirection); in checkScrollState()
569 dragLayer.onEnterScrollArea(backwardsDirection); in checkScrollState()
DAppWidgetResizeFrame.java74 LauncherAppWidgetHostView widgetView, CellLayout cellLayout, DragLayer dragLayer) { in AppWidgetResizeFrame() argument
83 mDragLayer = dragLayer; in AppWidgetResizeFrame()
DWorkspace.java504 DragLayer dragLayer = mLauncher.getDragLayer(); in getOpenFolder() local
505 int count = dragLayer.getChildCount(); in getOpenFolder()
507 View child = dragLayer.getChildAt(i); in getOpenFolder()
2038 DragLayer dragLayer = mLauncher.getDragLayer(); in exitWidgetResizeMode() local
2039 dragLayer.clearAllResizeFrames(); in exitWidgetResizeMode()
2842 DragLayer dragLayer = mLauncher.getDragLayer(); in onDrop()
2843 dragLayer.addResizeFrame(info, hostView, cellLayout); in onDrop()
3778 DragLayer dragLayer = mLauncher.getDragLayer();
3801 dragLayer.animateViewIntoPosition(dragView, from.left, from.top, finalPos[0],
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java36 public FlingAnimation(DragObject d, PointF vel, Rect iconRect, DragLayer dragLayer) { in FlingAnimation() argument
42 mDragLayer = dragLayer; in FlingAnimation()
44 dragLayer.getViewRectRelativeToSelf(d.dragView, mFrom); in FlingAnimation()