Searched refs:mSelectedIndex (Results 1 – 2 of 2) sorted by relevance
86 ssize_t mSelectedIndex; member93 mSelectedIndex(-1) { in MediaGroup()134 mSelectedIndex = strtoul(value, &end, 10); in pickRandomMediaItems()137 if (mSelectedIndex >= (ssize_t)mMediaItems.size()) { in pickRandomMediaItems()138 mSelectedIndex = mMediaItems.size() - 1; in pickRandomMediaItems()141 mSelectedIndex = 0; in pickRandomMediaItems()148 mSelectedIndex = 0; in pickRandomMediaItems()154 mSelectedIndex = -1; in pickRandomMediaItems()162 mSelectedIndex = (rand() * mMediaItems.size()) / RAND_MAX; in pickRandomMediaItems()177 if (mSelectedIndex == (ssize_t)index) { in selectTrack()[all …]
85 ssize_t mSelectedIndex; member