Lines Matching refs:mapper

166     for_each_mapper([&dump](InputMapper& mapper) { mapper.dump(dump); });  in dump()  argument
357 for_each_mapper([this, when, &readerConfig, changes, &out](InputMapper& mapper) { in configureInternal() argument
358 out += mapper.reconfigure(when, readerConfig, changes); in configureInternal()
359 mSources |= mapper.getSources(); in configureInternal()
374 for_each_mapper([&](InputMapper& mapper) { out += mapper.reset(when); }); in reset() argument
411 for_each_mapper_in_subdevice(rawEvent->deviceId, [&](InputMapper& mapper) { in process() argument
412 out += mapper.process(*rawEvent); in process()
438 for_each_mapper([&](InputMapper& mapper) { out += mapper.timeoutExpired(when); }); in timeoutExpired() argument
444 for_each_mapper([&](InputMapper& mapper) { out += mapper.updateExternalStylusState(state); }); in updateExternalStylusState() argument
457 [&outDeviceInfo](InputMapper& mapper) { mapper.populateDeviceInfo(outDeviceInfo); }); in getDeviceInfo() argument
483 InputMapper& mapper = *mapperPtr; in getState() local
484 if (sourcesMatchMask(mapper.getSources(), sourceMask)) { in getState()
487 int32_t currentResult = (mapper.*getStateFunc)(sourceMask, code); in getState()
576 for_each_mapper([&result, sourceMask, keyCodes, outFlags](InputMapper& mapper) { in markSupportedKeyCodes() argument
577 if (sourcesMatchMask(mapper.getSources(), sourceMask)) { in markSupportedKeyCodes()
578 result |= mapper.markSupportedKeyCodes(sourceMask, keyCodes, outFlags); in markSupportedKeyCodes()
586 [locationKeyCode](const InputMapper& mapper) -> std::optional<int32_t> const { in getKeyCodeForKeyLocation() argument
587 if (sourcesMatchMask(mapper.getSources(), AINPUT_SOURCE_KEYBOARD)) { in getKeyCodeForKeyLocation()
588 return std::make_optional(mapper.getKeyCodeForKeyLocation(locationKeyCode)); in getKeyCodeForKeyLocation()
604 for_each_mapper([&](InputMapper& mapper) { out += mapper.vibrate(sequence, repeat, token); }); in vibrate() argument
610 for_each_mapper([&](InputMapper& mapper) { out += mapper.cancelVibrate(token); }); in cancelVibrate() argument
616 for_each_mapper([&vibrating](InputMapper& mapper) { vibrating |= mapper.isVibrating(); }); in isVibrating() argument
627 for_each_mapper([&vibrators](InputMapper& mapper) { in getVibratorIds() argument
628 std::vector<int32_t> devVibs = mapper.getVibratorIds(); in getVibratorIds()
640 [&success, sensorType, samplingPeriod, maxBatchReportLatency](InputMapper& mapper) { in enableSensor() argument
641 success &= mapper.enableSensor(sensorType, samplingPeriod, maxBatchReportLatency); in enableSensor()
647 for_each_mapper([sensorType](InputMapper& mapper) { mapper.disableSensor(sensorType); }); in disableSensor() argument
651 for_each_mapper([sensorType](InputMapper& mapper) { mapper.flushSensor(sensorType); }); in flushSensor() argument
656 for_each_mapper([&](InputMapper& mapper) { out += mapper.cancelTouch(when, readTime); }); in cancelTouch() argument
678 for_each_mapper([&result](InputMapper& mapper) { result |= mapper.getMetaState(); }); in getMetaState() argument
683 first_in_mappers<bool>([keyCode](InputMapper& mapper) { in updateMetaState() argument
684 if (sourcesMatchMask(mapper.getSources(), AINPUT_SOURCE_KEYBOARD) && in updateMetaState()
685 mapper.updateMetaState(keyCode)) { in updateMetaState()
714 [](InputMapper& mapper) { return mapper.getAssociatedDisplayId(); }); in getAssociatedDisplayId() argument
729 for_each_mapper([reset](InputMapper& mapper) { mapper.updateLedState(reset); }); in updateLedState() argument