Home
last modified time | relevance | path

Searched refs:mappers (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp135 std::vector<std::unique_ptr<InputMapper>> mappers; in addEventHubDevice() local
139 mDevices.insert({eventHubId, std::make_pair(std::move(contextPtr), std::move(mappers))}); in addEventHubDevice()
145 mappers.push_back(std::make_unique<SwitchInputMapper>(*contextPtr)); in addEventHubDevice()
150 mappers.push_back(std::make_unique<RotaryEncoderInputMapper>(*contextPtr)); in addEventHubDevice()
155 mappers.push_back(std::make_unique<VibratorInputMapper>(*contextPtr)); in addEventHubDevice()
175 mappers.push_back( in addEventHubDevice()
181 mappers.push_back(std::make_unique<CursorInputMapper>(*contextPtr)); in addEventHubDevice()
186 mappers.push_back(std::make_unique<MultiTouchInputMapper>(*contextPtr)); in addEventHubDevice()
188 mappers.push_back(std::make_unique<SingleTouchInputMapper>(*contextPtr)); in addEventHubDevice()
193 mappers.push_back(std::make_unique<JoystickInputMapper>(*contextPtr)); in addEventHubDevice()
[all …]
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h111 auto& mappers = devicePair.second; in addMapper() local
113 mappers.emplace_back(mapper); in addMapper()
148 auto& mappers = devicePair.second; in for_each_mapper() local
149 for (auto& mapperPtr : mappers) { in for_each_mapper()
161 auto& mappers = devicePair.second; in for_each_mapper_in_subdevice() local
162 for (auto& mapperPtr : mappers) { in for_each_mapper_in_subdevice()
183 auto& mappers = devicePair.second; in first_in_mappers() local
184 for (auto& mapperPtr : mappers) { in first_in_mappers()