Loading core/java/android/text/MeasuredParagraph.java +4 −3 Original line number Diff line number Diff line Loading @@ -540,9 +540,6 @@ public class MeasuredParagraph { private void applyStyleRun(@IntRange(from = 0) int start, // inclusive, in copied buffer @IntRange(from = 0) int end, // exclusive, in copied buffer /* Maybe Zero */ long nativeBuilderPtr) { if (nativeBuilderPtr != 0) { mCachedPaint.getFontMetricsInt(mCachedFm); } if (mLtrWithoutBidi) { // If the whole text is LTR direction, just apply whole region. Loading Loading @@ -614,6 +611,10 @@ public class MeasuredParagraph { final int startInCopiedBuffer = start - mTextStart; final int endInCopiedBuffer = end - mTextStart; if (nativeBuilderPtr != 0) { mCachedPaint.getFontMetricsInt(mCachedFm); } if (replacement != null) { applyReplacementRun(replacement, startInCopiedBuffer, endInCopiedBuffer, nativeBuilderPtr); Loading Loading
core/java/android/text/MeasuredParagraph.java +4 −3 Original line number Diff line number Diff line Loading @@ -540,9 +540,6 @@ public class MeasuredParagraph { private void applyStyleRun(@IntRange(from = 0) int start, // inclusive, in copied buffer @IntRange(from = 0) int end, // exclusive, in copied buffer /* Maybe Zero */ long nativeBuilderPtr) { if (nativeBuilderPtr != 0) { mCachedPaint.getFontMetricsInt(mCachedFm); } if (mLtrWithoutBidi) { // If the whole text is LTR direction, just apply whole region. Loading Loading @@ -614,6 +611,10 @@ public class MeasuredParagraph { final int startInCopiedBuffer = start - mTextStart; final int endInCopiedBuffer = end - mTextStart; if (nativeBuilderPtr != 0) { mCachedPaint.getFontMetricsInt(mCachedFm); } if (replacement != null) { applyReplacementRun(replacement, startInCopiedBuffer, endInCopiedBuffer, nativeBuilderPtr); Loading