• Home
  • Raw
  • Download

Lines Matching refs:contextPtr

147     std::unique_ptr<InputDeviceContext> contextPtr(new InputDeviceContext(*this, eventHubId));  in addEventHubDevice()  local
148 Flags<InputDeviceClass> classes = contextPtr->getDeviceClasses(); in addEventHubDevice()
153 mDevices.insert({eventHubId, std::make_pair(std::move(contextPtr), std::move(mappers))}); in addEventHubDevice()
159 mappers.push_back(std::make_unique<SwitchInputMapper>(*contextPtr)); in addEventHubDevice()
164 mappers.push_back(std::make_unique<RotaryEncoderInputMapper>(*contextPtr)); in addEventHubDevice()
169 mappers.push_back(std::make_unique<VibratorInputMapper>(*contextPtr)); in addEventHubDevice()
175 mController = std::make_unique<PeripheralController>(*contextPtr); in addEventHubDevice()
196 std::make_unique<KeyboardInputMapper>(*contextPtr, keyboardSource, keyboardType)); in addEventHubDevice()
201 mappers.push_back(std::make_unique<CursorInputMapper>(*contextPtr)); in addEventHubDevice()
206 mappers.push_back(std::make_unique<MultiTouchInputMapper>(*contextPtr)); in addEventHubDevice()
208 mappers.push_back(std::make_unique<SingleTouchInputMapper>(*contextPtr)); in addEventHubDevice()
213 mappers.push_back(std::make_unique<JoystickInputMapper>(*contextPtr)); in addEventHubDevice()
218 mappers.push_back(std::make_unique<SensorInputMapper>(*contextPtr)); in addEventHubDevice()
223 mappers.push_back(std::make_unique<ExternalStylusInputMapper>(*contextPtr)); in addEventHubDevice()
227 mDevices.insert({eventHubId, std::make_pair(std::move(contextPtr), std::move(mappers))}); in addEventHubDevice()