Home
last modified time | relevance | path

Searched refs:mInteractionEventHandler (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationShadeWindowView.java73 private InteractionEventHandler mInteractionEventHandler; field in NotificationShadeWindowView
152 if (mInteractionEventHandler.interceptMediaKey(event)) { in dispatchKeyEvent()
160 return mInteractionEventHandler.dispatchKeyEvent(event); in dispatchKeyEvent()
165 return mInteractionEventHandler.dispatchKeyEventPreIme(event); in dispatchKeyEventPreIme()
169 mInteractionEventHandler = listener; in setInteractionEventHandler()
174 Boolean result = mInteractionEventHandler.handleDispatchTouchEvent(ev); in dispatchTouchEvent()
178 mInteractionEventHandler.dispatchTouchEventComplete(); in dispatchTouchEvent()
185 boolean intercept = mInteractionEventHandler.shouldInterceptTouchEvent(ev); in onInterceptTouchEvent()
190 mInteractionEventHandler.didIntercept(ev); in onInterceptTouchEvent()
198 boolean handled = mInteractionEventHandler.handleTouchEvent(ev); in onTouchEvent()
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DNotificationShadeWindowViewTest.java104 private NotificationShadeWindowView.InteractionEventHandler mInteractionEventHandler; field in NotificationShadeWindowViewTest
171 assertTrue(mInteractionEventHandler.shouldInterceptTouchEvent(mock(MotionEvent.class))); in testInterceptTouchWhenShowingAltAuth()
184 assertFalse(mInteractionEventHandler.shouldInterceptTouchEvent(mock(MotionEvent.class))); in testNoInterceptTouch()
197 assertTrue(mInteractionEventHandler.handleTouchEvent(mock(MotionEvent.class))); in testHandleTouchEventWhenShowingAltAuth()
202 mInteractionEventHandler = mInteractionEventHandlerCaptor.getValue(); in captureInteractionEventHandler()