library/src/main/java/com/devbrackets/android/exomedia/core/video/scale/MatrixManager.java
protected void applyCenterInside(@NonNull TextureView view, @NonNull Matrix transformMatrix) {
        if(intrinsicVideoSize.y <= view.getWidth() && intrinsicVideoSize.x <= view.getHeight()) {
            applyCenter(view, transformMatrix);
        } else {
            applyFitCenter(view, transformMatrix);
        }
    }
/**
     * Applies the {@link ScaleType#CENTER_INSIDE} to the specified matrix.  This will
     * only perform scaling if the video is too large to fit completely in the <code>view</code>
     * in which case it will be scaled to fit
     *
     * @param view The view to apply the transformation to
     * @param transformMatrix The matrix to add the transformation to
     */
Applies the  ScaleType#CENTER_INSIDE to the specified matrix.  This will
only perform scaling if the video is too large to fit completely in the view
in which case it will be scaled to fit

@param view The view to apply the transformation to
@param transformMatrix The matrix to add the transformation to
Applies the ScaleType#CENTER_INSIDE to the specified matrix . This will only perform scaling if the video is too large to fit completely in the view in which case it will be scaled to fit @param view The view to apply the transformation to @param transformMatrix The matrix to add the transformation to
protected void applyCenterInside(@NonNull TextureView view, @NonNull Matrix transformMatrix) {
        if(intrinsicVideoSize.y <= view.getWidth() && intrinsicVideoSize.x <= view.getHeight()) {
            applyCenter(view, transformMatrix);
        } else {
            applyFitCenter(view, transformMatrix);
        }
    }
protected void applyCenterInside ( @ NonNull TextureView view , @ NonNull Matrix transformMatrix ) { if ( intrinsicVideoSize . y <= view . getWidth ( ) && intrinsicVideoSize . x <= view . getHeight ( ) ) { applyCenter ( view , transformMatrix ) ; } else { applyFitCenter ( view , transformMatrix ) ; } }
Applies the {@link ScaleType#CENTER_INSIDE} to the specified matrix.
Applies the { @link ScaleType#CENTER_INSIDE } to the specified matrix .