Home
last modified time | relevance | path

Searched refs:maxVelocity (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp45 void computeCurrentVelocity(int32_t units, float maxVelocity);
64 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { in computeCurrentVelocity() argument
65 mComputedVelocity = mVelocityTracker.getComputedVelocity(units, maxVelocity); in computeCurrentVelocity()
115 jlong ptr, jint units, jfloat maxVelocity) { in android_view_VelocityTracker_nativeComputeCurrentVelocity() argument
117 state->computeCurrentVelocity(units, maxVelocity); in android_view_VelocityTracker_nativeComputeCurrentVelocity()
/frameworks/base/core/java/android/view/
DVelocityTracker.java204 private static native void nativeComputeCurrentVelocity(long ptr, int units, float maxVelocity); in nativeComputeCurrentVelocity() argument
397 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument
398 nativeComputeCurrentVelocity(mPtr, units, maxVelocity); in computeCurrentVelocity()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java212 final int maxVelocity = (int) (DEFAULT_MAXIMUM_VELOCITY_DIPS * metrics.density + 0.5f); in AutoScrollHelper() local
214 setMaximumVelocity(maxVelocity, maxVelocity); in AutoScrollHelper()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DMultiPointerDraggable.kt195 val maxVelocity = in onCancelPointerInput() constant
197 val velocity = velocityTracker.calculateVelocity(maxVelocity) in onCancelPointerInput()
/frameworks/native/include/input/
DVelocityTracker.h111 ComputedVelocity getComputedVelocity(int32_t units, float maxVelocity);
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java1529 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument
1560 mXVelocity = accumX < 0.0f ? Math.max(accumX, -maxVelocity) in computeCurrentVelocity()
1561 : Math.min(accumX, maxVelocity); in computeCurrentVelocity()
1562 mYVelocity = accumY < 0.0f ? Math.max(accumY, -maxVelocity) in computeCurrentVelocity()
1563 : Math.min(accumY, maxVelocity); in computeCurrentVelocity()
/frameworks/native/libs/input/
DVelocityTracker.cpp369 float maxVelocity) { in getComputedVelocity() argument
378 std::clamp(*velocity * units / 1000, -maxVelocity, maxVelocity); in getComputedVelocity()
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/
DRotary.kt1240 private val maxVelocity: Float = 3000f, constant in ThresholdBehavior
1275 maxVelocity, in snapThreshold()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DEdgeBackGestureHandler.java1161 int maxVelocity = mViewConfiguration.getScaledMaximumFlingVelocity(); in dispatchToBackAnimation() local
1162 mVelocityTracker.computeCurrentVelocity(unitPixelPerSecond, maxVelocity); in dispatchToBackAnimation()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...