-
public class MatrixManager
-
-
Field Summary
Fields Modifier and Type Field Description protected PointintrinsicVideoSizeprotected intcurrentRotationprotected ScaleTypecurrentScaleType
-
Method Summary
Modifier and Type Method Description voidreset()booleanready()voidrotate(View view, int rotation)booleanscale(View view, ScaleType scaleType)Performs the requested scaling on the view's matrixintgetCurrentRotation()ScaleTypegetCurrentScaleType()voidsetIntrinsicVideoSize(int width, int height)-
-
Method Detail
-
reset
void reset()
-
ready
boolean ready()
-
scale
boolean scale(View view, ScaleType scaleType)
Performs the requested scaling on the
view's matrix- Parameters:
view- The View to alter the matrix to achieve the requested scale typescaleType- The type of scaling to use for the specified view
-
getCurrentRotation
int getCurrentRotation()
-
getCurrentScaleType
@NonNull() ScaleType getCurrentScaleType()
-
setIntrinsicVideoSize
void setIntrinsicVideoSize(int width, int height)
-
-
-
-