Searched refs:eventHandler (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | DragDetectorTest.kt | 50 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/ |
D | AudioVolumeGroupChangeHandler.java | 151 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/ |
D | AudioPortEventHandler.java | 185 AudioPortEventHandler eventHandler = in postEventFromNative() local 187 if (eventHandler == null) { in postEventFromNative() 191 if (eventHandler != null) { in postEventFromNative() 192 Handler handler = eventHandler.handler(); in postEventFromNative()
|
D | SoundPool.java | 528 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()
|
D | SRTRenderer.java | 78 SRTTrack(Handler eventHandler, MediaFormat format) { in SRTTrack() argument 80 mEventHandler = eventHandler; in SRTTrack()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 272 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/ |
D | DragDetector.java | 50 DragDetector(MotionEventHandler eventHandler) { in DragDetector() argument 52 mEventHandler = eventHandler; in DragDetector()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityInputFilterTest.java | 214 EventStreamTransformation eventHandler = mEventHandler.get(SECOND_DISPLAY); in testEventHandler_shouldDecreaseAfterOnDisplayRemoved() local 215 assertNull(eventHandler); in testEventHandler_shouldDecreaseAfterOnDisplayRemoved()
|