Lines Matching refs:displayId
171 static bool isMainDisplay(int32_t displayId) { in isMainDisplay() argument
172 return displayId == ADISPLAY_ID_DEFAULT || displayId == ADISPLAY_ID_NONE; in isMainDisplay()
438 int32_t displayId = motionEntry->displayId; in enqueueInboundEventLocked() local
443 sp<InputWindowHandle> touchedWindowHandle = findTouchedWindowAtLocked(displayId, x, y); in enqueueInboundEventLocked()
468 sp<InputWindowHandle> InputDispatcher::findTouchedWindowAtLocked(int32_t displayId, in findTouchedWindowAtLocked() argument
475 if (windowInfo->displayId == displayId) { in findTouchedWindowAtLocked()
862 if (isMainDisplay(entry->displayId)) { in dispatchMotionLocked()
1155 int32_t displayId = entry->displayId; in findTouchedWindowTargetsLocked() local
1165 bool switchedDevice = mTouchState.deviceId >= 0 && mTouchState.displayId >= 0 in findTouchedWindowTargetsLocked()
1168 || mTouchState.displayId != displayId); in findTouchedWindowTargetsLocked()
1192 mTempTouchState.displayId = displayId; in findTouchedWindowTargetsLocked()
1215 if (windowInfo->displayId != displayId) { in findTouchedWindowTargetsLocked()
1332 findTouchedWindowAtLocked(displayId, x, y); in findTouchedWindowTargetsLocked()
1471 if (info->displayId == displayId in findTouchedWindowTargetsLocked()
1529 mTouchState.displayId = displayId; in findTouchedWindowTargetsLocked()
1645 int32_t displayId = windowHandle->getInfo()->displayId; in isWindowObscuredAtPointLocked() local
1654 if (otherInfo->displayId == displayId in isWindowObscuredAtPointLocked()
1892 motionEntry->deviceId, motionEntry->source, motionEntry->displayId)) { in enqueueDispatchEntryLocked()
2318 originalMotionEntry->displayId, in splitMotionEvent()
2490 args->displayId, in notifyMotion()
2504 return mInputFilterEnabled && isMainDisplay(args->displayId); in shouldSendMotionToInputFilterLocked()
2590 int32_t displayId = ADISPLAY_ID_DEFAULT; in injectInputEvent() local
2612 motionEvent->getDownTime(), displayId, in injectInputEvent()
2624 motionEvent->getDownTime(), displayId, in injectInputEvent()
2998 if (fromWindowHandle->getInfo()->displayId != toWindowHandle->getInfo()->displayId) { in transferTouchFocus()
3105 dump.appendFormat(INDENT "TouchDisplayId: %d\n", mTouchState.displayId); in dumpDispatchStateLocked()
3130 i, windowInfo->name.string(), windowInfo->displayId, in dumpDispatchStateLocked()
3900 nsecs_t downTime, int32_t displayId, uint32_t pointerCount, in MotionEntry() argument
3907 downTime(downTime), displayId(displayId), pointerCount(pointerCount) { in MotionEntry()
3922 xPrecision, yPrecision, displayId); in appendDescription()
3974 int32_t displayId) const { in isHovering()
3979 && memento.displayId == displayId in isHovering()
4136 && memento.displayId == entry->displayId in findMotionMemento()
4167 memento.displayId = entry->displayId; in addMotionMemento()
4203 memento.displayId, in synthesizeCancelationEvents()
4223 && memento.displayId == otherMemento.displayId) { in copyPointerStateTo()
4355 down(false), split(false), deviceId(-1), source(0), displayId(-1) { in TouchState()
4366 displayId = -1; in reset()
4375 displayId = other.displayId; in copyFrom()