summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Katie McCormick <kmccormick@google.com> 2013-11-26 21:56:08 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2013-11-26 21:56:09 +0000
commit9d0a88bd4e07deac01d7759b70cdf160456be1c0 (patch)
treee07108a9ecd6cf99ef33393278da82b31399a930
parent752d8029176d3670b9e817d8465d854d4a1b933e (diff)
parentf2ef28d840647d2f16792313bdc22b2114a5df6a (diff)
Merge "Doc updates: Javadoc fixes" into klp-docs
-rw-r--r--core/java/android/app/PendingIntent.java4
-rw-r--r--core/java/android/hardware/SensorManager.java4
-rw-r--r--core/java/android/widget/ShareActionProvider.java2
-rw-r--r--graphics/java/android/graphics/ColorMatrix.java2
4 files changed, 6 insertions, 6 deletions
diff --git a/core/java/android/app/PendingIntent.java b/core/java/android/app/PendingIntent.java
index bdd0adbbb436..be6f8188b981 100644
--- a/core/java/android/app/PendingIntent.java
+++ b/core/java/android/app/PendingIntent.java
@@ -96,8 +96,8 @@ public final class PendingIntent implements Parcelable {
public static final int FLAG_ONE_SHOT = 1<<30;
/**
* Flag for use with {@link #getActivity}, {@link #getBroadcast}, and
- * {@link #getService}: if the described PendingIntent does not already
- * exist, then simply return null instead of creating it.
+ * {@link #getService}: if the described PendingIntent already exists,
+ * then simply return null instead of creating it.
*/
public static final int FLAG_NO_CREATE = 1<<29;
/**
diff --git a/core/java/android/hardware/SensorManager.java b/core/java/android/hardware/SensorManager.java
index b93131308316..8c231296028f 100644
--- a/core/java/android/hardware/SensorManager.java
+++ b/core/java/android/hardware/SensorManager.java
@@ -1056,8 +1056,8 @@ public abstract class SensorManager {
* is mapped.
*
* @param outR
- * the transformed rotation matrix. inR and outR can be the same
- * array, but it is not recommended for performance reason.
+ * the transformed rotation matrix. inR and outR should not be the same
+ * array.
*
* @return <code>true</code> on success. <code>false</code> if the input
* parameters are incorrect, for instance if X and Y define the same
diff --git a/core/java/android/widget/ShareActionProvider.java b/core/java/android/widget/ShareActionProvider.java
index 62afd2eef1e1..bdaaa0164ceb 100644
--- a/core/java/android/widget/ShareActionProvider.java
+++ b/core/java/android/widget/ShareActionProvider.java
@@ -266,7 +266,7 @@ public class ShareActionProvider extends ActionProvider {
* Intent shareIntent = new Intent(Intent.ACTION_SEND);
* shareIntent.setType("image/*");
* Uri uri = Uri.fromFile(new File(getFilesDir(), "foo.jpg"));
- * shareIntent.putExtra(Intent.EXTRA_STREAM, uri.toString());</pre>
+ * shareIntent.putExtra(Intent.EXTRA_STREAM, uri));</pre>
*
* @param shareIntent The share intent.
*
diff --git a/graphics/java/android/graphics/ColorMatrix.java b/graphics/java/android/graphics/ColorMatrix.java
index c22cda1cbf51..e3596c80808d 100644
--- a/graphics/java/android/graphics/ColorMatrix.java
+++ b/graphics/java/android/graphics/ColorMatrix.java
@@ -19,7 +19,7 @@ package android.graphics;
import android.util.FloatMath;
/**
- * 5x4 matrix for transforming the color+alpha components of a Bitmap.
+ * 4x5 matrix for transforming the color+alpha components of a Bitmap.
* The matrix is stored in a single array, and its treated as follows:
* [ a, b, c, d, e,
* f, g, h, i, j,