From 590aade74b36daf16c7569f5e61b25cc5275eb24 Mon Sep 17 00:00:00 2001 From: ibaker Date: Thu, 18 Jun 2020 14:43:42 +0100 Subject: [PATCH] De-duplicate Cue.Builder detailed javadoc The details are available on the public fields, which are referenced with @see PiperOrigin-RevId: 317092269 --- .../google/android/exoplayer2/text/Cue.java | 45 ------------------- 1 file changed, 45 deletions(-) diff --git a/library/core/src/main/java/com/google/android/exoplayer2/text/Cue.java b/library/core/src/main/java/com/google/android/exoplayer2/text/Cue.java index b816c6608b..cb3dcbfad9 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/text/Cue.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/text/Cue.java @@ -587,39 +587,6 @@ public final class Cue { * Sets the position of the {@code lineAnchor} of the cue box within the viewport in the * direction orthogonal to the writing direction. * - *

The interpretation of the {@code line} depends on the value of {@code lineType}. - * - *

- * - *

Note that it's particularly important to consider the effect of {@link #setLineAnchor(int) - * lineAnchor} when using {@link #LINE_TYPE_NUMBER}. - * - *

- * * @see Cue#line * @see Cue#lineType */ @@ -652,10 +619,6 @@ public final class Cue { /** * Sets the cue box anchor positioned by {@link #setLine(float, int) line}. * - *

For the normal case of horizontal text, {@link #ANCHOR_TYPE_START}, {@link - * #ANCHOR_TYPE_MIDDLE} and {@link #ANCHOR_TYPE_END} correspond to the top, middle and bottom of - * the cue box respectively. - * * @see Cue#lineAnchor */ public Builder setLineAnchor(@AnchorType int lineAnchor) { @@ -677,10 +640,6 @@ public final class Cue { * Sets the fractional position of the {@link #setPositionAnchor(int) positionAnchor} of the cue * box within the viewport in the direction orthogonal to {@link #setLine(float, int) line}. * - *

For horizontal text, this is the horizontal position relative to the left of the viewport. - * Note that positioning is relative to the left of the viewport even in the case of - * right-to-left text. - * * @see Cue#position */ public Builder setPosition(float position) { @@ -701,10 +660,6 @@ public final class Cue { /** * Sets the cue box anchor positioned by {@link #setPosition(float) position}. * - *

For the normal case of horizontal text, {@link #ANCHOR_TYPE_START}, {@link - * #ANCHOR_TYPE_MIDDLE} and {@link #ANCHOR_TYPE_END} correspond to the left, middle and right of - * the cue box respectively. - * * @see Cue#positionAnchor */ public Builder setPositionAnchor(@AnchorType int positionAnchor) {