Home
last modified time | relevance | path

Searched refs:rendererIndex (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DMpegTsPlayerV2.java167 for (int rendererIndex = 0; rendererIndex < rendererCount; rendererIndex++) { in setCaptionServiceNumber()
168 if (mappedTrackInfo.getRendererType(rendererIndex) == C.TRACK_TYPE_TEXT) { in setCaptionServiceNumber()
169 TrackGroupArray trackGroupArray = mappedTrackInfo.getTrackGroups(rendererIndex); in setCaptionServiceNumber()
339 for (int rendererIndex = 0; rendererIndex < rendererCount; rendererIndex++) { in onTracksChanged()
340 if (mappedTrackInfo.getRendererType(rendererIndex) == C.TRACK_TYPE_TEXT) { in onTracksChanged()
342 mappedTrackInfo.getTrackGroups(rendererIndex); in onTracksChanged()
365 for (int rendererIndex = 0; rendererIndex < rendererCount; rendererIndex++) { in hasRendererType()
366 if (mappedTrackInfo.getRendererType(rendererIndex) == trackType) { in hasRendererType()
385 public int getTrackCount(int rendererIndex) { in getTrackCount() argument
388 TrackGroupArray trackGroupArray = mappedTrackInfo.getTrackGroups(rendererIndex); in getTrackCount()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java474 public int getTrackCount(int rendererIndex) { in getTrackCount() argument
475 return mPlayer.getTrackCount(rendererIndex); in getTrackCount()
479 public void setSelectedTrack(int rendererIndex, int trackIndex) { in setSelectedTrack() argument
480 if (trackIndex >= getTrackCount(rendererIndex)) { in setSelectedTrack()
483 mPlayer.setSelectedTrack(rendererIndex, trackIndex); in setSelectedTrack()
493 public int getSelectedTrack(int rendererIndex) { in getSelectedTrack() argument
494 return mPlayer.getSelectedTrack(rendererIndex); in getSelectedTrack()
504 public MediaFormat getTrackFormat(int rendererIndex, int trackIndex) { in getTrackFormat() argument
505 return mPlayer.getTrackFormat(rendererIndex, trackIndex); in getTrackFormat()