Home
last modified time | relevance | path

Searched refs:dispatchKeyEvent (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyevent/domain/interactor/
DSysUIKeyEventHandlerTest.kt66 whenever(keyguardKeyEventInteractor.dispatchKeyEvent(backKeyEventActionDown)) in dispatchBackKey_notHandledByKeyguardKeyEventInteractor_handledByBackActionInteractor()
68 whenever(keyguardKeyEventInteractor.dispatchKeyEvent(backKeyEventActionUp)) in dispatchBackKey_notHandledByKeyguardKeyEventInteractor_handledByBackActionInteractor()
72 assertThat(underTest.dispatchKeyEvent(backKeyEventActionDown)).isTrue() in dispatchBackKey_notHandledByKeyguardKeyEventInteractor_handledByBackActionInteractor()
77 assertThat(underTest.dispatchKeyEvent(backKeyEventActionUp)).isTrue() in dispatchBackKey_notHandledByKeyguardKeyEventInteractor_handledByBackActionInteractor()
89 whenever(keyguardKeyEventInteractor.dispatchKeyEvent(eq(keyEvent))).thenReturn(false) in dispatchKeyEvent_isNotHandledByKeyguardKeyEventInteractor()
90 assertThat(underTest.dispatchKeyEvent(keyEvent)).isFalse() in dispatchKeyEvent_isNotHandledByKeyguardKeyEventInteractor()
100 whenever(keyguardKeyEventInteractor.dispatchKeyEvent(eq(keyEvent))).thenReturn(true) in dispatchKeyEvent_handledByKeyguardKeyEventInteractor()
101 assertThat(underTest.dispatchKeyEvent(keyEvent)).isTrue() in dispatchKeyEvent_handledByKeyguardKeyEventInteractor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardKeyEventInteractorTest.kt94 assertThat(underTest.dispatchKeyEvent(actionDownVolumeDownKeyEvent)).isTrue() in dispatchKeyEvent_volumeKey_dozing_handlesEvents()
102 assertThat(underTest.dispatchKeyEvent(actionDownVolumeUpKeyEvent)).isTrue() in dispatchKeyEvent_volumeKey_dozing_handlesEvents()
115 assertThat(underTest.dispatchKeyEvent(actionDownVolumeDownKeyEvent)).isFalse() in dispatchKeyEvent_volumeKey_notDozing_doesNotHandleEvents()
123 assertThat(underTest.dispatchKeyEvent(actionDownVolumeUpKeyEvent)).isFalse() in dispatchKeyEvent_volumeKey_notDozing_doesNotHandleEvents()
253 assertThat(underTest.dispatchKeyEvent(actionDownMenuKeyEvent)).isFalse() in verifyActionUpCollapsesTheShade()
258 assertThat(underTest.dispatchKeyEvent(actionUpMenuKeyEvent)).isTrue() in verifyActionUpCollapsesTheShade()
265 assertThat(underTest.dispatchKeyEvent(actionDownMenuKeyEvent)).isFalse() in verifyActionUpShowsPrimaryBouncer()
270 assertThat(underTest.dispatchKeyEvent(actionUpMenuKeyEvent)).isTrue() in verifyActionUpShowsPrimaryBouncer()
277 assertThat(underTest.dispatchKeyEvent(actionDownMenuKeyEvent)).isFalse() in verifyActionsDoNothing()
283 assertThat(underTest.dispatchKeyEvent(actionUpMenuKeyEvent)).isFalse() in verifyActionsDoNothing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyevent/domain/interactor/
DSysUIKeyEventHandler.kt38 fun dispatchKeyEvent(event: KeyEvent): Boolean { in dispatchKeyEvent() method
39 if (keyguardKeyEventInteractor.dispatchKeyEvent(event)) { in dispatchKeyEvent()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListSetSelection.java64 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in ListSetSelection
70 return super.dispatchKeyEvent(event); in dispatchKeyEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DPinPadViewBinder.kt54 passwordField.dispatchKeyEvent( in bind()
57 passwordField.dispatchKeyEvent( in bind()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/tv/
DTvSplitMenuView.java81 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in TvSplitMenuView
90 return super.dispatchKeyEvent(event); in dispatchKeyEvent()
/frameworks/base/services/core/java/com/android/server/am/
DBaseErrorDialog.java87 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in BaseErrorDialog
93 return super.dispatchKeyEvent(event); in dispatchKeyEvent()
/frameworks/base/core/java/android/view/
DWindowCallbackWrapper.java42 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in WindowCallbackWrapper
43 return mWrapped.dispatchKeyEvent(event); in dispatchKeyEvent()
DFallbackEventHandler.java25 public boolean dispatchKeyEvent(KeyEvent event); in dispatchKeyEvent() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowView.java100 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in NotificationShadeWindowView
107 if (super.dispatchKeyEvent(event)) { in dispatchKeyEvent()
111 return mInteractionEventHandler.dispatchKeyEvent(event); in dispatchKeyEvent()
320 boolean dispatchKeyEvent(KeyEvent event); in dispatchKeyEvent() method
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSession.java125 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback); in dispatchKeyEvent() method
/frameworks/base/apct-tests/perftests/core/src/android/view/
DInputStageBenchmark.java98 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in InputStageBenchmark.InstrumentedView
125 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in InputStageBenchmark.InstrumentedEditText
/frameworks/layoutlib/bridge/src/android/view/
DWindowCallback.java31 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in WindowCallback
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DBaseSetupWizardActivity.java277 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in BaseSetupWizardActivity
283 return super.dispatchKeyEvent(event); in dispatchKeyEvent()
/frameworks/base/core/java/android/widget/
DTabHost.java187 return mTabContent.dispatchKeyEvent(event); in setup()
367 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in TabHost
368 final boolean handled = super.dispatchKeyEvent(event); in dispatchKeyEvent()
DMediaController.java527 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in MediaController
562 return super.dispatchKeyEvent(event); in dispatchKeyEvent()
571 return super.dispatchKeyEvent(event); in dispatchKeyEvent()
DZoomButtonsController.java699 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in ZoomButtonsController.Container
700 return onContainerKey(event) ? true : super.dispatchKeyEvent(event); in dispatchKeyEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthContainerViewTest.kt205 container.dispatchKeyEvent(KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_BACK)) in <lambda>()
206 container.dispatchKeyEvent(KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_BACK)) in <lambda>()
220 container.dispatchKeyEvent(KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_BACK)) in <lambda>()
221 container.dispatchKeyEvent(KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_BACK)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardKeyEventInteractor.kt49 fun dispatchKeyEvent(event: KeyEvent): Boolean { in dispatchKeyEvent() method in com.android.systemui.keyguard.domain.interactor.KeyguardKeyEventInteractor
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/
DTestDreamEnvironment.java397 public void dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in TestDreamEnvironment
398 mService.dispatchKeyEvent(event); in dispatchKeyEvent()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java354 public boolean dispatchKeyEvent(KeyEvent ev) { in dispatchKeyEvent() method in UninstallAppProgress
364 return super.dispatchKeyEvent(ev); in dispatchKeyEvent()
/frameworks/base/core/java/android/inputmethodservice/
DAbstractInputMethodService.java183 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback) { in dispatchKeyEvent() method in AbstractInputMethodService.AbstractInputMethodSessionImpl
/frameworks/base/services/core/java/com/android/server/input/debug/
DFocusEventDebugView.java143 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in FocusEventDebugView
145 return super.dispatchKeyEvent(event); in dispatchKeyEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DCropView.java234 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in CropView
235 return mExploreByTouchHelper.dispatchKeyEvent(event) in dispatchKeyEvent()
236 || super.dispatchKeyEvent(event); in dispatchKeyEvent()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuView.java542 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in IconMenuView
564 return super.dispatchKeyEvent(event); in dispatchKeyEvent()

123