Searched refs:FLAG_LONG_PRESS (Results 1 – 14 of 14) sorted by relevance
22 import static android.view.KeyEvent.FLAG_LONG_PRESS;106 checkmetrics(KEYCODE_BACK, ACTION_DOWN, FLAG_LONG_PRESS, NAVBAR_BACK_BUTTON_LONGPRESS); in testLogBackLongPressLog()111 checkmetrics(KEYCODE_APP_SWITCH, ACTION_DOWN, FLAG_LONG_PRESS, in testLogOverviewLongPress()117 checkmetrics(KEYCODE_HOME, ACTION_DOWN, FLAG_LONG_PRESS, NAVBAR_HOME_BUTTON_LONGPRESS); in testLogHomeLongPress()
139 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS);258 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in performAccessibilityActionInternal()381 boolean longPressSet = (flags & KeyEvent.FLAG_LONG_PRESS) != 0; in logSomePresses()430 if (mCode == KeyEvent.KEYCODE_BACK && flags != KeyEvent.FLAG_LONG_PRESS) { in sendEvent()433 final int repeatCount = (flags & KeyEvent.FLAG_LONG_PRESS) != 0 ? 1 : 0; in sendEvent()
137 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in performAccessibilityActionInternal()260 final int repeatCount = (flags & KeyEvent.FLAG_LONG_PRESS) != 0 ? 1 : 0; in sendEvent()
168 KeyEvent.FLAG_LONG_PRESS /*flags*/, InputDevice.SOURCE_KEYBOARD); in sendKeyCombination()
787 KeyEvent.FLAG_LONG_PRESS); in testInterceptPowerKeyDown_triggerEmergency_fiveFastTaps_gestureIgnored()813 KeyEvent.FLAG_LONG_PRESS); in testInterceptPowerKeyDown_triggerEmergency_longPress_cooldownTriggered()853 KeyEvent.FLAG_LONG_PRESS); in testInterceptPowerKeyDown_triggerEmergency_cooldownDisabled_cooldownNotTriggered()893 KeyEvent.FLAG_LONG_PRESS); in testInterceptPowerKeyDown_triggerEmergency_outsideCooldownPeriod_cooldownNotTriggered()923 KeyEvent.FLAG_LONG_PRESS); in testInterceptPowerKeyDown_longpress()
230 if (mActiveRule != null && (event.getFlags() & KeyEvent.FLAG_LONG_PRESS) != 0 in interceptKeyDown()
1091 if ((event.getFlags() & KeyEvent.FLAG_LONG_PRESS) == 0) { in interceptPowerKeyUp()2051 } else if ((event.getFlags() & KeyEvent.FLAG_LONG_PRESS) != 0) { in handleHomeButton()5382 SystemClock.uptimeMillis(), 1, event.getFlags() | KeyEvent.FLAG_LONG_PRESS);
1351 public static final int FLAG_LONG_PRESS = 0x80; field in KeyEvent1417 FLAG_LONG_PRESS,2733 return (mFlags&FLAG_LONG_PRESS) != 0; in isLongPress()
466 1 /* repeatCount */, KeyEvent.FLAG_LONG_PRESS); in sendKeyEvent()
1576 keyButtonView.sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in onLongPressNavigationButtons()
3120 return ((keyEvent.getFlags() & KeyEvent.FLAG_LONG_PRESS) != 0) in isFirstLongPressKeyEvent()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
32447 field public static final int FLAG_LONG_PRESS = 128; // 0x80
51231 field public static final int FLAG_LONG_PRESS = 128; // 0x80