summaryrefslogtreecommitdiff
path: root/core/java/android/view/WindowInsetsAnimation.java
diff options
context:
space:
mode:
authorTiger Huang <tigerhuang@google.com>2021-01-20 15:29:02 +0800
committerTiger Huang <tigerhuang@google.com>2021-01-28 15:19:14 +0800
commitc054c438157719eb66ee5af778ccccfe616ebafe (patch)
tree9891b068b52429d0769a036183b633c63505e0f6 /core/java/android/view/WindowInsetsAnimation.java
parent1ee021411844abc734ac51dbf88a16a20f0108a2 (diff)
Remove references to hidden APIs from public Javadoc
Otherwise, there will be inaccessible links which may confuse the document reader. Fix: 174863732 Test: presubmit Change-Id: I4d6763e1cc1171f7ae657886f24e27576f856180
Diffstat (limited to 'core/java/android/view/WindowInsetsAnimation.java')
-rw-r--r--core/java/android/view/WindowInsetsAnimation.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/core/java/android/view/WindowInsetsAnimation.java b/core/java/android/view/WindowInsetsAnimation.java
index cf5e7e3d3e26..ab5b5ba51a6e 100644
--- a/core/java/android/view/WindowInsetsAnimation.java
+++ b/core/java/android/view/WindowInsetsAnimation.java
@@ -61,7 +61,7 @@ public final class WindowInsetsAnimation {
}
/**
- * @return The bitmask of {@link WindowInsets.Type.InsetsType}s that are animating.
+ * @return The bitmask of {@link WindowInsets.Type}s that are animating.
*/
@WindowInsets.Type.InsetsType
public int getTypeMask() {
@@ -140,7 +140,7 @@ public final class WindowInsetsAnimation {
}
/**
- * Set fraction of the progress if {@link WindowInsets.Type.InsetsType} animation is
+ * Set fraction of the progress if {@link WindowInsets.Type} animation is
* controlled by the app.
* <p>
* Note: This should only be used for testing, as the system fills in the fraction for the
@@ -159,7 +159,7 @@ public final class WindowInsetsAnimation {
/**
* Retrieves the translucency of the windows that are animating.
*
- * @return Alpha of windows that cause insets of type {@link WindowInsets.Type.InsetsType}.
+ * @return Alpha of windows that cause insets of type {@link WindowInsets.Type}.
*/
@FloatRange(from = 0f, to = 1f)
public float getAlpha() {
@@ -174,8 +174,7 @@ public final class WindowInsetsAnimation {
* {@link WindowInsetsAnimationController#setInsetsAndAlpha(Insets, float, float)} is being
* used.
* </p>
- * @param alpha Alpha of windows that cause insets of type
- * {@link WindowInsets.Type.InsetsType}.
+ * @param alpha Alpha of windows that cause insets of type {@link WindowInsets.Type}.
* @see #getAlpha()
*/
public void setAlpha(@FloatRange(from = 0f, to = 1f) float alpha) {