Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardBottomAreaViewModel.kt181 quickAffordanceInteractor.useLongPress(), in <lambda>()
182 ) { model, animateReveal, isFullyOpaque, selectedPreviewSlotId, useLongPress -> in <lambda>() method
198 useLongPress = useLongPress, in <lambda>()
212 useLongPress: Boolean, in <lambda>()
231 useLongPress = useLongPress, in <lambda>()
DKeyguardQuickAffordancesCombinedViewModel.kt211 quickAffordanceInteractor.useLongPress(), in <lambda>()
212 ) { model, animateReveal, isFullyOpaque, selectedPreviewSlotId, useLongPress -> in <lambda>() method
228 useLongPress = useLongPress, in <lambda>()
242 useLongPress: Boolean, in <lambda>()
261 useLongPress = useLongPress, in <lambda>()
DKeyguardQuickAffordanceViewModel.kt33 val useLongPress: Boolean = false, constant in com.android.systemui.keyguard.ui.viewmodel.KeyguardQuickAffordanceViewModel
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractorTest.kt651 val useLongPress by collectLastValue(underTest.useLongPress()) in useLongPress_whenDocked_isFalse() constant
653 assertThat(useLongPress).isFalse() in useLongPress_whenDocked_isFalse()
661 val useLongPress by collectLastValue(underTest.useLongPress()) in useLongPress_whenNotDocked_isTrue() constant
663 assertThat(useLongPress).isTrue() in useLongPress_whenNotDocked_isTrue()
670 val firstUseLongPress by collectLastValue(underTest.useLongPress()) in useLongPress_whenNotDocked_isTrue_changedTo_whenDocked_isFalse()
677 val secondUseLongPress by collectLastValue(underTest.useLongPress()) in useLongPress_whenNotDocked_isTrue_changedTo_whenDocked_isFalse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardQuickAffordanceViewBinder.kt200 if (viewModel.useLongPress) { in <lambda>()
DKeyguardBottomAreaViewBinder.kt416 if (viewModel.useLongPress) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractor.kt97 fun useLongPress(): Flow<Boolean> = dockManager.retrieveIsDocked().map { !it } in <lambda>() method