Home
last modified time | relevance | path

Searched refs:mDragState (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/java/com/android/server/wm/
DSession.java268 if (mService.mDragState == null) { in performDrag()
273 if (dragToken != mService.mDragState.mToken) { in performDrag()
297 mService.mDragState.register(display); in performDrag()
300 mService.mDragState.mServerChannel)) { in performDrag()
302 mService.mDragState.unregister(); in performDrag()
303 mService.mDragState = null; in performDrag()
308 mService.mDragState.mData = data; in performDrag()
309 mService.mDragState.mCurrentX = touchX; in performDrag()
310 mService.mDragState.mCurrentY = touchY; in performDrag()
311 mService.mDragState.broadcastDragStartedLw(touchX, touchY); in performDrag()
[all …]
DDragState.java281 mService.mDragState.broadcastDragEndedLw(); in endDragLw()
284 mService.mDragState.unregister(); in endDragLw()
288 mService.mDragState.reset(); in endDragLw()
289 mService.mDragState = null; in endDragLw()
DInputMonitor.java245 final boolean inDrag = (mService.mDragState != null); in updateInputWindowsLw()
250 final InputWindowHandle dragWindowHandle = mService.mDragState.mDragWindowHandle; in updateInputWindowsLw()
290 mService.mDragState.sendDragStartedIfNeededLw(child); in updateInputWindowsLw()
DWindowManagerService.java560 DragState mDragState = null; field in WindowManagerService
625 && mDragState != null) { in onInputEvent()
641 mDragState.notifyMoveLw(newX, newY); in onInputEvent()
649 endDrag = mDragState.notifyDropLw(newX, newY); in onInputEvent()
663 mDragState.endDragLw(); in onInputEvent()
6831 if (mDragState == null) { in prepareDragSurface()
6843 mDragState = new DragState(this, token, surface, /*flags*/ 0, winBinder); in prepareDragSurface()
6844 token = mDragState.mToken = new Binder(); in prepareDragSurface()
6855 if (mDragState != null) { in prepareDragSurface()
6856 mDragState.reset(); in prepareDragSurface()
[all …]
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java109 private int mDragState; field in ViewDragHelper
421 return mDragState; in getViewDragState()
513 if (mDragState == STATE_SETTLING) { in abort()
715 if (mDragState == STATE_SETTLING) { in continueSettling()
749 return mDragState == STATE_SETTLING; in continueSettling()
763 if (mDragState == STATE_DRAGGING) { in dispatchViewReleased()
864 if (mDragState != state) { in setDragState()
865 mDragState = state; in setDragState()
963 if (toCapture == mCapturedView && mDragState == STATE_SETTLING) { in shouldInterceptTouchEvent()
982 if (mDragState == STATE_IDLE) { in shouldInterceptTouchEvent()
[all …]