Home
last modified time | relevance | path

Searched refs:mDragView (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java227 protected View mDragView; field in PagedView
389 if (mDragView != null) { in updateDragViewTranslationDuringDrag()
391 (mDragViewBaselineLeft - mDragView.getLeft()); in updateDragViewTranslationDuringDrag()
393 mDragView.setTranslationX(x); in updateDragViewTranslationDuringDrag()
394 mDragView.setTranslationY(y); in updateDragViewTranslationDuringDrag()
1227 if (v == mDragView) continue; in dispatchDraw()
1234 if (mDragView != null) { in dispatchDraw()
1235 drawChild(canvas, mDragView, drawingTime); in dispatchDraw()
1708 if (mDragView != null) { in getNearestHoverOverPageIndex()
1709 int dragX = (int) (mDragView.getLeft() + (mDragView.getMeasuredWidth() / 2) in getNearestHoverOverPageIndex()
[all …]
/packages/apps/Music/src/com/android/music/
DTouchInterceptor.java43 private ImageView mDragView; field in TouchInterceptor
97 if (mDragView != null) { in onInterceptTouchEvent()
100 mDragView.getDrawingRect(r); in onInterceptTouchEvent()
302 if ((mDragListener != null || mDropListener != null) && mDragView != null) { in onTouchEvent()
308 mDragView.getDrawingRect(r); in onTouchEvent()
397 mDragView = v; in startDragging()
403 int width = mDragView.getWidth(); in dragView()
416 mWindowManager.updateViewLayout(mDragView, mWindowParams); in dragView()
419 int width = mDragView.getWidth(); in dragView()
431 if (mDragView != null) { in stopDragging()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DStaggeredGridView.java228 private ImageView mDragView; field in StaggeredGridView
655 mDragView = new ImageView(context); in startDragging()
656 mDragView.setImageBitmap(mDragBitmap); in startDragging()
657 mDragView.setAlpha(160); in startDragging()
667 mWindowManager.addView(mDragView, mWindowParams); in startDragging()
739 if (mDragView != null) { in updateReorderStates()
740 mDragView.setVisibility(INVISIBLE); in updateReorderStates()
741 mWindowManager.removeView(mDragView); in updateReorderStates()
742 mDragView.setImageDrawable(null); in updateReorderStates()
743 mDragView = null; in updateReorderStates()
[all …]