Searched refs:getCurrentPosition (Results 1 - 25 of 37) 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/av/media/libmediaplayerservice/
H A DTestPlayerStub.h89 virtual status_t getCurrentPosition(int *p) { function in class:android::TestPlayerStub
90 return mPlayer->getCurrentPosition(p);
H A DStagefrightPlayer.h52 virtual status_t getCurrentPosition(int *msec);
H A DMidiFile.h48 virtual status_t getCurrentPosition(int* msec);
H A DStagefrightPlayer.cpp118 status_t StagefrightPlayer::getCurrentPosition(int *msec) { function in class:android::StagefrightPlayer
119 ALOGV("getCurrentPosition");
/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/mediaplayback/
H A DMediaPlayerApiTest.java109 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MP3CBR);
115 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MP3VBR);
121 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MIDI);
127 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.AMR);
133 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.OGG);
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextPlayer.cpp106 listener->getCurrentPosition(&positionMs);
144 listener->getCurrentPosition(&positionMs);
279 listener->getCurrentPosition(&positionMs);
/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/av/include/media/
H A DIMediaPlayer.h56 virtual status_t getCurrentPosition(int* msec) = 0;
H A Dmediaplayer.h213 status_t getCurrentPosition(int *msec);
H A DMediaPlayerInterface.h145 virtual status_t getCurrentPosition(int *msec) = 0;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.h49 virtual status_t getCurrentPosition(int *msec);
/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp80 virtual status_t getCurrentPosition(int *msec) {return OK;} function in class:__anon41::Player
/frameworks/base/core/java/android/webkit/
H A DHTML5Audio.java126 int position = mMediaPlayer.getCurrentPosition();
181 nativeOnTimeupdate(mp.getCurrentPosition(), mNativePointer);
H A DHTML5VideoView.java119 public int getCurrentPosition() { method in class:HTML5VideoView
121 return mPlayer.getCurrentPosition();
H A DHTML5VideoViewProxy.java157 savePosition = mHTML5VideoView.getCurrentPosition();
265 public static int getCurrentPosition() { method in class:HTML5VideoViewProxy.VideoPlayer
268 currentPosMs = mHTML5VideoView.getCurrentPosition();
665 msg.arg1 = VideoPlayer.getCurrentPosition();
/frameworks/base/core/java/android/widget/
H A DVideoView.java337 (seekToPosition != 0 || getCurrentPosition() > 0)) {
624 public int getCurrentPosition() { method in class:VideoView
626 return mMediaPlayer.getCurrentPosition();
H A DMediaController.java415 int position = mPlayer.getCurrentPosition();
612 int pos = mPlayer.getCurrentPosition();
623 int pos = mPlayer.getCurrentPosition();
665 int getCurrentPosition(); method in interface:MediaController.MediaPlayerControl
/frameworks/wilhelm/src/android/
H A Dandroid_GenericMediaPlayer.cpp293 if (player == 0 || player->getCurrentPosition(msec) != NO_ERROR) {
499 && (OK == mPlayer->getCurrentPosition(&positionMsec))) {
539 // Mark this player as prepared successfully, so safe to directly call getCurrentPosition

Completed in 2707 milliseconds

12