summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorDirk Dougherty <nobody@android.com>2009-05-12 14:10:20 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-05-12 18:47:45 -0700
commit33a31b314f571ddcbef003e8a399c20ddeff6905 (patch)
tree8dbf80c96af1459c6ef48dabeb1cd26449f0cff5 /graphics
parent6347c322b36cdf6a30a35e80d205d00d40368e61 (diff)
downloadframeworks_base-33a31b314f571ddcbef003e8a399c20ddeff6905.zip
frameworks_base-33a31b314f571ddcbef003e8a399c20ddeff6905.tar.gz
frameworks_base-33a31b314f571ddcbef003e8a399c20ddeff6905.tar.bz2
AI 148752: Fix description of breakText() param.
BUG=1790234 Automated import of CL 148752
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/graphics/Paint.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/java/android/graphics/Paint.java b/graphics/java/android/graphics/Paint.java
index 81980d9..862e827 100644
--- a/graphics/java/android/graphics/Paint.java
+++ b/graphics/java/android/graphics/Paint.java
@@ -1084,8 +1084,9 @@ public class Paint {
* not null, return in it the actual width measured.
*
* @param text The text to measure
- * @param measureForwards If true, measure forwards, starting at index.
- * Otherwise, measure backwards, starting with the
+ * @param measureForwards If true, measure forwards, starting with the
+ * first character in the string. Otherwise,
+ * measure backwards, starting with the
* last character in the string.
* @param maxWidth The maximum width to accumulate.
* @param measuredWidth Optional. If not null, returns the actual width