summaryrefslogtreecommitdiffstats
path: root/core/java/android/text/TextLine.java
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2010-06-23 10:30:27 -0700
committerGilles Debunne <debunne@google.com>2010-07-09 16:20:21 -0700
commitcc3ec6cdb2b892eb29513e72d8b205acbe997b25 (patch)
treee57aa48666ef30f527898aed11ce4ce1b3110c0f /core/java/android/text/TextLine.java
parenta6935ab00923edeb5291a24b2363262b7fa37e85 (diff)
downloadframeworks_base-cc3ec6cdb2b892eb29513e72d8b205acbe997b25.zip
frameworks_base-cc3ec6cdb2b892eb29513e72d8b205acbe997b25.tar.gz
frameworks_base-cc3ec6cdb2b892eb29513e72d8b205acbe997b25.tar.bz2
New cursor controller in TextViews.
Editable TextView now display a cursor controller under the insertion point so that it can be precisely moved. Change-Id: Ia2e6ddc57d249647ff6683e10e4226db3df27223
Diffstat (limited to 'core/java/android/text/TextLine.java')
-rw-r--r--core/java/android/text/TextLine.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/text/TextLine.java b/core/java/android/text/TextLine.java
index 33c9554..0e3522e 100644
--- a/core/java/android/text/TextLine.java
+++ b/core/java/android/text/TextLine.java
@@ -21,8 +21,8 @@ import com.android.internal.util.ArrayUtils;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
-import android.graphics.RectF;
import android.graphics.Paint.FontMetricsInt;
+import android.graphics.RectF;
import android.text.Layout.Directions;
import android.text.Layout.TabStops;
import android.text.style.CharacterStyle;
@@ -583,7 +583,7 @@ class TextLine {
/**
* Returns the next valid offset within this directional run, skipping
* conjuncts and zero-width characters. This should not be called to walk
- * off the end of the line, since the the returned values might not be valid
+ * off the end of the line, since the returned values might not be valid
* on neighboring lines. If the returned offset is less than zero or
* greater than the line length, the offset should be recomputed on the
* preceding or following line, respectively.