Lines Matching refs:keyCode
115 * @param keyCode The code of the media key.
126 public boolean onMediaButtonDown(int keyCode, KeyEvent event) {
127 switch (keyCode) {
152 * @param keyCode The code of the media key.
163 public boolean onMediaButtonUp(int keyCode, KeyEvent event) {
188 int keyCode = 0;
193 keyCode = TransportMediator.KEYCODE_MEDIA_PAUSE;
196 if (keyCode != 0) {
198 onMediaButtonDown(keyCode, new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, 0));
199 onMediaButtonUp(keyCode, new KeyEvent(now, now, KeyEvent.ACTION_UP, keyCode, 0));