From d8dfbef6b256777dfc0424bbfa5f0f1ce1c89130 Mon Sep 17 00:00:00 2001 From: Markus Michler Date: Wed, 2 Mar 2016 12:31:17 +0100 Subject: [PATCH] Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState() Change-Id: I772bb9fc2f09bec31276e859d21735dc4282c1f3 --- core/java/android/view/View.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index d85ea65389386..f78de73c3543a 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -10940,7 +10940,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, /** * Like {@link #getMeasuredHeightAndState()}, but only returns the - * raw width component (that is the result is masked by + * raw height component (that is the result is masked by * {@link #MEASURED_SIZE_MASK}). * * @return The raw measured height of this view. @@ -10956,7 +10956,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * This should be used during measurement and layout calculations only. Use * {@link #getHeight()} to see how wide a view is after layout. * - * @return The measured width of this view as a bit mask. + * @return The measured height of this view as a bit mask. */ @ViewDebug.ExportedProperty(category = "measurement", flagMapping = { @ViewDebug.FlagToString(mask = MEASURED_STATE_MASK, equals = MEASURED_STATE_TOO_SMALL,