Searched refs:resizeMode (Results 1 – 2 of 2) sorted by relevance
104 @ResizeMode private int resizeMode; field in AspectRatioFrameLayout112 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() argument158 if (this.resizeMode != resizeMode) { in setResizeMode()159 this.resizeMode = resizeMode; in setResizeMode()182 switch (resizeMode) { in onMeasure()
369 int resizeMode = AspectRatioFrameLayout.RESIZE_MODE_FIT; in PlayerView() local387 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() argument635 contentFrame.setResizeMode(resizeMode); in setResizeMode()1466 private static void setResizeModeRaw(AspectRatioFrameLayout aspectRatioFrame, int resizeMode) { in setResizeModeRaw() argument1467 aspectRatioFrame.setResizeMode(resizeMode); in setResizeModeRaw()