Searched refs:longPress (Results 1 – 3 of 3) sorted by relevance
143 private void sendKeyViaAdb(int keyCode, boolean longPress) { in sendKeyViaAdb() argument145 final String command = "input keyevent " + (longPress ? "--longpress " : "") + keyCode; in sendKeyViaAdb()153 private void sendKeyViaInstrumentation(int keyCode, boolean longPress) { in sendKeyViaInstrumentation() argument159 if (longPress) { in sendKeyViaInstrumentation()
121 private void sendMediaButtonPress(boolean longPress) throws Exception { in sendMediaButtonPress() argument122 final String command = "input keyevent " + (longPress ? "--longpress" : "--shortpress") in sendMediaButtonPress()
110 private void injectInputEvent(int keyCode, boolean longPress) throws IOException { in injectInputEvent() argument113 final String command = "input keyevent " + (longPress ? "--longpress " : "") + keyCode; in injectInputEvent()