Searched refs:FLAG_LONG_PRESS (Results 1 – 13 of 13) sorted by relevance
22 import static android.view.KeyEvent.FLAG_LONG_PRESS;104 checkmetrics(KEYCODE_BACK, ACTION_DOWN, FLAG_LONG_PRESS, NAVBAR_BACK_BUTTON_LONGPRESS); in testLogBackLongPressLog()109 checkmetrics(KEYCODE_APP_SWITCH, ACTION_DOWN, FLAG_LONG_PRESS, in testLogOverviewLongPress()115 checkmetrics(KEYCODE_HOME, ACTION_DOWN, FLAG_LONG_PRESS, NAVBAR_HOME_BUTTON_LONGPRESS); in testLogHomeLongPress()
80 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS);159 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in performAccessibilityActionInternal()286 if (mCode == KeyEvent.KEYCODE_BACK && flags != KeyEvent.FLAG_LONG_PRESS) { in sendEvent()294 final int repeatCount = (flags & KeyEvent.FLAG_LONG_PRESS) != 0 ? 1 : 0; in sendEvent()
135 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS);250 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in performAccessibilityActionInternal()373 boolean longPressSet = (flags & KeyEvent.FLAG_LONG_PRESS) != 0; in logSomePresses()414 if (mCode == KeyEvent.KEYCODE_BACK && flags != KeyEvent.FLAG_LONG_PRESS) { in sendEvent()417 final int repeatCount = (flags & KeyEvent.FLAG_LONG_PRESS) != 0 ? 1 : 0; in sendEvent()
149 KeyEvent.FLAG_LONG_PRESS /*flags*/, InputDevice.SOURCE_KEYBOARD); in sendKey()
785 KeyEvent.FLAG_LONG_PRESS); in testInterceptPowerKeyDown_triggerEmergency_fiveFastTaps_gestureIgnored()811 KeyEvent.FLAG_LONG_PRESS); in testInterceptPowerKeyDown_triggerEmergency_longPress_cooldownTriggered()851 KeyEvent.FLAG_LONG_PRESS); in testInterceptPowerKeyDown_triggerEmergency_cooldownDisabled_cooldownNotTriggered()891 KeyEvent.FLAG_LONG_PRESS); in testInterceptPowerKeyDown_triggerEmergency_outsideCooldownPeriod_cooldownNotTriggered()921 KeyEvent.FLAG_LONG_PRESS); in testInterceptPowerKeyDown_longpress()
213 if (mActiveRule != null && (event.getFlags() & KeyEvent.FLAG_LONG_PRESS) != 0 in interceptKeyDown()
997 if ((event.getFlags() & KeyEvent.FLAG_LONG_PRESS) == 0) { in interceptPowerKeyUp()1908 } else if ((event.getFlags() & KeyEvent.FLAG_LONG_PRESS) != 0) { in handleHomeButton()4882 SystemClock.uptimeMillis(), 1, event.getFlags() | KeyEvent.FLAG_LONG_PRESS);
1291 public static final int FLAG_LONG_PRESS = 0x80; field in KeyEvent2632 return (mFlags&FLAG_LONG_PRESS) != 0; in isLongPress()
364 KeyEvent.FLAG_LONG_PRESS)); in sendKeyEvent()
1491 keyButtonView.sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in onLongPressNavigationButtons()
2776 return ((keyEvent.getFlags() & KeyEvent.FLAG_LONG_PRESS) != 0) in isFirstLongPressKeyEvent()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
50752 field public static final int FLAG_LONG_PRESS = 128; // 0x80