Home
last modified time | relevance | path

Searched refs:onKeyEvent (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyboardInterceptorTest.java75 mInterceptor.onKeyEvent(event, 0); in whenNonspecialKeyArrives_withNothingInQueue_eventGoesToAms()
84 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysUseIt_eventGoesToAms()
93 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped()
103 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms()
120 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped()
146 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDelayed_allEventsStillInOrder()
176 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDropped_otherEventsStillInOrder()
DKeyEventDispatcherTest.java93 when(mKeyEventFilter1.onKeyEvent((KeyEvent) anyObject(), in setUp()
98 when(mKeyEventFilter2.onKeyEvent((KeyEvent) anyObject(), in setUp()
119 when(keyEventFilter.onKeyEvent((KeyEvent) anyObject(), anyInt())).thenReturn(false); in testNotifyKeyEvent_boundServiceDoesntProcessEvents_shouldReturnFalse()
130 verify(mKeyEventFilter1, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withOneValidService_shouldNotifyService()
138 verify(mKeyEventFilter1, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth()
140 verify(mKeyEventFilter2, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth()
DAccessibilityInputFilterTest.java100 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in AccessibilityInputFilterTest.EventCaptor
DMotionEventInjectorTest.java686 mMotionEventInjector.onKeyEvent(event, 0); in testOnKeyEvent_shouldPassToNext()
687 verify(next).onKeyEvent(event, 0); in testOnKeyEvent_shouldPassToNext()
693 mMotionEventInjector.onKeyEvent(event, 0); in testOnKeyEvent_withNoNext_shouldNotCrash()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DEventStreamTransformation.java81 default void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method
84 next.onKeyEvent(event, policyFlags); in onKeyEvent()
DKeyEventDispatcher.java132 if (keyEventFilter.onKeyEvent(localClone, localClone.getSequenceNumber())) { in notifyKeyEventLocked()
268 mSentEventsVerifier.onKeyEvent(pendingEvent.event, 0); in removeReferenceToPendingEventLocked()
305 boolean onKeyEvent(KeyEvent event, int sequenceNumber); in onKeyEvent() method
DAutoclickController.java91 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in AutoclickController
100 super.onKeyEvent(event, policyFlags); in onKeyEvent()
DKeyboardInterceptor.java66 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in KeyboardInterceptor
DAccessibilityInputFilter.java286 mEventHandler.get(Display.DEFAULT_DISPLAY).onKeyEvent(event, policyFlags); in processKeyEvent()
312 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in AccessibilityInputFilter
DAbstractAccessibilityServiceConnection.java270 public boolean onKeyEvent(KeyEvent keyEvent, int sequenceNumber) { in onKeyEvent() method in AbstractAccessibilityServiceConnection
282 mServiceInterface.onKeyEvent(keyEvent, sequenceNumber); in onKeyEvent()
/frameworks/base/core/java/android/accessibilityservice/
DIAccessibilityServiceClient.aidl42 void onKeyEvent(in KeyEvent event, int sequence); in onKeyEvent() method
DAccessibilityService.java385 boolean onKeyEvent(KeyEvent event); in onKeyEvent() method
574 protected boolean onKeyEvent(KeyEvent event) { in onKeyEvent() method in AccessibilityService
1655 public boolean onKeyEvent(KeyEvent event) { in onBind() method in AccessibilityService
1656 return AccessibilityService.this.onKeyEvent(event); in onBind()
1761 public void onKeyEvent(KeyEvent event, int sequence) {
1879 final boolean result = mCallback.onKeyEvent(event);
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java178 onKeyEvent(keyEvent, nestingLevel); in onInputEvent()
200 public void onKeyEvent(KeyEvent event, int nestingLevel) { in onKeyEvent() method in InputEventConsistencyVerifier
DViewGroup.java1912 mInputEventConsistencyVerifier.onKeyEvent(event, 1); in dispatchKeyEvent()
DView.java13356 mInputEventConsistencyVerifier.onKeyEvent(event, 0); in dispatchKeyEvent()
/frameworks/base/core/java/android/app/
DUiAutomation.java1260 public boolean onKeyEvent(KeyEvent event) { in IAccessibilityServiceClientImpl()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt24 Landroid/accessibilityservice/AccessibilityService$Callbacks;->onKeyEvent(Landroid/view/KeyEvent;)Z
62 Landroid/accessibilityservice/AccessibilityService$IAccessibilityServiceClientWrapper;->onKeyEvent(…
205 Landroid/accessibilityservice/IAccessibilityServiceClient$Stub$Proxy;->onKeyEvent(Landroid/view/Key…
236 Landroid/accessibilityservice/IAccessibilityServiceClient;->onKeyEvent(Landroid/view/KeyEvent;I)V
80069 Landroid/view/InputEventConsistencyVerifier;->onKeyEvent(Landroid/view/KeyEvent;I)V
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt2577 method protected boolean onKeyEvent(android.view.KeyEvent);
/frameworks/base/api/
Dcurrent.txt2828 method protected boolean onKeyEvent(android.view.KeyEvent);