Searched refs:isTap (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | DoubleTapClassifierTest.java | 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 | BrightLineClassifierTest.java | 96 when(mSingleTapClassfier.isTap(any(List.class), anyDouble())).thenReturn(mPassedResult); in setup() 176 when(mSingleTapClassfier.isTap(mMotionEventList, 0)).thenReturn(mFalsedResult); in testIsFalseTap_BasicCheck() 180 when(mSingleTapClassfier.isTap(mMotionEventList, 0)).thenReturn(mPassedResult); in testIsFalseTap_BasicCheck() 192 verify(mSingleTapClassfier).isTap(mMotionEventList, 0); in testIsFalseTap_EmptyRecentEvents() 198 when(mSingleTapClassfier.isTap(mMotionEventList, 0)).thenReturn(mPassedResult); in testIsFalseTap_RobustCheck_NoFaceAuth() 208 when(mSingleTapClassfier.isTap(mMotionEventList, 0)).thenReturn(mPassedResult); in testIsFalseTap_RobustCheck_FaceAuth() 276 when(mSingleTapClassfier.isTap(mMotionEventList, 0)).thenReturn(mFalsedResult); in testNoFalsingUnlocked()
|
D | SingleTapClassifierTest.java | 145 assertThat(mClassifier.isTap(mMotionEvents, 0.5).isFalse()).isFalse(); in testDirectlySuppliedMotionEvents() 150 assertThat(mClassifier.isTap(mMotionEvents, 0.5).isFalse()).isTrue(); in testDirectlySuppliedMotionEvents()
|
D | BrightLineFalsingManagerTest.java | 79 when(mSingleTapClassifier.isTap(any(List.class), anyDouble())).thenReturn(mFalsedResult); in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | SingleTapClassifier.java | 45 return isTap(getRecentMotionEvents(), 0.5); in calculateFalsingResult() 49 public Result isTap(List<MotionEvent> motionEvents, double falsePenalty) { in isTap() method in SingleTapClassifier
|
D | DoubleTapClassifier.java | 69 Result firstTap = mSingleTapClassifier.isTap(firstEvents, 0.5); in isDoubleTap() 75 Result secondTap = mSingleTapClassifier.isTap(secondEvents, 0.5); in isDoubleTap()
|
D | BrightLineFalsingManager.java | 156 double penalty = mSingleTapClassifier.isTap( 231 FalsingClassifier.Result result = mSingleTapClassifier.isTap( in isSimpleTap() 271 mSingleTapClassifier.isTap(mDataProvider.getRecentMotionEvents().isEmpty() in isFalseTap()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeTriggers.java | 271 boolean isTap = pulseReason == DozeLog.REASON_SENSOR_TAP; in onSensor() 299 if (isDoubleTap || isTap) { in onSensor()
|