Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/
DViewAutoScroller.java61 if (mHost.getCurrentPosition().y <= topBottomThreshold) { in run()
62 pixelsPastView = mHost.getCurrentPosition().y - topBottomThreshold; in run()
63 } else if (mHost.getCurrentPosition().y >= mHost.getViewHeight() in run()
65 pixelsPastView = mHost.getCurrentPosition().y - mHost.getViewHeight() in run()
134 public abstract Point getCurrentPosition(); in getCurrentPosition() method in ViewAutoScroller.ScrollHost
DDragHoverListener.java79 public Point getCurrentPosition() { in DragHoverListener()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailMediaPlayerView.java213 currentSeekBarPosition.setText(formatAsMinutesAndSeconds(mp.getCurrentPosition())); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
218 seekBarView.setProgress(mp.getCurrentPosition()); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
227 currentSeekBarPosition.setText(formatAsMinutesAndSeconds(mp.getCurrentPosition())); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
231 seekBarView.setProgress(mp.getCurrentPosition()); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView()
576 Assert.checkArgument(mediaPlayer.getCurrentPosition() >= 0); in updateSeekBarDurationAndShowPlayButton()
583 currentSeekBarPosition.setText(formatAsMinutesAndSeconds(mediaPlayer.getCurrentPosition())); in updateSeekBarDurationAndShowPlayButton()
587 seekBarView.setProgress(mediaPlayer.getCurrentPosition()); in updateSeekBarDurationAndShowPlayButton()
639 currentSeekBarPosition.setText(formatAsMinutesAndSeconds(mediaPlayer.getCurrentPosition())); in setToPausedState()
643 seekBarView.setProgress(mediaPlayer.getCurrentPosition()); in setToPausedState()
655 Assert.checkArgument(this.mediaPlayer.getCurrentPosition() >= 0); in setToPausedState()
DNewVoicemailMediaPlayer.java184 public int getCurrentPosition() { in getCurrentPosition() method in NewVoicemailMediaPlayer
185 return mediaPlayer.getCurrentPosition(); in getCurrentPosition()
DNewVoicemailAdapter.java818 if (mediaPlayer.isPlaying() && mediaPlayer.getCurrentPosition() < mediaPlayer.getDuration()) { in recursivelyUpdateMediaPlayerViewOfExpandedViewHolder()
852 && mediaPlayer.getCurrentPosition() > mediaPlayer.getDuration())) { in recursivelyUpdateMediaPlayerViewOfExpandedViewHolder()
DNewVoicemailViewHolder.java376 mp.getCurrentPosition(), in updateMediaPlayerViewWithPlayingState()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorker.java436 public long getCurrentPosition() { in getCurrentPosition() method in TunerSessionWorker
441 ? mRecordStartTimeMs + mpegTsPlayer.getCurrentPosition() in getCurrentPosition()
593 doTrickplayBySeek((int) mPlayer.getCurrentPosition()); in onSmoothTrickplayForceStopped()
1010 long currentTimeMs = getCurrentPosition(); in handleMessageScheduleOfPrograms()
1082 long position = getCurrentPosition(); in handleMessageSmoothTrickplayMonitor()
1859 long currentPositionMs = getCurrentPosition(); in doReschedulePrograms()
1981 (mPlayer.getCurrentPosition() in doTimeShiftSetPlaybackParams()
2002 long currentTimeMs = getCurrentPosition(); in getCurrentProgram()
2113 return mPlayer.getCurrentPosition() + BUFFER_UNDERFLOW_BUFFER_MS in hasEnoughBackwardBuffer()
DTunerSessionWorkerExoV2.java436 public long getCurrentPosition() { in getCurrentPosition() method in TunerSessionWorkerExoV2
441 ? mRecordStartTimeMs + mpegTsPlayerV2.getCurrentPosition() in getCurrentPosition()
593 doTrickplayBySeek((int) mPlayer.getCurrentPosition()); in onSmoothTrickplayForceStopped()
990 long currentTimeMs = getCurrentPosition(); in handleMessageScheduleOfPrograms()
1793 long currentPositionMs = getCurrentPosition(); in doReschedulePrograms()
1904 (mPlayer.getCurrentPosition() in doTimeShiftSetPlaybackParams()
1925 long currentTimeMs = getCurrentPosition(); in getCurrentProgram()
2037 return mPlayer.getCurrentPosition() + BUFFER_UNDERFLOW_BUFFER_MS in hasEnoughBackwardBuffer()
DTunerSessionExoV2.java137 return mSessionWorker.getCurrentPosition(); in onTimeShiftGetCurrentPosition()
DTunerSession.java138 return mSessionWorker.getCurrentPosition(); in onTimeShiftGetCurrentPosition()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java338 mPlayer.seekTo(mPlayer.getCurrentPosition()); in stopSmoothTrickplay()
396 public long getCurrentPosition() { in getCurrentPosition() method in MpegTsPlayer
397 return mPlayer.getCurrentPosition(); in getCurrentPosition()
/packages/apps/Gallery/src/com/android/camera/
DMovieViewControl.java212 setBookmark(mVideoView.getCurrentPosition()); in onPause()
214 mPositionWhenPaused = mVideoView.getCurrentPosition(); in onPause()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTrimVideo.java129 mVideoPosition = mVideoView.getCurrentPosition(); in onPause()
177 mVideoPosition = mVideoView.getCurrentPosition(); in setProgress()
DMoviePlayer.java280 mVideoPosition = mVideoView.getCurrentPosition(); in onPause()
315 int position = mVideoView.getCurrentPosition(); in setProgress()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java222 playlist.currentSongPosition = mMediaPlayer.getCurrentPosition(); in saveState()
403 mMediaPlayer.getCurrentPosition(), PLAYBACK_SPEED) in updatePlaybackStatePlaying()
421 currentPosition = mMediaPlayer.getCurrentPosition(); in pausePlayback()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DMpegTsPlayerV2.java291 public long getCurrentPosition() { in getCurrentPosition() method in MpegTsPlayerV2
292 return mPlayer.getCurrentPosition(); in getCurrentPosition()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java261 mSeekBar.setProgress(mPlayer.getCurrentPosition()); in showPostPrepareUI()
330 mSeekBar.setProgress(mPlayer.getCurrentPosition()); in run()
/packages/apps/Music/kotlin/src/com/android/music/
DAudioPreview.kt234 mSeekBar.setProgress(mPlayer!!.getCurrentPosition()) in showPostPrepareUI()
295 mSeekBar.setProgress(mPlayer!!.getCurrentPosition()) in run()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailPlaybackPresenter.java276 position = mediaPlayer.getCurrentPosition(); in setPlaybackView()
704 position = mediaPlayer == null ? 0 : mediaPlayer.getCurrentPosition(); in pausePlayback()
796 return isPrepared && mediaPlayer != null ? mediaPlayer.getCurrentPosition() : 0; in getMediaPlayerPosition()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DViewAutoScrollerTest.java73 public Point getCurrentPosition() { in setUp()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DVideoPlayerActivity.java85 outState.putLong(SAVED_POSITION_KEY, mMediaPlayer.getCurrentPosition()); in onSaveInstanceState()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackControlHelper.java242 public int getCurrentPosition() { in getCurrentPosition() method in DvrPlaybackControlHelper