Lines Matching defs:displayId
172 static bool isMainDisplay(int32_t displayId) {
173 return displayId == ADISPLAY_ID_DEFAULT || displayId == ADISPLAY_ID_NONE;
441 int32_t displayId = motionEntry->displayId;
446 sp<InputWindowHandle> touchedWindowHandle = findTouchedWindowAtLocked(displayId, x, y);
471 sp<InputWindowHandle> InputDispatcher::findTouchedWindowAtLocked(int32_t displayId,
478 if (windowInfo->displayId == displayId) {
859 if (isMainDisplay(entry->displayId)) {
1022 ssize_t stateIndex = mTouchStatesByDisplay.indexOfKey(info->displayId);
1128 int32_t displayId = entry->displayId;
1141 ssize_t oldStateIndex = mTouchStatesByDisplay.indexOfKey(displayId);
1148 bool switchedDevice = mTempTouchState.deviceId >= 0 && mTempTouchState.displayId >= 0
1151 || mTempTouchState.displayId != displayId);
1174 mTempTouchState.displayId = displayId;
1194 if (windowInfo->displayId != displayId) {
1290 findTouchedWindowAtLocked(displayId, x, y);
1421 if (info->displayId == displayId
1479 mTempTouchState.displayId = displayId;
1516 if (mTempTouchState.displayId >= 0) {
1520 mTouchStatesByDisplay.add(displayId, mTempTouchState);
1602 int32_t displayId = windowHandle->getInfo()->displayId;
1611 if (otherInfo->displayId == displayId
1882 motionEntry->deviceId, motionEntry->source, motionEntry->displayId)) {
2308 originalMotionEntry->displayId,
2493 args->displayId,
2507 return mInputFilterEnabled && isMainDisplay(args->displayId);
2542 int32_t InputDispatcher::injectInputEvent(const InputEvent* event, int32_t displayId,
2610 motionEvent->getDownTime(), displayId,
2623 motionEvent->getDownTime(), displayId,
3001 if (fromWindowHandle->getInfo()->displayId != toWindowHandle->getInfo()->displayId) {
3114 state.displayId, toString(state.down), toString(state.split),
3139 dump.appendFormat(INDENT2 "%zu: name='%s', displayId=%d, "
3144 i, windowInfo->name.string(), windowInfo->displayId,
3926 nsecs_t downTime, int32_t displayId, uint32_t pointerCount,
3934 downTime(downTime), displayId(displayId), pointerCount(pointerCount) {
3950 "xPrecision=%.1f, yPrecision=%.1f, displayId=%d, pointers=[",
3952 xPrecision, yPrecision, displayId);
4004 int32_t displayId) const {
4009 && memento.displayId == displayId
4187 && memento.displayId == entry->displayId
4218 memento.displayId = entry->displayId;
4254 memento.displayId,
4275 && memento.displayId == otherMemento.displayId) {
4407 down(false), split(false), deviceId(-1), source(0), displayId(-1) {
4418 displayId = -1;
4427 displayId = other.displayId;