Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 785cda30 authored by Alan Viverette's avatar Alan Viverette Committed by Android Git Automerger
Browse files

am f8c146a2: am c37db9c0: Merge "Fix layout and invalidate in SubtitleView" into klp-dev

* commit 'f8c146a2':
  Fix layout and invalidate in SubtitleView
parents 93e12a7c f8c146a2
Loading
Loading
Loading
Loading
+9 −3
Original line number Original line Diff line number Diff line
@@ -180,7 +180,9 @@ public class SubtitleView extends View {
            mInnerPaddingX = (int) (size * INNER_PADDING_RATIO + 0.5f);
            mInnerPaddingX = (int) (size * INNER_PADDING_RATIO + 0.5f);


            mHasMeasurements = false;
            mHasMeasurements = false;
            forceLayout();

            requestLayout();
            invalidate();
        }
        }
    }
    }


@@ -189,7 +191,9 @@ public class SubtitleView extends View {
            mTextPaint.setTypeface(typeface);
            mTextPaint.setTypeface(typeface);


            mHasMeasurements = false;
            mHasMeasurements = false;
            forceLayout();

            requestLayout();
            invalidate();
        }
        }
    }
    }


@@ -198,7 +202,9 @@ public class SubtitleView extends View {
            mAlignment = textAlignment;
            mAlignment = textAlignment;


            mHasMeasurements = false;
            mHasMeasurements = false;
            forceLayout();

            requestLayout();
            invalidate();
        }
        }
    }
    }