Home | History | Annotate | Download | only in music

Lines Matching refs:curpos

796         int curpos = mTrackList.getSelectedItemPosition();
797 if (curcount == 0 || curpos < 0) {
807 if (curpos != MusicUtils.sService.getQueuePosition()) {
815 ((NowPlayingCursor)mTrackCursor).removeItem(curpos);
822 curpos);
832 mTrackList.setSelection(curpos < curcount ? curpos : curcount);
839 int curpos = mTrackList.getSelectedItemPosition();
840 if ( (up && curpos < 1) || (!up && curpos >= curcount - 1)) {
846 c.moveItem(curpos, up ? curpos - 1 : curpos + 1);
851 mTrackList.setSelection(curpos - 1);
853 mTrackList.setSelection(curpos + 1);
858 mTrackCursor.moveToPosition(curpos);