Lines Matching defs:first
869 * the first track.
870 * If the action is NOW, playback will switch to the first of
1152 // if we are at the end of the song, go to the next song first
1565 * @param first The first file to be removed
1569 public int removeTracks(int first, int last) {
1570 int numremoved = removeTracksInternal(first, last);
1577 private int removeTracksInternal(int first, int last) {
1579 if (last < first) return 0;
1580 if (first < 0) first = 0;
1584 if (first <= mPlayPos && mPlayPos <= last) {
1585 mPlayPos = first;
1588 mPlayPos -= (last - first + 1);
1592 mPlayList[first + i] = mPlayList[last + 1 + i];
1594 mPlayListLen -= last - first + 1;
1617 return last - first + 1;
2153 public int removeTracks(int first, int last) {
2154 return mService.get().removeTracks(first, last);