Home
last modified time | relevance | path

Searched refs:isFalseTouch (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DBrightLineClassifierTest.java142 assertThat(mBrightLineFalsingManager.isFalseTouch(0)).isFalse(); in testIsFalseTouch_NoClassifiers()
147 assertThat(mBrightLineFalsingManager.isFalseTouch(0)).isFalse(); in testIsFalseTouch_ClassifiersPass()
154 assertThat(mBrightLineFalsingManager.isFalseTouch(0)).isTrue(); in testIsFalseTouch_ClassifierARejects()
162 assertThat(mBrightLineFalsingManager.isFalseTouch(Classifier.MEDIA_SEEKBAR)).isTrue(); in testIsFalseTouch_SeekBar_FalseTouch()
168 assertThat(mBrightLineFalsingManager.isFalseTouch(Classifier.MEDIA_SEEKBAR)).isFalse(); in testIsFalseTouch_SeekBar_RealTouch()
176 assertThat(mBrightLineFalsingManager.isFalseTouch(Classifier.MEDIA_SEEKBAR)).isTrue(); in testIsFalseTouch_SeekBar_FalseTap()
183 assertThat(mBrightLineFalsingManager.isFalseTouch(Classifier.MEDIA_SEEKBAR)).isFalse(); in testIsFalseTouch_SeekBar_RealTap()
190 assertThat(mBrightLineFalsingManager.isFalseTouch(0)).isTrue(); in testIsFalseTouch_ClassifierBRejects()
200 assertThat(mBrightLineFalsingManager.isFalseTouch(0)).isFalse(); in testIsFalseTouch_FaceAuth()
210 assertThat(mBrightLineFalsingManager.isFalseTouch(0)).isFalse(); in testIsFalseTouch_Docked()
[all …]
DBrightLineFalsingManagerTest.java103 assertThat(mBrightLineFalsingManager.isFalseTouch(Classifier.GENERIC)).isTrue(); in testA11yDisablesGesture()
105 assertThat(mBrightLineFalsingManager.isFalseTouch(Classifier.GENERIC)).isFalse(); in testA11yDisablesGesture()
187 assertThat(mBrightLineFalsingManager.isFalseTouch(Classifier.GENERIC)).isTrue(); in testSkipUnfolded()
189 assertThat(mBrightLineFalsingManager.isFalseTouch(Classifier.GENERIC)).isFalse(); in testSkipUnfolded()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/classifier/
DFalsingManagerFake.java65 public void setIsFalseTouch(boolean isFalseTouch) { in setIsFalseTouch() argument
66 mIsFalseTouch = isFalseTouch; in setIsFalseTouch()
70 public boolean isFalseTouch(@Classifier.InteractionType int interactionType) { in isFalseTouch() method in FalsingManagerFake
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerProxy.java127 public boolean isFalseTouch(@Classifier.InteractionType int interactionType) { in isFalseTouch() method in FalsingManagerProxy
128 return mInternalFalsingManager.isFalseTouch(interactionType); in isFalseTouch()
DBrightLineFalsingManager.java212 public boolean isFalseTouch(@Classifier.InteractionType int interactionType) { in isFalseTouch() method in BrightLineFalsingManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
DMediaCarouselScrollHandler.kt305 Math.abs(currentTranslation) < getMaxTranslation() / 2 || isFalseTouch() in onTouch()
332 private fun isFalseTouch() = in isFalseTouch() method
333 falsingProtectionNeeded && falsingManager.isFalseTouch(NOTIFICATION_DISMISS) in isFalseTouch()
413 if (Math.signum(vX) != Math.signum(currentTranslation) || isFalseTouch()) { in onFling()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt117 private val isFalseTouch: Boolean in <lambda>() constant
118 get() = falsingManager.isFalseTouch(NOTIFICATION_DRAG_DOWN) in <lambda>()
228 if (!falsingManager.isUnlockingDisabled && !isFalseTouch && canExpand) { in <lambda>()
DLockscreenShadeTransitionController.kt772 private val isFalseTouch: Boolean constant
777 falsingManager.isFalseTouch(Classifier.NOTIFICATION_DRAG_DOWN) || !draggedFarEnough
857 MotionEvent.ACTION_UP -> if (!falsingManager.isUnlockingDisabled && !isFalseTouch && in onTouchEvent()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DFalsingManager.java57 boolean isFalseTouch(int interactionType); in isFalseTouch() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImplController.java54 mFalsingManager.isFalseTouch(QS_SWIPE_NESTED);
DQSPanelController.java66 mFalsingManager.isFalseTouch(QS_SWIPE_SIDE);
/frameworks/base/packages/SystemUI/docs/
Dfalsing.md118 `FalsingManager#isFalseTouch(@Classifier.InteractionType int interactionType)`.
158 } else if (!mFalsingManager.isFalseTouch(GESTURE_A) {
160 } else if (!mFalsingManager.isFalseTouch(GESTURE_B) {
175 if (!mFalsingManager.isFalseTouch(GESTURE_A) {
181 if (!mFalsingManager.isFalseTouch(GESTURE_B) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessSliderController.java61 mFalsingManager.isFalseTouch(Classifier.BRIGHTNESS_SLIDER);
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsController.java526 mFalsingManager.isFalseTouch(UDFPS_AUTHENTICATION); in newOnTouch()
677 mFalsingManager.isFalseTouch(UDFPS_AUTHENTICATION); in oldOnTouch()
894 if (mFalsingManager.isFalseTouch(LOCK_ICON)) { in onAodInterrupt()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/player/
DSeekBarViewModel.kt370 if (falsingManager.isFalseTouch(MEDIA_SEEKBAR)) { in onStopTrackingTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DEdgeBackGestureHandler.java276 mFalsingManager.isFalseTouch(BACK_GESTURE);
937 mFalsingManager.isFalseTouch(BACK_GESTURE); in onMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLockIconViewController.java694 if (mFalsingManager.isFalseTouch(LOCK_ICON)) { in onLongPress()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/models/player/
DSeekBarViewModelTest.kt467 whenever(falsingManager.isFalseTouch(Classifier.MEDIA_SEEKBAR)).thenReturn(true) in onFalseTapOrTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java777 falsingDetected = falsingDetected && mFalsingManager.isFalseTouch(NOTIFICATION_DISMISS); in isFalseGesture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsController.java581 return mFalsingManager.isFalseTouch(Classifier.QUICK_SETTINGS); in isQsFalseTouch()
1905 mFalsingManager.isFalseTouch(QS_COLLAPSE); in flingQsWithCurrentVelocity()
DNotificationPanelViewController.java2175 if (!isFalseTouch(x, y, interactionType)) { in flingExpands()
3606 fling(vel, expand, isFalseTouch(x, y, interactionType)); in endMotionEvent()
3639 private boolean isFalseTouch(float x, float y, in isFalseTouch() method
3642 return mFalsingManager.isFalseTouch(interactionType); in isFalseTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutController.java1903 mFalsingManager.isFalseTouch(Classifier.SHADE_DRAG);