summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorNewton Allen <newt@google.com>2013-08-13 11:22:32 -0700
committerNewton Allen <newt@google.com>2013-10-30 16:18:21 -0700
commitc502744f2ddcc80a34f5197b5d2c0d701c7d6e71 (patch)
tree1baf46988c1e72aeafeb8166a0e7988d7584d183 /core/java
parent19a2ee5d70362182200a2a25e8f86bae2045885b (diff)
downloadframeworks_base-c502744f2ddcc80a34f5197b5d2c0d701c7d6e71.zip
frameworks_base-c502744f2ddcc80a34f5197b5d2c0d701c7d6e71.tar.gz
frameworks_base-c502744f2ddcc80a34f5197b5d2c0d701c7d6e71.tar.bz2
Fix some documentation typos.
Change-Id: I0360d468d54d970c87f313e24e50965245206f28
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/app/Instrumentation.java4
-rw-r--r--core/java/android/view/Gravity.java2
-rw-r--r--core/java/android/view/View.java6
-rw-r--r--core/java/android/widget/BaseAdapter.java4
4 files changed, 8 insertions, 8 deletions
diff --git a/core/java/android/app/Instrumentation.java b/core/java/android/app/Instrumentation.java
index a307a73..028fa68 100644
--- a/core/java/android/app/Instrumentation.java
+++ b/core/java/android/app/Instrumentation.java
@@ -1213,8 +1213,8 @@ public class Instrumentation {
}
/**
- * Perform calling of an activity's {@link Activity#onPause} method. The
- * default implementation simply calls through to that method.
+ * Perform calling of an activity's {@link Activity#onSaveInstanceState}
+ * method. The default implementation simply calls through to that method.
*
* @param activity The activity being saved.
* @param outState The bundle to pass to the call.
diff --git a/core/java/android/view/Gravity.java b/core/java/android/view/Gravity.java
index 9a89fa5..324a1ae 100644
--- a/core/java/android/view/Gravity.java
+++ b/core/java/android/view/Gravity.java
@@ -123,7 +123,7 @@ public class Gravity
public static final int RELATIVE_HORIZONTAL_GRAVITY_MASK = START | END;
/**
- * Apply a gravity constant to an object. This suppose that the layout direction is LTR.
+ * Apply a gravity constant to an object. This supposes that the layout direction is LTR.
*
* @param gravity The desired placement of the object, as defined by the
* constants in this class.
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index 75dfdaf..1c3688d 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -9184,9 +9184,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
*/
public interface OnLayoutChangeListener {
/**
- * Called when the focus state of a view has changed.
+ * Called when the layout bounds of a view changes due to layout processing.
*
- * @param v The view whose state has changed.
+ * @param v The view whose bounds have changed.
* @param left The new value of the view's left property.
* @param top The new value of the view's top property.
* @param right The new value of the view's right property.
@@ -10427,7 +10427,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
}
/**
- * The horizontal location of this view relative to its {@link #getTop() top} position.
+ * The vertical location of this view relative to its {@link #getTop() top} position.
* This position is post-layout, in addition to wherever the object's
* layout placed it.
*
diff --git a/core/java/android/widget/BaseAdapter.java b/core/java/android/widget/BaseAdapter.java
index 401fcb8..c960342 100644
--- a/core/java/android/widget/BaseAdapter.java
+++ b/core/java/android/widget/BaseAdapter.java
@@ -24,8 +24,8 @@ import android.view.ViewGroup;
/**
* Common base class of common implementation for an {@link Adapter} that can be
* used in both {@link ListView} (by implementing the specialized
- * {@link ListAdapter} interface} and {@link Spinner} (by implementing the
- * specialized {@link SpinnerAdapter} interface.
+ * {@link ListAdapter} interface) and {@link Spinner} (by implementing the
+ * specialized {@link SpinnerAdapter} interface).
*/
public abstract class BaseAdapter implements ListAdapter, SpinnerAdapter {
private final DataSetObservable mDataSetObservable = new DataSetObservable();