Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DSession.java275 if (mService.mDragState == null) { in performDrag()
280 if (dragToken != mService.mDragState.mToken) { in performDrag()
308 mService.mDragState.register(display); in performDrag()
311 mService.mDragState.mServerChannel)) { in performDrag()
313 mService.mDragState.unregister(); in performDrag()
314 mService.mDragState = null; in performDrag()
319 mService.mDragState.mData = data; in performDrag()
320 mService.mDragState.mCurrentX = touchX; in performDrag()
321 mService.mDragState.mCurrentY = touchY; in performDrag()
322 mService.mDragState.broadcastDragStartedLw(touchX, touchY); in performDrag()
[all …]
DDragState.java279 mService.mDragState.broadcastDragEndedLw(); in endDragLw()
282 mService.mDragState.unregister(); in endDragLw()
286 mService.mDragState.reset(); in endDragLw()
287 mService.mDragState = null; in endDragLw()
DInputMonitor.java248 final boolean inDrag = (mService.mDragState != null); in updateInputWindowsLw()
253 final InputWindowHandle dragWindowHandle = mService.mDragState.mDragWindowHandle; in updateInputWindowsLw()
299 mService.mDragState.sendDragStartedIfNeededLw(child); in updateInputWindowsLw()
DWindowManagerService.java639 DragState mDragState = null; field in WindowManagerService
711 && mDragState != null) { in onInputEvent()
727 mDragState.notifyMoveLw(newX, newY); in onInputEvent()
735 endDrag = mDragState.notifyDropLw(newX, newY); in onInputEvent()
749 mDragState.endDragLw(); in onInputEvent()
7384 if (mDragState == null) { in prepareDragSurface()
7396 mDragState = new DragState(this, token, surface, /*flags*/ 0, winBinder); in prepareDragSurface()
7397 token = mDragState.mToken = new Binder(); in prepareDragSurface()
7408 if (mDragState != null) { in prepareDragSurface()
7409 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()
543 if (!continueSliding && mDragState == STATE_IDLE && mCapturedView != null) { in smoothSlideViewTo()
722 if (mDragState == STATE_SETTLING) { in continueSettling()
756 return mDragState == STATE_SETTLING; in continueSettling()
770 if (mDragState == STATE_DRAGGING) { in dispatchViewReleased()
872 if (mDragState != state) { in setDragState()
873 mDragState = state; in setDragState()
875 if (mDragState == STATE_IDLE) { in setDragState()
[all …]