Home
last modified time | relevance | path

Searched refs:mTouchSession (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/touch/
DBouncerSwipeTouchHandlerTest.java93 TouchHandler.TouchSession mTouchSession; field in BouncerSwipeTouchHandlerTest
157 when(mTouchSession.getBounds()).thenReturn(SCREEN_BOUNDS); in setup()
181 mTouchHandler.onSessionStart(mTouchSession); in testSessionStart()
187 verify(mTouchSession).registerGestureListener(gestureListenerCaptor.capture()); in testSessionStart()
188 verify(mTouchSession).registerInputListener(eventListenerCaptor.capture()); in testSessionStart()
217 mTouchHandler.onSessionStart(mTouchSession); in testSessionStart_doesNotModifyNotificationShadeWindow()
238 onSessionStartHelper(mTouchHandler, mTouchSession, mNotificationShadeWindowController); in testSwipeUp_whenBouncerInitiallyShowing_reduceHeightWithExclusionRects()
254 onSessionStartHelper(mTouchHandler, mTouchSession, mNotificationShadeWindowController); in testSwipeUp_exclusionRectAtTop_doesNotIntersectGestureArea()
280 onSessionStartHelper(mTouchHandler, mTouchSession, mNotificationShadeWindowController); in testSwipeUp_exclusionRectBetweenNormalAndMinimumSwipeArea()
309 mTouchHandler.onSessionStart(mTouchSession); in testSwipeDown_doesNotSetExpansion()
[all …]
DShadeTouchHandlerTest.java66 TouchHandler.TouchSession mTouchSession; field in ShadeTouchHandlerTest
164 Mockito.clearInvocations(mTouchSession); in swipe()
165 mTouchHandler.onSessionStart(mTouchSession); in swipe()
167 verify(mTouchSession).registerGestureListener(mGestureListenerCaptor.capture()); in swipe()
168 verify(mTouchSession).registerInputListener(mInputListenerCaptor.capture()); in swipe()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/touch/
DCommunalTouchHandlerTest.java58 TouchHandler.TouchSession mTouchSession; field in CommunalTouchHandlerTest
89 mTouchHandler.onSessionStart(mTouchSession); in communalTouchHandler_disabled_whenCommunalUnavailable()
90 verify(mTouchSession, never()).registerGestureListener(any()); in communalTouchHandler_disabled_whenCommunalUnavailable()
108 mTouchHandler.onSessionStart(mTouchSession); in testEventPropagation()
109 verify(mTouchSession).registerInputListener(inputEventListenerArgumentCaptor.capture()); in testEventPropagation()
123 mTouchHandler.onSessionStart(mTouchSession); in testTouchPilferingOnScroll()
124 verify(mTouchSession).registerGestureListener(gestureListenerArgumentCaptor.capture()); in testTouchPilferingOnScroll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DBouncerSwipeTouchHandler.java98 private TouchSession mTouchSession; field in BouncerSwipeTouchHandler
167 / mTouchSession.getBounds().height();
255 mTouchSession = session; in onSessionStart()
272 mTouchSession = null; in onSessionStart()
295 mTouchSession.pop(); in onMotionEvent()
370 final float viewHeight = mTouchSession.getBounds().height(); in flingToExpansion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DComplicationLayoutEngine.java310 private final TouchInsetManager.TouchInsetSession mTouchSession; field in ComplicationLayoutEngine.ViewEntry.Builder
320 mTouchSession = touchSession; in Builder()
352 return new ViewEntry(mView, mLayoutParams, mTouchSession, mCategory, mParent); in build()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DComplicationLayoutEngineTest.java57 TouchInsetManager.TouchInsetSession mTouchSession; field in ComplicationLayoutEngineTest
64 return new ComplicationLayoutEngine(mLayout, spacing, 0, 0, 0, 0, mTouchSession, 0, 0); in createComplicationLayoutEngine()
141 startMargin, topMargin, endMargin, bottomMargin, mTouchSession, 0, 0); in testComplicationMarginPosition()