/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 | WorkspaceStateTransitionAnimation.java | 100 DragLayer dragLayer = mLauncher.getDragLayer(); in setWorkspaceProperty() local 103 dragLayer.getDescendantCoordRelativeToSelf(mWorkspace, workspacePivot); in setWorkspaceProperty() 104 dragLayer.mapCoordInSelfToDescendant(hotseat, workspacePivot); in setWorkspaceProperty()
|
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 | 2682 DragLayer dragLayer = mLauncher.getDragLayer(); 2705 dragLayer.animateViewIntoPosition(dragView, from.left, from.top, finalPos[0],
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 728 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 …]
|
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 | 109 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/ |
D | TestViewHelpers.java | 106 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/ |
D | FolderIcon.java | 306 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()
|
D | Folder.java | 489 DragLayer dragLayer = mLauncher.getDragLayer(); in animateOpen() local 493 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 | 515 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()
|