Loading core/java/android/widget/TextView.java +1 −1 Original line number Diff line number Diff line Loading @@ -10850,7 +10850,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener final boolean ltrLine = mLayout.getParagraphDirection(line) == Layout.DIR_LEFT_TO_RIGHT; final float[] widths = new float[offsetEnd - offsetStart]; mLayout.getPaint().getTextWidths(mText, offsetStart, offsetEnd, widths); mLayout.getPaint().getTextWidths(mTransformed, offsetStart, offsetEnd, widths); final float top = mLayout.getLineTop(line); final float bottom = mLayout.getLineBottom(line); for (int offset = offsetStart; offset < offsetEnd; ++offset) { Loading Loading
core/java/android/widget/TextView.java +1 −1 Original line number Diff line number Diff line Loading @@ -10850,7 +10850,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener final boolean ltrLine = mLayout.getParagraphDirection(line) == Layout.DIR_LEFT_TO_RIGHT; final float[] widths = new float[offsetEnd - offsetStart]; mLayout.getPaint().getTextWidths(mText, offsetStart, offsetEnd, widths); mLayout.getPaint().getTextWidths(mTransformed, offsetStart, offsetEnd, widths); final float top = mLayout.getLineTop(line); final float bottom = mLayout.getLineBottom(line); for (int offset = offsetStart; offset < offsetEnd; ++offset) { Loading