Home
last modified time | relevance | path

Searched refs:InputReaderConfiguration (Results 1 – 24 of 24) sorted by relevance

/frameworks/native/services/inputflinger/
DInputReaderBase.cpp41 std::string InputReaderConfiguration::changesToString(uint32_t changes) { in changesToString()
79 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByUniqueId( in getDisplayViewportByUniqueId()
100 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByType(ViewportType type) in getDisplayViewportByType()
122 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByPort( in getDisplayViewportByPort()
133 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportById( in getDisplayViewportById()
143 void InputReaderConfiguration::setDisplayViewports(const std::vector<DisplayViewport>& viewports) { in setDisplayViewports()
147 void InputReaderConfiguration::dump(std::string& dump) const { in dump()
153 void InputReaderConfiguration::dumpViewport(std::string& dump, const DisplayViewport& viewport) in dumpViewport()
/frameworks/native/services/inputflinger/reader/mapper/
DRotaryEncoderInputMapper.cpp63 void RotaryEncoderInputMapper::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
69 if (!changes || (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO)) { in configure()
DKeyboardInputMapper.h32 virtual void configure(nsecs_t when, const InputReaderConfiguration* config,
99 const InputReaderConfiguration* config);
DExternalStylusInputMapper.h36 virtual void configure(nsecs_t when, const InputReaderConfiguration* config,
DRotaryEncoderInputMapper.h33 virtual void configure(nsecs_t when, const InputReaderConfiguration* config,
DCursorInputMapper.cpp119 void CursorInputMapper::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
158 (changes & InputReaderConfiguration::CHANGE_POINTER_CAPTURE)) { in configure()
183 if (!changes || (changes & InputReaderConfiguration::CHANGE_POINTER_SPEED)) { in configure()
189 if (!changes || (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO)) { in configure()
DKeyboardInputMapper.cpp134 nsecs_t when, const InputReaderConfiguration* config) { in findViewport()
147 void KeyboardInputMapper::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
156 if (!changes || (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO)) { in configure()
DExternalStylusInputMapper.cpp47 void ExternalStylusInputMapper::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
DCursorInputMapper.h62 virtual void configure(nsecs_t when, const InputReaderConfiguration* config,
DJoystickInputMapper.h32 virtual void configure(nsecs_t when, const InputReaderConfiguration* config,
DInputMapper.cpp35 void InputMapper::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
DSensorInputMapper.h34 void configure(nsecs_t when, const InputReaderConfiguration* config, uint32_t changes) override;
DInputMapper.h56 virtual void configure(nsecs_t when, const InputReaderConfiguration* config, uint32_t changes);
DTouchInputMapper.h144 void configure(nsecs_t when, const InputReaderConfiguration* config, uint32_t changes) override;
192 InputReaderConfiguration mConfig;
DJoystickInputMapper.cpp107 void JoystickInputMapper::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
DSensorInputMapper.cpp124 void SensorInputMapper::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
DTouchInputMapper.cpp350 void TouchInputMapper::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
372 if (!changes || (changes & InputReaderConfiguration::CHANGE_TOUCH_AFFINE_TRANSFORMATION)) { in configure()
377 if (!changes || (changes & InputReaderConfiguration::CHANGE_POINTER_SPEED)) { in configure()
387 (InputReaderConfiguration::CHANGE_DISPLAY_INFO | in configure()
388 InputReaderConfiguration::CHANGE_POINTER_CAPTURE | in configure()
389 InputReaderConfiguration::CHANGE_POINTER_GESTURE_ENABLEMENT | in configure()
390 InputReaderConfiguration::CHANGE_SHOW_TOUCHES | in configure()
391 InputReaderConfiguration::CHANGE_EXTERNAL_STYLUS_PRESENCE))) { in configure()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h151 struct InputReaderConfiguration { struct
288 InputReaderConfiguration() : in InputReaderConfiguration() function
368 virtual void getReaderConfiguration(InputReaderConfiguration* outConfig) = 0;
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp236 void InputDevice::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
267 if (!changes || (changes & InputReaderConfiguration::CHANGE_KEYBOARD_LAYOUTS)) { in configure()
284 if (!changes || (changes & InputReaderConfiguration::CHANGE_DEVICE_ALIAS)) { in configure()
294 if (!changes || (changes & InputReaderConfiguration::CHANGE_ENABLED_STATE)) { in configure()
300 if (!changes || (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO)) { in configure()
DInputReader.cpp353 InputReaderConfiguration::changesToString(changes).c_str()); in refreshConfigurationLocked()
356 if (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO) { in refreshConfigurationLocked()
360 if (changes & InputReaderConfiguration::CHANGE_MUST_REOPEN) { in refreshConfigurationLocked()
369 if (changes & InputReaderConfiguration::CHANGE_POINTER_CAPTURE) { in refreshConfigurationLocked()
402 refreshConfigurationLocked(InputReaderConfiguration::CHANGE_EXTERNAL_STYLUS_PRESENCE); in notifyExternalStylusPresenceChangedLocked()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp296 void getReaderConfiguration(InputReaderConfiguration* outConfig) override;
508 InputReaderConfiguration::CHANGE_DISPLAY_INFO); in setDisplayViewports()
536 void NativeInputManager::getReaderConfiguration(InputReaderConfiguration* outConfig) { in getReaderConfiguration()
1054 InputReaderConfiguration::CHANGE_POINTER_SPEED); in setPointerSpeed()
1072 InputReaderConfiguration::CHANGE_ENABLED_STATE); in setInputDeviceEnabled()
1088 InputReaderConfiguration::CHANGE_SHOW_TOUCHES); in setShowTouches()
1101 InputReaderConfiguration::CHANGE_TOUCH_AFFINE_TRANSFORMATION); in reloadCalibration()
1399 InputReaderConfiguration::CHANGE_POINTER_CAPTURE); in setPointerCapture()
2080 InputReaderConfiguration::CHANGE_KEYBOARD_LAYOUTS); in nativeReloadKeyboardLayouts()
2088 InputReaderConfiguration::CHANGE_DEVICE_ALIAS); in nativeReloadDeviceAliases()
[all …]
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp194 InputReaderConfiguration mConfig;
285 const InputReaderConfiguration* getReaderConfiguration() const { in getReaderConfiguration()
343 void getReaderConfiguration(InputReaderConfiguration* outConfig) override { in getReaderConfiguration()
1080 void configure(nsecs_t, const InputReaderConfiguration* config, uint32_t changes) override { in configure()
1086 if (displayPort && (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO)) { in configure()
1507 mReader->requestRefreshConfiguration(InputReaderConfiguration::CHANGE_ENABLED_STATE); in disableDevice()
1512 mReader->requestRefreshConfiguration(InputReaderConfiguration::CHANGE_ENABLED_STATE); in enableDevice()
1872 mReader->requestRefreshConfiguration(InputReaderConfiguration::CHANGE_DISPLAY_INFO); in TEST_F()
1965 mReader->requestRefreshConfiguration(InputReaderConfiguration::CHANGE_POINTER_CAPTURE); in TEST_F()
1971 mReader->requestRefreshConfiguration(InputReaderConfiguration::CHANGE_POINTER_CAPTURE); in TEST_F()
[all …]
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h169 InputReaderConfiguration mConfig GUARDED_BY(mLock);
DInputDevice.h77 void configure(nsecs_t when, const InputReaderConfiguration* config, uint32_t changes);