Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/httplive/
DM3UParser.cpp83 ssize_t mSelectedIndex; member
90 mSelectedIndex(-1) { in MediaGroup()
131 mSelectedIndex = strtoul(value, &end, 10); in pickRandomMediaItems()
134 if (mSelectedIndex >= (ssize_t)mMediaItems.size()) { in pickRandomMediaItems()
135 mSelectedIndex = mMediaItems.size() - 1; in pickRandomMediaItems()
138 mSelectedIndex = 0; in pickRandomMediaItems()
145 mSelectedIndex = 0; in pickRandomMediaItems()
151 mSelectedIndex = -1; in pickRandomMediaItems()
159 mSelectedIndex = (rand() * mMediaItems.size()) / RAND_MAX; in pickRandomMediaItems()
174 if (mSelectedIndex == (ssize_t)index) { in selectTrack()
[all …]
DM3UParser.h84 ssize_t mSelectedIndex; member