Home
last modified time | relevance | path

Searched refs:getEventTime (Results 1 – 25 of 30) sorted by relevance

12

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/webvtt/
DWebvttDecoderTest.java77 assertThat(subtitle.getEventTime(0)).isEqualTo(0L); in decodeTypical()
78 assertThat(subtitle.getEventTime(1)).isEqualTo(1_234_000L); in decodeTypical()
79 Cue firstCue = Iterables.getOnlyElement(subtitle.getCues(subtitle.getEventTime(0))); in decodeTypical()
82 assertThat(subtitle.getEventTime(2)).isEqualTo(2_345_000L); in decodeTypical()
83 assertThat(subtitle.getEventTime(3)).isEqualTo(3_456_000L); in decodeTypical()
84 Cue secondCue = Iterables.getOnlyElement(subtitle.getCues(subtitle.getEventTime(2))); in decodeTypical()
94 assertThat(subtitle.getEventTime(0)).isEqualTo(0L); in decodeWithBom()
95 assertThat(subtitle.getEventTime(1)).isEqualTo(1_234_000L); in decodeWithBom()
96 Cue firstCue = Iterables.getOnlyElement(subtitle.getCues(subtitle.getEventTime(0))); in decodeWithBom()
99 assertThat(subtitle.getEventTime(2)).isEqualTo(2_345_000L); in decodeWithBom()
[all …]
DWebvttSubtitleTest.java203 assertThat(subtitle.getEventTime(0)).isEqualTo(1_000_000); in testSubtitleEventTimesHelper()
204 assertThat(subtitle.getEventTime(1)).isEqualTo(2_000_000); in testSubtitleEventTimesHelper()
205 assertThat(subtitle.getEventTime(2)).isEqualTo(3_000_000); in testSubtitleEventTimesHelper()
206 assertThat(subtitle.getEventTime(3)).isEqualTo(4_000_000); in testSubtitleEventTimesHelper()
DMp4WebvttDecoderTest.java113 assertThat(result.getEventTime(0)).isEqualTo(0); in noCueSample()
141 assertThat(subtitle.getEventTime(0)).isEqualTo(0); in assertMp4WebvttSubtitleEquals()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ssa/
DSsaDecoderTest.java66 Cue firstCue = subtitle.getCues(subtitle.getEventTime(0)).get(0); in decodeTypical()
110 assertThat(subtitle.getEventTime(0)).isEqualTo(1_000_000); in decodeOverlappingTimecodes()
111 assertThat(subtitle.getEventTime(1)).isEqualTo(2_000_000); in decodeOverlappingTimecodes()
112 assertThat(subtitle.getEventTime(2)).isEqualTo(4_230_000); in decodeOverlappingTimecodes()
113 assertThat(subtitle.getEventTime(3)).isEqualTo(5_230_000); in decodeOverlappingTimecodes()
114 assertThat(subtitle.getEventTime(4)).isEqualTo(6_000_000); in decodeOverlappingTimecodes()
115 assertThat(subtitle.getEventTime(5)).isEqualTo(8_440_000); in decodeOverlappingTimecodes()
116 assertThat(subtitle.getEventTime(6)).isEqualTo(9_440_000); in decodeOverlappingTimecodes()
117 assertThat(subtitle.getEventTime(7)).isEqualTo(10_720_000); in decodeOverlappingTimecodes()
118 assertThat(subtitle.getEventTime(8)).isEqualTo(13_220_000); in decodeOverlappingTimecodes()
[all …]
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/subrip/
DSubripDecoderTest.java155 assertThat(subtitle.getCues(subtitle.getEventTime(0)).get(0).text.toString()) in decodeCueWithTag()
158 assertThat(subtitle.getCues(subtitle.getEventTime(2)).get(0).text.toString()) in decodeCueWithTag()
161 assertThat(subtitle.getCues(subtitle.getEventTime(4)).get(0).text.toString()) in decodeCueWithTag()
164 assertThat(subtitle.getCues(subtitle.getEventTime(6)).get(0).text.toString()) in decodeCueWithTag()
167 assertThat(subtitle.getCues(subtitle.getEventTime(8)).get(0).text.toString()) in decodeCueWithTag()
191 assertThat(subtitle.getEventTime(2)).isEqualTo(2_000_000); in decodeTypicalNoHoursAndMillis()
192 assertThat(subtitle.getEventTime(3)).isEqualTo(3_000_000); in decodeTypicalNoHoursAndMillis()
197 assertThat(subtitle.getEventTime(eventIndex)).isEqualTo(0); in assertTypicalCue1()
198 assertThat(subtitle.getCues(subtitle.getEventTime(eventIndex)).get(0).text.toString()) in assertTypicalCue1()
200 assertThat(subtitle.getEventTime(eventIndex + 1)).isEqualTo(1234000); in assertTypicalCue1()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/events/
DCombinedEventsManager.java155 if (state.getEventTime() < first.getEventTime()) { in evaluateStep()
159 if (state.getEventTime() > first.getEventTime()) { in evaluateStep()
188 public double getEventTime() { in getEventTime() method in CombinedEventsManager
189 return (first == null) ? Double.NaN : first.getEventTime(); in getEventTime()
DEventState.java318 public double getEventTime() { in getEventTime() method in EventState
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/
DSubtitleOutputBuffer.java54 public long getEventTime(int index) { in getEventTime() method in SubtitleOutputBuffer
55 return Assertions.checkNotNull(subtitle).getEventTime(index) + subsampleOffsetUs; in getEventTime()
DSubtitle.java49 long getEventTime(int index); in getEventTime() method
DTextRenderer.java305 ? Long.MAX_VALUE : subtitle.getEventTime(nextSubtitleEventIndex); in getNextEventTime()
/external/setupdesign/main/src/com/google/android/setupdesign/gesture/
DConsecutiveTapsGestureDetector.java115 long deltaTime = currentTapEvent.getEventTime() - previousTapEvent.getEventTime(); in isConsecutiveTap()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/
DAbstractIntegrator.java259 return orderingSign * Double.compare(es0.getEventTime(), es1.getEventTime()); in acceptStep()
279 final double eventT = currentEvent.getEventTime(); in acceptStep()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/pgs/
DPgsSubtitle.java43 public long getEventTime(int index) { in getEventTime() method in PgsSubtitle
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/dvb/
DDvbSubtitle.java45 public long getEventTime(int index) { in getEventTime() method in DvbSubtitle
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/cea/
DCeaSubtitle.java50 public long getEventTime(int index) { in getEventTime() method in CeaSubtitle
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DMp4WebvttSubtitle.java47 public long getEventTime(int index) { in getEventTime() method in Mp4WebvttSubtitle
DWebvttSubtitle.java64 public long getEventTime(int index) { in getEventTime() method in WebvttSubtitle
/external/oboe/samples/RhythmGame/src/main/java/com/google/oboe/samples/rhythmgame/
DGameSurfaceView.java59 native_onTouchInput(0, e.getEventTime(), (int)e.getX(), (int)e.getY()); in onTouchEvent()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/tx3g/
DTx3gSubtitle.java53 public long getEventTime(int index) { in getEventTime() method in Tx3gSubtitle
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/subrip/
DSubripSubtitle.java55 public long getEventTime(int index) { in getEventTime() method in SubripSubtitle
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ssa/
DSsaSubtitle.java55 public long getEventTime(int index) { in getEventTime() method in SsaSubtitle
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/
DTtmlSubtitle.java63 public long getEventTime(int index) { in getEventTime() method in TtmlSubtitle
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ttml/
DTtmlDecoderTest.java501 assertThat(subtitle.getEventTime(0)).isEqualTo(1_000_000); in frameRate()
502 assertThat(subtitle.getEventTime(1)).isEqualTo(1_010_000); in frameRate()
503 assertThat((double) subtitle.getEventTime(2)).isWithin(1000).of(1_001_000_000); in frameRate()
504 assertThat((double) subtitle.getEventTime(3)).isWithin(2000).of(2_002_000_000); in frameRate()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowVelocityTracker.java178 eventTime = event.getEventTime(); in set()
DNativeInput.java402 public long getEventTime() { in getEventTime() method in NativeInput.MotionEvent
608 mSampleEventTimes.add(other.getEventTime()); in copyFrom()

12