1. 03 Feb, 2020 14 commits
  2. 31 Jan, 2020 6 commits
  3. 30 Jan, 2020 15 commits
  4. 29 Jan, 2020 1 commit
    • Introduce edgeLayout to keep outline color · 1e72e1ac
      Fix outline style subtitle
      
      When a ForegroundColorSpan changes the foreground color, it is also applied
      to the outline painter. In order to keep the correct color, one needs to
      filter out theses span. We do this with a new cue that is our text source
      for the specific edgeLayout.
      
      Take care to only apply background color once
      
      Test: Manual check - Subtitle view can show custom color subtitles from specific Subtitle
      Renderer and outline is shown correctly using user defined color.
      Nicolas Noury committed
  5. 28 Jan, 2020 4 commits
    • Do not throw on valid SubtitleView.setViewType · e92ea31f
      Calling setViewType with the same view type as the
      subtitleView is using would throw InvalidArgumentException
      instead of being a noop.
      
      PiperOrigin-RevId: 291937202
      krocard committed
    • Add SubtitleWebView · 2fd8cf02
      PiperOrigin-RevId: 291927263
      ibaker committed
    • Simplify startMediaTimeUs states. · b83534ee
      We currently have 3 states, but the NOT_SET state isn't needed
      anymore. We can therefore replace the IntDef by a simple boolean.
      
      PiperOrigin-RevId: 291926049
      tonihei committed
    • Include startMediaTime in media position checkpoints. · 739fd5f5
      We currently apply new parameter checkpoints from an absolute media
      time and then substract the current media start time again to retrieve
      the media time offset for this playback parameter checkpoint.
      
      However, the media start time may change when unexpected discontinuities
      happen (the start time doesn't actually change, but we change it to
      correct for this discontinuity). This then invalidates the absolute
      media time in the playback parameter checkpoints (which should have been
      corrected as well).
      
      Avoid this problem by also only applying the new start position
      from the checkpoint. We don't have to save the start position anymore
      because it will cancel itself out.
      
      Also add some documentation and code clarification for improved
      readability.
      
      PiperOrigin-RevId: 291923069
      tonihei committed