Searched refs:initialVelocity (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | AnimateToScene.kt | 81 initialVelocity = transitionState.progressVelocity, in animateToScene() 102 initialVelocity = transitionState.progressVelocity, in animateToScene() 152 initialVelocity: Float = 0f, in CoroutineScope() 201 animatable.animateTo(targetProgress, animationSpec, initialVelocity) in CoroutineScope()
|
D | DraggableHandler.kt | 377 initialVelocity = velocity, in onStop() 679 initialVelocity: Float, in animateOffset() 720 initialVelocity = initialVelocity, in animateOffset() 793 initialVelocity = 0f, in finish()
|
/frameworks/base/core/java/android/widget/ |
D | Gallery.java | 1490 public void startUsingVelocity(int initialVelocity) { in startUsingVelocity() argument 1491 if (initialVelocity == 0) return; in startUsingVelocity() 1495 int initialX = initialVelocity < 0 ? Integer.MAX_VALUE : 0; in startUsingVelocity() 1497 mScroller.fling(initialX, 0, initialVelocity, 0, in startUsingVelocity()
|
D | AbsListView.java | 4287 final int initialVelocity = (int) in onTouchUp() 4293 boolean flingVelocity = Math.abs(initialVelocity) > mMinimumVelocity; in onTouchUp() 4295 if (shouldAbsorb(mEdgeGlowTop, initialVelocity)) { in onTouchUp() 4296 mEdgeGlowTop.onAbsorb(initialVelocity); in onTouchUp() 4301 mFlingRunnable.start(-initialVelocity); in onTouchUp() 4304 if (shouldAbsorb(mEdgeGlowBottom, -initialVelocity)) { in onTouchUp() 4305 mEdgeGlowBottom.onAbsorb(-initialVelocity); in onTouchUp() 4310 mFlingRunnable.start(-initialVelocity); in onTouchUp() 4318 if (!dispatchNestedPreFling(0, -initialVelocity)) { in onTouchUp() 4323 mFlingRunnable.start(-initialVelocity); in onTouchUp() [all …]
|
D | HorizontalScrollView.java | 800 int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId); in onTouchEvent() local 803 if ((Math.abs(initialVelocity) > mMinimumVelocity)) { in onTouchEvent() 804 fling(-initialVelocity); in onTouchEvent()
|
D | ScrollView.java | 910 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchEvent() local 912 if ((Math.abs(initialVelocity) > mMinimumVelocity)) { in onTouchEvent() 913 flingWithNestedDispatch(-initialVelocity); in onTouchEvent()
|
D | NumberPicker.java | 980 int initialVelocity = (int) velocityTracker.getYVelocity(); in onTouchEvent() local 981 if (Math.abs(initialVelocity) > mMinimumFlingVelocity) { in onTouchEvent() 982 fling(initialVelocity); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 2636 private boolean shouldOverScrollFling(int initialVelocity) { 2641 && (initialVelocity > mMinimumVelocity 2642 || (topOverScroll > mMinTopOverScrollToEscape && initialVelocity > 0)); 3659 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onScrollTouch() local 3661 if (shouldOverScrollFling(initialVelocity)) { in onScrollTouch() 3662 onOverScrollFling(true, initialVelocity); in onScrollTouch() 3665 if ((Math.abs(initialVelocity) > mMinimumVelocity)) { in onScrollTouch() 3667 if (currentOverScrollTop == 0.0f || initialVelocity > 0) { in onScrollTouch() 3675 fling(-initialVelocity); in onScrollTouch() 3677 onOverScrollFling(false, initialVelocity); in onScrollTouch() [all …]
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/ |
D | CustomizedAppBar.kt | 591 initialVelocity = velocity, in settleAppBar()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 2030 … final int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId); 2049 currentPage, nextPageOffset, initialVelocity, totalDelta); 2050 setCurrentItemInternal(nextPage, true, true, initialVelocity);
|