Searched refs:curpos (Results 1 – 2 of 2) sorted by relevance
796 int curpos = mTrackList.getSelectedItemPosition(); in removeItem() local797 if (curcount == 0 || curpos < 0) { in removeItem()807 if (curpos != MusicUtils.sService.getQueuePosition()) { in removeItem()815 ((NowPlayingCursor)mTrackCursor).removeItem(curpos); in removeItem()822 mTrackCursor.moveToPosition(curpos); in removeItem()832 mTrackList.setSelection(curpos < curcount ? curpos : curcount); in removeItem()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);[all …]
805 int curpos = sService.getQueuePosition(); in playAll() local806 if (position != -1 && curpos == position && curid == list[position]) { in playAll()