Home | History | Annotate | Download | only in music

Lines Matching refs:idx

1329                 int idx = mHistory.get(i).intValue();
1330 if (idx < numTracks && tracks[idx] >= 0) {
1332 tracks[idx] = -1;
1459 int idx = -1;
1461 idx = mRand.nextInt(mAutoShuffleList.length);
1462 if (!wasRecentlyUsed(idx, lookback)) {
1467 mHistory.add(idx);
1472 mPlayList[mPlayListLen++] = mAutoShuffleList[idx];
1480 // check that the specified idx is not in the history (but only look at at
1482 private boolean wasRecentlyUsed(int idx, int lookbacksize) {
1484 // early exit to prevent infinite loops in case idx == mPlayPos
1497 if (entry == idx) {