• Home
  • Raw
  • Download

Lines Matching refs:InputMapper

168     for_each_mapper([&dump](InputMapper& mapper) { mapper.dump(dump); });  in dump()
179 std::vector<std::unique_ptr<InputMapper>> mappers; in addEmptyEventHubDevice()
363 for_each_mapper([this, when, &readerConfig, changes, &out](InputMapper& mapper) { in configureInternal()
392 for_each_mapper([&](InputMapper& mapper) { out += mapper.reset(when); }); in reset()
429 for_each_mapper_in_subdevice(rawEvent->deviceId, [&](InputMapper& mapper) { in process()
456 for_each_mapper([&](InputMapper& mapper) { out += mapper.timeoutExpired(when); }); in timeoutExpired()
462 for_each_mapper([&](InputMapper& mapper) { out += mapper.updateExternalStylusState(state); }); in updateExternalStylusState()
475 [&outDeviceInfo](InputMapper& mapper) { mapper.populateDeviceInfo(outDeviceInfo); }); in getDeviceInfo()
484 return getState(sourceMask, keyCode, &InputMapper::getKeyCodeState); in getKeyCodeState()
488 return getState(sourceMask, scanCode, &InputMapper::getScanCodeState); in getScanCodeState()
492 return getState(sourceMask, switchCode, &InputMapper::getSwitchState); in getSwitchState()
501 InputMapper& mapper = *mapperPtr; in getState()
517 std::vector<std::unique_ptr<InputMapper>> InputDevice::createMappers( in createMappers()
520 std::vector<std::unique_ptr<InputMapper>> mappers; in createMappers()
594 for_each_mapper([&result, sourceMask, keyCodes, outFlags](InputMapper& mapper) { in markSupportedKeyCodes()
604 [locationKeyCode](const InputMapper& mapper) -> std::optional<int32_t> const { in getKeyCodeForKeyLocation()
622 for_each_mapper([&](InputMapper& mapper) { out += mapper.vibrate(sequence, repeat, token); }); in vibrate()
628 for_each_mapper([&](InputMapper& mapper) { out += mapper.cancelVibrate(token); }); in cancelVibrate()
634 for_each_mapper([&vibrating](InputMapper& mapper) { vibrating |= mapper.isVibrating(); }); in isVibrating()
645 for_each_mapper([&vibrators](InputMapper& mapper) { in getVibratorIds()
658 [&success, sensorType, samplingPeriod, maxBatchReportLatency](InputMapper& mapper) { in enableSensor()
665 for_each_mapper([sensorType](InputMapper& mapper) { mapper.disableSensor(sensorType); }); in disableSensor()
669 for_each_mapper([sensorType](InputMapper& mapper) { mapper.flushSensor(sensorType); }); in flushSensor()
674 for_each_mapper([&](InputMapper& mapper) { out += mapper.cancelTouch(when, readTime); }); in cancelTouch()
696 for_each_mapper([&result](InputMapper& mapper) { result |= mapper.getMetaState(); }); in getMetaState()
716 [](InputMapper& mapper) { return mapper.getAssociatedDisplayId(); }); in getAssociatedDisplayId()
732 [](InputMapper& mapper) -> std::optional<HardwareProperties> { in getTouchpadHardwareProperties()
740 for_each_mapper([reset](InputMapper& mapper) { mapper.updateLedState(reset); }); in updateLedState()