Searched refs:longPress (Results 1 – 6 of 6) 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()
150 public static void injectKey(int keyCode, boolean longPress, boolean sync) { in injectKey() argument156 if (longPress) { in injectKey()
702 public static void injectKey(int keyCode, boolean longPress, boolean sync) { in injectKey() argument703 TouchHelper.injectKey(keyCode, longPress, sync); in injectKey()
419 private void testTouchEventPassToIme(boolean longPress) throws Exception { in testTouchEventPassToIme() argument434 .setInlinePresentation(longPress in testTouchEventPassToIme()450 if (longPress) { in testTouchEventPassToIme()
214 private void injectInputEvent(int keyCode, boolean longPress) throws IOException { in injectInputEvent() argument217 final String command = "input keyevent " + (longPress ? "--longpress " : "") + keyCode; in injectInputEvent()