Searched refs:hasInputDevice (Results 1 – 3 of 3) sorted by relevance
59 fun InputManager.hasInputDevice(predicate: (InputDevice) -> Boolean): Boolean = in hasInputDevice() method63 fun InputManager.hasInternalStylusSource(): Boolean = hasInputDevice { it.isInternalStylusSource } in <lambda>()66 fun InputManager.hasExternalStylusSource(): Boolean = hasInputDevice { it.isExternalStylusSource } in <lambda>()69 fun InputManager.hasAnyStylusSource(): Boolean = hasInputDevice { it.isAnyStylusSource } in <lambda>()
43 import com.android.systemui.shared.hardware.hasInputDevice179 return inputManager.hasInputDevice { it.isAnyStylusSource && it.bluetoothAddress != null } in hasConnectedBluetoothStylus()
38 import com.android.systemui.shared.hardware.hasInputDevice in <lambda>()88 inputManager.hasInputDevice { in <lambda>()