Home
last modified time | relevance | path

Searched refs:mFalsingManager (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationTapHelper.java37 private final FalsingManager mFalsingManager; field in NotificationTapHelper
47 mFalsingManager = falsingManager; in NotificationTapHelper()
67 if (mTrackTouch && !mFalsingManager.isSimpleTap()) { in onTouchEvent()
81 if (!mFalsingManager.isFalseTap(FalsingManager.NO_PENALTY)) { in onTouchEvent()
84 } else if (mFalsingManager.isSimpleTap()) { in onTouchEvent()
95 if (!mFalsingManager.isFalseDoubleTap()) { in onTouchEvent()
147 private final FalsingManager mFalsingManager; field in NotificationTapHelper.Factory
152 mFalsingManager = falsingManager; in Factory()
159 return new NotificationTapHelper(mFalsingManager, mDelayableExecutor, in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessSliderController.java54 private final FalsingManager mFalsingManager; field in BrightnessSliderController
61 mFalsingManager.isFalseTouch(Classifier.BRIGHTNESS_SLIDER);
77 mFalsingManager = falsingManager; in BrightnessSliderController()
239 private final FalsingManager mFalsingManager; field in BrightnessSliderController.Factory
243 mFalsingManager = falsingManager; in Factory()
257 return new BrightnessSliderController(root, mFalsingManager); in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImplController.java38 private final FalsingManager mFalsingManager; field in QSContainerImplController
54 mFalsingManager.isFalseTouch(QS_SWIPE_NESTED);
72 mFalsingManager = falsingManager; in QSContainerImplController()
DQSFooterViewController.java46 private final FalsingManager mFalsingManager; field in QSFooterViewController
58 mFalsingManager = falsingManager; in QSFooterViewController()
83 if (mFalsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in onViewAttached()
DQSPanelController.java56 private final FalsingManager mFalsingManager; field in QSPanelController
66 mFalsingManager.isFalseTouch(QS_SWIPE_SIDE);
88 mFalsingManager = falsingManager; in QSPanelController()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUserSwitcherPopupMenu.java36 private FalsingManager mFalsingManager; field in KeyguardUserSwitcherPopupMenu
42 mFalsingManager = falsingManager; in KeyguardUserSwitcherPopupMenu()
79 return mFalsingManager.isFalseTap(FalsingManager.LOW_PENALTY); in show()
DKeyguardSecurityContainer.java149 private FalsingManager mFalsingManager; field in KeyguardSecurityContainer
364 mFalsingManager = falsingManager; in initMode()
387 || mFalsingManager == null || mUserSwitcherController == null) { in setupViewMode()
391 mViewMode.init(this, mGlobalSettings, mSecurityViewFlipper, mFalsingManager, in setupViewMode()
953 private FalsingManager mFalsingManager; field in KeyguardSecurityContainer.UserSwitcherViewMode
976 mFalsingManager = falsingManager; in init()
1163 if (mFalsingManager.isFalseTap(LOW_PENALTY)) return; in setupUserSwitcher()
1164 mPopup = new KeyguardUserSwitcherPopupMenu(mView.getContext(), mFalsingManager); in setupUserSwitcher()
1168 if (mFalsingManager.isFalseTap(LOW_PENALTY)) return; in setupUserSwitcher()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFooterViewControllerTest.java66 private FalsingManager mFalsingManager; field in QSFooterViewControllerTest
91 mController = new QSFooterViewController(mView, mUserTracker, mFalsingManager, in setup()
115 when(mFalsingManager.isFalseTap(anyInt())).thenReturn(true); in testEditButton_falseTap()
125 when(mFalsingManager.isFalseTap(anyInt())).thenReturn(false); in testEditButton_realTap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationViewController.java39 private final FalsingManager mFalsingManager; field in ActivatableNotificationViewController
55 mFalsingManager = falsingManager; in ActivatableNotificationViewController()
121 boolean falseTap = mFalsingManager.isFalseTap(FalsingManager.LOW_PENALTY); in onTouch()
DExpandableNotificationRowController.java95 private final FalsingManager mFalsingManager; field in ExpandableNotificationRowController
183 mFalsingManager = falsingManager; in ExpandableNotificationRowController()
217 mFalsingManager, in init()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationTapHelperTest.java50 private final FalsingManagerFake mFalsingManager = new FalsingManagerFake(); field in NotificationTapHelperTest
66 mFalsingManager.setSimpleTap(true); in setup()
67 mFalsingManager.setFalseTap(true); // Test double tapping most of the time. in setup()
69 mNotificationTapHelper = new NotificationTapHelper.Factory(mFalsingManager, mFakeExecutor) in setup()
162 mFalsingManager.setSimpleTap(false); in testSingleTap_falsed()
202 mFalsingManager.setFalseDoubleTap(true); in testDoubleTap_falsed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletActivity.java70 private final FalsingManager mFalsingManager; field in WalletActivity
100 mFalsingManager = falsingManager; in WalletActivity()
135 mFalsingManager, in onCreate()
156 if (mFalsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in onCreate()
181 if (mFalsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in onCreate()
DWalletScreenController.java77 private final FalsingManager mFalsingManager; field in WalletScreenController
103 mFalsingManager = falsingManager; in WalletScreenController()
199 if (mFalsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in onUncenteredClick()
232 if (mFalsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in onCardClicked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingCollectorImpl.java59 private final FalsingManager mFalsingManager; field in FalsingCollectorImpl
145 mFalsingManager = falsingManager; in FalsingCollectorImpl()
172 mFalsingManager.onSuccessfulUnlock(); in onSuccessfulUnlock()
429 mFalsingManager.onProximityEvent(new ProximityEventImpl(proximityEvent)); in onProximityEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSecurityContainerControllerTest.java137 private FalsingManager mFalsingManager; field in KeyguardSecurityContainerControllerTest
208 mConfigurationController, mFalsingCollector, mFalsingManager, in setup()
217 verify(mView).initMode(eq(MODE_DEFAULT), eq(mGlobalSettings), eq(mFalsingManager), in onInitConfiguresViewMode()
259 verify(mView, never()).initMode(eq(MODE_DEFAULT), eq(mGlobalSettings), eq(mFalsingManager), in onResourcesUpdate_callsThroughOnRotationChange()
269 verify(mView).initMode(eq(MODE_DEFAULT), eq(mGlobalSettings), eq(mFalsingManager), in onResourcesUpdate_callsThroughOnRotationChange()
306 verify(mView).initMode(eq(MODE_DEFAULT), eq(mGlobalSettings), eq(mFalsingManager), in showSecurityScreen_oneHandedMode_flagDisabled_noOneHandedMode()
320 verify(mView).initMode(eq(MODE_ONE_HANDED), eq(mGlobalSettings), eq(mFalsingManager), in showSecurityScreen_oneHandedMode_flagEnabled_oneHandedMode()
332 verify(mView).initMode(eq(MODE_DEFAULT), eq(mGlobalSettings), eq(mFalsingManager), in showSecurityScreen_twoHandedMode_flagEnabled_noOneHandedMode()
DLockIconViewControllerBaseTest.java87 protected @Mock FalsingManager mFalsingManager; field in LockIconViewControllerBaseTest
153 mFalsingManager, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java87 private final FalsingManager mFalsingManager; field in UserDetailView.Adapter
104 mFalsingManager = falsingManager; in Adapter()
180 if (mFalsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in onClick()
/frameworks/base/packages/SystemUI/docs/
Dfalsing.md156 if (!mFalsingManager.isFalseTap(false, 0)) {
158 } else if (!mFalsingManager.isFalseTouch(GESTURE_A) {
160 } else if (!mFalsingManager.isFalseTouch(GESTURE_B) {
170 if (!mFalsingManager.isFalseTap(false, 0)) {
175 if (!mFalsingManager.isFalseTouch(GESTURE_A) {
181 if (!mFalsingManager.isFalseTouch(GESTURE_B) {
238 mFalsingManager.addFalsingBeliefListener(MyFeatureClass::hide);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardQsUserSwitchController.java75 private final FalsingManager mFalsingManager; field in KeyguardQsUserSwitchController
158 mFalsingManager = falsingManager; in KeyguardQsUserSwitchController()
183 if (mFalsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { in onInit()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/brightness/
DBrightnessSliderControllerTest.kt67 private var mFalsingManager: FalsingManagerFake = FalsingManagerFake() variable in com.android.systemui.settings.brightness.BrightnessSliderControllerTest
78 mController = BrightnessSliderController(brightnessSliderView, mFalsingManager) in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
DMediaControlPanel.java206 private final FalsingManager mFalsingManager; field in MediaControlPanel
284 mFalsingManager = falsingManager; in MediaControlPanel()
405 if (mFalsingManager.isFalseLongTap(FalsingManager.LOW_PENALTY)) return true; in attachPlayer()
472 if (mFalsingManager.isFalseLongTap(FalsingManager.LOW_PENALTY)) return true; in attachRecommendation()
516 if (mFalsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) return; in bindPlayer()
624 if (mFalsingManager.isFalseTap( in bindOutputSwitcherAndBroadcastButton()
1144 if (!mFalsingManager.isFalseTap( in bindButtonCommon()
1385 if (mFalsingManager.isFalseLongTap(FalsingManager.LOW_PENALTY)) return true;
1541 if (mFalsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) return;
1556 if (!mFalsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java90 private final FalsingManager mFalsingManager; field in SwipeHelper
156 mFalsingManager = falsingManager; in SwipeHelper()
768 && !mFalsingManager.isUnlockingDisabled() in isDismissGesture()
776 if (mFalsingManager.isClassifierEnabled()) { in isFalseGesture()
777 falsingDetected = falsingDetected && mFalsingManager.isFalseTouch(NOTIFICATION_DISMISS); in isFalseGesture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DEdgeBackGestureHandler.java187 private final FalsingManager mFalsingManager; field in EdgeBackGestureHandler
276 mFalsingManager.isFalseTouch(BACK_GESTURE);
364 mFalsingManager = falsingManager; in EdgeBackGestureHandler()
937 mFalsingManager.isFalseTouch(BACK_GESTURE); in onMotionEvent()
1106 private final FalsingManager mFalsingManager; field in EdgeBackGestureHandler.Factory
1144 mFalsingManager = falsingManager; in Factory()
1167 mFalsingManager, in create()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java102 private final FalsingManagerFake mFalsingManager = new FalsingManagerFake(); field in QSTileImplTest
126 mTile = new TileImpl(mHost, mTestableLooper.getLooper(), mainHandler, mFalsingManager, in setup()
180 mFalsingManager.setFalseTap(true); in testClick_falsing()
185 mFalsingManager.setFalseTap(false); in testClick_falsing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java558 private final FalsingManager mFalsingManager; field in NotificationSwipeHelper.Builder
571 mFalsingManager = falsingManager; in Builder()
593 return new NotificationSwipeHelper(mResources, mViewConfiguration, mFalsingManager, in build()

12