library/src/main/java/com/devbrackets/android/exomedia/core/video/scale/MatrixManager.java
protected void applyCenter(@NonNull TextureView view, @NonNull Matrix transformMatrix) {
        float xScale = (float) intrinsicVideoSize.x / view.getWidth();
        float yScale = (float) intrinsicVideoSize.y / view.getHeight();

        applyScale(view, transformMatrix, xScale, yScale);
    }
/**
     * Applies the {@link ScaleType#CENTER} to the specified matrix.  This will
     * perform no scaling as this just indicates that the video should be centered
     * in the View
     *
     * @param view The view to apply the transformation to
     * @param transformMatrix The matrix to add the transformation to
     */
Applies the  ScaleType#CENTER to the specified matrix.  This will
perform no scaling as this just indicates that the video should be centered
in the View

@param view The view to apply the transformation to
@param transformMatrix The matrix to add the transformation to
Applies the ScaleType#CENTER to the specified matrix . This will perform no scaling as this just indicates that the video should be centered in the View @param view The view to apply the transformation to @param transformMatrix The matrix to add the transformation to
protected void applyCenter(@NonNull TextureView view, @NonNull Matrix transformMatrix) {
        float xScale = (float) intrinsicVideoSize.x / view.getWidth();
        float yScale = (float) intrinsicVideoSize.y / view.getHeight();
        applyScale(view, transformMatrix, xScale, yScale);
    }
protected void applyCenter ( @ NonNull TextureView view , @ NonNull Matrix transformMatrix ) { float xScale = ( float ) intrinsicVideoSize . x / view . getWidth ( ) ; float yScale = ( float ) intrinsicVideoSize . y / view . getHeight ( ) ; applyScale ( view , transformMatrix , xScale , yScale ) ; }
Applies the {@link ScaleType#CENTER} to the specified matrix.
Applies the { @link ScaleType#CENTER } to the specified matrix .