Home | History | Annotate | Download | only in music

Lines Matching refs:last

70     public static final int LAST = 3;
730 * the last file in the list has been played,
800 * @param action NOW, NEXT or LAST
808 // action == LAST || action == NOW || mPlayPos + 1 == mPlayListLen
1430 * @param last The last file to be removed
1433 public int removeTracks(int first, int last) {
1434 int numremoved = removeTracksInternal(first, last);
1441 private int removeTracksInternal(int first, int last) {
1443 if (last < first) return 0;
1445 if (last >= mPlayListLen) last = mPlayListLen - 1;
1448 if (first <= mPlayPos && mPlayPos <= last) {
1451 } else if (mPlayPos > last) {
1452 mPlayPos -= (last - first + 1);
1454 int num = mPlayListLen - last - 1;
1456 mPlayList[first + i] = mPlayList[last + 1 + i];
1458 mPlayListLen -= last - first + 1;
1476 return last - first + 1;
1930 public int removeTracks(int first, int last) {
1931 return mService.get().removeTracks(first, last);