/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyevent/domain/interactor/ |
D | SysUIKeyEventHandlerTest.kt | 66 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/ |
D | KeyguardKeyEventInteractorTest.kt | 94 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/ |
D | SysUIKeyEventHandler.kt | 38 fun dispatchKeyEvent(event: KeyEvent): Boolean { in dispatchKeyEvent() method 39 if (keyguardKeyEventInteractor.dispatchKeyEvent(event)) { in dispatchKeyEvent()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListSetSelection.java | 64 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/ |
D | PinPadViewBinder.kt | 54 passwordField.dispatchKeyEvent( in bind() 57 passwordField.dispatchKeyEvent( in bind()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/tv/ |
D | TvSplitMenuView.java | 81 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/ |
D | BaseErrorDialog.java | 87 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in BaseErrorDialog 93 return super.dispatchKeyEvent(event); in dispatchKeyEvent()
|
/frameworks/base/core/java/android/view/ |
D | WindowCallbackWrapper.java | 42 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in WindowCallbackWrapper 43 return mWrapped.dispatchKeyEvent(event); in dispatchKeyEvent()
|
D | FallbackEventHandler.java | 25 public boolean dispatchKeyEvent(KeyEvent event); in dispatchKeyEvent() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationShadeWindowView.java | 100 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/ |
D | InputMethodSession.java | 125 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback); in dispatchKeyEvent() method
|
/frameworks/base/apct-tests/perftests/core/src/android/view/ |
D | InputStageBenchmark.java | 98 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/ |
D | WindowCallback.java | 31 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in WindowCallback
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/ |
D | BaseSetupWizardActivity.java | 277 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in BaseSetupWizardActivity 283 return super.dispatchKeyEvent(event); in dispatchKeyEvent()
|
/frameworks/base/core/java/android/widget/ |
D | TabHost.java | 187 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()
|
D | MediaController.java | 527 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in MediaController 562 return super.dispatchKeyEvent(event); in dispatchKeyEvent() 571 return super.dispatchKeyEvent(event); in dispatchKeyEvent()
|
D | ZoomButtonsController.java | 699 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/ |
D | AuthContainerViewTest.kt | 205 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/ |
D | KeyguardKeyEventInteractor.kt | 49 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/ |
D | TestDreamEnvironment.java | 397 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/ |
D | UninstallAppProgress.java | 354 public boolean dispatchKeyEvent(KeyEvent ev) { in dispatchKeyEvent() method in UninstallAppProgress 364 return super.dispatchKeyEvent(ev); in dispatchKeyEvent()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | AbstractInputMethodService.java | 183 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/ |
D | FocusEventDebugView.java | 143 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/ |
D | CropView.java | 234 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/ |
D | IconMenuView.java | 542 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in IconMenuView 564 return super.dispatchKeyEvent(event); in dispatchKeyEvent()
|