/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | FloatingWidgetView.java | 151 private void init(DragLayer dragLayer, LauncherAppWidgetHostView originalView, in init() argument 159 mEndRunnable = () -> finish(dragLayer); in init() 166 getRelativePosition(mAppWidgetBackgroundView, dragLayer, mBackgroundPosition); in init() 178 dragLayer.addView(mListenerView); in init() 238 private void finish(DragLayer dragLayer) { in finish() argument 241 ((ViewGroup) dragLayer.getParent()).removeView(this); in finish() 242 dragLayer.removeView(mListenerView); in finish() 284 final DragLayer dragLayer = launcher.getDragLayer(); in getFloatingWidgetView() local 285 ViewGroup parent = (ViewGroup) dragLayer.getParent(); in getFloatingWidgetView() 290 floatingView.init(dragLayer, originalView, widgetBackgroundPosition, windowSize, in getFloatingWidgetView()
|
D | AllAppsEduView.java | 277 final DragLayer dragLayer = launcher.getDragLayer(); in show() local 279 R.layout.all_apps_edu_view, dragLayer, false); in show()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AbstractFloatingView.java | 199 BaseDragLayer dragLayer = activity.getDragLayer(); in getOpenView() local 200 if (dragLayer == null) return null; in getOpenView() 203 for (int i = dragLayer.getChildCount() - 1; i >= 0; i--) { in getOpenView() 204 View child = dragLayer.getChildAt(i); in getOpenView() 225 BaseDragLayer dragLayer = activity.getDragLayer(); in closeOpenViews() local 228 for (int i = dragLayer.getChildCount() - 1; i >= 0; i--) { in closeOpenViews() 229 View child = dragLayer.getChildAt(i); in closeOpenViews()
|
D | ButtonDropTarget.java | 212 final DragLayer dragLayer = mLauncher.getDragLayer(); in onDrop() local 215 dragLayer.getViewRectRelativeToSelf(d.dragView, from); in onDrop() 232 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()
|
D | AppWidgetResizeFrame.java | 202 DragLayer dragLayer) { in setupForWidget() argument 211 mDragLayer = dragLayer; in setupForWidget()
|
D | Utilities.java | 245 public static void getBoundsForViewInDragLayer(BaseDragLayer dragLayer, View view, in getBoundsForViewInDragLayer() argument 253 Utilities.getDescendantCoordRelativeToAncestor(view, dragLayer, points, in getBoundsForViewInDragLayer()
|
D | Workspace.java | 2716 DragLayer dragLayer = mLauncher.getDragLayer(); 2739 dragLayer.animateViewIntoPosition(dragView, from.left, from.top, finalPos[0],
|
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/ |
D | StatefulActivity.java | 120 BaseDragLayer dragLayer = getDragLayer(); in onStop() local 123 final int origDragLayerChildCount = dragLayer.getChildCount(); in onStop() 136 dragLayer.post(() -> { in onStop() 139 || dragLayer.getAlpha() < 1 in onStop() 141 || dragLayer.getChildCount() != origDragLayerChildCount)) { in onStop()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | ArrowPopup.java | 571 InsettableFrameLayout dragLayer = getPopupContainer(); in orientAboutObject() local 572 Rect insets = dragLayer.getInsets(); in orientAboutObject() 591 < dragLayer.getWidth() - insets.right; in orientAboutObject() 606 mIsAboveIcon = y > dragLayer.getTop() + insets.top; in orientAboutObject() 616 if (y + height > dragLayer.getBottom() - insets.bottom) { in orientAboutObject() 623 if (rightSide + width < dragLayer.getRight()) { in orientAboutObject() 631 if (leftSide > dragLayer.getLeft()) { in orientAboutObject() 667 BaseDragLayer dragLayer = getPopupContainer(); in onLayout() local 668 Rect insets = dragLayer.getInsets(); in onLayout() 670 || getTranslationX() + r > dragLayer.getWidth() - insets.right) { in onLayout() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 539 final DragLayer dragLayer = launcher.getDragLayer(); in getFloatingIconView() local 540 ViewGroup parent = (ViewGroup) dragLayer.getParent(); in getFloatingIconView() 568 dragLayer.addView(view.mListenerView); in getFloatingIconView() 577 view.finish(dragLayer); in getFloatingIconView() 583 view.finish(dragLayer); in getFloatingIconView() 586 view.finish(dragLayer); in getFloatingIconView() 600 private void finish(DragLayer dragLayer) { in finish() argument 601 ((ViewGroup) dragLayer.getParent()).removeView(this); in finish() 602 dragLayer.removeView(mListenerView); in finish()
|
D | Snackbar.java | 74 BaseDragLayer dragLayer = activity.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/tests/src_disabled/ |
D | WorkTabTest.java | 228 DragLayer dragLayer = l.getDragLayer(); in getEduView() 229 return dragLayer.getChildCount() > 0 && dragLayer.getChildAt( in getEduView() 230 dragLayer.getChildCount() - 1) instanceof WorkEduView; in getEduView()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | LauncherAppWidgetHostView.java | 164 DragLayer dragLayer = mLauncher.getDragLayer(); in onLongClick() local 165 dragLayer.requestDisallowInterceptTouchEvent(false); in onLongClick() 268 DragLayer dragLayer = mLauncher.getDragLayer(); in onInterceptTouchEvent() local 270 dragLayer.requestDisallowInterceptTouchEvent(true); in onInterceptTouchEvent() 272 dragLayer.setTouchCompleteListener(this); in onInterceptTouchEvent()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarIconController.java | 52 TaskbarIconController(TaskbarActivityContext activity, TaskbarDragLayer dragLayer) { in TaskbarIconController() argument 54 mDragLayer = dragLayer; in TaskbarIconController()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderIcon.java | 338 DragLayer dragLayer = launcher.getDragLayer(); in onDrop() local 340 dragLayer.getViewRectRelativeToSelf(animateView, from); in onDrop() 351 scaleRelativeToDragLayer = dragLayer.getDescendantRectRelativeToSelf(this, to); in onDrop() 406 dragLayer.animateView(animateView, from, to, finalAlpha, in onDrop()
|
D | Folder.java | 651 BaseDragLayer dragLayer = mActivityContext.getDragLayer(); in animateOpen() local 655 dragLayer.addView(this); in animateOpen()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | AbsSwipeUpHandler.java | 452 View dragLayer = activity.getDragLayer(); in onLauncherStart() local 453 dragLayer.getViewTreeObserver().addOnDrawListener(new OnDrawListener() { in onLauncherStart() 464 dragLayer.post(() -> in onLauncherStart() 465 dragLayer.getViewTreeObserver().removeOnDrawListener(this)); in onLauncherStart()
|