Home
last modified time | relevance | path

Searched refs:msec (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
DInterpolator.java73 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/
DStagefrightPlayer.cpp112 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()
DStagefrightPlayer.h53 virtual status_t seekTo(int msec);
54 virtual status_t getCurrentPosition(int *msec);
55 virtual status_t getDuration(int *msec);
DMidiFile.h47 virtual status_t seekTo(int msec);
50 virtual status_t getCurrentPosition(int* msec);
51 virtual status_t getDuration(int* msec);
DTestPlayerStub.h90 virtual status_t seekTo(int msec) {return mPlayer->seekTo(msec);} in seekTo() argument
/frameworks/av/media/libmedia/
Dmediaplayer.cpp399 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 …]
DIMediaPlayer.cpp175 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/
DNuPlayerDriver.cpp317 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 …]
DNuPlayerDriver.h50 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/
DInterpolator.cpp25 …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/
Dmediaplayer.h225 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);
DIMediaPlayer.h59 virtual status_t seekTo(int msec) = 0;
60 virtual status_t getCurrentPosition(int* msec) = 0;
61 virtual status_t getDuration(int* msec) = 0;
DMediaPlayerInterface.h162 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/
Dinvoke_mock_media_player.cpp81 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/
DslesTestDecodeToBuffQueue.cpp152 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/
Dandroid_GenericMediaPlayer.cpp288 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()
Dandroid_GenericPlayer.h78 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
Dandroid_AudioSfDecoder.h63 virtual void getPositionMsec(int* msec); //msec != NULL, ANDROID_UNKNOWN_TIME if unknown
Dandroid_GenericMediaPlayer.h90 virtual void getPositionMsec(int* msec); // ANDROID_UNKNOWN_TIME if unknown
Dandroid_AudioSfDecoder.cpp82 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/
Dutils.cpp24 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()
Dutils.h35 void setTimeout(int msec);
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp405 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/
DIRecord.c69 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/
DDropBoxManager.java326 public Entry getNextEntry(String tag, long msec) { in getNextEntry() argument
327 try { return mService.getNextEntry(tag, msec); } catch (RemoteException e) { return null; } in getNextEntry()

12