to top
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

? Examples
VelocityTrackerCompat()
Public Methods

? Examples
static float getXVelocity( VelocityTracker tracker, int pointerId)

? Examples
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().

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.