Searched refs:rendererIndex (Results 1 – 2 of 2) sorted by relevance
167 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() argument388 TrackGroupArray trackGroupArray = mappedTrackInfo.getTrackGroups(rendererIndex); in getTrackCount()[all …]
474 public int getTrackCount(int rendererIndex) { in getTrackCount() argument475 return mPlayer.getTrackCount(rendererIndex); in getTrackCount()479 public void setSelectedTrack(int rendererIndex, int trackIndex) { in setSelectedTrack() argument480 if (trackIndex >= getTrackCount(rendererIndex)) { in setSelectedTrack()483 mPlayer.setSelectedTrack(rendererIndex, trackIndex); in setSelectedTrack()493 public int getSelectedTrack(int rendererIndex) { in getSelectedTrack() argument494 return mPlayer.getSelectedTrack(rendererIndex); in getSelectedTrack()504 public MediaFormat getTrackFormat(int rendererIndex, int trackIndex) { in getTrackFormat() argument505 return mPlayer.getTrackFormat(rendererIndex, trackIndex); in getTrackFormat()