Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/a422070876/VideoEdit
/ functions
Functions
5,365 in github.com/a422070876/VideoEdit
⨍
Functions
5,365
◇
Types & classes
760
↓ 18 callers
Method
trim
Hints to the allocator that it should make a best effort to release any excess {@link Allocation}s.
exoplayer/src/main/java/com/google/android/exoplayer2/upstream/Allocator.java:51
↓ 17 callers
Method
isEndOfStream
Returns whether the {@link C#BUFFER_FLAG_END_OF_STREAM} flag is set.
exoplayer/src/main/java/com/google/android/exoplayer2/decoder/Buffer.java:45
↓ 17 callers
Method
isLoading
Whether the player is currently loading the source. @return Whether the player is currently loading the source.
exoplayer/src/main/java/com/google/android/exoplayer2/Player.java:512
↓ 17 callers
Method
parseTextAttribute
(int type, String id, ParsableByteArray data)
exoplayer/src/main/java/com/google/android/exoplayer2/extractor/mp4/MetadataUtil.java:184
↓ 17 callers
Method
postDelayed
@see Handler#postDelayed(Runnable, long)
exoplayer/src/main/java/com/google/android/exoplayer2/util/HandlerWrapper.java:59
↓ 17 callers
Method
seekTo
Seeks to a position specified in milliseconds in the current window. @param positionMs The seek position in the current window, or {@link C#TIME_UNSE
exoplayer/src/main/java/com/google/android/exoplayer2/Player.java:537
↓ 17 callers
Method
sendEmptyMessage
@see Handler#sendEmptyMessage(int)
exoplayer/src/main/java/com/google/android/exoplayer2/util/HandlerWrapper.java:44
↓ 17 callers
Method
stop
Stops playback without resetting the player. Use {@code setPlayWhenReady(false)} rather than this method if the intention is to pause playback. <p>Ca
exoplayer/src/main/java/com/google/android/exoplayer2/Player.java:582
↓ 17 callers
Method
toString
()
exoplayer/src/main/java/com/google/android/exoplayer2/upstream/DataSpec.java:192
↓ 17 callers
Method
updateDisplay
()
app/src/main/java/com/ringdroid/activity/VideoEditActivity.java:740
↓ 16 callers
Method
createIfNull
(TtmlStyle style)
exoplayer/src/main/java/com/google/android/exoplayer2/text/ttml/TtmlDecoder.java:403
↓ 16 callers
Method
getTrackType
Returns the track type that the {@link Renderer} handles. For example, a video renderer will return {@link C#TRACK_TYPE_VIDEO}, an audio renderer will
exoplayer/src/main/java/com/google/android/exoplayer2/Renderer.java:54
↓ 16 callers
Method
seekMap
Called when a {@link SeekMap} has been extracted from the stream. @param seekMap The extracted {@link SeekMap}.
exoplayer/src/main/java/com/google/android/exoplayer2/extractor/ExtractorOutput.java:46
↓ 16 callers
Method
setPosition
Sets the reading offset in the array. @param position Byte offset in the array from which to read. @throws IllegalArgumentException Thrown if the new
exoplayer/src/main/java/com/google/android/exoplayer2/util/ParsableByteArray.java:144
↓ 16 callers
Method
toLowerInvariant
Converts text to lower case using {@link Locale#US}. @param text The text to convert. @return The lower case text, or null if {@code text} is null.
exoplayer/src/main/java/com/google/android/exoplayer2/util/Util.java:305
↓ 15 callers
Method
binarySearchFloor
Returns the index of the largest element in {@code array} that is less than (or optionally equal to) a specified {@code value}. <p> The search is perf
exoplayer/src/main/java/com/google/android/exoplayer2/util/Util.java:419
↓ 15 callers
Method
closeQuietly
Closes a {@link DataSource}, suppressing any {@link IOException} that may occur. @param dataSource The {@link DataSource} to close.
exoplayer/src/main/java/com/google/android/exoplayer2/util/Util.java:228
↓ 15 callers
Method
endTracks
Called when all tracks have been identified, meaning no new {@code trackId} values will be passed to {@link #track(int, int)}.
exoplayer/src/main/java/com/google/android/exoplayer2/extractor/ExtractorOutput.java:39
↓ 15 callers
Method
get
Returns the entry at the specified index. @param index The index of the entry. @return The entry at the specified index.
exoplayer/src/main/java/com/google/android/exoplayer2/metadata/Metadata.java:74
↓ 15 callers
Method
getSessionTimeString
()
exoplayer/src/main/java/com/google/android/exoplayer2/util/EventLogger.java:448
↓ 15 callers
Method
getWindow
(int windowIndex, Window window, boolean setIds, long defaultPositionProjectionUs)
exoplayer/src/main/java/com/google/android/exoplayer2/Timeline.java:499
↓ 15 callers
Method
isEndTag
Returns whether the current event is an end tag with the specified name. @param xpp The {@link XmlPullParser} to query. @param name The specified nam
exoplayer/src/main/java/com/google/android/exoplayer2/util/XmlPullParserUtil.java:36
↓ 15 callers
Method
maybeThrowError
If the source is currently having difficulty providing chunks, then this method throws the underlying error. Otherwise does nothing. <p> This method s
exoplayer/src/main/java/com/google/android/exoplayer2/source/chunk/ChunkSource.java:45
↓ 15 callers
Method
parse
Parses an object from a response. @param uri The source {@link Uri} of the response, after any redirection. @param inputStream An {@link InputStream}
exoplayer/src/main/java/com/google/android/exoplayer2/upstream/ParsingLoadable.java:47
↓ 15 callers
Method
read
Reads up to {@code length} bytes of data and stores them into {@code buffer}, starting at index {@code offset}. <p> If {@code length} is zero then 0 i
exoplayer/src/main/java/com/google/android/exoplayer2/upstream/DataSource.java:72
↓ 15 callers
Method
readUnsignedInt24
Reads the next three bytes as an unsigned value.
exoplayer/src/main/java/com/google/android/exoplayer2/util/ParsableByteArray.java:253
↓ 15 callers
Method
releaseOutputBuffer
(SubtitleOutputBuffer outputBuffer)
exoplayer/src/main/java/com/google/android/exoplayer2/text/cea/CeaDecoder.java:137
↓ 15 callers
Method
write
Consumes the provided data. @param buffer The buffer from which data should be consumed. @param offset The offset of the data to consume in {@code bu
exoplayer/src/main/java/com/google/android/exoplayer2/upstream/DataSink.java:53
↓ 14 callers
Method
contains
Tests whether an {@code items} array contains an object equal to {@code item}, according to {@link Object#equals(Object)}. <p> If {@code item} is null
exoplayer/src/main/java/com/google/android/exoplayer2/util/Util.java:188
↓ 14 callers
Method
getPlayingPeriod
Returns the playing period holder which is at the front of the queue, or null if the queue is empty or hasn't started playing.
exoplayer/src/main/java/com/google/android/exoplayer2/MediaPeriodQueue.java:193
↓ 14 callers
Method
getTrackGroup
Returns the {@link TrackGroup} to which the selected tracks belong.
exoplayer/src/main/java/com/google/android/exoplayer2/trackselection/TrackSelection.java:67
↓ 14 callers
Method
onSourceInfoRefreshed
Called when the duration or ability to seek within the period changes. @param durationUs The duration of the period, or {@link C#TIME_UNSET}. @param
exoplayer/src/main/java/com/google/android/exoplayer2/source/ExtractorMediaPeriod.java:68
↓ 14 callers
Method
peek
Peeks and returns a {@code WavHeader}. @param input Input stream to peek the WAV header from. @throws ParserException If the input file is an incorre
exoplayer/src/main/java/com/google/android/exoplayer2/extractor/wav/WavHeaderReader.java:49
↓ 14 callers
Method
setLimit
Sets the limit. @param limit The limit to set.
exoplayer/src/main/java/com/google/android/exoplayer2/util/ParsableByteArray.java:118
↓ 14 callers
Method
setVisibility
(int visibility)
exoplayer/src/main/java/com/google/android/exoplayer2/ui/PlayerView.java:464
↓ 13 callers
Method
beginSection
Writes a trace message to indicate that a given section of code has begun. @see android.os.Trace#beginSection(String) @param sectionName The name of
exoplayer/src/main/java/com/google/android/exoplayer2/util/TraceUtil.java:35
↓ 13 callers
Method
endSection
Writes a trace message to indicate that a given section of code has ended. @see android.os.Trace#endSection()
exoplayer/src/main/java/com/google/android/exoplayer2/util/TraceUtil.java:46
↓ 13 callers
Method
generateNewId
Generates a new set of track and track format ids. Must be called before {@code get } methods.
exoplayer/src/main/java/com/google/android/exoplayer2/extractor/ts/TsPayloadReader.java:137
↓ 13 callers
Method
getFormatId
Returns the last generated format id, with the format {@code "programNumber/trackId"}. If no {@code programNumber} was provided, the {@code trackId} a
exoplayer/src/main/java/com/google/android/exoplayer2/extractor/ts/TsPayloadReader.java:162
↓ 13 callers
Method
getKey
Returns the {@code dataSpec.key} if not null, otherwise generates a cache key out of {@code dataSpec.uri} @param dataSpec Defines a content which the
exoplayer/src/main/java/com/google/android/exoplayer2/upstream/cache/CacheUtil.java:71
↓ 13 callers
Method
getTimelineByChildIndex
Returns the child timeline for the child with the given index. @param childIndex A valid child index within the bounds of the timeline.
exoplayer/src/main/java/com/google/android/exoplayer2/source/AbstractConcatenatedTimeline.java:229
↓ 13 callers
Method
getTrackId
Returns the last generated track id. Must be called after the first {@link #generateNewId()} call. @return The last generated track id.
exoplayer/src/main/java/com/google/android/exoplayer2/extractor/ts/TsPayloadReader.java:148
↓ 13 callers
Method
isVisible
Returns whether the controller is currently visible.
exoplayer/src/main/java/com/google/android/exoplayer2/ui/PlayerControlView.java:587
↓ 13 callers
Method
logNoSupport
(String message)
exoplayer/src/main/java/com/google/android/exoplayer2/mediacodec/MediaCodecInfo.java:286
↓ 13 callers
Method
putInt
Overwrites {@code numBits} from this array using the {@code numBits} least significant bits from {@code value}. Bits are written in order from most si
exoplayer/src/main/java/com/google/android/exoplayer2/util/ParsableBitArray.java:275
↓ 12 callers
Method
binarySearchCeil
Returns the index of the smallest element in {@code array} that is greater than (or optionally equal to) a specified {@code value}. <p>The search is
exoplayer/src/main/java/com/google/android/exoplayer2/util/Util.java:517
↓ 12 callers
Method
clear
()
exoplayer/src/main/java/com/google/android/exoplayer2/extractor/ts/H264Reader.java:464
↓ 12 callers
Method
consume
Consumes the payload of a TS packet. @param data The TS packet. The position will be set to the start of the payload. @param payloadUnitStartIndicato
exoplayer/src/main/java/com/google/android/exoplayer2/extractor/ts/TsPayloadReader.java:202
↓ 12 callers
Method
decode
Decodes a {@link Metadata} element from the provided input buffer. @param inputBuffer The input buffer to decode. @return The decoded metadata object
exoplayer/src/main/java/com/google/android/exoplayer2/metadata/MetadataDecoder.java:30
↓ 12 callers
Method
getLength
Returns the length of the source stream, or {@link C#LENGTH_UNSET} if it is unknown. @return The length of the source stream, or {@link C#LENGTH_UNSE
exoplayer/src/main/java/com/google/android/exoplayer2/extractor/ExtractorInput.java:223
↓ 12 callers
Method
isInitialized
()
exoplayer/src/main/java/com/google/android/exoplayer2/audio/DefaultAudioSink.java:1142
↓ 12 callers
Method
parseFullAtomVersion
Parses the version number out of the additional integer component of a full atom.
exoplayer/src/main/java/com/google/android/exoplayer2/extractor/mp4/Atom.java:292
↓ 12 callers
Method
parseOptionalStringAttr
(String line, Pattern pattern)
exoplayer/src/main/java/com/google/android/exoplayer2/source/hls/playlist/HlsPlaylistParser.java:528
↓ 12 callers
Method
readUnsignedLongToLong
Reads the next eight bytes as an unsigned long into a long, if the top bit is a zero. @throws IllegalStateException Thrown if the top bit of the inpu
exoplayer/src/main/java/com/google/android/exoplayer2/util/ParsableByteArray.java:412
↓ 12 callers
Method
removeCallbacksAndMessages
@see Handler#removeCallbacksAndMessages(Object)
exoplayer/src/main/java/com/google/android/exoplayer2/util/HandlerWrapper.java:53
↓ 12 callers
Method
skipBits
Skips bits and moves current reading position forward. @param numBits The number of bits to skip.
exoplayer/src/main/java/com/google/android/exoplayer2/util/ParsableNalUnitBitArray.java:73
↓ 11 callers
Method
add
(CachedContent cachedContent)
exoplayer/src/main/java/com/google/android/exoplayer2/upstream/cache/CachedContentIndex.java:329
↓ 11 callers
Method
adjustMediaTime
(long mediaTimeUs)
exoplayer/src/main/java/com/google/android/exoplayer2/source/MediaSourceEventListener.java:486
↓ 11 callers
Method
advanceTo
Attempts to advance the read position to the sample before or at the specified time. @param timeUs The time to advance to. @param toKeyframe If true
exoplayer/src/main/java/com/google/android/exoplayer2/source/SampleQueue.java:292
↓ 11 callers
Method
bytesLoaded
Returns the number of bytes that have been loaded.
exoplayer/src/main/java/com/google/android/exoplayer2/source/chunk/Chunk.java:100
↓ 11 callers
Method
ceilDivide
Divides a {@code numerator} by a {@code denominator}, returning the ceiled result. @param numerator The numerator to divide. @param denominator The d
exoplayer/src/main/java/com/google/android/exoplayer2/util/Util.java:316
↓ 11 callers
Method
clear
Clears the holder.
exoplayer/src/main/java/com/google/android/exoplayer2/source/chunk/ChunkHolder.java:36
↓ 11 callers
Method
configure
Configures (or reconfigures) the sink. @param inputEncoding The encoding of audio data provided in the input buffers. @param inputChannelCount The nu
exoplayer/src/main/java/com/google/android/exoplayer2/audio/AudioSink.java:203
↓ 11 callers
Method
createDataSource
Creates a {@link DataSource} for the given data type. @param dataType The data type for which the {@link DataSource} will be used. One of {@link C}
exoplayer/src/main/java/com/google/android/exoplayer2/source/hls/HlsDataSourceFactory.java:33
↓ 11 callers
Method
equals
(Object obj)
exoplayer/src/main/java/com/google/android/exoplayer2/Format.java:605
↓ 11 callers
Method
fromNewPosition
(MediaPeriodId periodId, long startPositionUs, long contentPositionUs)
exoplayer/src/main/java/com/google/android/exoplayer2/PlaybackInfo.java:73
↓ 11 callers
Method
get
Retrieves data for a given DRM scheme, specified by its UUID. @deprecated Use {@link #get(int)} and {@link SchemeData#matches(UUID)} instead. @param
exoplayer/src/main/java/com/google/android/exoplayer2/drm/DrmInitData.java:159
↓ 11 callers
Method
getTrackGroups
Returns the {@link TrackGroup}s exposed by the period. <p>This method should only be called after the period has been prepared. @return The {@link T
exoplayer/src/main/java/com/google/android/exoplayer2/source/MediaPeriod.java:82
↓ 11 callers
Method
getVideoFormat
Returns the video format currently being played, or null if no video is being played.
exoplayer/src/main/java/com/google/android/exoplayer2/SimpleExoPlayer.java:356
↓ 11 callers
Method
init
Initializes the extractor with an {@link ExtractorOutput}. Called at most once. @param output An {@link ExtractorOutput} to receive extracted data.
exoplayer/src/main/java/com/google/android/exoplayer2/extractor/Extractor.java:63
↓ 11 callers
Method
isAudio
Whether the top-level type of {@code mimeType} is audio. @param mimeType The mimeType to test. @return Whether the top level type is audio.
exoplayer/src/main/java/com/google/android/exoplayer2/util/MimeTypes.java:102
↓ 11 callers
Method
parseStringAttr
(String line, Pattern pattern)
exoplayer/src/main/java/com/google/android/exoplayer2/source/hls/playlist/HlsPlaylistParser.java:533
↓ 11 callers
Method
reevaluateBuffer
Re-evaluates the buffer given the playback position. <p>This method should only be called after the period has been prepared. <p>A period may choose
exoplayer/src/main/java/com/google/android/exoplayer2/source/MediaPeriod.java:219
↓ 11 callers
Method
seekToUs
Attempts to seek to the specified position in microseconds. <p>After this method has been called, all {@link SampleStream}s provided by the period ar
exoplayer/src/main/java/com/google/android/exoplayer2/source/MediaPeriod.java:151
↓ 11 callers
Method
send
Sends the message. If the target throws an {@link ExoPlaybackException} then it is propagated out of the player as an error using {@link Player.EventL
exoplayer/src/main/java/com/google/android/exoplayer2/PlayerMessage.java:235
↓ 11 callers
Method
setPayload
Sets the message payload forwarded to {@link Target#handleMessage(int, Object)}. @param payload The message payload. @return This message. @throws Il
exoplayer/src/main/java/com/google/android/exoplayer2/PlayerMessage.java:129
↓ 11 callers
Method
setType
Sets the message type forwarded to {@link Target#handleMessage(int, Object)}. @param messageType The message type. @return This message. @throws Ille
exoplayer/src/main/java/com/google/android/exoplayer2/PlayerMessage.java:111
↓ 10 callers
Method
allocate
Obtain an {@link Allocation}. <p> When the caller has finished with the {@link Allocation}, it should be returned by calling {@link #release(Allocatio
exoplayer/src/main/java/com/google/android/exoplayer2/upstream/Allocator.java:31
↓ 10 callers
Method
bytesLoaded
()
exoplayer/src/main/java/com/google/android/exoplayer2/source/hls/HlsMediaChunk.java:197
↓ 10 callers
Method
checkIndex
Throws {@link IndexOutOfBoundsException} if {@code index} falls outside the specified bounds. @param index The index to test. @param start The start
exoplayer/src/main/java/com/google/android/exoplayer2/util/Assertions.java:64
↓ 10 callers
Method
createMessage
Creates a message that can be sent to a {@link PlayerMessage.Target}. By default, the message will be delivered immediately without blocking on the pl
exoplayer/src/main/java/com/google/android/exoplayer2/ExoPlayer.java:225
↓ 10 callers
Method
createPeriod
Returns a new {@link MediaPeriod} identified by {@code periodId}. This method may be called multiple times with the same period identifier without an
exoplayer/src/main/java/com/google/android/exoplayer2/source/MediaSource.java:207
↓ 10 callers
Method
elapsedRealtime
@see android.os.SystemClock#elapsedRealtime()
exoplayer/src/main/java/com/google/android/exoplayer2/util/Clock.java:34
↓ 10 callers
Method
equals
(Object obj)
exoplayer/src/main/java/com/google/android/exoplayer2/audio/AudioAttributes.java:121
↓ 10 callers
Method
flush
Flushes the decoder. Ownership of dequeued input buffers is returned to the decoder. The caller is still responsible for releasing any dequeued output
exoplayer/src/main/java/com/google/android/exoplayer2/decoder/Decoder.java:62
↓ 10 callers
Method
getBufferedPositionUs
Returns an estimate of the position up to which data is buffered for the enabled tracks. <p>This method should only be called when at least one track
exoplayer/src/main/java/com/google/android/exoplayer2/source/MediaPeriod.java:176
↓ 10 callers
Method
getCurrentPosition
Returns the playback position in the current window, in milliseconds.
exoplayer/src/main/java/com/google/android/exoplayer2/Player.java:669
↓ 10 callers
Method
getPeriod
(int index)
exoplayer/src/main/java/com/google/android/exoplayer2/source/dash/manifest/DashManifest.java:110
↓ 10 callers
Method
getPeriodDurationUs
(int index)
exoplayer/src/main/java/com/google/android/exoplayer2/source/dash/manifest/DashManifest.java:120
↓ 10 callers
Method
getPlaybackParameters
Returns the currently active playback parameters. @see EventListener#onPlaybackParametersChanged(PlaybackParameters)
exoplayer/src/main/java/com/google/android/exoplayer2/Player.java:570
↓ 10 callers
Method
indexOfZeroByte
(byte[] data, int fromIndex)
exoplayer/src/main/java/com/google/android/exoplayer2/metadata/id3/Id3Decoder.java:717
↓ 10 callers
Method
isPendingReset
()
exoplayer/src/main/java/com/google/android/exoplayer2/source/chunk/ChunkSampleStream.java:558
↓ 10 callers
Method
isSupported
Applies the {@link RendererCapabilities#FORMAT_SUPPORT_MASK} to a value obtained from {@link RendererCapabilities#supportsFormat(Format)}, returning t
exoplayer/src/main/java/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.java:1091
↓ 10 callers
Method
onPrepared
Called when the wrapper has been prepared.
exoplayer/src/main/java/com/google/android/exoplayer2/source/hls/HlsSampleStreamWrapper.java:64
↓ 10 callers
Method
parseString
(XmlPullParser xpp, String name, String defaultValue)
exoplayer/src/main/java/com/google/android/exoplayer2/source/dash/manifest/DashManifestParser.java:1133
↓ 10 callers
Method
readLittleEndianUnsignedInt
Reads the next four bytes as an unsigned value in little endian order.
exoplayer/src/main/java/com/google/android/exoplayer2/util/ParsableByteArray.java:299
↓ 10 callers
Method
set
Sets the specified property {@code value} for the specified {@code name}. If a property for this name previously existed, the old value is replaced by
exoplayer/src/main/java/com/google/android/exoplayer2/upstream/HttpDataSource.java:103
↓ 10 callers
Method
set
@see android.media.MediaCodec.CryptoInfo#set(int, int[], int[], byte[], byte[], int)
exoplayer/src/main/java/com/google/android/exoplayer2/decoder/CryptoInfo.java:72
↓ 9 callers
Method
adjustTsTimestamp
Scales and offsets an MPEG-2 TS presentation timestamp considering wraparound. @param pts The MPEG-2 TS presentation timestamp. @return The adjusted
exoplayer/src/main/java/com/google/android/exoplayer2/util/TimestampAdjuster.java:113
↓ 9 callers
Method
appendToNalUnit
Called to pass stream data. The data passed should not include the 3 byte start code. @param data Holds the data being passed. @param offset The offs
exoplayer/src/main/java/com/google/android/exoplayer2/extractor/ts/H264Reader.java:304
← previous
next →
101–200 of 5,365, ranked by callers