Home
last modified time | relevance | path

Searched refs:resizeMode (Results 1 – 2 of 2) sorted by relevance

/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DAspectRatioFrameLayout.java104 @ResizeMode private int resizeMode; field in AspectRatioFrameLayout
112 resizeMode = RESIZE_MODE_FIT; in AspectRatioFrameLayout()
117 resizeMode = a.getInt(R.styleable.AspectRatioFrameLayout_resize_mode, RESIZE_MODE_FIT); in AspectRatioFrameLayout()
149 return resizeMode; in getResizeMode()
157 public void setResizeMode(@ResizeMode int resizeMode) { in setResizeMode() argument
158 if (this.resizeMode != resizeMode) { in setResizeMode()
159 this.resizeMode = resizeMode; in setResizeMode()
182 switch (resizeMode) { in onMeasure()
DPlayerView.java369 int resizeMode = AspectRatioFrameLayout.RESIZE_MODE_FIT; in PlayerView() local
387 resizeMode = a.getInt(R.styleable.PlayerView_resize_mode, resizeMode); in PlayerView()
412 setResizeModeRaw(contentFrame, resizeMode); in PlayerView()
633 public void setResizeMode(@ResizeMode int resizeMode) { in setResizeMode() argument
635 contentFrame.setResizeMode(resizeMode); in setResizeMode()
1466 private static void setResizeModeRaw(AspectRatioFrameLayout aspectRatioFrame, int resizeMode) { in setResizeModeRaw() argument
1467 aspectRatioFrame.setResizeMode(resizeMode); in setResizeModeRaw()