Searched refs:rendererIndex (Results 1 – 2 of 2) sorted by relevance
186 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() argument427 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()