Lines Matching refs:mDragState
1424 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()
2890 LOG_ALWAYS_FATAL("Should find a valid pointer index by id %d", mDragState->pointerId); in addDragEventLocked()
2902 if (mDragState->isStylusButtonDownAtStart && !isStylusButtonDown) { in addDragEventLocked()
2915 if (hoverWindowHandle != mDragState->dragHoverWindowHandle && in addDragEventLocked()
2916 !haveSameToken(hoverWindowHandle, mDragState->dragHoverWindowHandle)) { in addDragEventLocked()
2917 if (mDragState->dragHoverWindowHandle != nullptr) { in addDragEventLocked()
2918 enqueueDragEventLocked(mDragState->dragHoverWindowHandle, /*isExiting=*/true, x, in addDragEventLocked()
2921 mDragState->dragHoverWindowHandle = hoverWindowHandle; in addDragEventLocked()
2942 mDragState.reset(); in addDragEventLocked()
4244 if (mDragState && mDragState->dragWindow->getToken() == token && in synthesizeCancelationEventsForConnectionLocked()
4245 pointerIds.test(mDragState->pointerId)) { in synthesizeCancelationEventsForConnectionLocked()
4250 mDragState.reset(); in synthesizeCancelationEventsForConnectionLocked()
5427 if (mDragState && mDragState->dragWindow->getInfo()->displayId == displayId && in setInputWindowsLocked()
5428 std::find(windowHandles.begin(), windowHandles.end(), mDragState->dragWindow) == in setInputWindowsLocked()
5430 ALOGI("Drag window went away: %s", mDragState->dragWindow->getName().c_str()); in setInputWindowsLocked()
5432 mDragState.reset(); in setInputWindowsLocked()
5758 mDragState = std::make_unique<DragState>(toWindowHandle, id); in transferTouchGesture()
5930 if (mDragState) { in dumpDispatchStateLocked()
5932 mDragState->dump(dump, INDENT2); in dumpDispatchStateLocked()