Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DDragDropController.java64 private DragState mDragState; field in DragDropController
81 return mDragState != null && !mDragState.isClosing(); in dragDropActiveLocked()
85 return mDragState != null && mDragState.mRelinquishDragSurface; in dragSurfaceRelinquished()
152 mDragState.mPid = callerPid; in performDrag()
157 mDragState.mData = data; in performDrag()
204 if (mDragState != null && !mDragState.isInProgress()) { in performDrag()
224 if (mDragState == null) { in reportDropResult()
250 mDragState.endDragLocked(); in reportDropResult()
265 if (mDragState == null) { in cancelDragAndDrop()
337 if (mDragState != dragState) { in onDragStateClosedLocked()
[all …]
/aosp12/frameworks/native/services/inputflinger/dispatcher/
H A DInputDispatcher.cpp2419 mDragState.reset(); in finishDragAndDrop()
2423 if (entry.pointerCount != 1 || !mDragState) { in addDragEventLocked()
2427 if (!mDragState->isStartDrag) { in addDragEventLocked()
2428 mDragState->isStartDrag = true; in addDragEventLocked()
2429 mDragState->isStylusButtonDownAtStart = in addDragEventLocked()
2451 if (mDragState->dragHoverWindowHandle != nullptr) { in addDragEventLocked()
2465 mDragState.reset(); in addDragEventLocked()
4602 if (mDragState && in setInputWindowsLocked()
4605 mDragState.reset(); in setInputWindowsLocked()
5034 if (mDragState) { in dumpDispatchStateLocked()
[all …]
H A DInputDispatcher.h354 std::unique_ptr<DragState> mDragState GUARDED_BY(mLock);