Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputReaderBase.cpp38 std::string InputReaderConfiguration::changesToString(uint32_t changes) { in changesToString()
76 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByUniqueId( in getDisplayViewportByUniqueId()
97 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByType(ViewportType type) in getDisplayViewportByType()
117 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByPort( in getDisplayViewportByPort()
128 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportById( in getDisplayViewportById()
138 void InputReaderConfiguration::setDisplayViewports(const std::vector<DisplayViewport>& viewports) { in setDisplayViewports()
142 void InputReaderConfiguration::dump(std::string& dump) const { in dump()
148 void InputReaderConfiguration::dumpViewport(std::string& dump, const DisplayViewport& viewport) in dumpViewport()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h122 struct InputReaderConfiguration { struct
255 InputReaderConfiguration() : in InputReaderConfiguration() function
335 virtual void getReaderConfiguration(InputReaderConfiguration* outConfig) = 0;
/frameworks/native/services/inputflinger/reader/mapper/
DRotaryEncoderInputMapper.cpp61 void RotaryEncoderInputMapper::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
67 if (!changes || (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO)) { in configure()
DKeyboardInputMapper.h32 virtual void configure(nsecs_t when, const InputReaderConfiguration* config,
99 const InputReaderConfiguration* config);
DRotaryEncoderInputMapper.h33 virtual void configure(nsecs_t when, const InputReaderConfiguration* config,
DExternalStylusInputMapper.h36 virtual void configure(nsecs_t when, const InputReaderConfiguration* config,
DCursorInputMapper.cpp112 void CursorInputMapper::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
151 (changes & InputReaderConfiguration::CHANGE_POINTER_CAPTURE)) { in configure()
176 if (!changes || (changes & InputReaderConfiguration::CHANGE_POINTER_SPEED)) { in configure()
182 if (!changes || (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO)) { in configure()
DKeyboardInputMapper.cpp132 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,
DInputMapper.h55 virtual void configure(nsecs_t when, const InputReaderConfiguration* config, uint32_t changes);
DJoystickInputMapper.h32 virtual void configure(nsecs_t when, const InputReaderConfiguration* config,
DInputMapper.cpp35 void InputMapper::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
DTouchInputMapper.h141 virtual void configure(nsecs_t when, const InputReaderConfiguration* config,
190 InputReaderConfiguration mConfig;
DJoystickInputMapper.cpp109 void JoystickInputMapper::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
DTouchInputMapper.cpp340 void TouchInputMapper::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
362 if (!changes || (changes & InputReaderConfiguration::CHANGE_TOUCH_AFFINE_TRANSFORMATION)) { in configure()
367 if (!changes || (changes & InputReaderConfiguration::CHANGE_POINTER_SPEED)) { in configure()
377 (InputReaderConfiguration::CHANGE_DISPLAY_INFO | in configure()
378 InputReaderConfiguration::CHANGE_POINTER_GESTURE_ENABLEMENT | in configure()
379 InputReaderConfiguration::CHANGE_SHOW_TOUCHES | in configure()
380 InputReaderConfiguration::CHANGE_EXTERNAL_STYLUS_PRESENCE))) { in configure()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp209 void InputDevice::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
240 if (!changes || (changes & InputReaderConfiguration::CHANGE_KEYBOARD_LAYOUTS)) { in configure()
257 if (!changes || (changes & InputReaderConfiguration::CHANGE_DEVICE_ALIAS)) { in configure()
267 if (!changes || (changes & InputReaderConfiguration::CHANGE_ENABLED_STATE)) { in configure()
273 if (!changes || (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO)) { in configure()
DInputReader.cpp325 InputReaderConfiguration::changesToString(changes).c_str()); in refreshConfigurationLocked()
328 if (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO) { in refreshConfigurationLocked()
332 if (changes & InputReaderConfiguration::CHANGE_MUST_REOPEN) { in refreshConfigurationLocked()
357 refreshConfigurationLocked(InputReaderConfiguration::CHANGE_EXTERNAL_STYLUS_PRESENCE); in notifyExternalStylusPresenceChanged()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp227 virtual void getReaderConfiguration(InputReaderConfiguration* outConfig);
424 InputReaderConfiguration::CHANGE_DISPLAY_INFO); in setDisplayViewports()
451 void NativeInputManager::getReaderConfiguration(InputReaderConfiguration* outConfig) { in getReaderConfiguration()
830 InputReaderConfiguration::CHANGE_POINTER_SPEED); in setPointerSpeed()
848 InputReaderConfiguration::CHANGE_ENABLED_STATE); in setInputDeviceEnabled()
864 InputReaderConfiguration::CHANGE_SHOW_TOUCHES); in setShowTouches()
880 InputReaderConfiguration::CHANGE_POINTER_CAPTURE); in setPointerCapture()
889 InputReaderConfiguration::CHANGE_TOUCH_AFFINE_TRANSFORMATION); in reloadCalibration()
1657 InputReaderConfiguration::CHANGE_KEYBOARD_LAYOUTS); in nativeReloadKeyboardLayouts()
1665 InputReaderConfiguration::CHANGE_DEVICE_ALIAS); in nativeReloadDeviceAliases()
[all …]
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h134 InputReaderConfiguration mConfig;
DInputDevice.h72 void configure(nsecs_t when, const InputReaderConfiguration* config, uint32_t changes);
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp178 InputReaderConfiguration mConfig;
263 const InputReaderConfiguration* getReaderConfiguration() const { in getReaderConfiguration()
317 virtual void getReaderConfiguration(InputReaderConfiguration* outConfig) { in getReaderConfiguration()
881 InputReaderConfiguration config; in updatePointerDisplay()
1058 virtual void configure(nsecs_t, const InputReaderConfiguration* config, uint32_t changes) { in configure()
1064 if (displayPort && (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO)) { in configure()
1391 mReader->requestRefreshConfiguration(InputReaderConfiguration::CHANGE_ENABLED_STATE); in disableDevice()
1396 mReader->requestRefreshConfiguration(InputReaderConfiguration::CHANGE_ENABLED_STATE); in enableDevice()
1714 mReader->requestRefreshConfiguration(InputReaderConfiguration::CHANGE_DISPLAY_INFO); in TEST_F()
1900 mReader->requestRefreshConfiguration(InputReaderConfiguration::CHANGE_DISPLAY_INFO); in setDisplayInfoAndReconfigure()
[all …]