Home
last modified time | relevance | path

Searched refs:onKeyDown (Results 1 – 25 of 75) sorted by relevance

123

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DSharedInputHandlerTest.java76 assertFalse(mSharedInputHandler.onKeyDown(event.getKeyCode(), event)); in testUnrelatedButton_DoesNothing()
94 assertTrue(mSharedInputHandler.onKeyDown(backEvent.getKeyCode(), backEvent)); in testBackButton_CancelsSearch()
108 assertTrue(mSharedInputHandler.onKeyDown(backEvent.getKeyCode(), backEvent)); in testBackButton_ClearsSelection()
120 assertTrue(mSharedInputHandler.onKeyDown(backEvent.getKeyCode(), backEvent)); in testBackButton_PopsDirectory()
133 assertTrue(mSharedInputHandler.onKeyDown(backEvent.getKeyCode(), backEvent)); in testBackButton_CloseDrawer()
152 assertTrue(mSharedInputHandler.onKeyDown(escapeEvent.getKeyCode(), escapeEvent)); in testEscButton_CancelsSearch()
165 assertTrue(mSharedInputHandler.onKeyDown(escapeEvent.getKeyCode(), escapeEvent)); in testEscButton_ClearsSelection()
176 assertTrue(mSharedInputHandler.onKeyDown(escapeEvent.getKeyCode(), escapeEvent)); in testEscButton_DoesNotPopDirectory()
187 assertTrue(mSharedInputHandler.onKeyDown(delEvent.getKeyCode(), delEvent)); in testDeleteButton_PopsDirectory()
197 assertTrue(mSharedInputHandler.onKeyDown(tabEvent.getKeyCode(), tabEvent)); in testTab_AdvancesFocusArea()
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DDtmfKeyListener.java86 public boolean onKeyDown(View view, Editable content, int keyCode, KeyEvent event) { in onKeyDown() method in DtmfKeyListener
88 if (!super.onKeyDown(view, content, keyCode, event)) { in onKeyDown()
93 return onKeyDown(event); in onKeyDown()
100 boolean onKeyDown(KeyEvent event) { in onKeyDown() method in DtmfKeyListener
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsList.java57 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in RootsList
63 && super.onKeyDown(keyCode, event); in onKeyDown()
69 return super.onKeyDown(keyCode, event); in onKeyDown()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DEmojiAltPhysicalKeyDetector.java58 public void onKeyDown(@Nonnull final KeyEvent keyEvent) { in onKeyDown() method in EmojiAltPhysicalKeyDetector.EmojiHotKeys
149 public void onKeyDown(@Nonnull final KeyEvent keyEvent) { in onKeyDown() method in EmojiAltPhysicalKeyDetector
156 hotKeys.onKeyDown(keyEvent); in onKeyDown()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java360 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in FilesActivity
361 return mActivityInputHandler.onKeyDown(keyCode, event) in onKeyDown()
362 || mSharedInputHandler.onKeyDown( in onKeyDown()
365 || super.onKeyDown(keyCode, event); in onKeyDown()
DActivityInputHandler.java32 boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in ActivityInputHandler
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMovieActivity.java264 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in MovieActivity
265 return mPlayer.onKeyDown(keyCode, event) in onKeyDown()
266 || super.onKeyDown(keyCode, event); in onKeyDown()
DMovieControllerOverlay.java127 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in MovieControllerOverlay
131 return super.onKeyDown(keyCode, event); in onKeyDown()
DCommonControllerOverlay.java232 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in CommonControllerOverlay
233 return super.onKeyDown(keyCode, event); in onKeyDown()
/packages/services/Telephony/src/com/android/phone/
DIccPanel.java86 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in IccPanel
91 return super.onKeyDown(keyCode, event); in onKeyDown()
DIccNetworkDepersonalizationPanel.java239 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in IccNetworkDepersonalizationPanel
244 return super.onKeyDown(keyCode, event); in onKeyDown()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/service/
DLeanbackImeService.java200 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in LeanbackImeService
202 && mKeyboardController.onKeyDown(keyCode, event)) { in onKeyDown()
205 return super.onKeyDown(keyCode, event); in onKeyDown()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DNavigableAppWidgetHostView.java59 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in NavigableAppWidgetHostView
64 return super.onKeyDown(keyCode, event); in onKeyDown()
/packages/apps/LegacyCamera/src/com/android/camera/
DActivityBase.java99 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in ActivityBase
106 return super.onKeyDown(keyCode, event); in onKeyDown()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java379 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in PickActivity
380 return mSharedInputHandler.onKeyDown( in onKeyDown()
383 || super.onKeyDown(keyCode, event); in onKeyDown()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioActivity.java132 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in RadioActivity
141 return super.onKeyDown(keyCode, event); in onKeyDown()
/packages/apps/Stk/src/com/android/stk/
DStkLauncherActivity.java104 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in StkLauncherActivity
116 return super.onKeyDown(keyCode, event); in onKeyDown()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java406 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in DeskClock
407 return getSelectedDeskClockFragment().onKeyDown(keyCode,event) in onKeyDown()
408 || super.onKeyDown(keyCode, event); in onKeyDown()
/packages/apps/Gallery/src/com/android/camera/
DImageViewTouchBase.java94 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in ImageViewTouchBase
100 return super.onKeyDown(keyCode, event); in onKeyDown()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt377 override fun onKeyDown(keyCode: Int, event: KeyEvent): Boolean { in onKeyDown() method in com.android.deskclock.timer.TimerFragment
379 mCreateTimerView.onKeyDown(keyCode, event) in onKeyDown()
380 } else super.onKeyDown(keyCode, event) in onKeyDown()
DTimerFragment.java422 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in TimerFragment
424 return mCreateTimerView.onKeyDown(keyCode, event); in onKeyDown()
426 return super.onKeyDown(keyCode, event); in onKeyDown()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java762 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in PeopleActivity
767 return super.onKeyDown(keyCode, event); in onKeyDown()
777 if (mContactsListFragment.onKeyDown(unicodeChar)) { in onKeyDown()
782 return super.onKeyDown(keyCode, event); in onKeyDown()
/packages/apps/Music/kotlin/src/com/android/music/
DAudioPreview.kt379 override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean { in onKeyDown() method in com.android.music.AudioPreview
411 else -> return super.onKeyDown(keyCode, event) in onKeyDown()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java417 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in AudioPreview
449 return super.onKeyDown(keyCode, event); in onKeyDown()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockPattern.java170 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in ChooseLockPattern
173 return super.onKeyDown(keyCode, event); in onKeyDown()
651 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in ChooseLockPattern.ChooseLockPatternFragment

123