Home
last modified time | relevance | path

Searched refs:getLongPressTimeout (Results 1 – 25 of 39) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/
H A DLongPressHandlingViewInteractionHandler.kt80 event.gestureDuration < ViewConfiguration.getLongPressTimeout()
106 ViewConfiguration.getLongPressTimeout().toLong(),
/aosp14/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
H A DInstrumentationUiAutomatorBridge.java58 return ViewConfiguration.getLongPressTimeout(); in getSystemLongPressTime()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
H A DShortcutKeyTestBase.java145 final long nextDownTime = downTime + ViewConfiguration.getLongPressTimeout(); in sendKey()
154 ? SystemClock.uptimeMillis() + ViewConfiguration.getLongPressTimeout() in sendKey()
/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A DKeyUtils.java76 Thread.sleep((long)(ViewConfiguration.getLongPressTimeout() * 1.5f)); in longClick()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
H A DRelativeTouchListener.kt119 }, ViewConfiguration.getLongPressTimeout().toLong())
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
H A DKeyguardQuickAffordanceOnTouchListener.kt42 private val longPressDurationMs = ViewConfiguration.getLongPressTimeout().toLong()
/aosp14/frameworks/base/core/java/android/view/
H A DGestureDetector.java251 private static final int LONGPRESS_TIMEOUT = ViewConfiguration.getLongPressTimeout();
650 + ViewConfiguration.getLongPressTimeout()); in onTouchEvent()
691 final long longPressTimeout = ViewConfiguration.getLongPressTimeout(); in onTouchEvent()
H A DViewConfiguration.java654 public static int getLongPressTimeout() { in getLongPressTimeout() method in ViewConfiguration
672 return getLongPressTimeout(); in getKeyRepeatTimeout()
H A DHandwritingInitiator.java122 mHandwritingTimeoutInMillis = ViewConfiguration.getLongPressTimeout(); in HandwritingInitiator()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
H A DNoteTaskInitializer.kt165 val LONG_PRESS_TIMEOUT = ViewConfiguration.getLongPressTimeout().toLong()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DMagnificationGestureDetector.java121 event.getDownTime() + ViewConfiguration.getLongPressTimeout()); in onTouch()
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DInputShellCommand.java360 sleep(ViewConfiguration.getLongPressTimeout()); in sendKeyEvent()
362 final long nextEventTime = now + ViewConfiguration.getLongPressTimeout(); in sendKeyEvent()
415 sleep(ViewConfiguration.getLongPressTimeout()); in sendSwipe()
/aosp14/frameworks/base/core/java/android/widget/
H A DForwardingListener.java68 mLongPressTimeout = (mTapTimeout + ViewConfiguration.getLongPressTimeout()) / 2; in ForwardingListener()
H A DNumberPicker.java931 false, ViewConfiguration.getLongPressTimeout()); in onInterceptTouchEvent()
934 true, ViewConfiguration.getLongPressTimeout()); in onInterceptTouchEvent()
2118 postDelayed(mBeginSoftInputOnLongPressCommand, ViewConfiguration.getLongPressTimeout()); in postBeginSoftInputOnLongPressCommand()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListTouchManyTest.java116 Thread.sleep((long)(ViewConfiguration.getLongPressTimeout() * 1.25f)); in testPress()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/ui/view/
H A DLongPressHandlingViewInteractionHandlerTest.kt149 gestureDuration = ViewConfiguration.getLongPressTimeout() - 1L,
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
H A DGestureMatcher.java249 completeAfter(ViewConfiguration.getLongPressTimeout(), event, rawEvent, policyFlags); in completeAfterLongPressTimeout()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DWindowMagnificationGestureHandlerTest.java378 SystemClock.sleep(ViewConfiguration.getLongPressTimeout() + 100); in tapAndHold()
/aosp14/frameworks/base/core/java/android/inputmethodservice/navigationbar/
H A DKeyButtonView.java200 postDelayed(mCheckLongPress, ViewConfiguration.getLongPressTimeout()); in onTouchEvent()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DDragAction.java374 long longPressTimeout = (long) (ViewConfiguration.getLongPressTimeout() * 1.5f); in performLongPress()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
H A DSplitScreenUtils.kt52 private val LONG_PRESS_TIME_MS = ViewConfiguration.getLongPressTimeout() * 2L
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
H A DFullScreenMagnificationGestureHandler.java731 mLongTapMinDelay = ViewConfiguration.getLongPressTimeout(); in DetectingState()
943 ViewConfiguration.getLongPressTimeout()); in afterLongTapTimeoutTransitionToDraggingState()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
H A DKeyButtonView.java289 postDelayed(mCheckLongPress, ViewConfiguration.getLongPressTimeout()); in onTouchEvent()
/aosp14/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java547 postDelayed(this, ViewConfiguration.getLongPressTimeout()); in dispatchKeyEvent()
/aosp14/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java428 Thread.sleep((long)(ViewConfiguration.getLongPressTimeout() * 1.5f)); in longClickView()

12