Loading core/java/android/widget/TextView.java +1 −2 Original line number Diff line number Diff line Loading @@ -10229,8 +10229,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener // The point is not within lineMargin of a line. return -1; } if (point.x < mLayout.getLineLeft(line) - lineMargin || point.x > mLayout.getLineRight(line) + lineMargin) { if (point.x < -lineMargin || point.x > mLayout.getWidth() + lineMargin) { // The point is not within lineMargin of a line. return -1; } Loading Loading
core/java/android/widget/TextView.java +1 −2 Original line number Diff line number Diff line Loading @@ -10229,8 +10229,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener // The point is not within lineMargin of a line. return -1; } if (point.x < mLayout.getLineLeft(line) - lineMargin || point.x > mLayout.getLineRight(line) + lineMargin) { if (point.x < -lineMargin || point.x > mLayout.getWidth() + lineMargin) { // The point is not within lineMargin of a line. return -1; } Loading