Searched refs:mSingleTapClassifier (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | DoubleTapClassifierTest.java | 53 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()
|
D | BrightLineFalsingManagerTest.java | 60 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/ |
D | DoubleTapClassifier.java | 34 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()
|
D | BrightLineFalsingManager.java | 71 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/ |
D | KeyguardPinBasedInputViewControllerTest.java | 79 private SingleTapClassifier mSingleTapClassifier; field in KeyguardPinBasedInputViewControllerTest
|