Lines Matching refs:last
1579 public int removeTracks(int first, int last) { in removeTracks() argument
1580 int numremoved = removeTracksInternal(first, last); in removeTracks()
1587 private int removeTracksInternal(int first, int last) { in removeTracksInternal() argument
1589 if (last < first) return 0; in removeTracksInternal()
1591 if (last >= mPlayListLen) last = mPlayListLen - 1; in removeTracksInternal()
1594 if (first <= mPlayPos && mPlayPos <= last) { in removeTracksInternal()
1597 } else if (mPlayPos > last) { in removeTracksInternal()
1598 mPlayPos -= (last - first + 1); in removeTracksInternal()
1600 int num = mPlayListLen - last - 1; in removeTracksInternal()
1602 mPlayList[first + i] = mPlayList[last + 1 + i]; in removeTracksInternal()
1604 mPlayListLen -= last - first + 1; in removeTracksInternal()
1627 return last - first + 1; in removeTracksInternal()
2163 public int removeTracks(int first, int last) { in removeTracks() argument
2164 return mService.get().removeTracks(first, last); in removeTracks()