Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java241 InsettableFrameLayout dragLayer = getPopupContainer(); in orientAboutObject() local
242 Rect insets = dragLayer.getInsets(); in orientAboutObject()
249 < dragLayer.getRight() - insets.right; in orientAboutObject()
250 boolean canBeRightAligned = rightAlignedX > dragLayer.getLeft() + insets.left; in orientAboutObject()
279 mIsAboveIcon = y > dragLayer.getTop() + insets.top; in orientAboutObject()
289 if (y + height > dragLayer.getBottom() - insets.bottom) { in orientAboutObject()
296 if (rightSide + width < dragLayer.getRight()) { in orientAboutObject()
304 if (leftSide > dragLayer.getLeft()) { in orientAboutObject()
338 ViewGroup dragLayer = getPopupContainer(); in onLayout() local
339 if (getTranslationX() + l < 0 || getTranslationX() + r > dragLayer.getWidth()) { in onLayout()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DAbstractFloatingView.java186 BaseDragLayer dragLayer = activity.getDragLayer(); in getOpenView() local
187 if (dragLayer == null) return null; in getOpenView()
190 for (int i = dragLayer.getChildCount() - 1; i >= 0; i--) { in getOpenView()
191 View child = dragLayer.getChildAt(i); in getOpenView()
212 BaseDragLayer dragLayer = activity.getDragLayer(); in closeOpenViews() local
215 for (int i = dragLayer.getChildCount() - 1; i >= 0; i--) { in closeOpenViews()
216 View child = dragLayer.getChildAt(i); in closeOpenViews()
DButtonDropTarget.java286 final DragLayer dragLayer = mLauncher.getDragLayer(); in onDrop() local
288 dragLayer.getViewRectRelativeToSelf(d.dragView, from); in onDrop()
300 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f, in onDrop()
330 DragLayer dragLayer = mLauncher.getDragLayer(); in getIconRect() local
334 dragLayer.getViewRectRelativeToSelf(this, to); in getIconRect()
DWorkspaceStateTransitionAnimation.java100 DragLayer dragLayer = mLauncher.getDragLayer(); in setWorkspaceProperty() local
103 dragLayer.getDescendantCoordRelativeToSelf(mWorkspace, workspacePivot); in setWorkspaceProperty()
104 dragLayer.mapCoordInSelfToDescendant(hotseat, workspacePivot); in setWorkspaceProperty()
DFocusHelper.java337 final ViewGroup dragLayer = (ViewGroup) workspace.getParent(); in handleIconKeyEvent() local
338 final ViewGroup tabs = (ViewGroup) dragLayer.findViewById(R.id.drop_target_bar); in handleIconKeyEvent()
339 final Hotseat hotseat = (Hotseat) dragLayer.findViewById(R.id.hotseat); in handleIconKeyEvent()
DAppWidgetResizeFrame.java158 DragLayer dragLayer) { in setupForWidget() argument
164 mDragLayer = dragLayer; in setupForWidget()
DWorkspace.java2682 DragLayer dragLayer = mLauncher.getDragLayer();
2705 dragLayer.animateViewIntoPosition(dragView, from.left, from.top, finalPos[0],
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java728 final DragLayer dragLayer = launcher.getDragLayer(); in getFloatingIconView() local
729 ViewGroup parent = (ViewGroup) dragLayer.getParent(); in getFloatingIconView()
759 dragLayer.addView(view.mListenerView); in getFloatingIconView()
768 view.finish(dragLayer); in getFloatingIconView()
770 view.mFadeAnimatorSet = view.createFadeAnimation(originalView, dragLayer); in getFloatingIconView()
774 view.finish(dragLayer); in getFloatingIconView()
780 private AnimatorSet createFadeAnimation(View originalView, DragLayer dragLayer) { in createFadeAnimation() argument
791 finish(dragLayer); in createFadeAnimation()
833 private void finish(DragLayer dragLayer) { in finish() argument
834 ((ViewGroup) dragLayer.getParent()).removeView(this); in finish()
[all …]
DSnackbar.java74 DragLayer dragLayer = launcher.getDragLayer(); in show() local
75 dragLayer.addView(snackbar); in show()
84 int maxWidth = dragLayer.getWidth() - minMarginLeftRight * 2 - insets.left - insets.right; in show()
85 int minWidth = dragLayer.getWidth() - maxMarginLeftRight * 2 - insets.left - insets.right; in show()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DLauncherAppWidgetHostView.java109 DragLayer dragLayer = Launcher.getLauncher(getContext()).getDragLayer(); in onLongClick() local
110 dragLayer.requestDisallowInterceptTouchEvent(false); in onLongClick()
178 DragLayer dragLayer = Launcher.getLauncher(getContext()).getDragLayer(); in onInterceptTouchEvent() local
181 dragLayer.requestDisallowInterceptTouchEvent(true); in onInterceptTouchEvent()
186 dragLayer.setTouchCompleteListener(this); in onInterceptTouchEvent()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTestViewHelpers.java106 UiObject2 dragLayer = findViewById(R.id.drag_layer); in dragToWorkspace() local
116 if (moveLocation.y - distanceToMove >= dragLayer.getVisibleBounds().top) { in dragToWorkspace()
129 Point moveLocation = dragLayer.getVisibleCenter(); in dragToWorkspace()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java306 DragLayer dragLayer = mLauncher.getDragLayer(); in onDrop() local
308 dragLayer.getViewRectRelativeToSelf(animateView, from); in onDrop()
319 scaleRelativeToDragLayer = dragLayer.getDescendantRectRelativeToSelf(this, to); in onDrop()
366 dragLayer.animateView(animateView, from, to, finalAlpha, in onDrop()
DFolder.java489 DragLayer dragLayer = mLauncher.getDragLayer(); in animateOpen() local
493 dragLayer.addView(this); in animateOpen()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DWorkspaceAccessibilityHelper.java145 DragLayer dragLayer = Launcher.getLauncher(mView.getContext()).getDragLayer(); in onPopulateNodeForVirtualView() local
147 float scale = dragLayer.getDescendantCoordRelativeToSelf(mView, mTempCords); in onPopulateNodeForVirtualView()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java515 View dragLayer = activity.getDragLayer(); in onLauncherStart() local
516 dragLayer.getViewTreeObserver().addOnDrawListener(new OnDrawListener() { in onLauncherStart()
521 dragLayer.post(() -> in onLauncherStart()
522 dragLayer.getViewTreeObserver().removeOnDrawListener(this)); in onLauncherStart()