Searched refs:supportsSource (Results 1 – 12 of 12) sorted by relevance
39 get() = supportsSource(InputDevice.SOURCE_STYLUS)
70 whenever(stylusDevice.supportsSource(InputDevice.SOURCE_STYLUS)).thenReturn(true) in setUp()73 whenever(externalDevice.supportsSource(InputDevice.SOURCE_STYLUS)).thenReturn(true) in setUp()
100 whenever(otherDevice.supportsSource(InputDevice.SOURCE_STYLUS)).thenReturn(false) in <lambda>()101 whenever(stylusDevice.supportsSource(InputDevice.SOURCE_STYLUS)).thenReturn(true) in <lambda>()102 whenever(btStylusDevice.supportsSource(InputDevice.SOURCE_STYLUS)).thenReturn(true) in <lambda>()
94 whenever(btStylusDevice.supportsSource(InputDevice.SOURCE_STYLUS)).thenReturn(true) in setUp()
111 if (!device.supportsSource(InputDevice.SOURCE_STYLUS)) return in <lambda>()136 if (!device.supportsSource(InputDevice.SOURCE_STYLUS)) return in <lambda>()347 if (device.supportsSource(InputDevice.SOURCE_STYLUS)) { in <lambda>()
76 .any { it.supportsSource(InputDevice.SOURCE_STYLUS) && !it.isExternal } in hostDeviceSupportsStylusInput()
121 if (inputDev.supportsSource(inputSource)) { in getInputDeviceId()
936 public boolean supportsSource(int source) { in supportsSource() method in InputDevice
4558 return inputDevice.supportsSource(InputDevice.SOURCE_STYLUS) in isStylusDevice()4559 || inputDevice.supportsSource(InputDevice.SOURCE_BLUETOOTH_STYLUS); in isStylusDevice()
4489 return inputDevice.supportsSource(InputDevice.SOURCE_STYLUS) in isStylusDevice()4490 || inputDevice.supportsSource(InputDevice.SOURCE_BLUETOOTH_STYLUS); in isStylusDevice()
32260 method public boolean supportsSource(int);
50560 method public boolean supportsSource(int);