Home
last modified time | relevance | path

Searched defs:velocity (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DFlingAnimation.java152 float getAcceleration(float value, float velocity) { in getAcceleration()
156 boolean isAtEquilibrium(float value, float velocity) { in isAtEquilibrium()
181 MassState updateValueAndVelocity(float value, float velocity, long deltaT) { in updateValueAndVelocity()
191 public float getAcceleration(float position, float velocity) { in getAcceleration()
195 public boolean isAtEquilibrium(float value, float velocity) { in isAtEquilibrium()
DForce.java24 float getAcceleration(float position, float velocity); in getAcceleration()
26 boolean isAtEquilibrium(float value, float velocity); in isAtEquilibrium()
DDynamicAnimation.java769 abstract float getAcceleration(float value, float velocity); in getAcceleration()
774 abstract boolean isAtEquilibrium(float value, float velocity); in isAtEquilibrium()
795 float velocity); in onAnimationEnd()
813 void onAnimationUpdate(DynamicAnimation animation, float value, float velocity); in onAnimationUpdate()
DSpringAnimation.java302 float getAcceleration(float value, float velocity) { in getAcceleration()
307 boolean isAtEquilibrium(float value, float velocity) { in isAtEquilibrium()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
DFlingAnimationUtils.java107 public void apply(Animator animator, float currValue, float endValue, float velocity) { in apply()
121 float currValue, float endValue, float velocity) { in apply()
135 float velocity) { in apply()
150 public void apply(Animator animator, float currValue, float endValue, float velocity, in apply()
170 float currValue, float endValue, float velocity, float maxDistance) { in apply()
188 float velocity, float maxDistance) { in apply()
196 float endValue, float velocity, float maxDistance) { in getProperties()
265 float velocity, float maxDistance) { in applyDismissing()
285 float velocity, float maxDistance) { in applyDismissing()
293 float velocity, float maxDistance) { in getDismissingProperties()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java190 public boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent()
209 protected void handleMenuRowSwipe(MotionEvent ev, View animView, float velocity, in handleMenuRowSwipe()
234 private void handleSwipeFromClosedState(MotionEvent ev, View animView, float velocity, in handleSwipeFromClosedState()
270 private void handleSwipeFromOpenState(MotionEvent ev, View animView, float velocity, in handleSwipeFromOpenState()
308 public void dismissChild(final View view, float velocity, in dismissChild()
347 …protected void superDismissChild(final View view, float velocity, boolean useAccelerateInterpolato… in superDismissChild()
352 protected void superSnapChild(final View animView, final float targetLeft, float velocity) { in superSnapChild()
357 protected void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild()
431 public void dismiss(View animView, float velocity) { in dismiss()
437 public void snapOpen(View animView, int targetLeft, float velocity) { in snapOpen()
[all …]
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DNotificationSwipeActionHelper.java37 public void dismiss(View animView, float velocity); in dismiss()
42 public void snapOpen(View animView, int targetLeft, float velocity); in snapOpen()
/frameworks/base/core/java/android/widget/
DOverScroller.java532 double getSplineFlingDistance(int velocity) { in getSplineFlingDistance()
657 static private float getDeceleration(int velocity) { in getDeceleration()
733 private void startSpringback(int start, int end, int velocity) { in startSpringback()
747 void fling(int start, int velocity, int min, int max, int over) { in fling()
783 private double getSplineDeceleration(int velocity) { in getSplineDeceleration()
787 private double getSplineFlingDistance(int velocity) { in getSplineFlingDistance()
794 private int getSplineFlingDuration(int velocity) { in getSplineFlingDuration()
800 private void fitOnBounceCurve(int start, int end, int velocity) { in fitOnBounceCurve()
814 private void startBounceAfterEdge(int start, int end, int velocity) { in startBounceAfterEdge()
820 private void startAfterEdge(int start, int min, int max, int velocity) { in startAfterEdge()
DScroller.java451 float velocity = (float) Math.hypot(velocityX, velocityY); in fling() local
481 private double getSplineDeceleration(float velocity) { in getSplineDeceleration()
485 private int getSplineFlingDuration(float velocity) { in getSplineFlingDuration()
491 private double getSplineFlingDistance(float velocity) { in getSplineFlingDistance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java175 boolean onDrag(float displacement, float velocity); in onDrag()
177 void onDragEnd(float velocity, boolean fling); in onDragEnd()
322 float velocity = (deltaTimeMillis > 0) ? (delta / deltaTimeMillis) : 0; in computeVelocity() local
346 public static long calculateDuration(float velocity, float progressNeeded) { in calculateDuration()
/frameworks/base/core/tests/coretests/src/android/widget/
DHorizontalScrollViewFunctionalTest.java135 public void onAbsorb(int velocity) { in onAbsorb()
144 public float velocity; field in HorizontalScrollViewFunctionalTest.MyHorizontalScrollView
DScrollViewFunctionalTest.java134 public void onAbsorb(int velocity) { in onAbsorb()
144 public float velocity; field in ScrollViewFunctionalTest.MyScrollView
DDifferentialMotionFlingHelperTest.java178 private void deliverEventWithVelocity(MotionEvent ev, int axis, float velocity) { in deliverEventWithVelocity()
190 public boolean startDifferentialMotionFling(float velocity) { in startDifferentialMotionFling()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSScrollLayout.java151 public boolean onDrag(float displacement, float velocity) { in onDrag()
177 public void onDragEnd(float velocity, boolean fling) { in onDragEnd()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DDefaultUiController.java133 public void onGestureCompletion(float velocity) { in onGestureCompletion()
202 private void animateInvocationCompletion(int type, float velocity) { in animateInvocationCompletion()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DOneTimeEndListener.java31 float velocity) { in onAnimationEnd()
DExpandedViewAnimationController.java46 void setSwipeVelocity(float velocity); in setSwipeVelocity()
/frameworks/base/core/java/android/window/
DBackProgressAnimator.java91 public void onAnimationUpdate(DynamicAnimation animation, float value, float velocity) { in onAnimationUpdate()
224 private void updateProgressValue(float progress, float velocity) { in updateProgressValue()
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/
DRotaryVelocityTracker.kt30 public val velocity: Float constant in com.google.android.horologist.compose.rotaryinput.RotaryVelocityTracker
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenGestureLogger.java104 public void write(int gesture, int length, int velocity) { in write()
110 EventLogTags.writeSysuiLockscreenGesture(safeLookup(gesture), length, velocity); in write() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/data/repository/
DFlingInfo.kt27 val velocity: Float = 0f, constant in com.android.systemui.shade.data.repository.FlingInfo
/frameworks/libs/systemui/animationlib/src/com/android/app/animation/
DInterpolators.java276 public static Interpolator scrollInterpolatorForVelocity(float velocity) { in scrollInterpolatorForVelocity()
284 public static Interpolator overshootInterpolatorForVelocity(float velocity) { in overshootInterpolatorForVelocity()
DInterpolatorsAndroidX.java282 public static Interpolator scrollInterpolatorForVelocity(float velocity) { in scrollInterpolatorForVelocity()
290 public static Interpolator overshootInterpolatorForVelocity(float velocity) { in overshootInterpolatorForVelocity()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DDividerPresenter.java585 float velocity = 0.0f; in onFinishDragging() local
680 private int dividerPositionForSnapPoints(int dividerPosition, float velocity) { in dividerPositionForSnapPoints()
709 int maxPosition, int fullyExpandedPosition, float velocity, float displayDensity, in dividerPositionWithPositionOptions()
741 int maxPosition, float velocity) { in dividerPositionForFling()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java394 public void dismissChild(final View view, float velocity, boolean useAccelerateInterpolator) { in dismissChild()
407 public void dismissChild(final View animView, float velocity, final Consumer<Boolean> endAction, in dismissChild()
531 protected void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild()
723 float velocity = getVelocity(mVelocityTracker); in onTouchEvent() local
789 float velocity = getVelocity(mVelocityTracker); in swipedFastEnough() local
796 protected boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent()

123