Home
last modified time | relevance | path

Searched refs:curpos (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Music/src/com/android/music/
DTrackBrowserActivity.java796 int curpos = mTrackList.getSelectedItemPosition(); in removeItem() local
797 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 …]
DMusicUtils.java805 int curpos = sService.getQueuePosition(); in playAll() local
806 if (position != -1 && curpos == position && curid == list[position]) { in playAll()