Home
last modified time | relevance | path

Searched refs:viewConfiguration (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingModule.java93 static float providesSingleTapTouchSlop(ViewConfiguration viewConfiguration) { in providesSingleTapTouchSlop() argument
94 return viewConfiguration.getScaledTouchSlop(); in providesSingleTapTouchSlop()
100 static float providesLongTapTouchSlop(ViewConfiguration viewConfiguration) { in providesLongTapTouchSlop() argument
101 return viewConfiguration.getScaledTouchSlop() * 1.25f; in providesLongTapTouchSlop()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/extensions/
DPointerInputScopeExt.kt45 val tapTimeout = viewConfiguration.longPressTimeoutMillis in observeTaps()
63 val longPressTimeout = viewConfiguration.longPressTimeoutMillis in detectLongPressGesture()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DHandwritingInitiatorPerfTest.java65 final ViewConfiguration viewConfiguration = ViewConfiguration.get(mContext); in setup() local
66 mTouchSlop = viewConfiguration.getScaledTouchSlop(); in setup()
69 mHandwritingInitiator = new HandwritingInitiator(viewConfiguration, inputMethodManager); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DBackPanelController.kt87 private val viewConfiguration: ViewConfiguration, in <lambda>() constant
106 private val viewConfiguration: ViewConfiguration, in <lambda>() constant in Factory
120 viewConfiguration, in <lambda>()
265 minFlingDistance = viewConfiguration.scaledTouchSlop * 3 in <lambda>()
403 if (abs(curX - startX) > viewConfiguration.scaledEdgeSlop) { in <lambda>()
494 val minimumDelta = -viewConfiguration.scaledTouchSlop.toFloat() in <lambda>()
618 val isPastSlop = totalTouchDeltaInactive > viewConfiguration.scaledTouchSlop in <lambda>()
683 flingVelocity > viewConfiguration.scaledMinimumFlingVelocity in <lambda>()
DEdgeBackGestureHandler.java418 ViewConfiguration viewConfiguration, in EdgeBackGestureHandler() argument
437 mViewConfiguration = viewConfiguration; in EdgeBackGestureHandler()
1347 ViewConfiguration viewConfiguration, in Factory() argument
1366 mViewConfiguration = viewConfiguration; in Factory()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java75 ViewConfiguration viewConfiguration, in NotificationSwipeHelper() argument
81 super(callback, resources, viewConfiguration, falsingManager, featureFlags); in NotificationSwipeHelper()
553 Builder(@Main Resources resources, ViewConfiguration viewConfiguration, in Builder() argument
558 mViewConfiguration = viewConfiguration; in Builder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java143 Callback callback, Resources resources, ViewConfiguration viewConfiguration, in SwipeHelper() argument
148 mPagingTouchSlop = viewConfiguration.getScaledPagingTouchSlop(); in SwipeHelper()
149 mSlopMultiplier = viewConfiguration.getScaledAmbiguousGestureMultiplier(); in SwipeHelper()
150 mTouchSlop = viewConfiguration.getScaledTouchSlop(); in SwipeHelper()
151 mTouchSlopMultiplier = viewConfiguration.getAmbiguousGestureMultiplier(); in SwipeHelper()
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/
DRotary.kt294 val viewConfiguration = ViewConfiguration.get(LocalContext.current) in averageItemSize() constant
302 viewConfiguration, in averageItemSize()
446 viewConfiguration: ViewConfiguration,
461 private val minFlingSpeed = viewConfiguration.scaledMinimumFlingVelocity.toFloat()
462 private val maxFlingSpeed = viewConfiguration.scaledMaximumFlingVelocity.toFloat()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DMultiPointerDraggable.kt194 val viewConfiguration = currentValueOf(LocalViewConfiguration) in onCancelPointerInput() constant
196 viewConfiguration.maximumFlingVelocity.let { Velocity(it, it) } in onCancelPointerInput()
/frameworks/base/core/tests/coretests/src/android/view/stylus/
DHandwritingInitiatorTest.java108 final ViewConfiguration viewConfiguration = ViewConfiguration.get(mContext); in setup() local
109 mHandwritingSlop = viewConfiguration.getScaledHandwritingSlop(); in setup()
113 spy(new HandwritingInitiator(viewConfiguration, inputMethodManager)); in setup()
/frameworks/base/core/java/android/view/
DHandwritingInitiator.java147 public HandwritingInitiator(@NonNull ViewConfiguration viewConfiguration, in HandwritingInitiator() argument
149 mHandwritingSlop = viewConfiguration.getScaledHandwritingSlop(); in HandwritingInitiator()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandler.java229 ViewConfiguration viewConfiguration, in FullScreenMagnificationGestureHandler() argument
243 mMinimumVelocity = viewConfiguration.getScaledMinimumFlingVelocity(); in FullScreenMagnificationGestureHandler()
244 mMaximumVelocity = viewConfiguration.getScaledMaximumFlingVelocity(); in FullScreenMagnificationGestureHandler()
/frameworks/base/core/java/android/widget/
DEditor.java1786 ViewConfiguration viewConfiguration = ViewConfiguration.get(mTextView.getContext()); in onTouchEvent() local
1787 mTouchState.update(event, viewConfiguration); in onTouchEvent()
6117 ViewConfiguration viewConfiguration = ViewConfiguration.get(mTextView.getContext()); in SelectionHandleView() local
6118 mTextViewEdgeSlop = viewConfiguration.getScaledTouchSlop() * 4; in SelectionHandleView()