Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

VelocityTrackerCompat

extends Object
java.lang.Object
   ↳ android.support.v4.view.VelocityTrackerCompat

Class Overview

Helper for accessing features in VelocityTracker introduced after API level 4 in a backwards compatible fashion.

Summary

Public Constructors
VelocityTrackerCompat ()
Public Methods
static float getXVelocity ( VelocityTracker tracker, int pointerId)
static float getYVelocity ( VelocityTracker tracker, int pointerId)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public VelocityTrackerCompat ()

Public Methods

public static float getXVelocity ( VelocityTracker tracker, int pointerId)

Call getXVelocity(int) . If running on a pre- HONEYCOMB device, returns getXVelocity() .

public static float getYVelocity ( VelocityTracker tracker, int pointerId)

Call getYVelocity(int) . If running on a pre- HONEYCOMB device, returns getYVelocity() .