mirror of
https://github.com/androidx/media.git
synced 2025-05-08 08:00:49 +08:00
Ensure changes are reflected into attrs
PiperOrigin-RevId: 222628386
This commit is contained in:
parent
e99c904179
commit
2d808010ee
@ -241,11 +241,7 @@ import java.util.List;
|
||||
*/
|
||||
public class PlayerView extends FrameLayout {
|
||||
|
||||
private static final int SURFACE_TYPE_NONE = 0;
|
||||
private static final int SURFACE_TYPE_SURFACE_VIEW = 1;
|
||||
private static final int SURFACE_TYPE_TEXTURE_VIEW = 2;
|
||||
private static final int SURFACE_TYPE_MONO360_VIEW = 3;
|
||||
|
||||
// LINT.IfChange
|
||||
/**
|
||||
* Determines when the buffering view is shown. One of {@link #SHOW_BUFFERING_NEVER}, {@link
|
||||
* #SHOW_BUFFERING_WHEN_PLAYING} or {@link #SHOW_BUFFERING_ALWAYS}.
|
||||
@ -266,6 +262,14 @@ public class PlayerView extends FrameLayout {
|
||||
* buffering} state.
|
||||
*/
|
||||
public static final int SHOW_BUFFERING_ALWAYS = 2;
|
||||
// LINT.ThenChange(../../../../../../res/values/attrs.xml)
|
||||
|
||||
// LINT.IfChange
|
||||
private static final int SURFACE_TYPE_NONE = 0;
|
||||
private static final int SURFACE_TYPE_SURFACE_VIEW = 1;
|
||||
private static final int SURFACE_TYPE_TEXTURE_VIEW = 2;
|
||||
private static final int SURFACE_TYPE_MONO360_VIEW = 3;
|
||||
// LINT.ThenChange(../../../../../../res/values/attrs.xml)
|
||||
|
||||
private final AspectRatioFrameLayout contentFrame;
|
||||
private final View shutterView;
|
||||
|
Loading…
x
Reference in New Issue
Block a user