Searched refs:getCurrentPosition (Results 1 - 25 of 37) sorted by last modified time

12

/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
/frameworks/ex/variablespeed/jni/
H A Djni_entry.cc70 JNI_METHOD(getCurrentPosition, int) (JNIEnv*, jclass) {
/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 DVariableSpeed.java347 public int getCurrentPosition() { method in class:VariableSpeed
357 return VariableSpeedNative.getCurrentPosition();
H A DVariableSpeedNative.java76 /*package*/ static native int getCurrentPosition(); method in class:VariableSpeedNative
/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/tests/players/
H A Dinvoke_mock_media_player.cpp80 virtual status_t getCurrentPosition(int *msec) {return OK;} function in class:__anon1114::Player
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DRgbPlayerActivity.java224 public int getCurrentPosition() { method in class:RgbPlayerActivity.RgbView
H A DVideoDumpView.java236 public int getCurrentPosition () { method in class:VideoDumpView
238 return mMediaPlayer.getCurrentPosition();
/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/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/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/java/android/media/
H A DMediaPlayer.java92 * as {@link #getCurrentPosition()},
256 * can be retrieved with a call to {@link #getCurrentPosition()}, which
296 * <tr><td>getCurrentPosition </p></td>
1174 public native int getCurrentPosition(); method in class:MediaPlayer
/frameworks/base/media/jni/
H A Dandroid_media_MediaPlayer.cpp445 process_media_player_call( env, thiz, mp->getCurrentPosition(&msec), NULL, NULL );
446 ALOGV("getCurrentPosition: %d (msec)", msec);
846 {"getCurrentPosition", "()I", (void *)android_media_MediaPlayer_getCurrentPosition},
/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 DMediaController.java415 int position = mPlayer.getCurrentPosition();
612 int pos = mPlayer.getCurrentPosition();
623 int pos = mPlayer.getCurrentPosition();
665 int getCurrentPosition(); method in interface:MediaController.MediaPlayerControl
H A DVideoView.java335 (seekToPosition != 0 || getCurrentPosition() > 0)) {
617 public int getCurrentPosition() { method in class:VideoView
619 return mMediaPlayer.getCurrentPosition();
/frameworks/av/include/media/
H A DIMediaPlayer.h56 virtual status_t getCurrentPosition(int* msec) = 0;
H A DMediaPlayerInterface.h145 virtual status_t getCurrentPosition(int *msec) = 0;
H A Dmediaplayer.h213 status_t getCurrentPosition(int *msec);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp126 status_t VideoEditorPlayer::getCurrentPosition(int *msec) { function in class:android::VideoEditorPlayer
127 ALOGV("getCurrentPosition");
H A DVideoEditorPlayer.h110 virtual status_t getCurrentPosition(int *msec);

Completed in 633 milliseconds

12