Searched refs:longPress (Results 1 – 2 of 2) sorted by relevance
121 private void sendMediaButtonPress(boolean longPress) throws Exception { in sendMediaButtonPress() argument122 final String command = "input keyevent " + (longPress ? "--longpress" : "--shortpress") in sendMediaButtonPress()
98 private void injectInputEvent(int keyCode, boolean longPress) throws IOException { in injectInputEvent() argument101 final String command = "input keyevent " + (longPress ? "--longpress " : "") + keyCode; in injectInputEvent()