Home
last modified time | relevance | path

Searched refs:getDragLayer (Results 1 – 25 of 68) sorted by relevance

123

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskMenuView.java94 BaseDragLayer dl = mActivity.getDragLayer(); in onControllerInterceptTouchEvent()
170 R.layout.task_menu, activity.getDragLayer(), false);
178 mActivity.getDragLayer().addView(this);
244 mActivity.getDragLayer().getDescendantRectRelativeToSelf(taskView, sTempRect);
245 Rect insets = mActivity.getDragLayer().getInsets();
309 mActivity.getDragLayer().removeView(this);
DAllAppsEduView.java104 mLauncher.getDragLayer().removeView(this); in handleClose()
277 final DragLayer dragLayer = launcher.getDragLayer(); in show()
281 launcher.getDragLayer().addView(view); in show()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DArrowTipView.java79 if (mActivity.getDragLayer().isEventOverView(this, ev)) { in onControllerInterceptTouchEvent()
95 .withEndAction(() -> mActivity.getDragLayer().removeView(this)) in handleClose()
99 mActivity.getDragLayer().removeView(this); in handleClose()
137 ViewGroup parent = mActivity.getDragLayer(); in show()
225 ViewGroup parent = mActivity.getDragLayer(); in showAtLocation()
DFloatingSurfaceView.java106 mLauncher.getDragLayer().removeView(this); in removeViewFromParent()
114 launcher, launcher.getDragLayer()); in show()
121 launcher.getDragLayer().addView(view); in show()
DSnackbar.java74 BaseDragLayer dragLayer = activity.getDragLayer(); in show()
163 mActivity.getDragLayer().removeView(this); in onClosed()
177 BaseDragLayer dl = mActivity.getDragLayer(); in onControllerInterceptTouchEvent()
DOptionsPopupView.java142 .inflate(R.layout.longpress_options_menu, launcher.getDragLayer(), false); in show()
182 x = launcher.getDragLayer().getWidth() / 2; in showDefaultOptions()
183 y = launcher.getDragLayer().getHeight() / 2; in showDefaultOptions()
DActivityContext.java87 BaseDragLayer getDragLayer(); in getDragLayer() method
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DDiscoveryBounce.java64 launcher.getHotseat(), mLauncher.getDragLayer().getHeight())); in DiscoveryBounce()
101 mLauncher.getDragLayer().removeView(this); in handleClose()
116 mLauncher.getDragLayer().addView(this); in show()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/statehandlers/
DDepthController.java96 View view = mLauncher.getDragLayer();
175 mLauncher.getDragLayer().getViewTreeObserver().addOnDrawListener(mOnDrawListener); in setActivityStarted()
177 mLauncher.getDragLayer().getViewTreeObserver().removeOnDrawListener(mOnDrawListener); in setActivityStarted()
188 ViewRootImpl viewRootImpl = mLauncher.getDragLayer().getViewRootImpl(); in setSurface()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DBaseItemDragListener.java80 launcher.getDragLayer().setOnDragListener(this); in init()
144 mLauncher.getDragLayer().setAlpha(1); in onPreDragStart()
174 mLauncher.getDragLayer().setOnDragListener(null); in removeListener()
DLauncherDragController.java139 mActivity.getDragLayer().performHapticFeedback(HapticFeedbackConstants.LONG_PRESS); in startDrag()
181 mActivity.getDragLayer().mapCoordInSelfToDescendant(mActivity.getWorkspace(), in getDefaultDropTarget()
/packages/apps/Launcher3/src/com/android/launcher3/
DAbstractFloatingView.java181 ActivityContext.lookupContext(getContext()).getDragLayer() in announceAccessibilityChanges()
199 BaseDragLayer dragLayer = activity.getDragLayer(); in getOpenView()
225 BaseDragLayer dragLayer = activity.getDragLayer(); in closeOpenViews()
DButtonDropTarget.java212 final DragLayer dragLayer = mLauncher.getDragLayer(); in onDrop()
253 mLauncher.getDragLayer().getDescendantCoordRelativeToSelf(this, sTempCords); in getHitRectRelativeToDragLayer()
262 DragLayer dragLayer = mLauncher.getDragLayer(); in getIconRect()
DWorkspace.java1061 float transX = mLauncher.getDragLayer().getMeasuredWidth() * scroll; in onOverlayScrollChanged()
1071 mLauncher.getDragLayer().setTranslationX(transX); in onOverlayScrollChanged()
1072 mLauncher.getDragLayer().getAlphaProperty(ALPHA_INDEX_OVERLAY).setValue(alpha); in onOverlayScrollChanged()
1713 … float scale = mLauncher.getDragLayer().getDescendantRectRelativeToSelf(v, folderLocation); in createUserFolderIfNecessary()
1965 mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, cell, duration, in onDrop()
2007 mLauncher.getDragLayer().getDescendantRectRelativeToSelf(boundingLayout, tmpRect);
2161 mLauncher.getDragLayer().getDescendantCoordRelativeToSelf(this, mTempFXY, true);
2176 mLauncher.getDragLayer().getDescendantCoordRelativeToSelf(this, xy, true);
2177 mLauncher.getDragLayer().mapCoordInSelfToDescendant(layout, xy);
2443 mLauncher.getDragLayer().getDescendantRectRelativeToSelf(this, outRect);
[all …]
/packages/apps/Launcher3/tests/src_disabled/
DWorkTabTest.java228 DragLayer dragLayer = l.getDragLayer(); in getEduView()
232 return getFromLauncher(launcher -> (WorkEduView) launcher.getDragLayer().getChildAt( in getEduView()
233 launcher.getDragLayer().getChildCount() - 1)); in getEduView()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java268 mLauncher.getDragLayer().getDescendantRectRelativeToSelf(host, pos); in performAction()
383 mLauncher.getDragLayer().announceForAccessibility(confirmation); in announceConfirmation()
413 mLauncher.getDragLayer().getDescendantCoordRelativeToSelf(clickedTarget, loc); in handleAccessibleDrop()
437 mLauncher.getDragLayer().getDescendantRectRelativeToSelf(item, pos); in beginAccessibleDrag()
447 .inflate(R.layout.keyboard_drag_and_drop, mLauncher.getDragLayer(), false); in beginAccessibleDrag()
DDragViewStateAnnouncer.java58 launcher.getDragLayer().announceForAccessibility(launcher.getText(announceResId)); in completeAction()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java71 mLauncher.getDragLayer().removeView(mInfo.boundWidget); in onDragEnd()
138 mLauncher.getDragLayer().addView(hostView); in preloadWidget()
DLauncherAppWidgetHostView.java141 mDragLayerRelativeCoordinateHelper = new ViewGroupFocusHelper(mLauncher.getDragLayer()); in LauncherAppWidgetHostView()
164 DragLayer dragLayer = mLauncher.getDragLayer(); in onLongClick()
268 DragLayer dragLayer = mLauncher.getDragLayer(); in onInterceptTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DKeyboardDragAndDropView.java93 mLauncher.getDragLayer().removeView(this); in handleClose()
146 Utilities.getDescendantCoordRelativeToAncestor(host, mLauncher.getDragLayer(), pos, true); in setCurrentSelection()
271 mLauncher.getDragLayer().addView(this); in showForIcon()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java154 .getDragLayer().getLocationInDragLayer(mView, outPos); in getScaleAndPosition()
171 .getDragLayer().getLocationInDragLayer(mView, outPos); in getScaleAndPosition()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDisplayLauncher.java173 public BaseDragLayer getDragLayer() { in getDragLayer() method in SecondaryDisplayLauncher
236 executor.attachTo(getDragLayer(), false, null); in executeOnNextDraw()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DTaskViewTouchController.java151 if (mRecentsView.isTaskViewVisible(view) && mActivity.getDragLayer() in onControllerInterceptTouchEvent()
224 BaseDragLayer dl = mActivity.getDragLayer(); in reInitAnimationController()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/testing/
DTestActivity.java29 public BaseDragLayer getDragLayer() { in getDragLayer() method in TestActivity
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarActivityContext.java184 public TaskbarDragLayer getDragLayer() { in getDragLayer() method in TaskbarActivityContext
261 getDragLayer().post(() -> { in onTaskbarIconClicked()

123