Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyboardInterceptorTest.java78 mInterceptor.onKeyEvent(event, 0); in whenNonspecialKeyArrives_withNothingInQueue_eventGoesToAms()
87 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysUseIt_eventGoesToAms()
96 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped()
106 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms()
123 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped()
149 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDelayed_allEventsStillInOrder()
179 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDropped_otherEventsStillInOrder()
DKeyEventDispatcherTest.java96 when(mKeyEventFilter1.onKeyEvent((KeyEvent) anyObject(), in setUp()
101 when(mKeyEventFilter2.onKeyEvent((KeyEvent) anyObject(), in setUp()
115 when(keyEventFilter.onKeyEvent((KeyEvent) anyObject(), anyInt())).thenReturn(false); in testNotifyKeyEvent_boundServiceDoesntProcessEvents_shouldReturnFalse()
126 verify(mKeyEventFilter1, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withOneValidService_shouldNotifyService()
134 verify(mKeyEventFilter1, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth()
136 verify(mKeyEventFilter2, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth()
DMotionEventInjectorTest.java665 mMotionEventInjector.onKeyEvent(event, 0); in testOnKeyEvent_shouldPassToNext()
666 verify(next).onKeyEvent(event, 0); in testOnKeyEvent_shouldPassToNext()
672 mMotionEventInjector.onKeyEvent(event, 0); in testOnKeyEvent_withNoNext_shouldNotCrash()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DKeyEventDispatcher.java131 if (keyEventFilter.onKeyEvent(localClone, localClone.getSequenceNumber())) { in notifyKeyEventLocked()
267 mSentEventsVerifier.onKeyEvent(pendingEvent.event, 0); in removeReferenceToPendingEventLocked()
304 boolean onKeyEvent(KeyEvent event, int sequenceNumber); in onKeyEvent() method
DEventStreamTransformation.java76 public void onKeyEvent(KeyEvent event, int policyFlags); in onKeyEvent() method
DAutoclickController.java97 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in AutoclickController
107 mNext.onKeyEvent(event, policyFlags); in onKeyEvent()
DAccessibilityInputFilter.java280 mEventHandler.onKeyEvent(event, policyFlags); in processKeyEvent()
352 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in AccessibilityInputFilter
DKeyboardInterceptor.java75 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in KeyboardInterceptor
DMotionEventInjector.java120 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in MotionEventInjector
122 mNext.onKeyEvent(event, policyFlags); in onKeyEvent()
DMagnificationGestureHandler.java198 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in MagnificationGestureHandler
200 mNext.onKeyEvent(event, policyFlags); in onKeyEvent()
DTouchExplorer.java314 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in TouchExplorer
316 mNext.onKeyEvent(event, policyFlags); in onKeyEvent()
DAccessibilityManagerService.java2762 public boolean onKeyEvent(KeyEvent keyEvent, int sequenceNumber) { in onKeyEvent() method in AccessibilityManagerService.Service
2771 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.java373 boolean onKeyEvent(KeyEvent event); in onKeyEvent() method
515 protected boolean onKeyEvent(KeyEvent event) { in onKeyEvent() method in AccessibilityService
1544 public boolean onKeyEvent(KeyEvent event) { in onBind() method in AccessibilityService
1545 return AccessibilityService.this.onKeyEvent(event); in onBind()
1649 public void onKeyEvent(KeyEvent event, int sequence) {
1765 final boolean result = mCallback.onKeyEvent(event);
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java175 onKeyEvent(keyEvent, nestingLevel); in onInputEvent()
197 public void onKeyEvent(KeyEvent event, int nestingLevel) { in onKeyEvent() method in InputEventConsistencyVerifier
DViewGroup.java1824 mInputEventConsistencyVerifier.onKeyEvent(event, 1); in dispatchKeyEvent()
DView.java11702 mInputEventConsistencyVerifier.onKeyEvent(event, 0);
/frameworks/base/core/java/android/app/
DUiAutomation.java1145 public boolean onKeyEvent(KeyEvent event) { in IAccessibilityServiceClientImpl()
/frameworks/base/services/
Dart-profile1252 HPLcom/android/server/accessibility/KeyEventDispatcher$KeyEventFilter;->onKeyEvent(Landroid/view/Ke…
/frameworks/base/config/
Dboot-image-profile.txt9 HPLandroid/accessibilityservice/AccessibilityService$Callbacks;->onKeyEvent(Landroid/view/KeyEvent;…
51 HPLandroid/accessibilityservice/IAccessibilityServiceClient;->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.txt2753 method protected boolean onKeyEvent(android.view.KeyEvent);
Dtest-current.txt2753 method protected boolean onKeyEvent(android.view.KeyEvent);
Dsystem-current.txt2892 method protected boolean onKeyEvent(android.view.KeyEvent);