Home
last modified time | relevance | path

Searched refs:dragLayer (Results 1 – 19 of 19) 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 …]
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()
DButtonDropTarget.java125 DragLayer dragLayer = mLauncher.getDragLayer(); in getIconRect() local
129 dragLayer.getViewRectRelativeToSelf(this, to); in getIconRect()
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/
DAbstractFloatingView.java102 DragLayer dragLayer = launcher.getDragLayer(); in getOpenView() local
105 for (int i = dragLayer.getChildCount() - 1; i >= 0; i--) { in getOpenView()
106 View child = dragLayer.getChildAt(i); in getOpenView()
125 DragLayer dragLayer = launcher.getDragLayer(); in closeAllOpenViews() local
128 for (int i = dragLayer.getChildCount() - 1; i >= 0; i--) { in closeAllOpenViews()
129 View child = dragLayer.getChildAt(i); in closeAllOpenViews()
DButtonDropTarget.java219 final DragLayer dragLayer = mLauncher.getDragLayer(); in onDrop() local
221 dragLayer.getViewRectRelativeToSelf(d.dragView, from); in onDrop()
235 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f, in onDrop()
262 DragLayer dragLayer = mLauncher.getDragLayer(); in getIconRect() local
266 dragLayer.getViewRectRelativeToSelf(this, to); in getIconRect()
DLauncherAppWidgetHostView.java103 DragLayer dragLayer = Launcher.getLauncher(getContext()).getDragLayer(); in onLongClick() local
104 dragLayer.requestDisallowInterceptTouchEvent(false); in onLongClick()
175 DragLayer dragLayer = Launcher.getLauncher(getContext()).getDragLayer(); in onInterceptTouchEvent() local
178 dragLayer.requestDisallowInterceptTouchEvent(true); in onInterceptTouchEvent()
183 dragLayer.setTouchCompleteListener(this); in onInterceptTouchEvent()
DWorkspaceStateTransitionAnimation.java451 final DragLayer dragLayer = mLauncher.getDragLayer(); in animateBackgroundGradient() local
452 final float startAlpha = dragLayer.getBackgroundAlpha(); in animateBackgroundGradient()
464 dragLayer.setBackgroundAlpha( in animateBackgroundGradient()
472 dragLayer.setBackgroundAlpha(finalAlpha); in animateBackgroundGradient()
DFocusHelper.java348 final ViewGroup dragLayer = (ViewGroup) workspace.getParent(); in handleIconKeyEvent() local
349 final ViewGroup tabs = (ViewGroup) dragLayer.findViewById(R.id.drop_target_bar); in handleIconKeyEvent()
350 final Hotseat hotseat = (Hotseat) dragLayer.findViewById(R.id.hotseat); in handleIconKeyEvent()
DAppWidgetResizeFrame.java118 DragLayer dragLayer) { in setupForWidget() argument
124 mDragLayer = dragLayer; in setupForWidget()
DWorkspace.java1872 DragLayer dragLayer = mLauncher.getDragLayer(); in exitWidgetResizeMode() local
1873 dragLayer.clearResizeFrame(); in exitWidgetResizeMode()
2558 DragLayer dragLayer = mLauncher.getDragLayer(); in onDrop()
2559 dragLayer.addResizeFrame(hostView, cellLayout); in onDrop()
3408 DragLayer dragLayer = mLauncher.getDragLayer();
3431 dragLayer.animateViewIntoPosition(dragView, from.left, from.top, finalPos[0],
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java411 DragLayer dragLayer = mLauncher.getDragLayer(); in enforceContainedWithinScreen() local
413 getTranslationX() + right > dragLayer.getWidth()) { in enforceContainedWithinScreen()
419 setX(dragLayer.getWidth() / 2 - getMeasuredWidth() / 2); in enforceContainedWithinScreen()
422 setY(dragLayer.getHeight() / 2 - getMeasuredHeight() / 2); in enforceContainedWithinScreen()
459 DragLayer dragLayer = mLauncher.getDragLayer(); in orientAboutIcon() local
460 dragLayer.getDescendantRectRelativeToSelf(icon, mTempRect); in orientAboutIcon()
461 Rect insets = dragLayer.getInsets(); in orientAboutIcon()
468 < dragLayer.getRight() - insets.right; in orientAboutIcon()
469 boolean canBeRightAligned = rightAlignedX > dragLayer.getLeft() + insets.left; in orientAboutIcon()
475 x -= dragLayer.getWidth() - width; in orientAboutIcon()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewImageView.java89 DragLayer dragLayer = Launcher.getLauncher(context).getDragLayer(); in get() local
90 PreviewImageView view = (PreviewImageView) dragLayer.getTag(R.id.preview_image_id); in get()
92 view = new PreviewImageView(dragLayer); in get()
93 dragLayer.setTag(R.id.preview_image_id, view); in get()
DFolderIcon.java296 DragLayer dragLayer = mLauncher.getDragLayer(); in onDrop() local
298 dragLayer.getViewRectRelativeToSelf(animateView, from); in onDrop()
309 scaleRelativeToDragLayer = dragLayer.getDescendantRectRelativeToSelf(this, to); in onDrop()
353 dragLayer.animateView(animateView, from, to, finalAlpha, in onDrop()
DFolder.java595 DragLayer dragLayer = mLauncher.getDragLayer(); in animateOpen() local
599 dragLayer.addView(this); in animateOpen()
704 dragLayer.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED); in animateOpen()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java151 UiObject2 dragLayer = findViewById(R.id.drag_layer); in dragToWorkspace() local
160 if (moveLocation.y - distanceToMove >= dragLayer.getVisibleBounds().top) { in dragToWorkspace()
173 Point moveLocation = dragLayer.getVisibleCenter(); in dragToWorkspace()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DWorkspaceAccessibilityHelper.java144 DragLayer dragLayer = Launcher.getLauncher(mView.getContext()).getDragLayer(); in onPopulateNodeForVirtualView() local
146 float scale = dragLayer.getDescendantCoordRelativeToSelf(mView, mTempCords); in onPopulateNodeForVirtualView()