Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DDoubleTapClassifierTest.java53 private SingleTapClassifier mSingleTapClassifier; field in DoubleTapClassifierTest
64 mClassifier = new DoubleTapClassifier(mDataProvider, mSingleTapClassifier, TOUCH_SLOP, in setup()
82 when(mSingleTapClassifier.isTap(anyList(), anyDouble())).thenReturn(mFalsedResult); in testSingleTap()
92 when(mSingleTapClassifier.isTap(anyList(), anyDouble())).thenReturn(mPassedResult); in testDoubleTap()
108 when(mSingleTapClassifier.isTap(anyList(), anyDouble())) in testBadFirstTap()
125 when(mSingleTapClassifier.isTap(anyList(), anyDouble())) in testBadSecondTap()
142 when(mSingleTapClassifier.isTap(anyList(), anyDouble())).thenReturn(mFalsedResult); in testBadTouchSlop()
158 when(mSingleTapClassifier.isTap(anyList(), anyDouble())).thenReturn(mFalsedResult); in testBadTouchSlow()
DBrightLineFalsingManagerTest.java60 private SingleTapClassifier mSingleTapClassifier; field in BrightLineFalsingManagerTest
85 when(mSingleTapClassifier.isTap(any(List.class), anyDouble())).thenReturn(mFalsedResult); in setup()
94 mMetricsLogger, mClassifiers, mSingleTapClassifier, mLongTapClassifier, in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DDoubleTapClassifier.java34 private final SingleTapClassifier mSingleTapClassifier; field in DoubleTapClassifier
43 mSingleTapClassifier = singleTapClassifier; in DoubleTapClassifier()
69 Result firstTap = mSingleTapClassifier.isTap(firstEvents, 0.5); in isDoubleTap()
75 Result secondTap = mSingleTapClassifier.isTap(secondEvents, 0.5); in isDoubleTap()
DBrightLineFalsingManager.java71 private final SingleTapClassifier mSingleTapClassifier; field in BrightLineFalsingManager
162 double penalty = mSingleTapClassifier.isTap(
192 mSingleTapClassifier = singleTapClassifier; in BrightLineFalsingManager()
247 FalsingClassifier.Result result = mSingleTapClassifier.isTap( in isSimpleTap()
287 mSingleTapClassifier.isTap(mDataProvider.getRecentMotionEvents().isEmpty() in isFalseTap()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardPinBasedInputViewControllerTest.java79 private SingleTapClassifier mSingleTapClassifier; field in KeyguardPinBasedInputViewControllerTest