summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kevin Hufnagle <khufnagle@google.com> 2016-09-27 06:54:27 +0000
committer android-build-merger <android-build-merger@google.com> 2016-09-27 06:54:27 +0000
commit00fb45164642fdf0d887369554b60d427801549c (patch)
tree0c666664461f3c0f85354eae1be8d3cca55f1017
parentbd8c220b483acf8363d872feb6748304269503eb (diff)
parent6d53bf091c9c782d52b92961e85039d8f214a972 (diff)
docs: Added min/max values and descriptions for alpha getter/setter in ImageView am: bdb308a059 am: 3b0cfd76c2
am: 6d53bf091c Change-Id: I69480c136cbece005a3789ed27487d6ca6ad81ed
-rw-r--r--core/java/android/widget/ImageView.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/java/android/widget/ImageView.java b/core/java/android/widget/ImageView.java
index aa67c8215b04..d9cb269d8e6f 100644
--- a/core/java/android/widget/ImageView.java
+++ b/core/java/android/widget/ImageView.java
@@ -1441,7 +1441,9 @@ public class ImageView extends View {
/**
* Returns the alpha that will be applied to the drawable of this ImageView.
*
- * @return the alpha that will be applied to the drawable of this ImageView
+ * @return the alpha value that will be applied to the drawable of this
+ * ImageView (between 0 and 255 inclusive, with 0 being transparent and
+ * 255 being opaque)
*
* @see #setImageAlpha(int)
*/
@@ -1452,7 +1454,8 @@ public class ImageView extends View {
/**
* Sets the alpha value that should be applied to the image.
*
- * @param alpha the alpha value that should be applied to the image
+ * @param alpha the alpha value that should be applied to the image (between
+ * 0 and 255 inclusive, with 0 being transparent and 255 being opaque)
*
* @see #getImageAlpha()
*/