diff options
| author | Scott Main <smain@google.com> | 2012-02-24 12:04:06 -0800 |
|---|---|---|
| committer | Scott Main <smain@google.com> | 2012-03-02 16:55:41 -0800 |
| commit | 93dc642eaf48e3db58c4929df26283fbc5fd663f (patch) | |
| tree | 14b576c266bc41b77299a7c0e6b0f41e11c16346 /core/java | |
| parent | 4143781cdea0741ce6e87967c4ab903288c3e4c3 (diff) | |
| download | frameworks_base-93dc642eaf48e3db58c4929df26283fbc5fd663f.zip frameworks_base-93dc642eaf48e3db58c4929df26283fbc5fd663f.tar.gz frameworks_base-93dc642eaf48e3db58c4929df26283fbc5fd663f.tar.bz2 | |
docs: fix misc bugs from external tracker
Change-Id: I2be617be23d0ac50baabac561d510633fa9f162a
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/view/LayoutInflater.java | 4 | ||||
| -rw-r--r-- | core/java/android/widget/RemoteViews.java | 49 |
2 files changed, 27 insertions, 26 deletions
diff --git a/core/java/android/view/LayoutInflater.java b/core/java/android/view/LayoutInflater.java index 9628d6b..3c0ee12 100644 --- a/core/java/android/view/LayoutInflater.java +++ b/core/java/android/view/LayoutInflater.java @@ -34,8 +34,8 @@ import java.lang.reflect.Constructor; import java.util.HashMap; /** - * This class is used to instantiate layout XML file into its corresponding View - * objects. It is never be used directly -- use + * Instantiates a layout XML file into its corresponding {@link android.view.View} + * objects. It is never used directly. Instead, use * {@link android.app.Activity#getLayoutInflater()} or * {@link Context#getSystemService} to retrieve a standard LayoutInflater instance * that is already hooked up to the current context and correctly configured diff --git a/core/java/android/widget/RemoteViews.java b/core/java/android/widget/RemoteViews.java index 1592061..efb8729 100644 --- a/core/java/android/widget/RemoteViews.java +++ b/core/java/android/widget/RemoteViews.java @@ -1183,7 +1183,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) { @@ -1206,7 +1206,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()}. @@ -1227,7 +1227,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, @@ -1333,7 +1333,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. */ @@ -1346,7 +1346,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 @@ -1361,7 +1361,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 */ @@ -1372,7 +1372,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) { @@ -1382,7 +1382,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) { @@ -1392,7 +1392,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. */ @@ -1403,7 +1403,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. */ @@ -1414,7 +1414,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. */ @@ -1425,7 +1425,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. */ @@ -1436,7 +1436,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. */ @@ -1447,7 +1447,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. */ @@ -1458,7 +1458,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. */ @@ -1469,7 +1469,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. */ @@ -1480,7 +1480,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. */ @@ -1491,7 +1491,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. */ @@ -1502,7 +1502,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. */ @@ -1516,7 +1516,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. */ @@ -1527,7 +1527,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. */ @@ -1536,10 +1536,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)); |
