Searched refs:track (Results 1 - 25 of 27) sorted by relevance

12

/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DFileCleaner.java22 * Keeps track of files awaiting deletion, and deletes them when an associated
54 * @param marker the marker object used to track the file, not null
56 * @deprecated Use {@link FileCleaningTracker#track(File, Object)}.
59 public static void track(File file, Object marker) { method in class:FileCleaner
60 theInstance.track(file, marker);
69 * @param marker the marker object used to track the file, not null
72 * @deprecated Use {@link FileCleaningTracker#track(File, Object, FileDeleteStrategy)}.
75 public static void track(File file, Object marker, FileDeleteStrategy deleteStrategy) { method in class:FileCleaner
76 theInstance.track(file, marker, deleteStrategy);
85 * @param marker the marker object used to track th
90 public static void track(String path, Object marker) { method in class:FileCleaner
106 public static void track(String path, Object marker, FileDeleteStrategy deleteStrategy) { method in class:FileCleaner
[all...]
H A DFileCleaningTracker.java26 * Keeps track of files awaiting deletion, and deletes them when an associated
68 * @param marker the marker object used to track the file, not null
71 public void track(File file, Object marker) { method in class:FileCleaningTracker
72 track(file, marker, (FileDeleteStrategy) null);
81 * @param marker the marker object used to track the file, not null
85 public void track(File file, Object marker, FileDeleteStrategy deleteStrategy) { method in class:FileCleaningTracker
98 * @param marker the marker object used to track the file, not null
101 public void track(String path, Object marker) { method in class:FileCleaningTracker
102 track(path, marker, (FileDeleteStrategy) null);
111 * @param marker the marker object used to track th
115 public void track(String path, Object marker, FileDeleteStrategy deleteStrategy) { method in class:FileCleaningTracker
[all...]
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/
H A DMpegTsSampleSource.java97 public MediaFormat getFormat(int track) { argument
99 return mSampleExtractor.getTrackFormats().get(track);
103 public void enable(int track, long positionUs) { argument
105 Assertions.checkState(mTrackStates.get(track) == TRACK_STATE_DISABLED);
106 mTrackStates.set(track, TRACK_STATE_ENABLED);
107 mSampleExtractor.selectTrack(track);
112 public void disable(int track) { argument
114 Assertions.checkState(mTrackStates.get(track) != TRACK_STATE_DISABLED);
115 mSampleExtractor.deselectTrack(track);
116 mPendingDiscontinuities.set(track, fals
121 continueBuffering(int track, long positionUs) argument
126 readDiscontinuity(int track) argument
135 readData(int track, long positionUs, MediaFormatHolder formatHolder, SampleHolder sampleHolder) argument
[all...]
H A DSampleExtractor.java30 * Extractor for reading track metadata and samples stored in tracks.
32 * <p>Call {@link #prepare} until it returns {@code true}, then access track metadata via
35 * <p>Pass indices of tracks to read from to {@link #selectTrack}. A track can later be deselected
52 * Prepares the extractor for reading track metadata and samples.
59 /** Returns track information about all tracks that can be selected. */
62 /** Selects the track at {@code index} for reading sample data. */
65 /** Deselects the track at {@code index}, so no more samples will be read from that track. */
88 /** Stores the {@link MediaFormat} of {@code track}. */
89 void getTrackMediaFormat(int track, MediaFormatHolde argument
105 readSample(int track, SampleHolder sampleHolder) argument
[all...]
H A DExoPlayerSampleExtractor.java227 private int fetchSample(int track, SampleHolder sample, argument
229 mSampleSourceReader.continueBuffering(track, mCurrentPosition);
233 int ret = mSampleSourceReader.readData(track, mCurrentPosition, formatHolder, sample);
239 Long lastExtractedPositionUs = mLastExtractedPositionUsMap.get(track);
241 mLastExtractedPositionUsMap.put(track, sample.timeUs);
243 mLastExtractedPositionUsMap.put(track,
246 queueSample(track, sample, conditionVariable);
253 mTrackMetEos[track] = true;
310 public void getTrackMediaFormat(int track, MediaFormatHolder outMediaFormatHolder) { argument
311 outMediaFormatHolder.format = mTrackFormats.get(track);
341 readSample(int track, SampleHolder sampleHolder) argument
[all...]
H A DFileSampleExtractor.java89 public void getTrackMediaFormat(int track, MediaFormatHolder outMediaFormatHolder) { argument
90 outMediaFormatHolder.format = mTrackFormats.get(track);
129 public int readSample(int track, SampleHolder sampleHolder) { argument
130 return mSampleBuffer.readSample(track, sampleHolder);
H A DMpegTsSampleExtractor.java171 public void getTrackMediaFormat(int track, MediaFormatHolder outMediaFormatHolder) { argument
172 if (track != mCea708TextTrackIndex) {
173 mSampleExtractor.getTrackMediaFormat(track, outMediaFormatHolder);
178 public int readSample(int track, SampleHolder sampleHolder) { argument
179 if (track == mCea708TextTrackIndex) {
193 int result = mSampleExtractor.readSample(track, sampleHolder);
196 mReachedEos.set(track, true);
200 if (mCea708TextTrackSelected && track == mVideoTrackIndex
H A DCea708TextTrackRenderer.java100 protected void onEnabled(int track, long positionUs, boolean joining) { argument
101 Assertions.checkArgument(mTrackIndex != -1 && track == 0);
126 // Since this track will be fed by {@link VideoTrackRenderer},
137 protected MediaFormat getFormat(int track) { argument
138 Assertions.checkArgument(mTrackIndex != -1 && track == 0);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DVideoUtils.java56 * Remove the sound track.
92 for (Track track : tracks) {
93 if (track.getHandler().equals("vide")) {
94 movie.addTrack(track);
123 * @param useAudio true if keep the audio track from the source.
124 * @param useVideo true if keep the video track from the source.
244 // Here we try to find a track that has sync samples. Since we can only
247 for (Track track : tracks) {
248 if (track.getSyncSamples() != null && track
300 correctTimeToSyncSample(Track track, double cutHere, boolean next) argument
[all...]
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
H A DMultiAudioFragment.java58 for (final TvTrackInfo track : tracks) {
60 Utils.getMultiAudioString(getActivity(), track, needToShowSampleRate),
61 track.getId());
62 if (track.getId().equals(mSelectedTrackId)) {
65 mSelectedTrackId = mFocusedTrackId = track.getId();
H A DClosedCaptionFragment.java85 for (final TvTrackInfo track : tracks) {
86 item = new ClosedCaptionOptionItem(getLabel(track),
87 CaptionSettings.OPTION_ON, track.getId(), track.getLanguage());
88 if (isEnabled && track.getId().equals(trackId)) {
175 private String getLabel(TvTrackInfo track) { argument
176 if (track.getLanguage() != null) {
177 return new Locale(track.getLanguage()).getDisplayName();
/packages/apps/TV/src/com/android/tv/util/
H A DTvTrackInfoUtils.java32 * @param id The track id to match.
54 // selected any track before or selected a track without language information.
93 * @param id The track id to match.
96 * @return the best matching track or the first one if none matches.
105 for (TvTrackInfo track : tracks) {
106 if (comparator.compare(track, best) > 0) {
107 best = track;
H A DUtils.java511 for (TvTrackInfo track : tracks) {
512 String multiAudioString = getMultiAudioString(context, track, false);
521 public static String getMultiAudioString(Context context, TvTrackInfo track, argument
523 if (track.getType() != TvTrackInfo.TYPE_AUDIO) {
524 throw new IllegalArgumentException("Not an audio track: " + track);
527 if (!TextUtils.isEmpty(track.getLanguage())) {
528 language = new Locale(track.getLanguage()).getDisplayName();
530 Log.d(TAG, "No language information found for the audio track: " + track);
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStatePanel.java35 private StatePanelTrack track; field in class:StatePanel
50 track = (StatePanelTrack) panel;
51 track.setAdapter(MasterImage.getImage().getState());
/packages/apps/TV/src/com/android/tv/
H A DTvOptionsManager.java32 * The TvOptionsManager is responsible for keeping track of current TV options such as closed
121 public void onClosedCaptionsChanged(TvTrackInfo track) { argument
122 mClosedCaptionsLanguage = (track == null) ? null
123 : (track.getLanguage() != null) ? track.getLanguage()
H A DMainActivity.java2225 for (TvTrackInfo track : tracks) {
2226 if (Utils.isEqualLanguage(track.getLanguage(), language)) {
2227 if (track.getId().equals(trackId)) {
2228 if (!track.getId().equals(selectedTrackId)) {
2229 selectTrack(TvTrackInfo.TYPE_SUBTITLE, track);
2232 mTvOptionsManager.onClosedCaptionsChanged(track);
2235 Log.d(TAG, "Subtitle Track Selected {id=" + track.getId()
2236 + ", language=" + track.getLanguage() + "}");
2240 alternativeTrack = track;
3015 private void selectTrack(int type, TvTrackInfo track) { argument
[all...]
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/
H A DRecordingSampleBuffer.java225 public int readSample(int track, SampleHolder outSample) { argument
226 Assertions.checkState(mTrackSelected[track]);
227 maybeReadSample(mReadSampleQueues.get(track), track);
228 int result = mReadSampleQueues.get(track).dequeueSample(outSample);
H A DSimpleSampleBuffer.java116 public synchronized int readSample(int track, SampleHolder sampleHolder) { argument
117 SampleQueue queue = mPlayingSampleQueues[track];
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/ac3/
H A DAc3PassthroughTrackRenderer.java162 protected MediaFormat getFormat(int track) { argument
163 Assertions.checkArgument(track >= 0 && track < mTracksIndex.size());
164 return mSource.getFormat(mTracksIndex.get(track));
168 protected void onEnabled(int track, long positionUs, boolean joining) { argument
169 Assertions.checkArgument(track >= 0 && track < mTracksIndex.size());
170 mTrackIndex = mTracksIndex.get(track);
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/
H A DMediaCard.java133 public void setSubtitle(String track) { argument
134 mSubtitle.setText(track);
/packages/apps/TV/src/com/android/tv/ui/
H A DTunableTvView.java226 for (TvTrackInfo track : tracks) {
227 if (track.getType() == TvTrackInfo.TYPE_SUBTITLE) {
240 // A track is unselected.
254 for (TvTrackInfo track : tracks) {
255 if (track.getId().equals(trackId)) {
257 mVideoWidth = track.getVideoWidth();
258 mVideoHeight = track.getVideoHeight();
261 mVideoFrameRate = track.getVideoFrameRate();
266 track.getVideoPixelAspectRatio();
271 mAudioChannelCount = track
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A DBitmapCache.java61 private void track(Bitmap bitmap, int type) { method in class:BitmapCache
198 track(bitmap, type);
/packages/apps/TV/libs/
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
H A DAddressedMediaPlayer.java257 byte[] track = ByteBuffer.allocate(AvrcpConstants.UID_SIZE).putLong(qid).array();
260 mMediaInterface.trackChangedRsp(type, track);
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_avrcp.cpp796 jbyteArray track) {
802 jbyte* trk = env->GetByteArrayElements(track, NULL);
811 param.track[uid_idx] = trk[uid_idx];
815 ALOGV("%s: Sending track change notification: %d -> %llu", __func__, type,
821 ALOGE("Failed register_notification_rsp track change, status: %d", status);
824 env->ReleaseByteArrayElements(track, trk, 0);
793 registerNotificationRspTrackChangeNative(JNIEnv* env, jobject object, jint type, jbyteArray track) argument

Completed in 1448 milliseconds

12