diff --git a/demos/transformer/src/main/java/com/google/android/exoplayer2/transformerdemo/MatrixTransformationFactory.java b/demos/transformer/src/main/java/com/google/android/exoplayer2/transformerdemo/MatrixTransformationFactory.java index 042dd88c756..df9ccf49065 100644 --- a/demos/transformer/src/main/java/com/google/android/exoplayer2/transformerdemo/MatrixTransformationFactory.java +++ b/demos/transformer/src/main/java/com/google/android/exoplayer2/transformerdemo/MatrixTransformationFactory.java @@ -28,7 +28,7 @@ */ /* package */ final class MatrixTransformationFactory { /** - * Returns a {@link MatrixTransformation} that rescales the frames over the first {@value + * Returns a {@link MatrixTransformation} that rescales the frames over the first {@link * #ZOOM_DURATION_SECONDS} seconds, such that the rectangle filled with the input frame increases * linearly in size from a single point to filling the full output frame. */ diff --git a/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/ImaAdsLoader.java b/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/ImaAdsLoader.java index 9d1105d7571..e327d761d36 100644 --- a/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/ImaAdsLoader.java +++ b/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/ImaAdsLoader.java @@ -264,7 +264,7 @@ public Builder setEnableContinuousPlayback(boolean enableContinuousPlayback) { /** * Sets the duration in milliseconds for which the player must buffer while preloading an ad * group before that ad group is skipped and marked as having failed to load. Pass {@link - * C#TIME_UNSET} if there should be no such timeout. The default value is {@value + * C#TIME_UNSET} if there should be no such timeout. The default value is {@link * #DEFAULT_AD_PRELOAD_TIMEOUT_MS} ms. * *

The purpose of this timeout is to avoid playback getting stuck in the unexpected case that diff --git a/library/common/src/main/java/com/google/android/exoplayer2/audio/AuxEffectInfo.java b/library/common/src/main/java/com/google/android/exoplayer2/audio/AuxEffectInfo.java index f3ea686210f..78565d04406 100644 --- a/library/common/src/main/java/com/google/android/exoplayer2/audio/AuxEffectInfo.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/audio/AuxEffectInfo.java @@ -50,12 +50,12 @@ public final class AuxEffectInfo { * Creates an instance with the given effect identifier and send level. * * @param effectId The effect identifier. This is the value returned by {@link - * AudioEffect#getId()} on the effect, or {@value #NO_AUX_EFFECT_ID} which represents no + * AudioEffect#getId()} on the effect, or {@link #NO_AUX_EFFECT_ID} which represents no * effect. This value is passed to {@link AudioTrack#attachAuxEffect(int)} on the underlying * audio track. * @param sendLevel The send level for the effect, where 0 represents no effect and a value of 1 - * is full send. If {@code effectId} is not {@value #NO_AUX_EFFECT_ID}, this value is passed - * to {@link AudioTrack#setAuxEffectSendLevel(float)} on the underlying audio track. + * is full send. If {@code effectId} is not {@link #NO_AUX_EFFECT_ID}, this value is passed to + * {@link AudioTrack#setAuxEffectSendLevel(float)} on the underlying audio track. */ public AuxEffectInfo(int effectId, float sendLevel) { this.effectId = effectId; diff --git a/library/common/src/main/java/com/google/android/exoplayer2/util/GlUtil.java b/library/common/src/main/java/com/google/android/exoplayer2/util/GlUtil.java index 4a2193326aa..5cac727b3e7 100644 --- a/library/common/src/main/java/com/google/android/exoplayer2/util/GlUtil.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/util/GlUtil.java @@ -151,7 +151,7 @@ public static float[] createVertexBuffer(List vertexList) { } /** - * Returns whether creating a GL context with {@value #EXTENSION_PROTECTED_CONTENT} is possible. + * Returns whether creating a GL context with {@link #EXTENSION_PROTECTED_CONTENT} is possible. * *

If {@code true}, the device supports a protected output path for DRM content when using GL. */ @@ -180,7 +180,7 @@ public static boolean isProtectedContentExtensionSupported(Context context) { } /** - * Returns whether the {@value #EXTENSION_SURFACELESS_CONTEXT} extension is supported. + * Returns whether the {@link #EXTENSION_SURFACELESS_CONTEXT} extension is supported. * *

This extension allows passing {@link EGL14#EGL_NO_SURFACE} for both the write and read * surfaces in a call to {@link EGL14#eglMakeCurrent(EGLDisplay, EGLSurface, EGLSurface, @@ -196,7 +196,7 @@ public static boolean isSurfacelessContextExtensionSupported() { } /** - * Returns whether the {@value #EXTENSION_YUV_TARGET} extension is supported. + * Returns whether the {@link #EXTENSION_YUV_TARGET} extension is supported. * *

This extension allows sampling raw YUV values from an external texture, which is required * for HDR input. @@ -225,7 +225,7 @@ public static boolean isYuvTargetExtensionSupported() { return glExtensions != null && glExtensions.contains(EXTENSION_YUV_TARGET); } - /** Returns whether {@value #EXTENSION_COLORSPACE_BT2020_PQ} is supported. */ + /** Returns whether {@link #EXTENSION_COLORSPACE_BT2020_PQ} is supported. */ public static boolean isBt2020PqExtensionSupported() { EGLDisplay display = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); @Nullable String eglExtensions = EGL14.eglQueryString(display, EGL10.EGL_EXTENSIONS); diff --git a/library/core/src/main/java/com/google/android/exoplayer2/audio/DefaultAudioTrackBufferSizeProvider.java b/library/core/src/main/java/com/google/android/exoplayer2/audio/DefaultAudioTrackBufferSizeProvider.java index 2e774551fad..b4e03a8df85 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/audio/DefaultAudioTrackBufferSizeProvider.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/audio/DefaultAudioTrackBufferSizeProvider.java @@ -72,7 +72,7 @@ public Builder() { /** * Sets the minimum length for PCM {@link AudioTrack} buffers, in microseconds. Default is - * {@value #MIN_PCM_BUFFER_DURATION_US}. + * {@link #MIN_PCM_BUFFER_DURATION_US}. */ @CanIgnoreReturnValue public Builder setMinPcmBufferDurationUs(int minPcmBufferDurationUs) { @@ -82,7 +82,7 @@ public Builder setMinPcmBufferDurationUs(int minPcmBufferDurationUs) { /** * Sets the maximum length for PCM {@link AudioTrack} buffers, in microseconds. Default is - * {@value #MAX_PCM_BUFFER_DURATION_US}. + * {@link #MAX_PCM_BUFFER_DURATION_US}. */ @CanIgnoreReturnValue public Builder setMaxPcmBufferDurationUs(int maxPcmBufferDurationUs) { @@ -92,7 +92,7 @@ public Builder setMaxPcmBufferDurationUs(int maxPcmBufferDurationUs) { /** * Sets the multiplication factor to apply to the minimum buffer size requested. Default is - * {@value #PCM_BUFFER_MULTIPLICATION_FACTOR}. + * {@link #PCM_BUFFER_MULTIPLICATION_FACTOR}. */ @CanIgnoreReturnValue public Builder setPcmBufferMultiplicationFactor(int pcmBufferMultiplicationFactor) { @@ -102,7 +102,7 @@ public Builder setPcmBufferMultiplicationFactor(int pcmBufferMultiplicationFacto /** * Sets the length for passthrough {@link AudioTrack} buffers, in microseconds. Default is - * {@value #PASSTHROUGH_BUFFER_DURATION_US}. + * {@link #PASSTHROUGH_BUFFER_DURATION_US}. */ @CanIgnoreReturnValue public Builder setPassthroughBufferDurationUs(int passthroughBufferDurationUs) { @@ -111,7 +111,7 @@ public Builder setPassthroughBufferDurationUs(int passthroughBufferDurationUs) { } /** - * The length for offload {@link AudioTrack} buffers, in microseconds. Default is {@value + * The length for offload {@link AudioTrack} buffers, in microseconds. Default is {@link * #OFFLOAD_BUFFER_DURATION_US}. */ @CanIgnoreReturnValue @@ -122,7 +122,7 @@ public Builder setOffloadBufferDurationUs(int offloadBufferDurationUs) { /** * Sets the multiplication factor to apply to the passthrough buffer for AC3 to avoid underruns - * on some devices (e.g., Broadcom 7271). Default is {@value #AC3_BUFFER_MULTIPLICATION_FACTOR}. + * on some devices (e.g., Broadcom 7271). Default is {@link #AC3_BUFFER_MULTIPLICATION_FACTOR}. */ @CanIgnoreReturnValue public Builder setAc3BufferMultiplicationFactor(int ac3BufferMultiplicationFactor) {