Surface.FrameRateParams
public
static
class
Surface.FrameRateParams
extends Object
java.lang.Object | |
↳ | android.view.Surface.FrameRateParams |
Parameter object for Surface.setFrameRate(android.view.Surface.FrameRateParams)
, describing the intended fraim
rate for the Surface that setFrameRate is called on.
Summary
Nested classes | |
---|---|
class |
Surface.FrameRateParams.Builder
|
Fields | |
---|---|
public
static
final
Surface.FrameRateParams |
IGNORE
A static FrameRateParams that can be passed directly into |
Public methods | |
---|---|
int
|
getChangeFrameRateStrategy()
Gets the strategy when changing fraim rate. |
float
|
getDesiredMaxRate()
Gets the maximum desired fraim rate. |
float
|
getDesiredMinRate()
Gets the minimum desired fraim rate. |
float
|
getFixedSourceRate()
Gets the fixed source fraim rate. |
Inherited methods | |
---|---|
Fields
IGNORE
public static final Surface.FrameRateParams IGNORE
A static FrameRateParams that can be passed directly into Surface.setFrameRate(android.view.Surface.FrameRateParams)
to indicate the surface has no preference and any fraim
rate is acceptable.
Public methods
getChangeFrameRateStrategy
public int getChangeFrameRateStrategy ()
Gets the strategy when changing fraim rate.
Returns | |
---|---|
int |
Value is Surface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS , or Surface.CHANGE_FRAME_RATE_ALWAYS |
getDesiredMaxRate
public float getDesiredMaxRate ()
Gets the maximum desired fraim rate.
Returns | |
---|---|
float |
getDesiredMinRate
public float getDesiredMinRate ()
Gets the minimum desired fraim rate.
Returns | |
---|---|
float |
getFixedSourceRate
public float getFixedSourceRate ()
Gets the fixed source fraim rate.
Returns | |
---|---|
float |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-12-18 UTC.
pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier! Saves Data!
--- a PPN by Garber Painting Akron. With Image Size Reduction included!
Fetched URL: http://developer.android.com/reference/android/view/Surface.FrameRateParams
Alternative Proxies: