Loading core/java/android/widget/TextView.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -7310,7 +7310,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener // If we have a fixed width, we can just swap in a new text layout // If we have a fixed width, we can just swap in a new text layout // if the text height stays the same or if the view height is fixed. // if the text height stays the same or if the view height is fixed. if ((mLayoutParams.width != LayoutParams.WRAP_CONTENT || if (((mLayoutParams.width != LayoutParams.WRAP_CONTENT && mLayoutParams.width != 0) || (mMaxWidthMode == mMinWidthMode && mMaxWidth == mMinWidth)) && (mMaxWidthMode == mMinWidthMode && mMaxWidth == mMinWidth)) && (mHint == null || mHintLayout != null) && (mHint == null || mHintLayout != null) && (mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight() > 0)) { (mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight() > 0)) { Loading Loading
core/java/android/widget/TextView.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -7310,7 +7310,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener // If we have a fixed width, we can just swap in a new text layout // If we have a fixed width, we can just swap in a new text layout // if the text height stays the same or if the view height is fixed. // if the text height stays the same or if the view height is fixed. if ((mLayoutParams.width != LayoutParams.WRAP_CONTENT || if (((mLayoutParams.width != LayoutParams.WRAP_CONTENT && mLayoutParams.width != 0) || (mMaxWidthMode == mMinWidthMode && mMaxWidth == mMinWidth)) && (mMaxWidthMode == mMinWidthMode && mMaxWidth == mMinWidth)) && (mHint == null || mHintLayout != null) && (mHint == null || mHintLayout != null) && (mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight() > 0)) { (mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight() > 0)) { Loading