Searched refs:mSelectedIndex (Results 1 – 2 of 2) sorted by relevance
85 ssize_t mSelectedIndex; member92 mSelectedIndex(-1) { in MediaGroup()133 mSelectedIndex = strtoul(value, &end, 10); in pickRandomMediaItems()136 if (mSelectedIndex >= (ssize_t)mMediaItems.size()) { in pickRandomMediaItems()137 mSelectedIndex = mMediaItems.size() - 1; in pickRandomMediaItems()140 mSelectedIndex = 0; in pickRandomMediaItems()147 mSelectedIndex = 0; in pickRandomMediaItems()153 mSelectedIndex = -1; in pickRandomMediaItems()161 mSelectedIndex = (rand() * mMediaItems.size()) / RAND_MAX; in pickRandomMediaItems()176 if (mSelectedIndex == (ssize_t)index) { in selectTrack()[all …]
85 ssize_t mSelectedIndex; member