Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceEntryHapticsInteractor.kt71 private val powerButtonDown: Flow<Boolean> = keyEventInteractor.isPowerButtonDown in <lambda>() constant
87 powerButtonDown, in <lambda>()
92 .filter { (sideFpsEnrolled, powerButtonDown, lastPowerButtonWakeup) -> in <lambda>() method
94 !powerButtonDown && in <lambda>()
113 .sample(combine(powerButtonSideFpsEnrolled, powerButtonDown, ::Pair)) in <lambda>()
114 .filter { (sideFpsEnrolled, powerButtonDown) -> in <lambda>() method
115 val allowHaptic = !sideFpsEnrolled || !powerButtonDown in <lambda>()