Home
last modified time | relevance | path

Searched refs:hasInputDevice (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/hardware/
DInputManager.kt59 fun InputManager.hasInputDevice(predicate: (InputDevice) -> Boolean): Boolean = in hasInputDevice() method
63 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>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stylus/
DStylusUsiPowerUI.kt43 import com.android.systemui.shared.hardware.hasInputDevice
179 return inputManager.hasInputDevice { it.isAnyStylusSource && it.bluetoothAddress != null } in hasConnectedBluetoothStylus()
DStylusManager.kt38 import com.android.systemui.shared.hardware.hasInputDevice in <lambda>()
88 inputManager.hasInputDevice { in <lambda>()