Searched refs:isDeviceStylus (Results 1 – 3 of 3) sorted by relevance
175 assertThat(StylusDevicesController.isDeviceStylus(null, null)).isFalse(); in isDeviceStylus_noDevices_false()184 assertThat(StylusDevicesController.isDeviceStylus(inputDevice, null)).isFalse(); in isDeviceStylus_nonStylusInputDevice_false()193 assertThat(StylusDevicesController.isDeviceStylus(inputDevice, null)).isTrue(); in isDeviceStylus_stylusInputDevice_true()201 assertThat(StylusDevicesController.isDeviceStylus(null, mCachedBluetoothDevice)).isFalse(); in isDeviceStylus_nonStylusBluetoothDevice_false()210 assertThat(StylusDevicesController.isDeviceStylus(null, mCachedBluetoothDevice)).isTrue(); in isDeviceStylus_stylusBluetoothDevice_true()
104 return isDeviceStylus(mInputDevice, mCachedBluetoothDevice); in isAvailable()376 public static boolean isDeviceStylus(@Nullable InputDevice inputDevice, in isDeviceStylus() method
425 if (StylusDevicesController.isDeviceStylus(mInputDevice, mCachedDevice)) { in setTitleForInputDevice()