Searched refs:getCurrentPosition (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DMediaPlayerProxy.java46 int getCurrentPosition(); method in interface:MediaPlayerProxy
H A DSingleThreadedMediaPlayerProxy.java93 public synchronized int getCurrentPosition() { method in class:SingleThreadedMediaPlayerProxy
94 return mDelegate.getCurrentPosition();
H A DVariableSpeedNative.java76 /*package*/ static native int getCurrentPosition(); method in class:VariableSpeedNative
H A DVariableSpeed.java347 public int getCurrentPosition() { method in class:VariableSpeed
357 return VariableSpeedNative.getCurrentPosition();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerGetCurrentPositionStateUnitTest.java25 * MediaPlayer.getCurrentPosition() method can be called.
31 * 1. It is valid to call getCurrentPosition() in the following states:
33 * 2. It is invalid to call getCurrentPosition() in the following states:
56 player.getCurrentPosition();
66 return "getCurrentPosition()";
/frameworks/base/media/libmediaplayerservice/
H A DTestPlayerStub.h89 virtual status_t getCurrentPosition(int *p) { function in class:android::TestPlayerStub
90 return mPlayer->getCurrentPosition(p);
H A DMidiFile.h48 virtual status_t getCurrentPosition(int* msec);
H A DStagefrightPlayer.h52 virtual status_t getCurrentPosition(int *msec);
H A DStagefrightPlayer.cpp118 status_t StagefrightPlayer::getCurrentPosition(int *msec) { function in class:android::StagefrightPlayer
119 LOGV("getCurrentPosition");
/frameworks/base/include/media/
H A DIMediaPlayer.h51 virtual status_t getCurrentPosition(int* msec) = 0;
H A Dmediaplayer.h185 status_t getCurrentPosition(int *msec);
H A DMediaPlayerInterface.h131 virtual status_t getCurrentPosition(int *msec) = 0;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediaplayback/
H A DMediaPlayerApiTest.java106 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MP3CBR);
112 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MP3VBR);
118 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MIDI);
124 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.AMR);
130 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.OGG);
/frameworks/ex/variablespeed/jni/
H A Djni_entry.cc70 JNI_METHOD(getCurrentPosition, int) (JNIEnv*, jclass) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCodecTest.java104 public static boolean getCurrentPosition(String filePath){ method in class:CodecTest
123 currentPosition = mp.getCurrentPosition();
149 currentPosition = mp.getCurrentPosition();
186 currentPosition = mp.getCurrentPosition();
218 int curPosition = mp.getCurrentPosition();
346 currentPosition = mp.getCurrentPosition();
366 currentPosition = mp.getCurrentPosition();
392 currentPosition = mp.getCurrentPosition();
419 currentPosition = mp.getCurrentPosition();
448 currentPosition = mp.getCurrentPosition();
[all...]
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DMediaPlayerProxyTestCase.java204 mPlayer.getCurrentPosition();
209 assertEquals(0, mPlayer.getCurrentPosition());
211 assertEquals(0, mPlayer.getCurrentPosition());
219 assertEquals(2000, mPlayer.getCurrentPosition(), ERROR_TOLERANCE_MILLIS);
228 assertEquals(mPlayer.getDuration(), mPlayer.getCurrentPosition(), ERROR_TOLERANCE_MILLIS);
237 assertEquals(3000, mPlayer.getCurrentPosition(), ERROR_TOLERANCE_MILLIS);
/frameworks/base/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.h49 virtual status_t getCurrentPosition(int *msec);
H A DNuPlayerDriver.cpp202 status_t NuPlayerDriver::getCurrentPosition(int *msec) { function in class:android::NuPlayerDriver
/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp80 virtual status_t getCurrentPosition(int *msec) {return OK;} function in class:__anon958::Player
/frameworks/base/core/java/android/webkit/
H A DHTML5Audio.java124 int position = mMediaPlayer.getCurrentPosition();
174 nativeOnTimeupdate(mp.getCurrentPosition(), mNativePointer);
H A DHTML5VideoView.java109 public int getCurrentPosition() { method in class:HTML5VideoView
111 return mPlayer.getCurrentPosition();
H A DHTML5VideoViewProxy.java152 savePosition = mHTML5VideoView.getCurrentPosition();
217 public static int getCurrentPosition() { method in class:HTML5VideoViewProxy.VideoPlayer
220 currentPosMs = mHTML5VideoView.getCurrentPosition();
590 msg.arg1 = VideoPlayer.getCurrentPosition();
/frameworks/base/core/java/android/widget/
H A DVideoView.java319 (seekToPosition != 0 || getCurrentPosition() > 0)) {
597 public int getCurrentPosition() { method in class:VideoView
599 return mMediaPlayer.getCurrentPosition();
H A DMediaController.java413 int position = mPlayer.getCurrentPosition();
597 int pos = mPlayer.getCurrentPosition();
608 int pos = mPlayer.getCurrentPosition();
650 int getCurrentPosition(); method in interface:MediaController.MediaPlayerControl
/frameworks/media/libvideoeditor/lvpp/
H A DVideoEditorPlayer.h109 virtual status_t getCurrentPosition(int *msec);

Completed in 193 milliseconds

12