Searched refs:mDragLayer (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | AppWidgetResizeFrame.java | 21 private DragLayer mDragLayer; field in AppWidgetResizeFrame 84 mDragLayer = dragLayer; in AppWidgetResizeFrame() 181 mDeltaX = Math.min(mDragLayer.getWidth() - (mBaselineX + mBaselineWidth), deltaX); in updateDeltas() 189 mDeltaY = Math.min(mDragLayer.getHeight() - (mBaselineY + mBaselineHeight), deltaY); in updateDeltas() 403 + mDragLayer.getPaddingLeft() - mWorkspace.getScrollX(); in snapToWidget() 405 + mDragLayer.getPaddingTop() - mWorkspace.getScrollY(); in snapToWidget() 424 if (newY + newHeight > mDragLayer.getHeight()) { in snapToWidget() 426 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); in snapToWidget()
|
D | DragView.java | 46 private DragLayer mDragLayer = null; field in DragView 69 mDragLayer = launcher.getDragLayer(); in DragView() 249 mDragLayer.addView(this); in show() 291 mDragLayer.removeView(DragView.this); in remove()
|
D | Launcher.java | 222 private DragLayer mDragLayer; field in Launcher 596 return mDragLayer; in getDragLayer() 714 mDragLayer.clearAnimatedView(); in onActivityResult() 752 if (mDragLayer.getAnimatedView() != null) { in completeTwoStageWidgetDrop() 754 (DragView) mDragLayer.getAnimatedView(), onCompleteRunnable, in completeTwoStageWidgetDrop() 1022 mDragLayer = (DragLayer) findViewById(R.id.drag_layer); in setupViews() 1023 mWorkspace = (Workspace) mDragLayer.findViewById(R.id.workspace); in setupViews() 1031 mDragLayer.setup(this, dragController); in setupViews() 1046 mSearchDropTargetBar = (SearchDropTargetBar) mDragLayer.findViewById(R.id.qsb_bar); in setupViews() 1056 dragController.setScrollView(mDragLayer); in setupViews() [all …]
|
D | DeleteDropTarget.java | 323 private DragLayer mDragLayer; 334 mDragLayer = dragLayer; 343 final DragView dragView = (DragView) mDragLayer.getAnimatedView();
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AppWidgetResizeFrame.java | 49 private DragLayer mDragLayer; field in AppWidgetResizeFrame 124 mDragLayer = dragLayer; in setupForWidget() 177 … mDeltaXRange.set(2 * mTouchTargetWidth - getWidth(), mDragLayer.getWidth() - getRight()); in beginResizeIfPointInRegion() 186 … mDeltaYRange.set(2 * mTouchTargetWidth - getHeight(), mDragLayer.getHeight() - getBottom()); in beginResizeIfPointInRegion() 378 mDragLayer.getViewRectRelativeToSelf(mWidgetView, out); in getSnappedRectRelativeToDragLayer() 410 if (newY + newHeight > mDragLayer.getHeight()) { in snapToWidget() 412 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); in snapToWidget() 458 mDragLayer.clearResizeFrame(); in onKey()
|
D | Launcher.java | 231 @Thunk DragLayer mDragLayer; field in Launcher 445 mDragLayer.setAlpha(0); in onCreate() 797 mDragLayer.clearAnimatedView(); in handleActivityResult() 881 if (mDragLayer.getAnimatedView() != null) { in completeTwoStageWidgetDrop() 883 (DragView) mDragLayer.getAnimatedView(), onCompleteRunnable, in completeTwoStageWidgetDrop() 924 if (mShouldFadeInScrim && mDragLayer.getBackground() != null) { in onStart() 928 mDragLayer.getBackground().setAlpha(0); in onStart() 929 mScrimAnimator = ObjectAnimator.ofInt(mDragLayer.getBackground(), in onStart() 1273 mDragLayer = (DragLayer) findViewById(R.id.drag_layer); in setupViews() 1274 mFocusHandler = mDragLayer.getFocusIndicatorHelper(); in setupViews() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | FlingAnimation.java | 29 protected final DragLayer mDragLayer; field in FlingAnimation 46 mDragLayer = mLauncher.getDragLayer(); in FlingAnimation() 55 mDragLayer.getViewRectRelativeToSelf(mDragObject.dragView, mFrom); in run() 103 mDragLayer.animateView(mDragObject.dragView, this, duration, tInterpolator, in run() 171 final DragView dragView = (DragView) mDragLayer.getAnimatedView(); in onAnimationUpdate()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragView.java | 94 private final DragLayer mDragLayer; field in DragView 134 mDragLayer = launcher.getDragLayer(); in DragView() 542 mDragLayer.addView(this); in show() 586 mDragLayer.animateViewIntoPosition(this, mTempLoc, 1f, mInitialScale, mInitialScale, in animateTo() 615 mDragLayer.removeView(DragView.this); in remove()
|