Searched refs:ke (Results 1 – 5 of 5) sorted by relevance
/frameworks/support/media/src/main/java/androidx/media/session/ |
D | MediaButtonReceiver.java | 158 KeyEvent ke = mIntent.getParcelableExtra(Intent.EXTRA_KEY_EVENT); in onConnected() local 159 mediaController.dispatchMediaButtonEvent(ke); in onConnected() 199 KeyEvent ke = intent.getParcelableExtra(Intent.EXTRA_KEY_EVENT); in handleIntent() local 201 mediaController.dispatchMediaButtonEvent(ke); in handleIntent() 202 return ke; in handleIntent()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionLegacyHelper.java | 394 KeyEvent ke = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); in sendKeyEvent() local 398 intent.putExtra(Intent.EXTRA_KEY_EVENT, ke); in sendKeyEvent() 401 ke = new KeyEvent(KeyEvent.ACTION_UP, keyCode); in sendKeyEvent() 402 intent.putExtra(Intent.EXTRA_KEY_EVENT, ke); in sendKeyEvent()
|
D | MediaSession.java | 804 KeyEvent ke = mediaButtonIntent.getParcelableExtra(Intent.EXTRA_KEY_EVENT); in onMediaButtonEvent() local 805 if (ke != null && ke.getAction() == KeyEvent.ACTION_DOWN) { in onMediaButtonEvent() 808 switch (ke.getKeyCode()) { in onMediaButtonEvent() 811 if (ke.getRepeatCount() > 0) { in onMediaButtonEvent() 836 switch (ke.getKeyCode()) { in onMediaButtonEvent()
|
/frameworks/support/media/src/main/java/android/support/v4/media/session/ |
D | MediaSessionCompat.java | 3024 private void onMediaButtonEvent(KeyEvent ke, MediaSessionCompat.Callback cb) { in onMediaButtonEvent() argument 3025 if (ke == null || ke.getAction() != KeyEvent.ACTION_DOWN) { in onMediaButtonEvent() 3029 switch (ke.getKeyCode()) { in onMediaButtonEvent()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 433 KeyEvent ke, int sequenceId, ResultReceiver cb) { in sendMediaButton() argument 434 mSessionCb.sendMediaButton(packageName, pid, uid, asSystemService, ke, sequenceId, cb); in sendMediaButton()
|