Searched refs:mSelectedIndex (Results 1 – 2 of 2) sorted by relevance
83 ssize_t mSelectedIndex; member90 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 …]
84 ssize_t mSelectedIndex; member