Lines Matching refs:position

468             ed.putLong("seekpos", mPlayer.position());
569 Log.d(LOGTAG, "restored queue, currently at position "
570 + position() + "/" + duration()
653 if (position() < 2000) {
723 // party-shuffle or because the play-position changed)
845 // insert the list of songs at the specified position in the playlist
846 private void addToPlayList(long [] list, int position) {
848 if (position < 0) { // overwrite
850 position = 0;
853 if (position > mPlayListLen) {
854 position = mPlayListLen;
858 int tailsize = mPlayListLen - position;
860 mPlayList[position + i] = mPlayList[position + i - addlen];
865 mPlayList[position + i] = list[i];
913 * position in the list, or a random position if the
914 * specified position is 0.
917 public void open(long [] list, int position) {
940 if (position >= 0) {
941 mPlayPos = position;
1166 mPlayer.position() >= duration - 2000) {
1324 * Get the next position to play. Note that this may actually modify mPlayPos
1444 long pos = position();
1450 // position, so don't update it.
1719 * Returns the position in the queue
1720 * @return the position in the queue
1729 * Starts playing the track at the given position in the queue.
1730 * @param pos The position in the queue of the track that will be played.
1820 * Returns the current playback position in milliseconds
1822 public long position() {
1824 return mPlayer.position();
1830 * Seeks to the position specified.
1832 * @param pos The position to seek to, in milliseconds
2008 public long position() {
2093 public void open(long [] list, int position) {
2094 mService.get().open(list, position);
2150 public long position() {
2151 return mService.get().position();