/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsSampleSource.java | 96 public MediaFormat getFormat(int track) { in getFormat() argument 98 return mSampleExtractor.getTrackFormats().get(track); in getFormat() 102 public void enable(int track, long positionUs) { in enable() argument 104 Assertions.checkState(mTrackStates.get(track) == TRACK_STATE_DISABLED); in enable() 105 mTrackStates.set(track, TRACK_STATE_ENABLED); in enable() 106 mSampleExtractor.selectTrack(track); in enable() 111 public void disable(int track) { in disable() argument 113 Assertions.checkState(mTrackStates.get(track) != TRACK_STATE_DISABLED); in disable() 114 mSampleExtractor.deselectTrack(track); in disable() 115 mPendingDiscontinuities.set(track, false); in disable() [all …]
|
D | MpegTsSampleExtractor.java | 182 public void getTrackMediaFormat(int track, MediaFormatHolder outMediaFormatHolder) { in getTrackMediaFormat() argument 183 if (track != mCea708TextTrackIndex) { in getTrackMediaFormat() 184 mSampleExtractor.getTrackMediaFormat(track, outMediaFormatHolder); in getTrackMediaFormat() 189 public int readSample(int track, SampleHolder sampleHolder) { in readSample() argument 190 if (track == mCea708TextTrackIndex) { in readSample() 205 int result = mSampleExtractor.readSample(track, sampleHolder); in readSample() 209 mReachedEos.set(track, true); in readSample() 215 && track == mVideoTrackIndex in readSample()
|
D | ExoPlayerSampleExtractor.java | 420 private int fetchSample(int track, ConditionVariable conditionVariable) { in fetchSample() argument 423 int ret = mStreams[track].readData(dummyFormatHolder, mDecoderInputBuffer, false); in fetchSample() 434 Long lastExtractedPositionUs = mLastExtractedPositionUsMap.get(track); in fetchSample() 436 mLastExtractedPositionUsMap.put(track, mDecoderInputBuffer.timeUs); in fetchSample() 439 track, in fetchSample() 442 queueSample(track, conditionVariable); in fetchSample() 449 mTrackMetEos[track] = true; in fetchSample() 565 public void getTrackMediaFormat(int track, MediaFormatHolder outMediaFormatHolder) { in getTrackMediaFormat() argument 566 outMediaFormatHolder.format = mTrackFormats.get(track); in getTrackMediaFormat() 596 public int readSample(int track, SampleHolder sampleHolder) { in readSample() argument [all …]
|
D | FileSampleExtractor.java | 95 public void getTrackMediaFormat(int track, MediaFormatHolder outMediaFormatHolder) { in getTrackMediaFormat() argument 96 outMediaFormatHolder.format = mTrackFormats.get(track); in getTrackMediaFormat() 135 public int readSample(int track, SampleHolder sampleHolder) { in readSample() argument 136 return mSampleBuffer.readSample(track, sampleHolder); in readSample()
|
D | Cea708TextTrackRenderer.java | 101 protected void onEnabled(int track, long positionUs, boolean joining) { in onEnabled() argument 102 Assertions.checkArgument(mTrackIndex != -1 && track == 0); in onEnabled() 138 protected MediaFormat getFormat(int track) { in getFormat() argument 139 Assertions.checkArgument(mTrackIndex != -1 && track == 0); in getFormat()
|
D | SampleExtractor.java | 87 void getTrackMediaFormat(int track, MediaFormatHolder outMediaFormatHolder); in getTrackMediaFormat() argument 103 int readSample(int track, SampleHolder sampleHolder); in readSample() argument
|
/packages/apps/TV/src/com/android/tv/util/ |
D | TvTrackInfoUtils.java | 102 for (TvTrackInfo track : tracks) { 103 if (comparator.compare(track, best) > 0) { 104 best = track; 112 for (TvTrackInfo track : tracks) { 113 String multiAudioString = getMultiAudioString(context, track, false); 123 Context context, TvTrackInfo track, boolean showSampleRate) { 124 if (track.getType() != TvTrackInfo.TYPE_AUDIO) { 125 throw new IllegalArgumentException("Not an audio track: " + toString(track)); 128 if (!TextUtils.isEmpty(track.getLanguage())) { 129 language = new Locale(track.getLanguage()).getDisplayName(); [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | VideoUtils.java | 92 for (Track track : tracks) { in startMuteUsingMp4Parser() 93 if (track.getHandler().equals("vide")) { in startMuteUsingMp4Parser() 94 movie.addTrack(track); in startMuteUsingMp4Parser() 247 for (Track track : tracks) { in trimUsingMp4Parser() 248 if (track.getSyncSamples() != null && track.getSyncSamples().length > 0) { in trimUsingMp4Parser() 259 startTime = correctTimeToSyncSample(track, startTime, false); in trimUsingMp4Parser() 260 endTime = correctTimeToSyncSample(track, endTime, true); in trimUsingMp4Parser() 265 for (Track track : tracks) { in trimUsingMp4Parser() 271 for (int i = 0; i < track.getDecodingTimeEntries().size(); i++) { in trimUsingMp4Parser() 272 TimeToSampleBox.Entry entry = track.getDecodingTimeEntries().get(i); in trimUsingMp4Parser() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | FileCleaner.java | 59 public static void track(File file, Object marker) { in track() method in FileCleaner 60 theInstance.track(file, marker); in track() 75 public static void track(File file, Object marker, FileDeleteStrategy deleteStrategy) { in track() method in FileCleaner 76 theInstance.track(file, marker, deleteStrategy); in track() 90 public static void track(String path, Object marker) { in track() method in FileCleaner 91 theInstance.track(path, marker); in track() 106 public static void track(String path, Object marker, FileDeleteStrategy deleteStrategy) { in track() method in FileCleaner 107 theInstance.track(path, marker, deleteStrategy); in track()
|
D | FileCleaningTracker.java | 71 public void track(File file, Object marker) { in track() method in FileCleaningTracker 72 track(file, marker, (FileDeleteStrategy) null); in track() 85 public void track(File file, Object marker, FileDeleteStrategy deleteStrategy) { in track() method in FileCleaningTracker 101 public void track(String path, Object marker) { in track() method in FileCleaningTracker 102 track(path, marker, (FileDeleteStrategy) null); in track() 115 public void track(String path, Object marker, FileDeleteStrategy deleteStrategy) { in track() method in FileCleaningTracker
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | ClosedCaptionFragment.java | 128 private String getLabel(TvTrackInfo track, Integer trackIndex) { in getLabel() argument 129 if (track == null) { in getLabel() 131 } else if (track.getLanguage() != null) { in getLabel() 132 return new Locale(track.getLanguage()).getDisplayName(); in getLabel() 141 private ClosedCaptionOptionItem(TvTrackInfo track, Integer trackIndex) { in ClosedCaptionOptionItem() argument 142 super(getLabel(track, trackIndex)); in ClosedCaptionOptionItem() 143 if (track == null) { in ClosedCaptionOptionItem() 148 mTrackId = track.getId(); in ClosedCaptionOptionItem()
|
D | MultiAudioFragment.java | 57 for (final TvTrackInfo track : tracks) { in getItemList() 61 getActivity(), track, needToShowSampleRate), in getItemList() 62 track.getId()); in getItemList() 63 if (track.getId().equals(mSelectedTrackId)) { in getItemList() 66 mSelectedTrackId = mFocusedTrackId = track.getId(); in getItemList()
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivity.java | 1917 for (TvTrackInfo track : tracks) { 1918 if (trackId.equals(track.getId())) { 1919 bestTrack = track; 1960 TvTrackInfo track = tracks.get(i); 1961 if (Utils.isEqualLanguage(track.getLanguage(), language)) { 1962 if (track.getId().equals(trackId)) { 1963 if (!track.getId().equals(selectedTrackId)) { 1964 selectTrack(TvTrackInfo.TYPE_SUBTITLE, track, i); 1967 mTvOptionsManager.onClosedCaptionsChanged(track, i); 1973 + track.getId() [all …]
|
D | TvOptionsManager.java | 89 public void onClosedCaptionsChanged(TvTrackInfo track, int trackIndex) { in onClosedCaptionsChanged() argument 91 (track == null) in onClosedCaptionsChanged() 93 : (track.getLanguage() != null) in onClosedCaptionsChanged() 94 ? track.getLanguage() in onClosedCaptionsChanged()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | MpegTsDefaultAudioTrackRenderer.java | 191 protected MediaFormat getFormat(int track) { in getFormat() argument 192 Assertions.checkArgument(track >= 0 && track < mTracksIndex.size()); in getFormat() 193 return mSource.getFormat(mTracksIndex.get(track)); in getFormat() 197 protected void onEnabled(int track, long positionUs, boolean joining) { in onEnabled() argument 198 Assertions.checkArgument(track >= 0 && track < mTracksIndex.size()); in onEnabled() 199 mTrackIndex = mTracksIndex.get(track); in onEnabled()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | RecordingSampleBuffer.java | 233 public int readSample(int track, SampleHolder outSample) { in readSample() argument 234 Assertions.checkState(mTrackSelected[track]); in readSample() 235 maybeReadSample(mReadSampleQueues.get(track), track); in readSample() local 236 int result = mReadSampleQueues.get(track).dequeueSample(outSample); in readSample()
|
D | SimpleSampleBuffer.java | 112 public synchronized int readSample(int track, SampleHolder sampleHolder) { in readSample() argument 113 SampleQueue queue = mPlayingSampleQueues[track]; in readSample()
|
D | DvrStorageManager.java | 367 AtscCaptionTrack track = tracks.get(i); in writeCaptionInfoFiles() local 372 out.write(MessageNano.toByteArray(track)); in writeCaptionInfoFiles()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlaybackSideFragment.java | 130 private String getTrackLabel(TvTrackInfo track, int trackIndex) { 131 if (track.getLanguage() != null) { 132 return new Locale(track.getLanguage()).getDisplayName(); 134 return track.getType() == TvTrackInfo.TYPE_SUBTITLE
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | StatePanel.java | 35 private StatePanelTrack track; field in StatePanel 50 track = (StatePanelTrack) panel; in onCreateView() 51 track.setAdapter(MasterImage.getImage().getState()); in onCreateView()
|
/packages/apps/TV/tuner/proto/ |
D | track.proto | 26 // Represents a AC3 audio track. 36 // Enum describing the types of a audio track. 48 // Represents a CEA-708 caption track.
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TunableTvView.java | 248 for (TvTrackInfo track : tracks) { 249 if (track.getType() == TvTrackInfo.TYPE_SUBTITLE) { 276 for (TvTrackInfo track : tracks) { 277 if (track.getId().equals(trackId)) { 279 mVideoWidth = track.getVideoWidth(); 280 mVideoHeight = track.getVideoHeight(); 284 mVideoFrameRate = track.getVideoFrameRate(); 289 track.getVideoPixelAspectRatio(); 296 mAudioChannelCount = track.getAudioChannelCount();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
D | BitmapCache.java | 61 private void track(Bitmap bitmap, int type) { in track() method in BitmapCache 198 track(bitmap, type); in getBitmap()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | LocalDiscoverySession.java | 126 localPrinter.track(); in onStartPrinterStateTracking() 162 localPrinter.track(); in onPrinterFound()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorkerExoV2.java | 1382 for (TvTrackInfo track : mTvTracks) { in doSelectTrack() 1383 if (track.getId().equals(trackId)) { in doSelectTrack() 1585 TvTrackInfo track = builder.build(); in notifyAudioTracksUpdated() local 1586 mTvTracks.add(track); in notifyAudioTracksUpdated()
|