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.java82 private DragState mDragState; field in DragDropController
119 return mDragState != null && !mDragState.isClosing(); in dragDropActiveLocked()
124 return mDragState != null && mDragState.mRelinquishDragSurfaceToDropTarget; in dragSurfaceRelinquishedToDropTarget()
152 mDragState.sendDragStartedIfNeededLocked(window); in sendDragStartedIfNeededLocked()
211 mDragState = new DragState(mService, this, token, surface, flags, winBinder); in performDrag()
213 mDragState.mPid = callerPid; in performDrag()
214 mDragState.mUid = callerUid; in performDrag()
215 mDragState.mOriginalAlpha = alpha; in performDrag()
216 mDragState.mAnimatedScale = callingWin.mGlobalScale; in performDrag()
217 mDragState.mToken = dragToken; in performDrag()
[all …]
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp1424 if (ignoreDragWindow && haveSameToken(windowHandle, mDragState->dragWindow)) { in findTouchedWindowAtLocked()
2038 if (mDragState && in dispatchMotionLocked()
2041 pilferPointersLocked(mDragState->dragWindow->getToken()); in dispatchMotionLocked()
2705 if (mDragState && mDragState->dragWindow == touchedWindow.windowHandle) { in findTouchedWindowTargetsLocked()
2866 mDragState.reset(); in finishDragAndDrop()
2870 if (!mDragState || mDragState->dragWindow->getInfo()->displayId != entry.displayId) { in addDragEventLocked()
2874 if (!mDragState->isStartDrag) { in addDragEventLocked()
2875 mDragState->isStartDrag = true; in addDragEventLocked()
2876 mDragState->isStylusButtonDownAtStart = in addDragEventLocked()
2884 if (pointerProperties.id == mDragState->pointerId) { in addDragEventLocked()
[all …]
DInputDispatcher.h401 std::unique_ptr<DragState> mDragState GUARDED_BY(mLock);