Remove Transformer deprecated methods that were never released

#minor-release

PiperOrigin-RevId: 427965501
This commit is contained in:
kimvde 2022-02-11 11:43:55 +00:00 committed by Ian Baker
parent 1ddfe194bf
commit af647ed4a8

View File

@ -26,7 +26,6 @@ import static java.lang.Math.min;
import static java.lang.annotation.ElementType.TYPE_USE; import static java.lang.annotation.ElementType.TYPE_USE;
import android.content.Context; import android.content.Context;
import android.graphics.Matrix;
import android.os.Handler; import android.os.Handler;
import android.os.Looper; import android.os.Looper;
import android.os.ParcelFileDescriptor; import android.os.ParcelFileDescriptor;
@ -223,24 +222,6 @@ public final class Transformer {
return this; return this;
} }
/** @deprecated Use {@link TransformationRequest.Builder#setResolution(int)} instead. */
@Deprecated
public Builder setResolution(int outputHeight) {
transformationRequest = transformationRequest.buildUpon().setResolution(outputHeight).build();
return this;
}
/**
* @deprecated Use {@link TransformationRequest.Builder#setTransformationMatrix(Matrix)}
* instead.
*/
@Deprecated
public Builder setTransformationMatrix(Matrix transformationMatrix) {
transformationRequest =
transformationRequest.buildUpon().setTransformationMatrix(transformationMatrix).build();
return this;
}
/** /**
* @deprecated This feature will be removed in a following release and the MIME type of the * @deprecated This feature will be removed in a following release and the MIME type of the
* output will always be MP4. * output will always be MP4.
@ -251,22 +232,6 @@ public final class Transformer {
return this; return this;
} }
/** @deprecated Use {@link TransformationRequest.Builder#setVideoMimeType(String)} instead. */
@Deprecated
public Builder setVideoMimeType(String videoMimeType) {
transformationRequest =
transformationRequest.buildUpon().setVideoMimeType(videoMimeType).build();
return this;
}
/** @deprecated Use {@link TransformationRequest.Builder#setAudioMimeType(String)} instead. */
@Deprecated
public Builder setAudioMimeType(String audioMimeType) {
transformationRequest =
transformationRequest.buildUpon().setAudioMimeType(audioMimeType).build();
return this;
}
/** /**
* @deprecated Use {@link #addListener(Listener)}, {@link #removeListener(Listener)} or {@link * @deprecated Use {@link #addListener(Listener)}, {@link #removeListener(Listener)} or {@link
* #removeAllListeners()} instead. * #removeAllListeners()} instead.