summaryrefslogtreecommitdiffstats
path: root/core/java/android/widget/RemoteViews.java
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2012-03-05 10:09:44 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-03-05 10:09:44 -0800
commitb8b36b8b78e408f8b95cbf1ec7bfd87f30e8da7b (patch)
tree518aa7487c46878ee1ac143ec7ad218249cc363b /core/java/android/widget/RemoteViews.java
parent02b693ecd4d13e75b2bae5972242c1c23cf98764 (diff)
parentdc022a6f9aa30d9282c4f82c1cc4d1c8bde7e808 (diff)
downloadframeworks_base-b8b36b8b78e408f8b95cbf1ec7bfd87f30e8da7b.zip
frameworks_base-b8b36b8b78e408f8b95cbf1ec7bfd87f30e8da7b.tar.gz
frameworks_base-b8b36b8b78e408f8b95cbf1ec7bfd87f30e8da7b.tar.bz2
am dc022a6f: am 08e91352: am 93dc642e: docs: fix misc bugs from external tracker
* commit 'dc022a6f9aa30d9282c4f82c1cc4d1c8bde7e808': docs: fix misc bugs from external tracker
Diffstat (limited to 'core/java/android/widget/RemoteViews.java')
-rw-r--r--core/java/android/widget/RemoteViews.java49
1 files changed, 25 insertions, 24 deletions
diff --git a/core/java/android/widget/RemoteViews.java b/core/java/android/widget/RemoteViews.java
index 62afd61..55acb74 100644
--- a/core/java/android/widget/RemoteViews.java
+++ b/core/java/android/widget/RemoteViews.java
@@ -1217,7 +1217,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Equivalent to calling ImageView.setImageBitmap
*
- * @param viewId The id of the view whose drawable should change
+ * @param viewId The id of the view whose bitmap should change
* @param bitmap The new Bitmap for the drawable
*/
public void setImageViewBitmap(int viewId, Bitmap bitmap) {
@@ -1240,7 +1240,7 @@ public class RemoteViews implements Parcelable, Filter {
* and {@link Chronometer#start Chronometer.start()} or
* {@link Chronometer#stop Chronometer.stop()}.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the {@link Chronometer} to change
* @param base The time at which the timer would have read 0:00. This
* time should be based off of
* {@link android.os.SystemClock#elapsedRealtime SystemClock.elapsedRealtime()}.
@@ -1261,7 +1261,7 @@ public class RemoteViews implements Parcelable, Filter {
*
* If indeterminate is true, then the values for max and progress are ignored.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the {@link ProgressBar} to change
* @param max The 100% value for the progress bar
* @param progress The current value of the progress bar.
* @param indeterminate True if the progress bar is indeterminate,
@@ -1367,7 +1367,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Equivalent to calling {@link android.widget.TextView#setTextColor(int)}.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view whose text color should change
* @param color Sets the text color for all the states (normal, selected,
* focused) to be this color.
*/
@@ -1380,7 +1380,7 @@ public class RemoteViews implements Parcelable, Filter {
*
* @param appWidgetId The id of the app widget which contains the specified view. (This
* parameter is ignored in this deprecated method)
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the {@link AbsListView}
* @param intent The intent of the service which will be
* providing data to the RemoteViewsAdapter
* @deprecated This method has been deprecated. See
@@ -1395,7 +1395,7 @@ public class RemoteViews implements Parcelable, Filter {
* Equivalent to calling {@link android.widget.AbsListView#setRemoteViewsAdapter(Intent)}.
* Can only be used for App Widgets.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the {@link AbsListView}
* @param intent The intent of the service which will be
* providing data to the RemoteViewsAdapter
*/
@@ -1406,7 +1406,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Equivalent to calling {@link android.widget.AbsListView#smoothScrollToPosition(int, int)}.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view to change
* @param position Scroll to this adapter position
*/
public void setScrollPosition(int viewId, int position) {
@@ -1416,7 +1416,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Equivalent to calling {@link android.widget.AbsListView#smoothScrollToPosition(int, int)}.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view to change
* @param offset Scroll by this adapter position offset
*/
public void setRelativeScrollPosition(int viewId, int offset) {
@@ -1426,7 +1426,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Call a method taking one boolean on a view in the layout for this RemoteViews.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view on which to call the method.
* @param methodName The name of the method to call.
* @param value The value to pass to the method.
*/
@@ -1437,7 +1437,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Call a method taking one byte on a view in the layout for this RemoteViews.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view on which to call the method.
* @param methodName The name of the method to call.
* @param value The value to pass to the method.
*/
@@ -1448,7 +1448,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Call a method taking one short on a view in the layout for this RemoteViews.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view on which to call the method.
* @param methodName The name of the method to call.
* @param value The value to pass to the method.
*/
@@ -1459,7 +1459,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Call a method taking one int on a view in the layout for this RemoteViews.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view on which to call the method.
* @param methodName The name of the method to call.
* @param value The value to pass to the method.
*/
@@ -1470,7 +1470,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Call a method taking one long on a view in the layout for this RemoteViews.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view on which to call the method.
* @param methodName The name of the method to call.
* @param value The value to pass to the method.
*/
@@ -1481,7 +1481,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Call a method taking one float on a view in the layout for this RemoteViews.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view on which to call the method.
* @param methodName The name of the method to call.
* @param value The value to pass to the method.
*/
@@ -1492,7 +1492,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Call a method taking one double on a view in the layout for this RemoteViews.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view on which to call the method.
* @param methodName The name of the method to call.
* @param value The value to pass to the method.
*/
@@ -1503,7 +1503,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Call a method taking one char on a view in the layout for this RemoteViews.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view on which to call the method.
* @param methodName The name of the method to call.
* @param value The value to pass to the method.
*/
@@ -1514,7 +1514,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Call a method taking one String on a view in the layout for this RemoteViews.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view on which to call the method.
* @param methodName The name of the method to call.
* @param value The value to pass to the method.
*/
@@ -1525,7 +1525,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Call a method taking one CharSequence on a view in the layout for this RemoteViews.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view on which to call the method.
* @param methodName The name of the method to call.
* @param value The value to pass to the method.
*/
@@ -1536,7 +1536,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Call a method taking one Uri on a view in the layout for this RemoteViews.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view on which to call the method.
* @param methodName The name of the method to call.
* @param value The value to pass to the method.
*/
@@ -1550,7 +1550,7 @@ public class RemoteViews implements Parcelable, Filter {
* <p class="note">The bitmap will be flattened into the parcel if this object is
* sent across processes, so it may end up using a lot of memory, and may be fairly slow.</p>
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view on which to call the method.
* @param methodName The name of the method to call.
* @param value The value to pass to the method.
*/
@@ -1561,7 +1561,7 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Call a method taking one Bundle on a view in the layout for this RemoteViews.
*
- * @param viewId The id of the view whose text should change
+ * @param viewId The id of the view on which to call the method.
* @param methodName The name of the method to call.
* @param value The value to pass to the method.
*/
@@ -1570,10 +1570,11 @@ public class RemoteViews implements Parcelable, Filter {
}
/**
+ * Call a method taking one Intent on a view in the layout for this RemoteViews.
*
- * @param viewId
- * @param methodName
- * @param value
+ * @param viewId The id of the view on which to call the method.
+ * @param methodName The name of the method to call.
+ * @param value The {@link android.content.Intent} to pass the method.
*/
public void setIntent(int viewId, String methodName, Intent value) {
addAction(new ReflectionAction(viewId, methodName, ReflectionAction.INTENT, value));