/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelView.java | 468 float vel = mVelocityTracker.getYVelocity(); in endMotionEvent() local 472 boolean expand = flingExpands(vel, vectorVel, x, y) in endMotionEvent() 482 int velocityDp = (int) Math.abs(vel / displayDensity); in endMotionEvent() 487 fling(vel, expand, isFalseTouch(x, y)); in endMotionEvent() 491 mUpdateFlingVelocity = vel; in endMotionEvent() 674 protected boolean flingExpands(float vel, float vectorVel, float x, float y) { in flingExpands() argument 685 return vel > 0; in flingExpands() 710 protected void fling(float vel, boolean expand) { in fling() argument 711 fling(vel, expand, 1.0f /* collapseSpeedUpFactor */, false); in fling() 714 protected void fling(float vel, boolean expand, boolean expandBecauseOfFalsing) { in fling() argument [all …]
|
D | KeyguardAffordanceHelper.java | 315 float vel = getCurrentVelocity(lastX, lastY); in flingWithCurrentVelocity() local 325 boolean velIsInWrongDirection = vel * mTranslation < 0; in flingWithCurrentVelocity() 326 snapBack |= Math.abs(vel) > mMinFlingVelocity && velIsInWrongDirection; in flingWithCurrentVelocity() 327 vel = snapBack ^ velIsInWrongDirection ? 0 : vel; in flingWithCurrentVelocity() 328 fling(vel, snapBack || forceSnapBack, mTranslation < 0); in flingWithCurrentVelocity() 340 private void fling(float vel, final boolean snapBack, boolean right) { in fling() argument 346 mFlingAnimationUtils.apply(animator, mTranslation, target, vel); in fling() 355 startFinishingCircleAnimation(vel * 0.375f, mAnimationEndRunnable, right); in fling() 356 mCallback.onAnimationToSideStarted(right, mTranslation, vel); in fling() 554 void onAnimationToSideStarted(boolean rightPage, float translation, float vel); in onAnimationToSideStarted() argument
|
D | NotificationPanelView.java | 859 public void fling(float vel, boolean expand) { in fling() argument 862 gr.tag("fling " + ((vel > 0) ? "open" : "closed"), "notifications,v=" + vel); in fling() 864 super.fling(vel, expand); in fling() 868 protected void flingToHeight(float vel, boolean expand, float target, in flingToHeight() argument 872 super.flingToHeight(vel, expand, target, collapseSpeedUpFactor, expandBecauseOfFalsing); in flingToHeight() 999 float vel = getCurrentQSVelocity(); in flingQsWithCurrentVelocity() local 1000 final boolean expandsQs = flingExpandsQs(vel); in flingQsWithCurrentVelocity() 1004 flingSettings(vel, expandsQs && !isCancelMotionEvent ? FLING_EXPAND : FLING_COLLAPSE); in flingQsWithCurrentVelocity() 1008 float vel = getCurrentQSVelocity(); in logQsSwipeDown() local 1014 (int) (vel / mStatusBar.getDisplayDensity())); in logQsSwipeDown() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipTouchHandler.java | 669 final PointF vel = touchState.getVelocity(); 670 final boolean isHorizontal = Math.abs(vel.x) > Math.abs(vel.y); 671 final float velocity = PointF.length(vel.x, vel.y); 675 && mMotionHelper.isGestureToDismissArea(mMotionHelper.getBounds(), vel.x, 676 vel.y, isFling); 677 final boolean isFlingToBot = isFling && vel.y > 0 && !isHorizontal 684 mMotionHelper.animateDismiss(mMotionHelper.getBounds(), vel.x, 685 vel.y, mUpdateScrimListener); 692 && (mStartedOnLeft ? vel.x < 0 : vel.x > 0); 732 mMotionHelper.flingToSnapTarget(velocity, vel.x, vel.y, mMovementBounds,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/ |
D | StackAnimationControllerTest.java | 333 DynamicAnimation.ViewProperty property, float vel, float friction, in flingThenSpringFirstBubbleWithStackFollowing() argument 337 property, vel, friction, spring, finalPosition)); in flingThenSpringFirstBubbleWithStackFollowing() 342 SpringForce spring, float vel, float finalPosition) { in springFirstBubbleWithStackFollowing() argument 345 property, spring, vel, finalPosition)); in springFirstBubbleWithStackFollowing()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | StackAnimationController.java | 315 float vel, 336 .setStartVelocity(vel) 553 float vel, float finalPosition) { 567 .setStartVelocity(vel);
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RecyclerView.java | 4703 final int vel = (int) scroller.getCurrVelocity(); in run() local 4707 velX = overscrollX < 0 ? -vel : overscrollX > 0 ? vel : 0; in run() 4712 velY = overscrollY < 0 ? -vel : overscrollY > 0 ? vel : 0; in run()
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 4743 final int vel = (int) mScroller.getCurrVelocity(); 4745 mEdgeGlowTop.onAbsorb(vel); 4747 mEdgeGlowBottom.onAbsorb(vel);
|