Home
last modified time | relevance | path

Searched refs:FLAG_LONG_PRESS (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
DKeyButtonViewTest.java22 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonView.java139 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()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonView.java137 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in performAccessibilityActionInternal()
260 final int repeatCount = (flags & KeyEvent.FLAG_LONG_PRESS) != 0 ? 1 : 0; in sendEvent()
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DShortcutKeyTestBase.java168 KeyEvent.FLAG_LONG_PRESS /*flags*/, InputDevice.SOURCE_KEYBOARD); in sendKeyCombination()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java787 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()
/frameworks/base/services/core/java/com/android/server/policy/
DSingleKeyGestureDetector.java230 if (mActiveRule != null && (event.getFlags() & KeyEvent.FLAG_LONG_PRESS) != 0 in interceptKeyDown()
DPhoneWindowManager.java1091 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);
/frameworks/base/core/java/android/view/
DKeyEvent.java1351 public static final int FLAG_LONG_PRESS = 0x80; field in KeyEvent
1417 FLAG_LONG_PRESS,
2733 return (mFlags&FLAG_LONG_PRESS) != 0; in isLongPress()
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java466 1 /* repeatCount */, KeyEvent.FLAG_LONG_PRESS); in sendKeyEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBar.java1576 keyButtonView.sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in onLongPressNavigationButtons()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java3120 return ((keyEvent.getFlags() & KeyEvent.FLAG_LONG_PRESS) != 0) in isFirstLongPressKeyEvent()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32447 field public static final int FLAG_LONG_PRESS = 128; // 0x80
/frameworks/base/core/api/
Dcurrent.txt51231 field public static final int FLAG_LONG_PRESS = 128; // 0x80