Home | History | Annotate | Download | only in music

Lines Matching defs:LAST

74     public static final int LAST = 3;
790 * the last file in the list has been played,
882 * @param action NOW, NEXT or LAST
890 // action == LAST || action == NOW || mPlayPos + 1 == mPlayListLen
1578 * @param last The last file to be removed
1581 public int removeTracks(int first, int last) {
1582 int numremoved = removeTracksInternal(first, last);
1589 private int removeTracksInternal(int first, int last) {
1591 if (last < first) return 0;
1593 if (last >= mPlayListLen) last = mPlayListLen - 1;
1596 if (first <= mPlayPos && mPlayPos <= last) {
1599 } else if (mPlayPos > last) {
1600 mPlayPos -= (last - first + 1);
1602 int num = mPlayListLen - last - 1;
1604 mPlayList[first + i] = mPlayList[last + 1 + i];
1606 mPlayListLen -= last - first + 1;
1629 return last - first + 1;
2165 public int removeTracks(int first, int last) {
2166 return mService.get().removeTracks(first, last);