Home
last modified time | relevance | path

Searched refs:mDragLayer (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarIconController.java44 private final TaskbarDragLayer mDragLayer; field in TaskbarIconController
54 mDragLayer = dragLayer; in TaskbarIconController()
55 mTaskbarView = mDragLayer.findViewById(R.id.taskbar_view); in TaskbarIconController()
56 mImeBarView = mDragLayer.findViewById(R.id.ime_bar_view); in TaskbarIconController()
60 mDragLayer.addOnLayoutChangeListener((v, a, b, c, d, e, f, g, h) -> in init()
68 mDragLayer.init(new Callbacks(), mTaskbarView); in init()
72 mDragLayer.onDestroy(); in onDestroy()
99 mUIController.onImeVisible(mDragLayer, isImeVisible); in setImeIsVisible()
112 if (mDragLayer.getAlpha() < AlphaUpdateListener.ALPHA_CUTOFF_THRESHOLD) { in updateInsetsTouchability()
125 mDragLayer.getDescendantRectRelativeToSelf( in updateInsetsTouchability()
[all …]
DTaskbarActivityContext.java90 private final TaskbarDragLayer mDragLayer; field in TaskbarActivityContext
126 mDragLayer = (TaskbarDragLayer) mLayoutInflater in TaskbarActivityContext()
128 mIconController = new TaskbarIconController(this, mDragLayer); in TaskbarActivityContext()
160 mWindowManager.addView(mDragLayer, mWindowLayoutParams); in init()
171 mWindowManager.updateViewLayout(mDragLayer, mWindowLayoutParams); in setTaskbarWindowHeight()
185 return mDragLayer; in getDragLayer()
195 return mDragLayer.getFolderBoundingBox(); in getFolderBoundingBox()
219 mWindowManager.removeViewImmediate(mDragLayer); in onDestroy()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDisplayLauncher.java63 private BaseDragLayer mDragLayer; field in SecondaryDisplayLauncher
87 if (mDragLayer != null) { in initUi()
102 mDragLayer = findViewById(R.id.drag_layer); in initUi()
166 return mDragLayer; in getRootView()
174 return mDragLayer; in getDragLayer()
259 mDragLayer.getDescendantCoordRelativeToSelf(mAppsButton, buttonPos); in showAppDrawer()
260 mDragLayer.mapCoordInSelfToDescendant(mAppsView, buttonPos); in showAppDrawer()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java33 protected final DragLayer mDragLayer; field in FlingAnimation
51 mDragLayer = mLauncher.getDragLayer(); in FlingAnimation()
61 mDragLayer.getViewRectRelativeToSelf(mDragObject.dragView, mFrom); in run()
107 mDragLayer.animateView(mDragObject.dragView, this, duration, tInterpolator, in run()
175 final DragView dragView = (DragView) mDragLayer.getAnimatedView(); in onAnimationUpdate()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentsActivity.java101 private RecentsDragLayer mDragLayer; field in RecentsActivity
119 mDragLayer = findViewById(R.id.drag_layer); in setupViews()
130 mDragLayer.recreateControllers(); in setupViews()
158 mDragLayer.recreateControllers(); in onHandleConfigChanged()
170 return (mDragLayer != null) && isInMultiWindowMode() in createDeviceProfile()
177 return mDragLayer; in getDragLayer()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java84 private DragLayer mDragLayer; field in AppWidgetResizeFrame
211 mDragLayer = dragLayer; in setupForWidget()
308 … mDeltaXRange.set(2 * mTouchTargetWidth - getWidth(), mDragLayer.getWidth() - getRight()); in beginResizeIfPointInRegion()
317 … mDeltaYRange.set(2 * mTouchTargetWidth - getHeight(), mDragLayer.getHeight() - getBottom()); in beginResizeIfPointInRegion()
478 mDragLayer.getViewRectRelativeToSelf(mWidgetView, out); in getSnappedRectRelativeToDragLayer()
510 if (newY + newHeight > mDragLayer.getHeight()) { in snapToWidget()
512 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); in snapToWidget()
621 mDragLayer.removeView(this); in handleClose()
DLauncher.java283 DragLayer mDragLayer; field in Launcher
472 mDragLayer.getAlphaProperty(ALPHA_INDEX_LAUNCHER_LOAD).setValue(0); in onCreate()
569 mDragLayer.recreateControllers(); in onIdpChanged()
586 mDragLayer.onOneHandedModeStateChanged(activated); in onOneHandedStateChanged()
823 mDragLayer.clearAnimatedView(); in handleActivityResult()
901 if (mDragLayer.getAnimatedView() != null) { in completeTwoStageWidgetDrop()
903 (DragView) mDragLayer.getAnimatedView(), onCompleteRunnable, in completeTwoStageWidgetDrop()
1176 mDragLayer = findViewById(R.id.drag_layer); in setupViews()
1177 mFocusHandler = mDragLayer.getFocusIndicatorHelper(); in setupViews()
1178 mWorkspace = mDragLayer.findViewById(R.id.workspace); in setupViews()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DDragAndDropAccessibilityDelegate.java51 protected final DragLayer mDragLayer; field in DragAndDropAccessibilityDelegate
59 mDragLayer = launcher.getDragLayer(); in DragAndDropAccessibilityDelegate()
131 float scale = mDragLayer.getDescendantCoordRelativeToSelf(mView, mTempCords); in onPopulateNodeForVirtualView()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragView.java96 private final DragLayer mDragLayer; field in DragView
141 mDragLayer = launcher.getDragLayer(); in DragView()
393 mDragLayer.addView(this); in show()
436 mDragLayer.animateViewIntoPosition(this, mTempLoc, 1f, mScaleOnDrop, mScaleOnDrop, in animateTo()
522 mDragLayer.removeView(DragView.this); in remove()
DAddItemActivity.java98 private BaseDragLayer<AddItemActivity> mDragLayer; field in AddItemActivity
133 mDragLayer = findViewById(R.id.add_item_drag_layer); in onCreate()
134 mDragLayer.recreateControllers(); in onCreate()
378 return mDragLayer; in getDragLayer()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java187 private final DragLayer mDragLayer; field in QuickstepTransitionManager
227 mDragLayer = mLauncher.getDragLayer(); in QuickstepTransitionManager()
228 mDragLayerAlpha = mDragLayer.getAlphaProperty(ALPHA_INDEX_TRANSITIONS); in QuickstepTransitionManager()
603 mDragLayer.getLocationOnScreen(dragLayerBounds); in getOpeningWindowAnimators()
1107 SurfaceTransactionApplier surfaceApplier = new SurfaceTransactionApplier(mDragLayer); in getUnlockWindowAnimator()
1146 SurfaceTransactionApplier surfaceApplier = new SurfaceTransactionApplier(mDragLayer); in getClosingWindowAnimators()
1228 mDragLayer.getViewTreeObserver().addOnDrawListener( in addCujInstrumentation()
1239 InteractionJankMonitorWrapper.begin(mDragLayer, cuj); in addCujInstrumentation()
1241 mDragLayer.post(() -> in addCujInstrumentation()
1242 mDragLayer.getViewTreeObserver().removeOnDrawListener( in addCujInstrumentation()