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.java186 for (int rendererIndex = 0; rendererIndex < rendererCount; rendererIndex++) { in setCaptionServiceNumber()
187 if (mappedTrackInfo.getRendererType(rendererIndex) == C.TRACK_TYPE_TEXT) { in setCaptionServiceNumber()
188 TrackGroupArray trackGroupArray = mappedTrackInfo.getTrackGroups(rendererIndex); in setCaptionServiceNumber()
378 for (int rendererIndex = 0; rendererIndex < rendererCount; rendererIndex++) { in onTracksChanged()
379 if (mappedTrackInfo.getRendererType(rendererIndex) == C.TRACK_TYPE_TEXT) { in onTracksChanged()
381 mappedTrackInfo.getTrackGroups(rendererIndex); in onTracksChanged()
404 for (int rendererIndex = 0; rendererIndex < rendererCount; rendererIndex++) { in hasRendererType()
405 if (mappedTrackInfo.getRendererType(rendererIndex) == trackType) { in hasRendererType()
424 public int getTrackCount(int rendererIndex) { in getTrackCount() argument
427 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()