summaryrefslogtreecommitdiff
path: root/core/java/android/widget/ImageView.java
diff options
context:
space:
mode:
authorKevin Hufnagle <khufnagle@google.com>2016-09-23 15:54:42 -0700
committerKevin Hufnagle <khufnagle@google.com>2016-09-23 15:54:42 -0700
commitbdb308a059b64ed7fec1fb46a379d2fce9974c8d (patch)
tree124684e50e80287010dfb11e3bd083dc843a580c /core/java/android/widget/ImageView.java
parentd91c303e6cb0791616a868a5f0cf90dd69bb535a (diff)
docs: Added min/max values and descriptions for alpha getter/setter
in ImageView Bug: 12644483 Change-Id: I269d63b50412ecea5269acb99fc09c8110e404b4
Diffstat (limited to 'core/java/android/widget/ImageView.java')
-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 222a040d2b3c..ddebaead67a8 100644
--- a/core/java/android/widget/ImageView.java
+++ b/core/java/android/widget/ImageView.java
@@ -1419,7 +1419,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)
*/
@@ -1430,7 +1432,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()
*/