Home
last modified time | relevance | path

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

1234

/aosp12/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/
H A DFlingAnimationUtils.java64 public void apply(Animator animator, float currValue, float endValue, float velocity) { in apply()
78 ViewPropertyAnimator animator, float currValue, float endValue, float velocity) { in apply()
94 Animator animator, float currValue, float endValue, float velocity, float maxDistance) { in apply()
115 float velocity, in apply()
123 float currValue, float endValue, float velocity, float maxDistance) { in getProperties()
162 Animator animator, float currValue, float endValue, float velocity, float maxDistance) { in applyDismissing()
185 float velocity, in applyDismissing()
194 float currValue, float endValue, float velocity, float maxDistance) { in getDismissingProperties()
234 private float calculateLinearOutFasterInY2(float velocity) { in calculateLinearOutFasterInY2()
272 private float velocity; field in FlingAnimationUtils.VelocityInterpolator
[all …]
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
H A DFlingAnimationUtils.java107 public void apply(Animator animator, float currValue, float endValue, float velocity) { in apply()
121 float velocity) { in apply()
136 public void apply(Animator animator, float currValue, float endValue, float velocity, in apply()
156 float velocity, float maxDistance) { in apply()
164 float endValue, float velocity, float maxDistance) { in getProperties()
233 float velocity, float maxDistance) { in applyDismissing()
253 float velocity, float maxDistance) { in applyDismissing()
261 float velocity, float maxDistance) { in getDismissingProperties()
300 private float calculateLinearOutFasterInY2(float velocity) { in calculateLinearOutFasterInY2()
354 private VelocityInterpolator(float durationSeconds, float velocity, float diff) { in VelocityInterpolator()
/aosp12/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
H A DNotificationSwipeActionHelper.java37 public void dismiss(View animView, float velocity); in dismiss()
42 public void snapOpen(View animView, int targetLeft, float velocity); in snapOpen()
58 public boolean swipedFastEnough(float translation, float velocity); in swipedFastEnough()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationSwipeHelper.java172 public boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent()
184 protected void handleMenuRowSwipe(MotionEvent ev, View animView, float velocity, in handleMenuRowSwipe()
209 private void handleSwipeFromClosedState(MotionEvent ev, View animView, float velocity, in handleSwipeFromClosedState()
245 private void handleSwipeFromOpenState(MotionEvent ev, View animView, float velocity, in handleSwipeFromOpenState()
267 public void dismissChild(final View view, float velocity, in dismissChild()
280 …protected void superDismissChild(final View view, float velocity, boolean useAccelerateInterpolato… in superDismissChild()
285 protected void superSnapChild(final View animView, final float targetLeft, float velocity) { in superSnapChild()
290 public void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild()
372 public void dismiss(View animView, float velocity) { in dismiss()
378 public void snapOpen(View animView, int targetLeft, float velocity) { in snapOpen()
[all …]
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/touch/
H A DBaseSwipeDetector.java87 public static long calculateDuration(float velocity, float progressNeeded) { in calculateDuration()
129 public boolean isFling(float velocity) { in isFling()
277 PointF velocity = new PointF(mVelocityTracker.getXVelocity() / 1000, in reportDragEnd() local
290 protected abstract void reportDragEndInternal(PointF velocity); in reportDragEndInternal()
H A DBothAxesSwipeDetector.java79 protected void reportDragEndInternal(PointF velocity) { in reportDragEndInternal()
90 void onDragEnd(PointF velocity); in onDragEnd()
H A DSingleAxisSwipeDetector.java185 protected void reportDragEndInternal(PointF velocity) { in reportDragEndInternal()
210 void onDragEnd(float velocity); in onDragEnd()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/anim/
H A DInterpolators.java135 public static Interpolator scrollInterpolatorForVelocity(float velocity) { in scrollInterpolatorForVelocity()
143 public static Interpolator overshootInterpolatorForVelocity(float velocity) { in overshootInterpolatorForVelocity()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
H A DNoButtonNavbarToOverviewTouchController.java141 public void onDragEnd(float velocity) { in onDragEnd()
159 LauncherState targetState, float velocity, boolean isFling) { in updateSwipeCompleteAnimation()
230 private void goToOverviewOrHomeOnDragEnd(float velocity) { in goToOverviewOrHomeOnDragEnd()
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DOverScroller.java659 static private float getDeceleration(int velocity) { in getDeceleration()
734 private void startSpringback(int start, int end, int velocity) { in startSpringback()
748 void fling(int start, int velocity, int min, int max, int over) { in fling()
784 private double getSplineDeceleration(int velocity) { in getSplineDeceleration()
788 private double getSplineFlingDistance(int velocity) { in getSplineFlingDistance()
795 private int getSplineFlingDuration(int velocity) { in getSplineFlingDuration()
801 private void fitOnBounceCurve(int start, int end, int velocity) { in fitOnBounceCurve()
813 private void startBounceAfterEdge(int start, int end, int velocity) { in startBounceAfterEdge()
819 private void startAfterEdge(int start, int min, int max, int velocity) { in startAfterEdge()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
H A 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()
/aosp12/frameworks/base/core/java/android/widget/
H A DOverScroller.java648 static private float getDeceleration(int velocity) { in getDeceleration()
724 private void startSpringback(int start, int end, int velocity) { in startSpringback()
738 void fling(int start, int velocity, int min, int max, int over) { in fling()
774 private double getSplineDeceleration(int velocity) { in getSplineDeceleration()
778 private double getSplineFlingDistance(int velocity) { in getSplineFlingDistance()
785 private int getSplineFlingDuration(int velocity) { in getSplineFlingDuration()
791 private void fitOnBounceCurve(int start, int end, int velocity) { in fitOnBounceCurve()
805 private void startBounceAfterEdge(int start, int end, int velocity) { in startBounceAfterEdge()
811 private void startAfterEdge(int start, int min, int max, int velocity) { in startAfterEdge()
H A 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()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
H A DDefaultUiController.java123 public void onGestureCompletion(float velocity) { in onGestureCompletion()
192 private void animateInvocationCompletion(int type, float velocity) { in animateInvocationCompletion()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherAnimUtils.java68 public static int blockedFlingDurationFactor(float velocity) { in blockedFlingDurationFactor()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
H A DOneTimeEndListener.java31 float velocity) { in onAnimationEnd()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSScrollLayout.java151 public boolean onDrag(float displacement, float velocity) { in onDrag()
177 public void onDragEnd(float velocity, boolean fling) { in onDragEnd()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenGestureLogger.java101 public void write(int gesture, int length, int velocity) { in write()
107 EventLogTags.writeSysuiLockscreenGesture(safeLookup(gesture), length, velocity); in write() local
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/views/
H A DSpringRelativeLayout.java86 protected void absorbSwipeUpVelocity(int velocity) { in absorbSwipeUpVelocity()
136 public void onAbsorb(int velocity) { in onAbsorb()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DAllAppsPagedView.java47 protected boolean snapToPageWithVelocity(int whichPage, int velocity) { in snapToPageWithVelocity()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
H A DOverviewToHomeAnim.java56 public void animateWithVelocity(float velocity) { in animateWithVelocity()
H A DStaggeredWorkspaceAnim.java75 public StaggeredWorkspaceAnim(Launcher launcher, float velocity, boolean animateOverviewScrim, in StaggeredWorkspaceAnim()
80 public StaggeredWorkspaceAnim(Launcher launcher, float velocity, boolean animateOverviewScrim, in StaggeredWorkspaceAnim()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPaper.java45 public void edgeReached(float velocity) { in edgeReached()
145 public void onAbsorb(float velocity) { in onAbsorb()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java379 public void dismissChild(final View view, float velocity, boolean useAccelerateInterpolator) { in dismissChild()
392 public void dismissChild(final View animView, float velocity, final Runnable endAction, in dismissChild()
508 public void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild()
684 float velocity = getVelocity(mVelocityTracker); in onTouchEvent() local
750 float velocity = getVelocity(mVelocityTracker); in swipedFastEnough() local
757 protected boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DOverlayEdgeEffect.java59 public void onAbsorb(int velocity) { } in onAbsorb()

1234