Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDragDetectorTest.kt50 private lateinit var eventHandler: DragDetector.MotionEventHandler variable in com.android.wm.shell.windowdecor.DragDetectorTest
58 `when`(eventHandler.handleMotionEvent(any(), any())).thenReturn(true) in setUp()
60 dragDetector = DragDetector(eventHandler) in setUp()
75 verify(eventHandler).handleMotionEvent(any(), argThat { in testNoMove_passesDownAndUp()
81 verify(eventHandler).handleMotionEvent(any(), argThat { in testNoMove_passesDownAndUp()
89 `when`(eventHandler.handleMotionEvent(any(), argThat { in testMoveInSlop_touch_passesDownAndUp()
94 verify(eventHandler).handleMotionEvent(any(), argThat { in testMoveInSlop_touch_passesDownAndUp()
102 verify(eventHandler, never()).handleMotionEvent(any(), argThat { in testMoveInSlop_touch_passesDownAndUp()
107 verify(eventHandler).handleMotionEvent(any(), argThat { in testMoveInSlop_touch_passesDownAndUp()
115 `when`(eventHandler.handleMotionEvent(any(), argThat { in testMoveInSlop_mouse_passesDownMoveAndUp()
[all …]
/frameworks/base/media/java/android/media/audiopolicy/
DAudioVolumeGroupChangeHandler.java151 AudioVolumeGroupChangeHandler eventHandler = in postEventFromNative() local
153 if (eventHandler == null) { in postEventFromNative()
157 if (eventHandler != null) { in postEventFromNative()
158 Handler handler = eventHandler.handler(); in postEventFromNative()
/frameworks/base/media/java/android/media/
DAudioPortEventHandler.java185 AudioPortEventHandler eventHandler = in postEventFromNative() local
187 if (eventHandler == null) { in postEventFromNative()
191 if (eventHandler != null) { in postEventFromNative()
192 Handler handler = eventHandler.handler(); in postEventFromNative()
DSoundPool.java528 Handler eventHandler = mEventHandler.get(); in postEventFromNative() local
529 if (eventHandler == null) { in postEventFromNative()
532 Message message = eventHandler.obtainMessage(msg, arg1, arg2, obj); in postEventFromNative()
533 eventHandler.sendMessage(message); in postEventFromNative()
DSRTRenderer.java78 SRTTrack(Handler eventHandler, MediaFormat format) { in SRTTrack() argument
80 mEventHandler = eventHandler; in SRTTrack()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java272 SparseArray<EventStreamTransformation> eventHandler) { in AccessibilityInputFilter() argument
277 mEventHandler = eventHandler; in AccessibilityInputFilter()
427 final EventStreamTransformation eventHandler = mEventHandler.get(displayId); in clearEventStreamHandler() local
428 if (eventHandler != null) { in clearEventStreamHandler()
429 eventHandler.clearEvents(eventSource); in clearEventStreamHandler()
606 final EventStreamTransformation eventHandler = mEventHandler.valueAt(i); in notifyAccessibilityEvent() local
607 if (eventHandler != null) { in notifyAccessibilityEvent()
608 eventHandler.onAccessibilityEvent(event); in notifyAccessibilityEvent()
746 EventStreamTransformation eventHandler = mEventHandler.get(displayId); in addFirstEventHandler() local
747 if (eventHandler != null) { in addFirstEventHandler()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragDetector.java50 DragDetector(MotionEventHandler eventHandler) { in DragDetector() argument
52 mEventHandler = eventHandler; in DragDetector()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterTest.java214 EventStreamTransformation eventHandler = mEventHandler.get(SECOND_DISPLAY); in testEventHandler_shouldDecreaseAfterOnDisplayRemoved() local
215 assertNull(eventHandler); in testEventHandler_shouldDecreaseAfterOnDisplayRemoved()