public class AutofitTextureView
extends TextureView
Constructor and Description |
---|
AutofitTextureView(Context context) |
AutofitTextureView(Context context,
AttributeSet attrs) |
AutofitTextureView(Context context,
AttributeSet attrs,
int defStyleAttr) |
Modifier and Type | Method and Description |
---|---|
protected void |
onMeasure(int widthMeasureSpec,
int heightMeasureSpec) |
void |
setAspectRatio(int width,
int height) |