Home
last modified time | relevance | path

Searched refs:onKey (Results 1 – 25 of 85) sorted by relevance

1234

/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DPlaybackControlGlueTest.java289 glue.onKey(null, noAbortSeekKeyCodes[i], kv); in testFastForwardAbortKeyCodes()
310 glue.onKey(null, abortSeekKeyCodes[i], kv); in testFastForwardAbortKeyCodes()
347 glue.onKey(null, noAbortSeekKeyCodes[i], kv); in testRewindAbortKeyCodes()
368 glue.onKey(null, abortSeekKeyCodes[i], kv); in testRewindAbortKeyCodes()
389 glue.onKey(null, KeyEvent.KEYCODE_MEDIA_PAUSE, new KeyEvent(KeyEvent.ACTION_DOWN, in testMediaPauseButtonOnFF()
405 glue.onKey(null, KeyEvent.KEYCODE_MEDIA_PAUSE, new KeyEvent(KeyEvent.ACTION_DOWN, in testMediaPauseButtonOnPlay()
422 glue.onKey(null, KeyEvent.KEYCODE_MEDIA_PAUSE, new KeyEvent(KeyEvent.ACTION_DOWN, in testMediaPauseButtonOnPause()
441 glue.onKey(null, KeyEvent.KEYCODE_MEDIA_PLAY, new KeyEvent(KeyEvent.ACTION_DOWN, in testMediaPlayButtonOnFF()
457 glue.onKey(null, KeyEvent.KEYCODE_MEDIA_PLAY, new KeyEvent(KeyEvent.ACTION_DOWN, in testMediaPlayButtonOnPlay()
474 glue.onKey(null, KeyEvent.KEYCODE_MEDIA_PLAY, new KeyEvent(KeyEvent.ACTION_DOWN, in testMediaPlayButtonOnPause()
[all …]
DPlaybackControlSupportGlueTest.java292 glue.onKey(null, noAbortSeekKeyCodes[i], kv); in testFastForwardAbortKeyCodes()
313 glue.onKey(null, abortSeekKeyCodes[i], kv); in testFastForwardAbortKeyCodes()
350 glue.onKey(null, noAbortSeekKeyCodes[i], kv); in testRewindAbortKeyCodes()
371 glue.onKey(null, abortSeekKeyCodes[i], kv); in testRewindAbortKeyCodes()
392 glue.onKey(null, KeyEvent.KEYCODE_MEDIA_PAUSE, new KeyEvent(KeyEvent.ACTION_DOWN, in testMediaPauseButtonOnFF()
408 glue.onKey(null, KeyEvent.KEYCODE_MEDIA_PAUSE, new KeyEvent(KeyEvent.ACTION_DOWN, in testMediaPauseButtonOnPlay()
425 glue.onKey(null, KeyEvent.KEYCODE_MEDIA_PAUSE, new KeyEvent(KeyEvent.ACTION_DOWN, in testMediaPauseButtonOnPause()
444 glue.onKey(null, KeyEvent.KEYCODE_MEDIA_PLAY, new KeyEvent(KeyEvent.ACTION_DOWN, in testMediaPlayButtonOnFF()
460 glue.onKey(null, KeyEvent.KEYCODE_MEDIA_PLAY, new KeyEvent(KeyEvent.ACTION_DOWN, in testMediaPlayButtonOnPlay()
477 glue.onKey(null, KeyEvent.KEYCODE_MEDIA_PLAY, new KeyEvent(KeyEvent.ACTION_DOWN, in testMediaPlayButtonOnPause()
[all …]
DPlaybackTestFragment.java203 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey() method in PlaybackTestFragment.PlaybackControlHelper
211 return super.onKey(view, keyCode, keyEvent); in onKey()
DPlaybackTestSupportFragment.java206 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey() method in PlaybackTestSupportFragment.PlaybackControlHelper
214 return super.onKey(view, keyCode, keyEvent); in onKey()
DPlaybackOverlayTestFragment.java249 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey() method in PlaybackOverlayTestFragment.PlaybackControlHelper
257 return super.onKey(view, keyCode, keyEvent); in onKey()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DPlaybackTransportControlGlueSample.java75 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey() method in PlaybackTransportControlGlueSample
83 return super.onKey(view, keyCode, keyEvent); in onKey()
DPlaybackControlGlue.java104 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey() method in PlaybackControlGlue
112 return super.onKey(view, keyCode, keyEvent); in onKey()
DPlaybackControlHelper.java120 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey() method in PlaybackControlHelper
128 return super.onKey(view, keyCode, keyEvent); in onKey()
DPlaybackControlSupportHelper.java123 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey() method in PlaybackControlSupportHelper
131 return super.onKey(view, keyCode, keyEvent); in onKey()
/frameworks/base/core/java/android/content/
DDialogInterface.java155 boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event); in onKey() method
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
DLeanbackSettingsRootView.java57 handled = mOnBackKeyListener.onKey(this, event.getKeyCode(), event); in dispatchKeyEvent()
DLeanbackSettingsFragment.java183 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in LeanbackSettingsFragment.RootViewOnKeyListener
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DBrowseFrameLayout.java139 return mOnDispatchKeyListener.onKey(getRootView(), event.getKeyCode(), event); in dispatchKeyEvent()
/frameworks/base/core/java/android/preference/
DPreferenceFragment.java451 public boolean onKey(View v, int keyCode, KeyEvent event) {
455 return ((Preference)selectedItem).onKey(
DVolumePreference.java85 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in VolumePreference
DSeekBarPreference.java93 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in SeekBarPreference
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
DMediaPlayerGlue.java196 @Override public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in MediaPlayerGlue
220 return super.onKey(v, keyCode, event); in onKey()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
DMediaPlayerGlue.java238 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in MediaPlayerGlue
264 return super.onKey(v, keyCode, event); in onKey()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java89 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { in onKey() method in MenuDialogHelper
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuDialogHelper.java92 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { in onKey() method in MenuDialogHelper
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DPlaybackControlSupportGlue.java175 return onKeyListenerr.onKey(null, keyEvent.getKeyCode(), keyEvent); in setOnKeyInterceptListener()
DPlaybackControlGlue.java310 return onKeyListener.onKey(null, keyEvent.getKeyCode(), keyEvent); in setOnKeyInterceptListener()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java157 public boolean onKey(View v, int keyCode, KeyEvent event) { in onAttachedToWindow()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPinBasedInputView.java249 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in KeyguardPinBasedInputView
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java102 void onKey(int primaryCode, int[] keyCodes); in onKey() method
831 mKeyboardActionListener.onKey(Keyboard.KEYCODE_DELETE, KEY_DELETE); in detectAndSendKey()
837 mKeyboardActionListener.onKey(code, codes); in detectAndSendKey()
1095 public void onKey(int primaryCode, int[] keyCodes) { in onLongPress()
1096 mKeyboardActionListener.onKey(primaryCode, keyCodes); in onLongPress()

1234