FrameRateVelocityPoint


public final class FrameRateVelocityPoint
extends Object implements Parcelable

java.lang.Object
   ↳ android.view.FrameRateVelocityPoint


Contains the frame rate / velocity values. The velocity value can be used as a threshold value to determine a feasible frame rate For example, if the velocity is greater than 300 dp (density-independent pixels) per second, then we need frame rate to be 120 to ensure the smoothness.

Summary

Inherited constants

Fields

public static final Creator<FrameRateVelocityPoint> CREATOR

Public constructors

FrameRateVelocityPoint(float framePerSecond, float dpPerSecond)

Public methods

int describeContents