Loading core/java/android/text/style/ClickableSpan.java +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ import android.view.View; /** * If an object of this type is attached to the text of a TextView * with a movement method of LinkMovementMethod, the affected spans of * text can be selected. If clicked, the {@link #onClick} method will * text can be selected. If selected and clicked, the {@link #onClick} method will * be called. */ public abstract class ClickableSpan extends CharacterStyle implements UpdateAppearance { Loading core/java/android/widget/TextView.java +1 −1 Original line number Diff line number Diff line Loading @@ -9639,7 +9639,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener return new GestureDetector(mContext, new GestureDetector.SimpleOnGestureListener() { @Override public boolean onSingleTapConfirmed(MotionEvent e) { public boolean onSingleTapUp(MotionEvent e) { if (shouldUseClickableSpanOnClickGestureDetector()) { ClickableSpan[] links = ((Spannable) mText).getSpans( getSelectionStart(), getSelectionEnd(), Loading Loading
core/java/android/text/style/ClickableSpan.java +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ import android.view.View; /** * If an object of this type is attached to the text of a TextView * with a movement method of LinkMovementMethod, the affected spans of * text can be selected. If clicked, the {@link #onClick} method will * text can be selected. If selected and clicked, the {@link #onClick} method will * be called. */ public abstract class ClickableSpan extends CharacterStyle implements UpdateAppearance { Loading
core/java/android/widget/TextView.java +1 −1 Original line number Diff line number Diff line Loading @@ -9639,7 +9639,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener return new GestureDetector(mContext, new GestureDetector.SimpleOnGestureListener() { @Override public boolean onSingleTapConfirmed(MotionEvent e) { public boolean onSingleTapUp(MotionEvent e) { if (shouldUseClickableSpanOnClickGestureDetector()) { ClickableSpan[] links = ((Spannable) mText).getSpans( getSelectionStart(), getSelectionEnd(), Loading