/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/touch/ |
D | BouncerSwipeTouchHandlerTest.java | 314 final OnGestureListener gestureListener = gestureListenerCaptor.getValue(); in testSwipeDown_doesNotSetExpansion() local 325 assertThat(gestureListener.onScroll(event1, event2, 0, -distanceY)).isTrue(); in testSwipeDown_doesNotSetExpansion() 341 final OnGestureListener gestureListener = gestureListenerCaptor.getValue(); in testSwipeDown_whenBouncerInitiallyHidden_doesNotSetExpansion_directionFiltering() local 352 assertThat(gestureListener.onScroll(event1, event2, 0, -distanceY)).isFalse(); in testSwipeDown_whenBouncerInitiallyHidden_doesNotSetExpansion_directionFiltering() 367 final OnGestureListener gestureListener = gestureListenerCaptor.getValue(); in testSwipeUp_setsCorrectExpansionAmount() local 369 verifyScroll(.3f, gestureListener); in testSwipeUp_setsCorrectExpansionAmount() 370 verifyScroll(.7f, gestureListener); in testSwipeUp_setsCorrectExpansionAmount() 385 final OnGestureListener gestureListener = gestureListenerCaptor.getValue(); in testSwipeUp_keyguardNotSecure_doesNotExpand() local 396 assertThat(gestureListener.onScroll(event1, event2, 0, distanceY)) in testSwipeUp_keyguardNotSecure_doesNotExpand() 415 final OnGestureListener gestureListener = gestureListenerCaptor.getValue(); in testSwipeDown_keyguardNotSecure_doesNotExpand() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/dagger/ |
D | InputSessionModule.java | 46 android.view.GestureDetector.OnGestureListener gestureListener) { in providesGestureDetector() argument 47 return new GestureDetector(gestureListener); in providesGestureDetector()
|
D | InputSessionComponent.java | 48 @BindsInstance GestureDetector.OnGestureListener gestureListener, in create() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/ |
D | TapGestureDetector.kt | 40 private val gestureListener = object : GestureDetector.SimpleOnGestureListener() { constant 61 gestureDetector = GestureDetector(context, gestureListener) in startGestureListening()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ambient/touch/ |
D | TouchMonitorTest.java | 409 final GestureDetector.OnGestureListener gestureListener = in testInputGesturePropagation() local 414 verify(gestureListener).onShowPress(eq(event)); in testInputGesturePropagation() 428 final GestureDetector.OnGestureListener gestureListener = in testGestureConsumption() local 431 when(gestureListener.onDown(any())).thenReturn(true); in testGestureConsumption() 437 verify(gestureListener).onDown(eq(event)); in testGestureConsumption() 678 final GestureDetector.OnGestureListener gestureListener = Mockito.mock( in registerGestureListener() local 683 sessionCaptor.getValue().registerGestureListener(gestureListener); in registerGestureListener() 685 return gestureListener; in registerGestureListener() 690 final GestureDetector.OnGestureListener gestureListener = Mockito.mock( in registerGestureListener() local 692 session.registerGestureListener(gestureListener); in registerGestureListener() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ToggleRangeBehavior.kt | 72 val gestureListener = ToggleRangeGestureListener(cvh.layout) in <lambda>() constant 73 val gestureDetector = GestureDetector(context, gestureListener) in <lambda>() 80 if (e.getAction() == MotionEvent.ACTION_UP && gestureListener.isDragging) { in <lambda>() 82 gestureListener.isDragging = false in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/ |
D | TouchHandler.java | 64 boolean registerGestureListener(GestureDetector.OnGestureListener gestureListener); in registerGestureListener() argument
|
D | TouchMonitor.java | 179 public boolean registerGestureListener(GestureDetector.OnGestureListener gestureListener) { 180 return mGestureListeners.add(gestureListener);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialogLiteTest.java | 315 GestureDetector.SimpleOnGestureListener gestureListener = spy(dialog.mGestureListener); in testSingleTap_logAndDismiss() local 316 gestureListener.onSingleTapUp(null); in testSingleTap_logAndDismiss() 336 GestureDetector.SimpleOnGestureListener gestureListener = spy(dialog.mGestureListener); in testSwipeDownLockscreen_logAndOpenQS() local 339 gestureListener.onFling(start, end, 0, 1000); in testSwipeDownLockscreen_logAndOpenQS() 360 GestureDetector.SimpleOnGestureListener gestureListener = spy(dialog.mGestureListener); in testSwipeDown_logAndOpenNotificationShade() local 363 gestureListener.onFling(start, end, 0, 1000); in testSwipeDown_logAndOpenNotificationShade() 386 GestureDetector.SimpleOnGestureListener gestureListener = spy(dialog.mGestureListener); in testSwipeDown_pastStatusBarHeight_shadeNotOpened() local 390 gestureListener.onFling(start, end, 0, 1000); in testSwipeDown_pastStatusBarHeight_shadeNotOpened()
|
/frameworks/base/core/java/android/view/ |
D | ScaleGestureDetector.java | 425 GestureDetector.SimpleOnGestureListener gestureListener = in setQuickScaleEnabled() local 436 mGestureDetector = new GestureDetector(mContext, gestureListener, mHandler); in setQuickScaleEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | DraggableConstraintLayout.java | 225 GestureDetector.OnGestureListener gestureListener = new SwipeDismissGestureListener(); in SwipeDismissHandler() local 226 mGestureDetector = new GestureDetector(context, gestureListener); in SwipeDismissHandler()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/ |
D | MediaCarouselScrollHandler.kt | 134 private val gestureListener = constant in com.android.systemui.media.controls.ui.view.MediaCarouselScrollHandler 199 gestureDetector = GestureDetectorCompat(scrollView.context, gestureListener)
|