Home
last modified time | relevance | path

Searched refs:isTap (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DDoubleTapClassifierTest.java82 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()
DBrightLineClassifierTest.java96 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()
DSingleTapClassifierTest.java145 assertThat(mClassifier.isTap(mMotionEvents, 0.5).isFalse()).isFalse(); in testDirectlySuppliedMotionEvents()
150 assertThat(mClassifier.isTap(mMotionEvents, 0.5).isFalse()).isTrue(); in testDirectlySuppliedMotionEvents()
DBrightLineFalsingManagerTest.java79 when(mSingleTapClassifier.isTap(any(List.class), anyDouble())).thenReturn(mFalsedResult); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DSingleTapClassifier.java45 return isTap(getRecentMotionEvents(), 0.5); in calculateFalsingResult()
49 public Result isTap(List<MotionEvent> motionEvents, double falsePenalty) { in isTap() method in SingleTapClassifier
DDoubleTapClassifier.java69 Result firstTap = mSingleTapClassifier.isTap(firstEvents, 0.5); in isDoubleTap()
75 Result secondTap = mSingleTapClassifier.isTap(secondEvents, 0.5); in isDoubleTap()
DBrightLineFalsingManager.java156 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/
DDozeTriggers.java271 boolean isTap = pulseReason == DozeLog.REASON_SENSOR_TAP; in onSensor()
299 if (isDoubleTap || isTap) { in onSensor()