Lines Matching refs:mapper
139 for_each_mapper([&dump](InputMapper& mapper) { mapper.dump(dump); }); in dump() argument
360 for_each_mapper([this, when, config, changes](InputMapper& mapper) { in configure() argument
361 mapper.configure(when, config, changes); in configure()
362 mSources |= mapper.getSources(); in configure()
374 for_each_mapper([when](InputMapper& mapper) { mapper.reset(when); }); in reset() argument
410 for_each_mapper_in_subdevice(rawEvent->deviceId, [rawEvent](InputMapper& mapper) { in process() argument
411 mapper.process(rawEvent); in process()
419 for_each_mapper([when](InputMapper& mapper) { mapper.timeoutExpired(when); }); in timeoutExpired() argument
423 for_each_mapper([state](InputMapper& mapper) { mapper.updateExternalStylusState(state); }); in updateExternalStylusState() argument
431 [&outDeviceInfo](InputMapper& mapper) { mapper.populateDeviceInfo(&outDeviceInfo); }); in getDeviceInfo() argument
457 InputMapper& mapper = *mapperPtr; in getState() local
458 if (sourcesMatchMask(mapper.getSources(), sourceMask)) { in getState()
461 int32_t currentResult = (mapper.*getStateFunc)(sourceMask, code); in getState()
476 for_each_mapper([&result, sourceMask, numCodes, keyCodes, outFlags](InputMapper& mapper) { in markSupportedKeyCodes() argument
477 if (sourcesMatchMask(mapper.getSources(), sourceMask)) { in markSupportedKeyCodes()
478 result |= mapper.markSupportedKeyCodes(sourceMask, numCodes, keyCodes, outFlags); in markSupportedKeyCodes()
486 [locationKeyCode](const InputMapper& mapper) -> std::optional<int32_t> const { in getKeyCodeForKeyLocation() argument
487 if (sourcesMatchMask(mapper.getSources(), AINPUT_SOURCE_KEYBOARD)) { in getKeyCodeForKeyLocation()
488 return std::make_optional(mapper.getKeyCodeForKeyLocation(locationKeyCode)); in getKeyCodeForKeyLocation()
502 for_each_mapper([sequence, repeat, token](InputMapper& mapper) { in vibrate() argument
503 mapper.vibrate(sequence, repeat, token); in vibrate()
508 for_each_mapper([token](InputMapper& mapper) { mapper.cancelVibrate(token); }); in cancelVibrate() argument
513 for_each_mapper([&vibrating](InputMapper& mapper) { vibrating |= mapper.isVibrating(); }); in isVibrating() argument
524 for_each_mapper([&vibrators](InputMapper& mapper) { in getVibratorIds() argument
525 std::vector<int32_t> devVibs = mapper.getVibratorIds(); in getVibratorIds()
537 [&success, sensorType, samplingPeriod, maxBatchReportLatency](InputMapper& mapper) { in enableSensor() argument
538 success &= mapper.enableSensor(sensorType, samplingPeriod, maxBatchReportLatency); in enableSensor()
544 for_each_mapper([sensorType](InputMapper& mapper) { mapper.disableSensor(sensorType); }); in disableSensor() argument
548 for_each_mapper([sensorType](InputMapper& mapper) { mapper.flushSensor(sensorType); }); in flushSensor() argument
552 for_each_mapper([when, readTime](InputMapper& mapper) { mapper.cancelTouch(when, readTime); }); in cancelTouch() argument
581 for_each_mapper([&result](InputMapper& mapper) { result |= mapper.getMetaState(); }); in getMetaState() argument
586 first_in_mappers<bool>([keyCode](InputMapper& mapper) { in updateMetaState() argument
587 if (sourcesMatchMask(mapper.getSources(), AINPUT_SOURCE_KEYBOARD) && in updateMetaState()
588 mapper.updateMetaState(keyCode)) { in updateMetaState()
612 [](InputMapper& mapper) { return mapper.getAssociatedDisplayId(); }); in getAssociatedDisplayId() argument
627 for_each_mapper([reset](InputMapper& mapper) { mapper.updateLedState(reset); }); in updateLedState() argument