Home
last modified time | relevance | path

Searched refs:binarySearchFloor (Results 1 – 22 of 22) sorted by relevance

/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/
DUtilTest.java19 import static com.google.android.exoplayer2.util.Util.binarySearchFloor;
101 binarySearchFloor( in arrayBinarySearchFloor_emptyArrayAndStayInBoundsFalse_returnsMinus1()
109 binarySearchFloor( in arrayBinarySearchFloor_emptyArrayAndStayInBoundsTrue_returns0()
117 binarySearchFloor( in arrayBinarySearchFloor_targetSmallerThanValuesAndStayInBoundsFalse_returnsMinus1()
128 binarySearchFloor( in arrayBinarySearchFloor_targetSmallerThanValuesAndStayInBoundsTrue_returns0()
139 binarySearchFloor( in arrayBinarySearchFloor_targetBiggerThanValues_returnsLastIndex()
151 binarySearchFloor( in arrayBinarySearchFloor_targetEqualToFirstValueAndInclusiveFalseAndStayInBoundsFalse_returnsMinus1()
163 binarySearchFloor( in arrayBinarySearchFloor_targetEqualToFirstValueAndInclusiveFalseAndStayInBoundsTrue_returns0()
175 binarySearchFloor( in arrayBinarySearchFloor_targetInArrayAndInclusiveTrue_returnsFirstIndexWithValueEqualToTarget()
187 binarySearchFloor( in arrayBinarySearchFloor_targetBetweenValuesAndInclusiveFalse_returnsIndexWhereTargetShouldBeInserted()
[all …]
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/
DIndexSeeker.java48 Util.binarySearchFloor( in getTimeUs()
71 Util.binarySearchFloor(timesUs, timeUs, /* inclusive= */ true, /* stayInBounds= */ true); in getSeekPoints()
DVbriSeeker.java116 int tableIndex = Util.binarySearchFloor(timesUs, timeUs, true, true); in getSeekPoints()
128 return timesUs[Util.binarySearchFloor(positions, position, true, true)]; in getTimeUs()
DMlltSeeker.java103 Util.binarySearchFloor(xReferences, x, /* inclusive= */ true, /* stayInBounds= */ true); in linearlyInterpolate()
DXingSeeker.java161 int prevTableIndex = Util.binarySearchFloor(tableOfContents, (long) scaledPosition, true, true); in getTimeUs()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DChunkIndex.java79 return Util.binarySearchFloor(timesUs, timeUs, /* inclusive= */ true, /* stayInBounds= */ true); in getChunkIndex()
DFlacSeekTableSeekMap.java60 Util.binarySearchFloor( in getSeekPoints()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/subrip/
DSubripSubtitle.java63 int index = Util.binarySearchFloor(cueTimesUs, timeUs, true, false);
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ssa/
DSsaSubtitle.java63 int index = Util.binarySearchFloor(cueTimesUs, timeUs, true, false);
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeTimeline.java289 int windowIndex = Util.binarySearchFloor(periodOffsets, periodIndex, true, false); in getPeriod()
331 Util.binarySearchFloor( in getUidOfPeriod()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DTrackSampleTable.java82 int startIndex = Util.binarySearchFloor(timestampsUs, timeUs, true, false); in getIndexOfEarlierOrEqualSynchronizationSample()
DAtomParsers.java450 Util.binarySearchFloor( in parseStbl()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/
DFlacReader.java138 Util.binarySearchFloor( in startSeek()
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/
DSsManifest.java171 return Util.binarySearchFloor(chunkStartTimesUs, timeUs, true, true); in getChunkIndex()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mp3/
DConstantBitrateSeekerTest.java208 return Util.binarySearchFloor( in getFrameIndex()
DIndexSeekerTest.java195 return Util.binarySearchFloor( in getFrameIndex()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DMediaSourceList.java533 return Util.binarySearchFloor(firstPeriodInChildIndices, periodIndex + 1, false, false); in getChildIndexByPeriodIndex()
538 return Util.binarySearchFloor(firstWindowInChildIndices, windowIndex + 1, false, false); in getChildIndexByWindowIndex()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DUtil.java788 public static int binarySearchFloor( in binarySearchFloor() method in Util
820 public static int binarySearchFloor(long[] array, long value, boolean inclusive, in binarySearchFloor() method in Util
853 public static <T extends Comparable<? super T>> int binarySearchFloor( in binarySearchFloor() method in Util
888 public static int binarySearchFloor( in binarySearchFloor() method in Util
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DConcatenatingMediaSource.java940 return Util.binarySearchFloor(firstPeriodInChildIndices, periodIndex + 1, false, false); in getChildIndexByPeriodIndex()
945 return Util.binarySearchFloor(firstWindowInChildIndices, windowIndex + 1, false, false); in getChildIndexByWindowIndex()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/flac/
DFlacExtractorSeekTest.java283 return Util.binarySearchFloor( in getFrameIndex()
/external/exoplayer/tree/extensions/flac/src/androidTest/java/com/google/android/exoplayer2/ext/flac/
DFlacExtractorSeekTest.java283 return Util.binarySearchFloor( in getFrameIndex()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsChunkSource.java483 return Util.binarySearchFloor( in getChunkMediaSequence()