Home
last modified time | relevance | path

Searched refs:positionOffset (Results 1 – 10 of 10) sorted by relevance

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DConstantBitrateSeekMap.java116 long positionOffset = (timeUs * bitrate) / (C.MICROS_PER_SECOND * C.BITS_PER_BYTE); in getFramePositionForTimeUs() local
118 positionOffset = (positionOffset / frameSize) * frameSize; in getFramePositionForTimeUs()
119 positionOffset = in getFramePositionForTimeUs()
120 Util.constrainValue(positionOffset, /* min= */ 0, /* max= */ dataSize - frameSize); in getFramePositionForTimeUs()
121 return firstFrameBytePosition + positionOffset; in getFramePositionForTimeUs()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DCacheUtil.java253 long positionOffset = position - dataSpec.position; in readAndDiscard() local
254 long initialPositionOffset = positionOffset; in readAndDiscard()
255 long endOffset = length != C.LENGTH_UNSET ? positionOffset + length : C.POSITION_UNSET; in readAndDiscard()
273 dataSource.open(dataSpec.subrange(positionOffset, endOffset - positionOffset)); in readAndDiscard()
283 resolvedLength = dataSource.open(dataSpec.subrange(positionOffset, C.LENGTH_UNSET)); in readAndDiscard()
286 progressNotifier.onRequestLengthResolved(positionOffset + resolvedLength); in readAndDiscard()
288 while (positionOffset != endOffset) { in readAndDiscard()
295 ? (int) Math.min(temporaryBuffer.length, endOffset - positionOffset) in readAndDiscard()
299 progressNotifier.onRequestLengthResolved(positionOffset); in readAndDiscard()
303 positionOffset += bytesRead; in readAndDiscard()
[all …]
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/
DXingSeeker.java147 long positionOffset = Math.round((scaledPosition / 256) * dataSize); in getSeekPoints() local
149 positionOffset = Util.constrainValue(positionOffset, xingFrameSize, dataSize - 1); in getSeekPoints()
150 return new SeekPoints(new SeekPoint(timeUs, dataStartPosition + positionOffset)); in getSeekPoints()
155 long positionOffset = position - dataStartPosition; in getTimeUs() local
156 if (!isSeekable() || positionOffset <= xingFrameSize) { in getTimeUs()
160 double scaledPosition = (positionOffset * 256d) / dataSize; in getTimeUs()
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DOnPageChangeListenerAdapter.kt8 ((position: Int, positionOffset: Float, positionOffsetPixels: Int) -> Unit)? = null,
14 override fun onPageScrolled(position: Int, positionOffset: Float, positionOffsetPixels: Int) =
15 onPageScrolled?.invoke(position, positionOffset, positionOffsetPixels) ?: Unit
DAppIntroActivity.kt41 onPageScrolled = { position, positionOffset, _ -> in <lambda>() method
42 setAnimationProgress(position, positionOffset) in <lambda>()
55 private fun setAnimationProgress(position: Int, positionOffset: Float) { in <lambda>()
59 animationView.progress = startProgress.lerp(endProgress, positionOffset) in <lambda>()
/external/replicaisland/src/com/replica/replicaisland/
DInterpolator.java72 float positionOffset = (oldVelocity * secondsDelta) + scaledAcceleration; in interpolate() local
85 return positionOffset; in interpolate()
/external/python/cpython2/Mac/Modules/file/
D_Filemodule.c2680 SInt64 positionOffset; in File_FSSetForkPosition() local
2684 &positionOffset)) in File_FSSetForkPosition()
2688 positionOffset); in File_FSSetForkPosition()
2718 SInt64 positionOffset; in File_FSSetForkSize() local
2722 &positionOffset)) in File_FSSetForkSize()
2726 positionOffset); in File_FSSetForkSize()
2740 SInt64 positionOffset; in File_FSAllocateFork() local
2747 &positionOffset, in File_FSAllocateFork()
2753 positionOffset, in File_FSAllocateFork()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetLMBCS.java590 …S_SimpleGetNextUChar(UConverterSharedData cnv, ByteBuffer source, int positionOffset, int length) { in LMBCS_SimpleGetNextUChar() argument
600 source.position(oldSourcePos + positionOffset); in LMBCS_SimpleGetNextUChar()
/external/llvm-project/llvm/test/CodeGen/Thumb2/
Dconstant-islands.ll78 …Doll* %this, %class.btDynamicsWorld* %ownerWorld, %class.btVector3* %positionOffset, float %scale)…
83 %positionOffset.addr = alloca %class.btVector3*, align 4
262 store %class.btVector3* %positionOffset, %class.btVector3** %positionOffset.addr, align 4
427 %46 = load %class.btVector3*, %class.btVector3** %positionOffset.addr, align 4
/external/llvm/test/CodeGen/Thumb2/
Dconstant-islands.ll79 …Doll* %this, %class.btDynamicsWorld* %ownerWorld, %class.btVector3* %positionOffset, float %scale)…
84 %positionOffset.addr = alloca %class.btVector3*, align 4
263 store %class.btVector3* %positionOffset, %class.btVector3** %positionOffset.addr, align 4
428 %46 = load %class.btVector3*, %class.btVector3** %positionOffset.addr, align 4