Lines Matching refs:InputMapper
166 for_each_mapper([&dump](InputMapper& mapper) { mapper.dump(dump); }); in dump()
177 std::vector<std::unique_ptr<InputMapper>> mappers; in addEmptyEventHubDevice()
357 for_each_mapper([this, when, &readerConfig, changes, &out](InputMapper& mapper) { in configureInternal()
374 for_each_mapper([&](InputMapper& mapper) { out += mapper.reset(when); }); in reset()
411 for_each_mapper_in_subdevice(rawEvent->deviceId, [&](InputMapper& mapper) { in process()
438 for_each_mapper([&](InputMapper& mapper) { out += mapper.timeoutExpired(when); }); in timeoutExpired()
444 for_each_mapper([&](InputMapper& mapper) { out += mapper.updateExternalStylusState(state); }); in updateExternalStylusState()
457 [&outDeviceInfo](InputMapper& mapper) { mapper.populateDeviceInfo(outDeviceInfo); }); in getDeviceInfo()
466 return getState(sourceMask, keyCode, &InputMapper::getKeyCodeState); in getKeyCodeState()
470 return getState(sourceMask, scanCode, &InputMapper::getScanCodeState); in getScanCodeState()
474 return getState(sourceMask, switchCode, &InputMapper::getSwitchState); in getSwitchState()
483 InputMapper& mapper = *mapperPtr; in getState()
499 std::vector<std::unique_ptr<InputMapper>> InputDevice::createMappers( in createMappers()
502 std::vector<std::unique_ptr<InputMapper>> mappers; in createMappers()
576 for_each_mapper([&result, sourceMask, keyCodes, outFlags](InputMapper& mapper) { in markSupportedKeyCodes()
586 [locationKeyCode](const InputMapper& mapper) -> std::optional<int32_t> const { in getKeyCodeForKeyLocation()
604 for_each_mapper([&](InputMapper& mapper) { out += mapper.vibrate(sequence, repeat, token); }); in vibrate()
610 for_each_mapper([&](InputMapper& mapper) { out += mapper.cancelVibrate(token); }); in cancelVibrate()
616 for_each_mapper([&vibrating](InputMapper& mapper) { vibrating |= mapper.isVibrating(); }); in isVibrating()
627 for_each_mapper([&vibrators](InputMapper& mapper) { in getVibratorIds()
640 [&success, sensorType, samplingPeriod, maxBatchReportLatency](InputMapper& mapper) { in enableSensor()
647 for_each_mapper([sensorType](InputMapper& mapper) { mapper.disableSensor(sensorType); }); in disableSensor()
651 for_each_mapper([sensorType](InputMapper& mapper) { mapper.flushSensor(sensorType); }); in flushSensor()
656 for_each_mapper([&](InputMapper& mapper) { out += mapper.cancelTouch(when, readTime); }); in cancelTouch()
678 for_each_mapper([&result](InputMapper& mapper) { result |= mapper.getMetaState(); }); in getMetaState()
683 first_in_mappers<bool>([keyCode](InputMapper& mapper) { in updateMetaState()
714 [](InputMapper& mapper) { return mapper.getAssociatedDisplayId(); }); in getAssociatedDisplayId()
729 for_each_mapper([reset](InputMapper& mapper) { mapper.updateLedState(reset); }); in updateLedState()