From cc3ec6cdb2b892eb29513e72d8b205acbe997b25 Mon Sep 17 00:00:00 2001 From: Gilles Debunne Date: Wed, 23 Jun 2010 10:30:27 -0700 Subject: 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 --- core/java/android/text/TextLine.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/java/android/text/TextLine.java') diff --git a/core/java/android/text/TextLine.java b/core/java/android/text/TextLine.java index 33c95548f905..0e3522e7a0d6 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. -- cgit v1.2.3