Lines Matching refs:keyEvent
40 import android.view.KeyEvent;535 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MEDIA_PLAY);536 helper.sendMediaButtonEvent(keyEvent, false);537 keyEvent = new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MEDIA_PLAY);538 helper.sendMediaButtonEvent(keyEvent, false);