Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DDragDropController.java61 private DragState mDragState; field in DragDropController
78 return mDragState != null && !mDragState.isClosing(); in dragDropActiveLocked()
82 return mDragState != null && mDragState.mRelinquishDragSurface; in dragSurfaceRelinquished()
91 mDragState.sendDragStartedIfNeededLocked(window); in sendDragStartedIfNeededLocked()
147 mDragState = new DragState(mService, this, token, surface, flags, winBinder); in performDrag()
149 mDragState.mPid = callerPid; in performDrag()
150 mDragState.mUid = callerUid; in performDrag()
151 mDragState.mOriginalAlpha = alpha; in performDrag()
152 mDragState.mToken = dragToken; in performDrag()
153 mDragState.mDisplayContent = displayContent; in performDrag()
[all …]
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp1005 if (ignoreDragWindow && haveSameToken(windowHandle, mDragState->dragWindow)) { in findTouchedWindowAtLocked()
2373 mDragState.reset(); in finishDragAndDrop()
2377 if (entry.pointerCount != 1 || !mDragState) { in addDragEventLocked()
2381 if (!mDragState->isStartDrag) { in addDragEventLocked()
2382 mDragState->isStartDrag = true; in addDragEventLocked()
2383 mDragState->isStylusButtonDownAtStart = in addDragEventLocked()
2393 if (mDragState->isStylusButtonDownAtStart && !isStylusButtonDown) { in addDragEventLocked()
2403 if (hoverWindowHandle != mDragState->dragHoverWindowHandle && in addDragEventLocked()
2404 !haveSameToken(hoverWindowHandle, mDragState->dragHoverWindowHandle)) { in addDragEventLocked()
2405 if (mDragState->dragHoverWindowHandle != nullptr) { in addDragEventLocked()
[all …]
DInputDispatcher.h346 std::unique_ptr<DragState> mDragState GUARDED_BY(mLock);