Back to Exoplayer

Presentation.Layout (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/effect/Presentation.Layout.html

latest1.3 KB
Original Source

Package com.google.android.exoplayer2.effect

Annotation Type Presentation.Layout


[@Documented](https://developer.android.com/reference/java/lang/annotation/Documented.html "class or interface in java.lang.annotation")[@Retention](https://developer.android.com/reference/java/lang/annotation/Retention.html "class or interface in java.lang.annotation")([SOURCE](https://developer.android.com/reference/java/lang/annotation/RetentionPolicy.html?is-external=true#SOURCE "class or interface in java.lang.annotation"))[@Target](https://developer.android.com/reference/java/lang/annotation/Target.html "class or interface in java.lang.annotation")([TYPE\_USE](https://developer.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#TYPE_USE "class or interface in java.lang.annotation"))
public static @interfacePresentation.Layout

Strategies controlling the layout of input pixels in the output frame.

One of Presentation.LAYOUT_SCALE_TO_FIT, Presentation.LAYOUT_SCALE_TO_FIT_WITH_CROP, or Presentation.LAYOUT_STRETCH_TO_FIT.

May scale either width or height, leaving the other output dimension equal to its input.