Home | History | Annotate | Download | only in music

Lines Matching refs:pos

520             int pos = mPreferences.getInt("curpos", 0);
521 if (pos < 0 || pos >= mPlayListLen) {
526 mPlayPos = pos;
1048 int pos = getNextPosition(false);
1049 if (pos < 0) {
1057 mPlayPos = pos;
1059 mPlayPos = pos;
1304 Integer pos = mHistory.remove(histsize - 1);
1305 mPlayPos = pos.intValue();
1413 int pos = getNextPosition(force);
1414 if (pos < 0) {
1422 mPlayPos = pos;
1425 mPlayPos = pos;
1442 long pos = position();
1445 if ((pos < bookmark && (pos + 10000) > bookmark) ||
1446 (pos > bookmark && (pos - 10000) < bookmark)) {
1451 if (pos < 15000 || (pos + 10000) > duration) {
1453 pos = 0;
1456 // write 'pos' to the bookmark field
1458 values.put(MediaStore.Audio.Media.BOOKMARK, pos);
1728 * @param pos The position in the queue of the track that will be played.
1730 public void setQueuePosition(int pos) {
1733 mPlayPos = pos;
1830 * @param pos The position to seek to, in milliseconds
1832 public long seek(long pos) {
1834 if (pos < 0) pos = 0;
1835 if (pos > mPlayer.duration()) pos = mPlayer.duration();
1836 return mPlayer.seek(pos);
2154 public long seek(long pos) {
2155 return mService.get().seek(pos);