Home
last modified time | relevance | path

Searched refs:getCurrentPosition (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java105 public static boolean getCurrentPosition(String filePath){ in getCurrentPosition() method in CodecTest
124 currentPosition = mp.getCurrentPosition(); in getCurrentPosition()
150 currentPosition = mp.getCurrentPosition(); in seekTo()
187 currentPosition = mp.getCurrentPosition(); in setLooping()
219 int curPosition = mp.getCurrentPosition(); in pause()
347 currentPosition = mp.getCurrentPosition(); in videoSeekTo()
367 currentPosition = mp.getCurrentPosition(); in videoSeekTo()
393 currentPosition = mp.getCurrentPosition(); in seekToEnd()
420 currentPosition = mp.getCurrentPosition(); in shortMediaStop()
449 currentPosition = mp.getCurrentPosition(); in playToEnd()
[all …]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DPlayback.java143 mMediaPlayer.getCurrentPosition() : mCurrentPosition; in getCurrentStreamPosition()
205 mCurrentPosition = mMediaPlayer.getCurrentPosition(); in pause()
295 if (mCurrentPosition == mMediaPlayer.getCurrentPosition()) { in configMediaPlayerState()
350 Log.d(TAG, "onSeekComplete from MediaPlayer:" + mp.getCurrentPosition()); in onSeekComplete()
351 mCurrentPosition = mp.getCurrentPosition(); in onSeekComplete()
DMediaController.java223 long position = mController.getCurrentPosition(); in updateProgress()
326 long pos = mController.getCurrentPosition();
335 long pos = mController.getCurrentPosition();
/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.h91 virtual status_t getCurrentPosition(int *p) { in getCurrentPosition() function
92 return mPlayer->getCurrentPosition(p); in getCurrentPosition()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediaplayback/
DMediaPlayerApiTest.java109 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MP3CBR); in testMP3CBRGetCurrentPosition()
115 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MP3VBR); in testMP3VBRGetCurrentPosition()
121 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MIDI); in testMIDIGetCurrentPosition()
127 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.AMR); in testAMRGetCurrentPosition()
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
DMediaPlayerGlue.java210 int newPosition = getCurrentPosition() + FAST_FORWARD_REWIND_STEP; in onKey()
212 newPosition = getCurrentPosition() - FAST_FORWARD_REWIND_STEP; in onKey()
256 @Override public int getCurrentPosition() { in getCurrentPosition() method in MediaPlayerGlue
257 return mInitialized ? mPlayer.getCurrentPosition() : 0; in getCurrentPosition()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DPlaybackControlHelper.java203 public int getCurrentPosition() { in getCurrentPosition() method in PlaybackControlHelper
250 mStartPosition = getCurrentPosition(); in startPlayback()
261 mStartPosition = getCurrentPosition(); in pausePlayback()
DPlaybackControlSupportHelper.java205 public int getCurrentPosition() { in getCurrentPosition() method in PlaybackControlSupportHelper
252 mStartPosition = getCurrentPosition(); in startPlayback()
263 mStartPosition = getCurrentPosition(); in pausePlayback()
/frameworks/support/media-compat/java/android/support/v4/media/
DTransportController.java60 public abstract long getCurrentPosition(); in getCurrentPosition() method in TransportController
DTransportMediator.java302 public long getCurrentPosition() { in getCurrentPosition() method in TransportMediator
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp327 getCurrentPosition(&unused); in pause()
358 getCurrentPosition(&unused); in setPlaybackSettings()
413 status_t NuPlayerDriver::getCurrentPosition(int *msec) { in getCurrentPosition() function in android::NuPlayerDriver
424 status_t ret = mPlayer->getCurrentPosition(&tempUs); in getCurrentPosition()
539 getCurrentPosition(&msec); in invoke()
DNuPlayerDriver.h57 virtual status_t getCurrentPosition(int *msec);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerGetCurrentPositionStateUnitTest.java56 player.getCurrentPosition(); in invokeMethodUnderTest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java218 int currentPosition = getCurrentPosition();
456 public int getCurrentPosition() { in getCurrentPosition() method in DividerView
482 mStartPosition = getCurrentPosition(); in onTouch()
1106 && getCurrentPosition() == getSnapAlgorithm().getLastSplitTarget().position; in growsRecents()
1116 && getCurrentPosition() == getSnapAlgorithm().getLastSplitTarget().position) { in onBusEvent()
1152 stopDragging(getCurrentPosition(), mSnapAlgorithm.getMiddleTarget(), in onBusEvent()
1161 stopDragging(getCurrentPosition(), mSnapAlgorithm.getMiddleTarget(), 336, in onBusEvent()
1176 mExitStartPosition = getCurrentPosition(); in onBusEvent()
/frameworks/base/core/java/android/widget/
DMediaController.java438 int position = mPlayer.getCurrentPosition(); in setProgress()
647 int pos = mPlayer.getCurrentPosition();
659 int pos = mPlayer.getCurrentPosition();
701 int getCurrentPosition(); in getCurrentPosition() method
DVideoView.java457 (seekToPosition != 0 || getCurrentPosition() > 0)) {
756 public int getCurrentPosition() { in getCurrentPosition() method in VideoView
758 return mMediaPlayer.getCurrentPosition(); in getCurrentPosition()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DPlaybackControlGlue.java440 int position = getCurrentPosition();
599 mControlsRow.setCurrentTime(getCurrentPosition());
792 public abstract int getCurrentPosition();
DPlaybackControlSupportGlue.java442 int position = getCurrentPosition();
601 mControlsRow.setCurrentTime(getCurrentPosition());
794 public abstract int getCurrentPosition();
DMediaControllerGlue.java173 public int getCurrentPosition() { in getCurrentPosition() method in MediaControllerGlue
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp86 virtual status_t getCurrentPosition(int* /* msec */) { return OK; } in getCurrentPosition() function in __anoneb1c722b0111::Player
/frameworks/av/include/media/
DIMediaPlayer.h69 virtual status_t getCurrentPosition(int* msec) = 0;
Dmediaplayer.h237 status_t getCurrentPosition(int *msec);
/frameworks/wilhelm/src/android/
Dandroid_GenericMediaPlayer.cpp296 if (player == 0 || player->getCurrentPosition(msec) != NO_ERROR) { in getPositionMsec()
502 && (OK == mPlayer->getCurrentPosition(&positionMsec))) { in onBufferingUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
DShortcutKeyDispatcher.java111 int dividerPosition = dividerView.getCurrentPosition(); in handleDockKey()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java236 public int getCurrentPosition () { in getCurrentPosition() method in VideoDumpView
238 return mMediaPlayer.getCurrentPosition(); in getCurrentPosition()

12