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.java82 assertFalse(mSharedInputHandler.onKeyDown(event.getKeyCode(), event)); in testUnrelatedButton_DoesNothing()
101 assertTrue(mSharedInputHandler.onKeyDown(backEvent.getKeyCode(), backEvent)); in testBackButton_CancelsSearch()
115 assertTrue(mSharedInputHandler.onKeyDown(backEvent.getKeyCode(), backEvent)); in testBackButton_ClearsSelection()
127 assertTrue(mSharedInputHandler.onKeyDown(backEvent.getKeyCode(), backEvent)); in testBackButton_PopsDirectory()
140 assertTrue(mSharedInputHandler.onKeyDown(backEvent.getKeyCode(), backEvent)); in testBackButton_CloseDrawer()
160 assertTrue(mSharedInputHandler.onKeyDown(escapeEvent.getKeyCode(), escapeEvent)); in testEscButton_CancelsSearch()
173 assertTrue(mSharedInputHandler.onKeyDown(escapeEvent.getKeyCode(), escapeEvent)); in testEscButton_ClearsSelection()
184 assertTrue(mSharedInputHandler.onKeyDown(escapeEvent.getKeyCode(), escapeEvent)); in testEscButton_DoesNotPopDirectory()
195 assertTrue(mSharedInputHandler.onKeyDown(delEvent.getKeyCode(), delEvent)); in testDeleteButton_PopsDirectory()
205 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/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DWfcActivationActivity.java59 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in WfcActivationActivity
60 if (mWfcWebPortalFragment != null && mWfcWebPortalFragment.onKeyDown(keyCode, event)) { in onKeyDown()
63 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.java374 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in FilesActivity
375 return mActivityInputHandler.onKeyDown(keyCode, event) in onKeyDown()
376 || mSharedInputHandler.onKeyDown(keyCode, event) in onKeyDown()
377 || super.onKeyDown(keyCode, event); in onKeyDown()
DActivityInputHandler.java32 boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in ActivityInputHandler
/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.java248 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in IccNetworkDepersonalizationPanel
253 return super.onKeyDown(keyCode, event); in onKeyDown()
/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/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/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/Launcher3/src/com/android/launcher3/widget/
DNavigableAppWidgetHostView.java87 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in NavigableAppWidgetHostView
92 return super.onKeyDown(keyCode, event); in onKeyDown()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioActivity.java157 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in RadioActivity
166 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/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java437 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in PickActivity
438 return mSharedInputHandler.onKeyDown(keyCode, event) in onKeyDown()
439 || super.onKeyDown(keyCode, event); in onKeyDown()
/packages/modules/Wifi/OsuLogin/src/com/android/hotspot2/osulogin/
DOsuLoginActivity.java191 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in OsuLoginActivity
200 return super.onKeyDown(keyCode, event); in onKeyDown()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.kt365 override fun onKeyDown(keyCode: Int, event: KeyEvent): Boolean { in onKeyDown() method in com.android.deskclock.DeskClock
366 return (selectedDeskClockFragment.onKeyDown(keyCode, event) || in onKeyDown()
367 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/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertDialogTest.java260 assertTrue(activity.onKeyDown(0, in testOnKeyDown()
304 assertTrue(activity.onKeyDown(0, in testOnKeyDownWithEmptyMessageList()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSeekBarPreference.java132 return mSeekBar.onKeyDown(keyCode, event);
163 mSeekBar.onKeyDown(keyCode, downEvent);
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt376 override fun onKeyDown(keyCode: Int, event: KeyEvent): Boolean { in onKeyDown() method in com.android.deskclock.timer.TimerFragment
378 mCreateTimerView.onKeyDown(keyCode, event) in onKeyDown()
379 } else super.onKeyDown(keyCode, event) in onKeyDown()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActivityInputHandlerTest.java50 assertTrue(mActivityInputHandler.onKeyDown(event.getKeyCode(), event)); in testDelete()

123