Lines Matching refs:last
1497 public int removeTracks(int first, int last) { in removeTracks() argument
1498 int numremoved = removeTracksInternal(first, last); in removeTracks()
1505 private int removeTracksInternal(int first, int last) { in removeTracksInternal() argument
1507 if (last < first) return 0; in removeTracksInternal()
1509 if (last >= mPlayListLen) last = mPlayListLen - 1; in removeTracksInternal()
1512 if (first <= mPlayPos && mPlayPos <= last) { in removeTracksInternal()
1515 } else if (mPlayPos > last) { in removeTracksInternal()
1516 mPlayPos -= (last - first + 1); in removeTracksInternal()
1518 int num = mPlayListLen - last - 1; in removeTracksInternal()
1520 mPlayList[first + i] = mPlayList[last + 1 + i]; in removeTracksInternal()
1522 mPlayListLen -= last - first + 1; in removeTracksInternal()
1545 return last - first + 1; in removeTracksInternal()
1998 public int removeTracks(int first, int last) { in removeTracks() argument
1999 return mService.get().removeTracks(first, last); in removeTracks()