Searched refs:mMediaItems (Results 1 – 2 of 2) sorted by relevance
68 private final List<MediaBrowserCompat.MediaItem> mMediaItems = new ArrayList<>(); field in BrowseFragment88 if (itemIndex >= mMediaItems.size()) {93 mMediaItems.addAll(children);97 if (itemIndex < mMediaItems.size()) {98 mMediaItems.set(itemIndex, item);100 mMediaItems.add(item);108 while (mMediaItems.size() > itemIndex) {109 mMediaItems.remove(mMediaItems.size() - 1);120 mMediaItems.clear();121 mMediaItems.addAll(children);[all …]
81 Vector<Media> mMediaItems; member105 mMediaItems.push(); in addMedia()106 Media &item = mMediaItems.editItemAt(mMediaItems.size() - 1); in addMedia()134 if (mSelectedIndex >= (ssize_t)mMediaItems.size()) { in pickRandomMediaItems()135 mSelectedIndex = mMediaItems.size() - 1; in pickRandomMediaItems()159 mSelectedIndex = (rand() * mMediaItems.size()) / RAND_MAX; in pickRandomMediaItems()170 if (index >= mMediaItems.size()) { in selectTrack()193 return mMediaItems.size(); in countTracks()197 if (index >= mMediaItems.size()) { in getTrackInfo()215 const Media &item = mMediaItems.itemAt(index); in getTrackInfo()[all …]