Home
last modified time | relevance | path

Searched refs:falsingManager (Results 1 – 25 of 139) sorted by relevance

123456

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DPulsingGestureListenerTest.kt59 private lateinit var falsingManager: FalsingManager variable in com.android.systemui.shade.PulsingGestureListenerTest
88 falsingManager, in setUp()
114 whenever(falsingManager.isProximityNear).thenReturn(false) in testGestureDetector_singleTapEnabled()
117 whenever(falsingManager.isFalseTap(anyInt())).thenReturn(false) in testGestureDetector_singleTapEnabled()
134 whenever(falsingManager.isProximityNear).thenReturn(false) in testGestureDetector_doubleTapEnabled()
137 whenever(falsingManager.isFalseDoubleTap).thenReturn(false) in testGestureDetector_doubleTapEnabled()
156 verify(falsingManager, never()).isFalseDoubleTap() in testGestureDetector_doubleTapEnabled_onDownEvent_noFalsingCheck()
166 whenever(falsingManager.isProximityNear).thenReturn(false) in testGestureDetector_singleTapEnabled_falsing()
169 whenever(falsingManager.isFalseTap(anyInt())).thenReturn(true) in testGestureDetector_singleTapEnabled_falsing()
190 verify(falsingManager, never()).isFalseTap(anyInt()) in testSingleTap_notDozing_noFalsingCheck()
[all …]
DLockscreenHostedDreamGestureListenerTest.kt52 @Mock private lateinit var falsingManager: FalsingManager variable in com.android.systemui.shade.LockscreenHostedDreamGestureListenerTest
74 falsingManager, in setUp()
98 whenever(falsingManager.isFalseTap(ArgumentMatchers.anyInt())).thenReturn(false) in testGestureDetector_onSingleTap_whileDreaming()
120 whenever(falsingManager.isFalseTap(ArgumentMatchers.anyInt())).thenReturn(false) in testGestureDetector_onSingleTap_notOnKeyguard()
126 verify(falsingManager, never()).isFalseTap(ArgumentMatchers.anyInt()) in testGestureDetector_onSingleTap_notOnKeyguard()
141 whenever(falsingManager.isFalseTap(ArgumentMatchers.anyInt())).thenReturn(false) in testGestureDetector_onSingleTap_bouncerShown()
147 verify(falsingManager, never()).isFalseTap(ArgumentMatchers.anyInt()) in testGestureDetector_onSingleTap_bouncerShown()
159 whenever(falsingManager.isFalseTap(ArgumentMatchers.anyInt())).thenReturn(true) in testGestureDetector_onSingleTap_falsing()
181 verify(falsingManager, never()).isFalseTap(ArgumentMatchers.anyInt()) in testSingleTap_notDreaming_noFalsingCheck()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DMediaRecommendationsViewBinder.kt52 falsingManager: FalsingManager, in <lambda>()
62 bindRecsCard(viewHolder, it, mediaViewController, falsingManager) in <lambda>()
75 falsingManager: FalsingManager, in <lambda>()
84 if (falsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) return@setOnClickListener in <lambda>()
89 if (falsingManager.isFalseLongTap(FalsingManager.LOW_PENALTY)) in <lambda>()
100 bindRecommendationsList(viewHolder, viewModel.mediaRecs, falsingManager) in <lambda>()
115 bindRecommendationsGuts(viewHolder, viewModel, mediaViewController, falsingManager) in <lambda>()
124 falsingManager: FalsingManager, in <lambda>()
133 if (falsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) return@setOnClickListener in <lambda>()
140 if (falsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in <lambda>()
[all …]
DMediaControlViewBinder.kt76 falsingManager: FalsingManager, in <lambda>()
91 falsingManager, in <lambda>()
107 falsingManager: FalsingManager, in <lambda>()
123 if (!falsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in <lambda>()
130 if (!falsingManager.isFalseLongTap(FalsingManager.LOW_PENALTY)) { in <lambda>()
146 falsingManager in <lambda>()
148 bindGutsViewModel(viewHolder, viewModel, viewController, falsingManager) in <lambda>()
149 bindActionButtons(viewHolder, viewModel, viewController, falsingManager) in <lambda>()
184 falsingManager: FalsingManager, in <lambda>()
191 if (!falsingManager.isFalseTap(FalsingManager.MODERATE_PENALTY)) { in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardQuickAffordanceViewBinder.kt75 falsingManager: FalsingManager?, in <lambda>()
89 falsingManager = falsingManager, in <lambda>()
131 falsingManager: FalsingManager?, in <lambda>()
207 falsingManager, in <lambda>()
233 OnLongClickListener(falsingManager, viewModel, vibratorHelper, onTouchListener) in <lambda>()
235 view.setOnClickListener(OnClickListener(viewModel, checkNotNull(falsingManager))) in <lambda>()
269 private val falsingManager: FalsingManager, in <lambda>() constant in com.android.systemui.keyguard.ui.binder.KeyguardQuickAffordanceViewBinder.OnClickListener
272 if (falsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in <lambda>()
289 private val falsingManager: FalsingManager?, in <lambda>() constant in com.android.systemui.keyguard.ui.binder.KeyguardQuickAffordanceViewBinder.OnLongClickListener
295 if (falsingManager?.isFalseLongTap(FalsingManager.MODERATE_PENALTY) == true) { in <lambda>()
DKeyguardBottomAreaViewBinder.kt111 falsingManager: FalsingManager?, in <lambda>()
180 falsingManager = falsingManager, in <lambda>()
193 falsingManager = falsingManager, in <lambda>()
336 falsingManager: FalsingManager?, in <lambda>()
423 falsingManager, in <lambda>()
449 OnLongClickListener(falsingManager, viewModel, vibratorHelper, onTouchListener) in <lambda>()
451 view.setOnClickListener(OnClickListener(viewModel, checkNotNull(falsingManager))) in <lambda>()
496 private val falsingManager: FalsingManager?, in <lambda>() constant in com.android.systemui.keyguard.ui.binder.KeyguardBottomAreaViewBinder.OnLongClickListener
502 if (falsingManager?.isFalseLongTap(FalsingManager.MODERATE_PENALTY) == true) { in <lambda>()
534 private val falsingManager: FalsingManager, in <lambda>() constant in com.android.systemui.keyguard.ui.binder.KeyguardBottomAreaViewBinder.OnClickListener
[all …]
DKeyguardLongPressViewBinder.kt44 falsingManager: FalsingManager, in <lambda>()
49 if (falsingManager.isFalseLongTap(FalsingManager.LOW_PENALTY)) { in <lambda>()
57 if (falsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/dialog/
DUserSwitcherDialogCoordinator.kt53 private val falsingManager: Lazy<FalsingManager>, in <lambda>() constant in com.android.systemui.user.ui.dialog.UserSwitcherDialogCoordinator
83 falsingManager = falsingManager.get(), in <lambda>()
108 falsingManager = falsingManager.get(), in <lambda>()
123 falsingManager = falsingManager.get(), in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DPulsingGestureListener.kt51 private val falsingManager: FalsingManager, in <lambda>() constant in com.android.systemui.shade.PulsingGestureListener
87 val proximityIsNotNear = !falsingManager.isProximityNear in <lambda>()
88 val isNotAFalseTap = !falsingManager.isFalseTap(LOW_PENALTY) in <lambda>()
111 !falsingManager.isProximityNear && in <lambda>()
112 !falsingManager.isFalseDoubleTap in <lambda>()
DLockscreenHostedDreamGestureListener.kt42 private val falsingManager: FalsingManager, constant in com.android.systemui.shade.LockscreenHostedDreamGestureListener
53 if (!falsingManager.isFalseTap(LOW_PENALTY)) { in onSingleTapUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ui/viewbinder/
DActivatableNotificationViewBinder.kt39 falsingManager: FalsingManager, in <lambda>()
42 val touchHandler = TouchHandler(view, falsingManager) in <lambda>()
70 private val falsingManager: FalsingManager, constant in com.android.systemui.statusbar.notification.row.ui.viewbinder.TouchHandler
85 return falsingManager.isFalseTap(FalsingManager.LOW_PENALTY).also { in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/ui/viewmodel/
DFooterActionsViewModel.kt110 private val falsingManager: FalsingManager, in <lambda>() constant in com.android.systemui.qs.footer.ui.viewmodel.FooterActionsViewModel.Factory
137 falsingManager, in <lambda>()
149 falsingManager: FalsingManager, in FooterActionsViewModel()
164 if (falsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in FooterActionsViewModel()
172 if (falsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in FooterActionsViewModel()
187 if (falsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in FooterActionsViewModel()
195 if (falsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in FooterActionsViewModel()
203 if (falsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in FooterActionsViewModel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationTapHelper.java44 private NotificationTapHelper(FalsingManager falsingManager, DelayableExecutor executor, in NotificationTapHelper() argument
47 mFalsingManager = falsingManager; in NotificationTapHelper()
151 public Factory(FalsingManager falsingManager, @Main DelayableExecutor delayableExecutor) { in Factory() argument
152 mFalsingManager = falsingManager; in Factory()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/
DNotificationListViewBinderKosmos.kt20 import com.android.systemui.classifier.falsingManager
40 falsingManager = falsingManager, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/classifier/domain/interactor/
DFalsingInteractorKosmos.kt20 import com.android.systemui.classifier.falsingManager
27 manager = falsingManager, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/viewmodel/
DQSTileViewModelFactory.kt58 private val falsingManager: FalsingManager, constant in com.android.systemui.qs.tiles.base.viewmodel.QSTileViewModelFactory.Component
84 falsingManager, in create()
103 private val falsingManager: FalsingManager, constant in com.android.systemui.qs.tiles.base.viewmodel.QSTileViewModelFactory.Static
134 falsingManager,
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DBottomAreaSection.kt53 private val falsingManager: FalsingManager, in <lambda>() constant in com.android.systemui.keyguard.ui.composable.section.BottomAreaSection
80 falsingManager = falsingManager, in <lambda>()
124 falsingManager: FalsingManager, in <lambda>()
162 falsingManager, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/
DBrightnessSliderControllerKosmos.kt20 import com.android.systemui.classifier.falsingManager
31 falsingManager, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/
DLockscreenShadeTransitionControllerKosmos.kt21 import com.android.systemui.classifier.falsingManager
57 falsingManager = falsingManager, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/domain/interactor/
DSceneContainerStartableKosmos.kt24 import com.android.systemui.classifier.falsingManager
57 falsingManager = falsingManager, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/
DQuickSettingsKosmos.kt29 import com.android.systemui.classifier.falsingManager
95 falsingManager = falsingManager, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/user/
DUserSwitchDialogControllerTest.kt64 private lateinit var falsingManager: FalsingManager variable in com.android.systemui.qs.user.UserSwitchDialogControllerTest
92 falsingManager, in setUp()
139 `when`(falsingManager.isFalseTap(anyInt())).thenReturn(false) in clickSettingsButton_noFalsing_opensSettings()
160 `when`(falsingManager.isFalseTap(anyInt())).thenReturn(true) in clickSettingsButton_Falsing_notOpensSettings()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationViewController.java42 AccessibilityManager accessibilityManager, FalsingManager falsingManager) { in ActivatableNotificationViewController() argument
46 mFalsingManager = falsingManager; in ActivatableNotificationViewController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DAlignShortcutsToUdfpsSection.kt47 private val falsingManager: FalsingManager, constant in com.android.systemui.keyguard.ui.view.layout.sections.AlignShortcutsToUdfpsSection
65 falsingManager, in bindData()
75 falsingManager, in bindData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/shelf/ui/viewbinder/
DNotificationShelfViewBinder.kt36 falsingManager: FalsingManager, in bind()
40 ActivatableNotificationViewBinder.bind(viewModel, shelf, falsingManager) in bind()

123456