Home
last modified time | relevance | path

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

/packages/apps/Music/src/com/android/music/
DTouchInterceptor.java42 private ImageView mDragView; field in TouchInterceptor
96 if (mDragView != null) { in onInterceptTouchEvent()
99 mDragView.getDrawingRect(r); in onInterceptTouchEvent()
301 if ((mDragListener != null || mDropListener != null) && mDragView != null) { in onTouchEvent()
307 mDragView.getDrawingRect(r); in onTouchEvent()
396 mDragView = v; in startDragging()
402 int width = mDragView.getWidth(); in dragView()
415 mWindowManager.updateViewLayout(mDragView, mWindowParams); in dragView()
418 int width = mDragView.getWidth(); in dragView()
430 if (mDragView != null) { in stopDragging()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java164 @Thunk View mDragView; field in PagedView
267 if (mDragView != null) { in updateDragViewTranslationDuringDrag()
269 (mDragViewBaselineLeft - mDragView.getLeft()); in updateDragViewTranslationDuringDrag()
271 mDragView.setTranslationX(x); in updateDragViewTranslationDuringDrag()
272 mDragView.setTranslationY(y); in updateDragViewTranslationDuringDrag()
1421 if (mDragView != null) { in getNearestHoverOverPageIndex()
1422 int dragX = (int) (mDragView.getLeft() + (mDragView.getMeasuredWidth() / 2) in getNearestHoverOverPageIndex()
1423 + mDragView.getTranslationX()); in getNearestHoverOverPageIndex()
1426 int minIndex = indexOfChild(mDragView); in getNearestHoverOverPageIndex()
1514 final int dragViewIndex = indexOfChild(mDragView); in onTouchEvent()
[all …]