/frameworks/base/graphics/java/android/graphics/ |
D | Interpolator.java | 73 public void setKeyFrame(int index, int msec, float[] values) { in setKeyFrame() argument 74 setKeyFrame(index, msec, values, null); in setKeyFrame() 87 public void setKeyFrame(int index, int msec, float[] values, float[] blend) { in setKeyFrame() argument 97 nativeSetKeyFrame(native_instance, index, msec, values, blend); in setKeyFrame() 136 public Result timeToValues(int msec, float[] values) { in timeToValues() argument 140 switch (nativeTimeToValues(native_instance, msec, values)) { in timeToValues() 160 …private static native void nativeSetKeyFrame(long native_instance, int index, int msec, float[] va… in nativeSetKeyFrame() argument 162 private static native int nativeTimeToValues(long native_instance, int msec, float[] values); in nativeTimeToValues() argument
|
/frameworks/av/media/libmedia/ |
D | mediaplayer.cpp | 494 status_t MediaPlayer::getCurrentPosition(int *msec) in getCurrentPosition() argument 501 *msec = mCurrentPosition; in getCurrentPosition() 504 return mPlayer->getCurrentPosition(msec); in getCurrentPosition() 509 status_t MediaPlayer::getDuration_l(int *msec) in getDuration_l() argument 524 if (msec) { in getDuration_l() 525 *msec = durationMs; in getDuration_l() 534 status_t MediaPlayer::getDuration(int *msec) in getDuration() argument 537 return getDuration_l(msec); in getDuration() 540 status_t MediaPlayer::seekTo_l(int msec, MediaPlayerSeekMode mode) in seekTo_l() argument 542 ALOGV("seekTo (%d, %d)", msec, mode); in seekTo_l() [all …]
|
D | IMediaPlayer.cpp | 302 status_t seekTo(int msec, MediaPlayerSeekMode mode) in seekTo() argument 306 data.writeInt32(msec); in seekTo() 312 status_t getCurrentPosition(int* msec) in getCurrentPosition() argument 317 *msec = reply.readInt32(); in getCurrentPosition() 321 status_t getDuration(int* msec) in getDuration() argument 326 *msec = reply.readInt32(); in getDuration() 794 int msec = data.readInt32(); in onTransact() local 796 reply->writeInt32(seekTo(msec, mode)); in onTransact() 801 int msec = 0; in onTransact() local 802 status_t ret = getCurrentPosition(&msec); in onTransact() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | Interpolator.cpp | 24 …KeyFrame(JNIEnv* env, jobject clazz, jlong interpHandle, jint index, jint msec, jfloatArray valueA… in Interpolator_setKeyFrame() argument 37 interp->setKeyFrame(index, msec, scalars, blend); in Interpolator_setKeyFrame() 50 static jint Interpolator_timeToValues(JNIEnv* env, jobject clazz, jlong interpHandle, jint msec, jf… in Interpolator_timeToValues() argument 56 result = interp->timeToValues(msec, (SkScalar*)values); in Interpolator_timeToValues()
|
/frameworks/av/media/libmedia/include/media/ |
D | mediaplayer.h | 240 int msec, 243 status_t getCurrentPosition(int *msec); 244 status_t getDuration(int *msec); 278 status_t seekTo_l(int msec, MediaPlayerSeekMode mode); 280 status_t getDuration_l(int *msec);
|
D | IMediaPlayer.h | 78 int msec, 80 virtual status_t getCurrentPosition(int* msec) = 0; 81 virtual status_t getDuration(int* msec) = 0;
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestDecodeToBuffQueue.cpp | 152 SLmillisecond msec; in DecProgressCallback() local 153 result = (*caller)->GetPosition(caller, &msec); in DecProgressCallback() 157 fprintf(stdout, "SL_PLAYEVENT_HEADATEND current position=%u ms\n", msec); in DecProgressCallback() 162 fprintf(stdout, "SL_PLAYEVENT_HEADATNEWPOS current position=%u ms\n", msec); in DecProgressCallback() 166 fprintf(stdout, "SL_PLAYEVENT_HEADATMARKER current position=%u ms\n", msec); in DecProgressCallback() 181 SLmillisecond msec; in DecPlayCallback() local 182 SLresult result = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &msec); in DecPlayCallback() 184 printf("DecPlayCallback called (iteration %d): current position=%u ms\n", counter, msec); in DecPlayCallback()
|
/frameworks/wilhelm/src/android/ |
D | android_GenericMediaPlayer.cpp | 291 void GenericMediaPlayer::getPositionMsec(int* msec) { in getPositionMsec() argument 296 if (player == 0 || player->getCurrentPosition(msec) != NO_ERROR) { in getPositionMsec() 297 *msec = ANDROID_UNKNOWN_TIME; in getPositionMsec() 567 int msec = 0; in afterMediaPlayerPreparedSuccessfully() local 568 if (OK == mPlayer->getDuration(&msec)) { in afterMediaPlayerPreparedSuccessfully() 570 mDurationMsec = msec; in afterMediaPlayerPreparedSuccessfully()
|
D | android_GenericPlayer.h | 78 void getDurationMsec(int* msec); //msec != NULL, ANDROID_UNKNOWN_TIME if unknown 79 virtual void getPositionMsec(int* msec) = 0; //msec != NULL, ANDROID_UNKNOWN_TIME if unknown
|
D | android_AudioSfDecoder.cpp | 92 void AudioSfDecoder::getPositionMsec(int* msec) { in getPositionMsec() argument 95 *msec = ANDROID_UNKNOWN_TIME; in getPositionMsec() 97 *msec = timeUsec / 1000; in getPositionMsec()
|
D | android_AudioSfDecoder.h | 55 virtual void getPositionMsec(int* msec); //msec != NULL, ANDROID_UNKNOWN_TIME if unknown
|
D | android_GenericMediaPlayer.h | 90 virtual void getPositionMsec(int* msec); // ANDROID_UNKNOWN_TIME if unknown
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.cpp | 474 status_t NuPlayerDriver::seekTo(int msec, MediaPlayerSeekMode mode) { in seekTo() argument 475 ALOGV("seekTo(%p) (%d ms, %d) at state %d", this, msec, mode, mState); in seekTo() 478 int64_t seekTimeUs = msec * 1000LL; in seekTo() 502 status_t NuPlayerDriver::getCurrentPosition(int *msec) { in getCurrentPosition() argument 508 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition() 524 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition() 528 status_t NuPlayerDriver::getDuration(int *msec) { in getDuration() argument 535 *msec = (mDurationUs + 500LL) / 1000; in getDuration() 745 int msec = 0; in invoke() local 747 getCurrentPosition(&msec); in invoke() [all …]
|
D | NuPlayerDriver.h | 64 int msec, MediaPlayerSeekMode mode = MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC); 65 virtual status_t getCurrentPosition(int *msec); 66 virtual status_t getDuration(int *msec);
|
/frameworks/av/media/libmediaplayerservice/ |
D | TestPlayerStub.h | 91 int msec, 93 return mPlayer->seekTo(msec, mode);
|
D | MediaPlayerService.cpp | 1153 status_t MediaPlayerService::Client::getCurrentPosition(int *msec) in getCurrentPosition() argument 1158 status_t ret = p->getCurrentPosition(msec); in getCurrentPosition() 1160 ALOGV("[%d] getCurrentPosition = %d", mConnId, *msec); in getCurrentPosition() 1167 status_t MediaPlayerService::Client::getDuration(int *msec) in getDuration() argument 1172 status_t ret = p->getDuration(msec); in getDuration() 1174 ALOGV("[%d] getDuration = %d", mConnId, *msec); in getDuration() 1242 status_t MediaPlayerService::Client::seekTo(int msec, MediaPlayerSeekMode mode) in seekTo() argument 1244 ALOGV("[%d] seekTo(%d, %d)", mConnId, msec, mode); in seekTo() 1247 return p->seekTo(msec, mode); in seekTo() 1834 int32_t msec = 0; in deleteRecycledTrack_l() local [all …]
|
D | MediaPlayerService.h | 333 int msec, 335 virtual status_t getCurrentPosition(int* msec); 336 virtual status_t getDuration(int* msec);
|
/frameworks/wilhelm/src/itf/ |
D | IRecord.cpp | 69 static SLresult IRecord_SetDurationLimit(SLRecordItf self, SLmillisecond msec) in IRecord_SetDurationLimit() argument 75 if (thiz->mDurationLimit != msec) { in IRecord_SetDurationLimit() 76 thiz->mDurationLimit = msec; in IRecord_SetDurationLimit()
|
/frameworks/av/include/media/ |
D | MediaPlayerInterface.h | 231 int msec, MediaPlayerSeekMode mode = MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC) = 0; 232 virtual status_t getCurrentPosition(int *msec) = 0; 233 virtual status_t getDuration(int *msec) = 0;
|
/frameworks/av/media/libmediaplayerservice/include/ |
D | MediaPlayerInterface.h | 231 int msec, MediaPlayerSeekMode mode = MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC) = 0; 232 virtual status_t getCurrentPosition(int *msec) = 0; 233 virtual status_t getDuration(int *msec) = 0;
|
/frameworks/av/services/audioflinger/ |
D | NBAIO_Tee.cpp | 131 char msec[4]; in generateFilename() local 132 (void)snprintf(msec, sizeof(msec), "%03d", (int)(tv.tv_usec / 1000)); in generateFilename() 133 return mPrefix + fileTime + msec + suffix + ".wav"; in generateFilename()
|
/frameworks/base/media/jni/ |
D | android_media_MediaPlayer.cpp | 611 android_media_MediaPlayer_seekTo(JNIEnv *env, jobject thiz, jlong msec, jint mode) in android_media_MediaPlayer_seekTo() argument 618 ALOGV("seekTo: %lld(msec), mode=%d", (long long)msec, mode); in android_media_MediaPlayer_seekTo() 619 …process_media_player_call( env, thiz, mp->seekTo((int)msec, (MediaPlayerSeekMode)mode), NULL, NULL… in android_media_MediaPlayer_seekTo() 700 int msec; in android_media_MediaPlayer_getCurrentPosition() local 701 process_media_player_call( env, thiz, mp->getCurrentPosition(&msec), NULL, NULL ); in android_media_MediaPlayer_getCurrentPosition() 702 ALOGV("getCurrentPosition: %d (msec)", msec); in android_media_MediaPlayer_getCurrentPosition() 703 return (jint) msec; in android_media_MediaPlayer_getCurrentPosition() 714 int msec; in android_media_MediaPlayer_getDuration() local 715 process_media_player_call( env, thiz, mp->getDuration(&msec), NULL, NULL ); in android_media_MediaPlayer_getDuration() 716 ALOGV("getDuration: %d (msec)", msec); in android_media_MediaPlayer_getDuration() [all …]
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 376 public @Nullable Entry getNextEntry(String tag, long msec) { in getNextEntry() argument 378 return mService.getNextEntry(tag, msec, mContext.getOpPackageName()); in getNextEntry()
|
/frameworks/av/cmds/screenrecord/ |
D | Overlay.cpp | 273 int32_t msec = (int32_t) ((realTime % 1000000000) / 1000000); in getTimeString_l() local 275 snprintf(tmpBuf, sizeof(tmpBuf), ".%03d", msec); in getTimeString_l()
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 1851 private native final void _seekTo(long msec, int mode); in _seekTo() argument 1883 public void seekTo(long msec, @SeekMode int mode) { in seekTo() argument 1889 if (msec > Integer.MAX_VALUE) { in seekTo() 1890 Log.w(TAG, "seekTo offset " + msec + " is too large, cap to " + Integer.MAX_VALUE); in seekTo() 1891 msec = Integer.MAX_VALUE; in seekTo() 1892 } else if (msec < Integer.MIN_VALUE) { in seekTo() 1893 Log.w(TAG, "seekTo offset " + msec + " is too small, cap to " + Integer.MIN_VALUE); in seekTo() 1894 msec = Integer.MIN_VALUE; in seekTo() 1896 _seekTo(msec, mode); in seekTo() 1907 public void seekTo(int msec) throws IllegalStateException { in seekTo() argument [all …]
|