belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
Deprecated since version 26.1.0
VelocityTrackerCompat
public
final
class
VelocityTrackerCompat
extends Object
java.lang.Object | |
↳ | android.support.v4.view.VelocityTrackerCompat |
This class was deprecated
in API level 26.1.0.
Use VelocityTracker
directly.
Helper for accessing features in VelocityTracker
.
Summary
Public methods | |
---|---|
static
float
|
getXVelocity(VelocityTracker tracker, int pointerId)
This method was deprecated
in API level 26.1.0.
Use |
static
float
|
getYVelocity(VelocityTracker tracker, int pointerId)
This method was deprecated
in API level 26.1.0.
Use |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
Public methods
getXVelocity
float getXVelocity (VelocityTracker tracker, int pointerId)
This method was deprecated
in API level 26.1.0.
Use getXVelocity(int)
directly.
Call getXVelocity(int)
.
If running on a pre-HONEYCOMB
device,
returns getXVelocity()
.
Parameters | |
---|---|
tracker |
VelocityTracker |
pointerId |
int |
Returns | |
---|---|
float |
getYVelocity
float getYVelocity (VelocityTracker tracker, int pointerId)
This method was deprecated
in API level 26.1.0.
Use getYVelocity(int)
directly.
Call getYVelocity(int)
.
If running on a pre-HONEYCOMB
device,
returns getYVelocity()
.
Parameters | |
---|---|
tracker |
VelocityTracker |
pointerId |
int |
Returns | |
---|---|
float |
Annotations
Interfaces
- ActionProvider.VisibilityListener
- AsyncLayoutInflater.OnInflateFinishedListener
- LayoutInflaterFactory
- MenuItemCompat.OnActionExpandListener
- NestedScrollingChild
- NestedScrollingChild2
- NestedScrollingParent
- NestedScrollingParent2
- OnApplyWindowInsetsListener
- ScrollingView
- TintableBackgroundView
- ViewPager.OnAdapterChangeListener
- ViewPager.OnPageChangeListener
- ViewPager.PageTransformer
- ViewPropertyAnimatorListener
- ViewPropertyAnimatorUpdateListener
Classes
- AbsSavedState
- AccessibilityDelegateCompat
- ActionProvider
- AsyncLayoutInflater
- GestureDetectorCompat
- GravityCompat
- InputDeviceCompat
- LayoutInflaterCompat
- MarginLayoutParamsCompat
- MenuCompat
- MenuItemCompat
- MotionEventCompat
- NestedScrollingChildHelper
- NestedScrollingParentHelper
- PagerAdapter
- PagerTabStrip
- PagerTitleStrip
- PointerIconCompat
- ScaleGestureDetectorCompat
- VelocityTrackerCompat
- ViewCompat
- ViewConfigurationCompat
- ViewGroupCompat
- ViewPager
- ViewPager.LayoutParams
- ViewPager.SavedState
- ViewPager.SimpleOnPageChangeListener
- ViewParentCompat
- ViewPropertyAnimatorCompat
- ViewPropertyAnimatorListenerAdapter
- WindowCompat
- WindowInsetsCompat