/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() 159 …private static native void nativeSetKeyFrame(long native_instance, int index, int msec, float[] va… in nativeSetKeyFrame() argument 161 private static native int nativeTimeToValues(long native_instance, int msec, float[] values); in nativeTimeToValues() argument
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightPlayer.cpp | 112 status_t StagefrightPlayer::seekTo(int msec) { in seekTo() argument 113 ALOGV("seekTo %.2f secs", msec / 1E3); in seekTo() 115 status_t err = mPlayer->seekTo((int64_t)msec * 1000); in seekTo() 120 status_t StagefrightPlayer::getCurrentPosition(int *msec) { in getCurrentPosition() argument 130 *msec = (positionUs + 500) / 1000; in getCurrentPosition() 135 status_t StagefrightPlayer::getDuration(int *msec) { in getDuration() argument 142 *msec = 0; in getDuration() 146 *msec = (durationUs + 500) / 1000; in getDuration()
|
D | StagefrightPlayer.h | 53 virtual status_t seekTo(int msec); 54 virtual status_t getCurrentPosition(int *msec); 55 virtual status_t getDuration(int *msec);
|
D | MidiFile.h | 47 virtual status_t seekTo(int msec); 50 virtual status_t getCurrentPosition(int* msec); 51 virtual status_t getDuration(int* msec);
|
D | TestPlayerStub.h | 90 virtual status_t seekTo(int msec) {return mPlayer->seekTo(msec);} in seekTo() argument
|
/frameworks/av/media/libmedia/ |
D | mediaplayer.cpp | 399 status_t MediaPlayer::getCurrentPosition(int *msec) in getCurrentPosition() argument 406 *msec = mCurrentPosition; in getCurrentPosition() 409 return mPlayer->getCurrentPosition(msec); in getCurrentPosition() 414 status_t MediaPlayer::getDuration_l(int *msec) in getDuration_l() argument 428 if (msec) { in getDuration_l() 429 *msec = durationMs; in getDuration_l() 437 status_t MediaPlayer::getDuration(int *msec) in getDuration() argument 440 return getDuration_l(msec); in getDuration() 443 status_t MediaPlayer::seekTo_l(int msec) in seekTo_l() argument 445 ALOGV("seekTo %d", msec); in seekTo_l() [all …]
|
D | IMediaPlayer.cpp | 175 status_t seekTo(int msec) in seekTo() argument 179 data.writeInt32(msec); in seekTo() 184 status_t getCurrentPosition(int* msec) in getCurrentPosition() argument 189 *msec = reply.readInt32(); in getCurrentPosition() 193 status_t getDuration(int* msec) in getDuration() argument 198 *msec = reply.readInt32(); in getDuration() 441 int msec; in onTransact() local 442 status_t ret = getCurrentPosition(&msec); in onTransact() 443 reply->writeInt32(msec); in onTransact() 449 int msec; in onTransact() local [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.cpp | 317 int msec; in pause() local 318 getCurrentPosition(&msec); in pause() 344 status_t NuPlayerDriver::seekTo(int msec) { in seekTo() argument 345 ALOGD("seekTo(%p) %d ms", this, msec); in seekTo() 348 int64_t seekTimeUs = msec * 1000ll; in seekTo() 381 status_t NuPlayerDriver::getCurrentPosition(int *msec) { in getCurrentPosition() argument 387 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition() 403 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition() 407 status_t NuPlayerDriver::getDuration(int *msec) { in getDuration() argument 414 *msec = (mDurationUs + 500ll) / 1000; in getDuration() [all …]
|
D | NuPlayerDriver.h | 50 virtual status_t seekTo(int msec); 51 virtual status_t getCurrentPosition(int *msec); 52 virtual status_t getDuration(int *msec);
|
/frameworks/base/core/jni/android/graphics/ |
D | Interpolator.cpp | 25 …KeyFrame(JNIEnv* env, jobject clazz, jlong interpHandle, jint index, jint msec, jfloatArray valueA… in Interpolator_setKeyFrame() argument 38 interp->setKeyFrame(index, msec, scalars, blend); in Interpolator_setKeyFrame() 51 static jint Interpolator_timeToValues(JNIEnv* env, jobject clazz, jlong interpHandle, jint msec, jf… in Interpolator_timeToValues() argument 57 result = interp->timeToValues(msec, (SkScalar*)values); in Interpolator_timeToValues()
|
/frameworks/av/include/media/ |
D | mediaplayer.h | 225 status_t seekTo(int msec); 226 status_t getCurrentPosition(int *msec); 227 status_t getDuration(int *msec); 260 status_t seekTo_l(int msec); 262 status_t getDuration_l(int *msec);
|
D | IMediaPlayer.h | 59 virtual status_t seekTo(int msec) = 0; 60 virtual status_t getCurrentPosition(int* msec) = 0; 61 virtual status_t getDuration(int* msec) = 0;
|
D | MediaPlayerInterface.h | 162 virtual status_t seekTo(int msec) = 0; 163 virtual status_t getCurrentPosition(int *msec) = 0; 164 virtual status_t getDuration(int *msec) = 0;
|
/frameworks/base/media/tests/players/ |
D | invoke_mock_media_player.cpp | 81 virtual status_t seekTo(int msec) {return OK;} in seekTo() argument 82 virtual status_t getCurrentPosition(int *msec) {return OK;} in getCurrentPosition() argument 83 virtual status_t getDuration(int *msec) {return OK;} in getDuration() argument
|
/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 | 288 void GenericMediaPlayer::getPositionMsec(int* msec) { in getPositionMsec() argument 293 if (player == 0 || player->getCurrentPosition(msec) != NO_ERROR) { in getPositionMsec() 294 *msec = ANDROID_UNKNOWN_TIME; in getPositionMsec() 564 int msec = 0; in afterMediaPlayerPreparedSuccessfully() local 565 if (OK == mPlayer->getDuration(&msec)) { in afterMediaPlayerPreparedSuccessfully() 567 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.h | 63 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
|
D | android_AudioSfDecoder.cpp | 82 void AudioSfDecoder::getPositionMsec(int* msec) { in getPositionMsec() argument 85 *msec = ANDROID_UNKNOWN_TIME; in getPositionMsec() 87 *msec = timeUsec / 1000; in getPositionMsec()
|
/frameworks/base/libs/common_time/ |
D | utils.cpp | 24 void Timeout::setTimeout(int msec) { in setTimeout() argument 25 if (msec < 0) { in setTimeout() 30 mSystemEndTime = systemTime() + (static_cast<nsecs_t>(msec) * 1000000); in setTimeout()
|
D | utils.h | 35 void setTimeout(int msec);
|
/frameworks/base/media/jni/ |
D | android_media_MediaPlayer.cpp | 405 android_media_MediaPlayer_seekTo(JNIEnv *env, jobject thiz, jint msec) in android_media_MediaPlayer_seekTo() argument 412 ALOGV("seekTo: %d(msec)", msec); in android_media_MediaPlayer_seekTo() 413 process_media_player_call( env, thiz, mp->seekTo(msec), NULL, NULL ); in android_media_MediaPlayer_seekTo() 459 int msec; in android_media_MediaPlayer_getCurrentPosition() local 460 process_media_player_call( env, thiz, mp->getCurrentPosition(&msec), NULL, NULL ); in android_media_MediaPlayer_getCurrentPosition() 461 ALOGV("getCurrentPosition: %d (msec)", msec); in android_media_MediaPlayer_getCurrentPosition() 462 return (jint) msec; in android_media_MediaPlayer_getCurrentPosition() 473 int msec; in android_media_MediaPlayer_getDuration() local 474 process_media_player_call( env, thiz, mp->getDuration(&msec), NULL, NULL ); in android_media_MediaPlayer_getDuration() 475 ALOGV("getDuration: %d (msec)", msec); in android_media_MediaPlayer_getDuration() [all …]
|
/frameworks/wilhelm/src/itf/ |
D | IRecord.c | 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/base/core/java/android/os/ |
D | DropBoxManager.java | 326 public Entry getNextEntry(String tag, long msec) { in getNextEntry() argument 327 try { return mService.getNextEntry(tag, msec); } catch (RemoteException e) { return null; } in getNextEntry()
|