Home
last modified time | relevance | path

Searched refs:dragLayer (Results 1 – 13 of 13) 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()
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.java2700 DragLayer dragLayer = mLauncher.getDragLayer();
2723 dragLayer.animateViewIntoPosition(dragView, from.left, from.top, finalPos[0],
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java745 final DragLayer dragLayer = launcher.getDragLayer(); in getFloatingIconView() local
746 ViewGroup parent = (ViewGroup) dragLayer.getParent(); in getFloatingIconView()
774 dragLayer.addView(view.mListenerView); in getFloatingIconView()
788 view.finish(dragLayer); in getFloatingIconView()
790 view.mFadeAnimatorSet = view.createFadeAnimation(originalView, dragLayer); in getFloatingIconView()
794 view.finish(dragLayer); in getFloatingIconView()
808 private AnimatorSet createFadeAnimation(View originalView, DragLayer dragLayer) { in createFadeAnimation() argument
819 finish(dragLayer); in createFadeAnimation()
857 private void finish(DragLayer dragLayer) { in finish() argument
858 ((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.java110 DragLayer dragLayer = Launcher.getLauncher(getContext()).getDragLayer(); in onLongClick() local
111 dragLayer.requestDisallowInterceptTouchEvent(false); in onLongClick()
179 DragLayer dragLayer = Launcher.getLauncher(getContext()).getDragLayer(); in onInterceptTouchEvent() local
182 dragLayer.requestDisallowInterceptTouchEvent(true); in onInterceptTouchEvent()
187 dragLayer.setTouchCompleteListener(this); in onInterceptTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java305 DragLayer dragLayer = mLauncher.getDragLayer(); in onDrop() local
307 dragLayer.getViewRectRelativeToSelf(animateView, from); in onDrop()
318 scaleRelativeToDragLayer = dragLayer.getDescendantRectRelativeToSelf(this, to); in onDrop()
364 dragLayer.animateView(animateView, from, to, finalAlpha, in onDrop()
DFolder.java532 DragLayer dragLayer = mLauncher.getDragLayer(); in animateOpen() local
536 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.java376 View dragLayer = activity.getDragLayer(); in onLauncherStart() local
377 dragLayer.getViewTreeObserver().addOnDrawListener(new OnDrawListener() { in onLauncherStart()
382 dragLayer.post(() -> in onLauncherStart()
383 dragLayer.getViewTreeObserver().removeOnDrawListener(this)); in onLauncherStart()