/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | ArrowPopup.java | 241 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/ |
D | AbstractFloatingView.java | 186 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()
|
D | ButtonDropTarget.java | 286 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()
|
D | FocusHelper.java | 337 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()
|
D | AppWidgetResizeFrame.java | 158 DragLayer dragLayer) { in setupForWidget() argument 164 mDragLayer = dragLayer; in setupForWidget()
|
D | Workspace.java | 2700 DragLayer dragLayer = mLauncher.getDragLayer(); 2723 dragLayer.animateViewIntoPosition(dragView, from.left, from.top, finalPos[0],
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 745 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 …]
|
D | Snackbar.java | 74 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/ |
D | LauncherAppWidgetHostView.java | 110 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/ |
D | FolderIcon.java | 305 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()
|
D | Folder.java | 532 DragLayer dragLayer = mLauncher.getDragLayer(); in animateOpen() local 536 dragLayer.addView(this); in animateOpen()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | WorkspaceAccessibilityHelper.java | 145 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/ |
D | WindowTransformSwipeHandler.java | 376 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()
|