Searched refs:msec (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
H A DInterpolator.java69 * @param msec The time (in mililiseconds) for this key frame. Based on the
73 public void setKeyFrame(int index, int msec, float[] values) { argument
74 setKeyFrame(index, msec, values, null);
82 * @param msec The time (in mililiseconds) for this key frame. Based on the
87 public void setKeyFrame(int index, int msec, float[] values, float[] blend) { argument
97 nativeSetKeyFrame(native_instance, index, msec, values, blend);
118 * Calls timeToValues(msec, values) with the msec set to now (by calling
126 * Given a millisecond time value (msec), return the interpolated values and
131 * @param msec Th
136 timeToValues(int msec, float[] values) argument
159 nativeSetKeyFrame(int native_instance, int index, int msec, float[] values, float[] blend) argument
161 nativeTimeToValues(int native_instance, int msec, float[] values) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightPlayer.cpp110 status_t StagefrightPlayer::seekTo(int msec) { argument
111 ALOGV("seekTo %.2f secs", msec / 1E3);
113 status_t err = mPlayer->seekTo((int64_t)msec * 1000);
118 status_t StagefrightPlayer::getCurrentPosition(int *msec) { argument
128 *msec = (positionUs + 500) / 1000;
133 status_t StagefrightPlayer::getDuration(int *msec) { argument
140 *msec = 0;
144 *msec = (durationUs + 500) / 1000;
H A DStagefrightPlayer.h51 virtual status_t seekTo(int msec);
52 virtual status_t getCurrentPosition(int *msec);
53 virtual status_t getDuration(int *msec);
H A DMidiFile.h45 virtual status_t seekTo(int msec);
48 virtual status_t getCurrentPosition(int* msec);
49 virtual status_t getDuration(int* msec);
H A DTestPlayerStub.h88 virtual status_t seekTo(int msec) {return mPlayer->seekTo(msec);} argument
/frameworks/base/core/jni/android/graphics/
H A DInterpolator.cpp23 static void Interpolator_setKeyFrame(JNIEnv* env, jobject clazz, SkInterpolator* interp, int index, int msec, jfloatArray valueArray, jfloatArray blendArray) argument
46 interp->setKeyFrame(index, msec, scalars, blend);
58 static int Interpolator_timeToValues(JNIEnv* env, jobject clazz, SkInterpolator* interp, int msec, jfloatArray valueArray) argument
63 result = interp->timeToValues(msec, (SkScalar*)values);
/frameworks/av/media/libmedia/
H A Dmediaplayer.cpp381 status_t MediaPlayer::getCurrentPosition(int *msec) argument
388 *msec = mCurrentPosition;
391 return mPlayer->getCurrentPosition(msec);
396 status_t MediaPlayer::getDuration_l(int *msec) argument
404 if (msec)
405 *msec = mDuration;
412 status_t MediaPlayer::getDuration(int *msec) argument
415 return getDuration_l(msec);
418 status_t MediaPlayer::seekTo_l(int msec) argument
420 ALOGV("seekTo %d", msec);
445 seekTo(int msec) argument
[all...]
H A DIMediaPlayer.cpp168 status_t seekTo(int msec) argument
172 data.writeInt32(msec);
177 status_t getCurrentPosition(int* msec) argument
182 *msec = reply.readInt32();
186 status_t getDuration(int* msec) argument
191 *msec = reply.readInt32();
426 int msec; local
427 status_t ret = getCurrentPosition(&msec);
428 reply->writeInt32(msec);
434 int msec; local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp184 status_t NuPlayerDriver::seekTo(int msec) { argument
185 int64_t seekTimeUs = msec * 1000ll;
211 status_t NuPlayerDriver::getCurrentPosition(int *msec) { argument
215 *msec = 0;
217 *msec = (mPositionUs + 500ll) / 1000;
223 status_t NuPlayerDriver::getDuration(int *msec) { argument
227 *msec = 0;
229 *msec = (mDurationUs + 500ll) / 1000;
H A DNuPlayerDriver.h48 virtual status_t seekTo(int msec);
49 virtual status_t getCurrentPosition(int *msec);
50 virtual status_t getDuration(int *msec);
/frameworks/av/include/media/
H A Dmediaplayer.h212 status_t seekTo(int msec);
213 status_t getCurrentPosition(int *msec);
214 status_t getDuration(int *msec);
237 status_t seekTo_l(int msec);
239 status_t getDuration_l(int *msec);
H A DIMediaPlayer.h55 virtual status_t seekTo(int msec) = 0;
56 virtual status_t getCurrentPosition(int* msec) = 0;
57 virtual status_t getDuration(int* msec) = 0;
H A DMediaPlayerInterface.h144 virtual status_t seekTo(int msec) = 0;
145 virtual status_t getCurrentPosition(int *msec) = 0;
146 virtual status_t getDuration(int *msec) = 0;
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp120 status_t VideoEditorPlayer::seekTo(int msec) { argument
122 status_t err = mPlayer->seekTo((int64_t)msec * 1000);
126 status_t VideoEditorPlayer::getCurrentPosition(int *msec) { argument
135 *msec = (positionUs + 500) / 1000;
139 status_t VideoEditorPlayer::getDuration(int *msec) { argument
146 *msec = 0;
150 *msec = (durationUs + 500) / 1000;
256 status_t VideoEditorPlayer::setPlaybackBeginTime(uint32_t msec) { argument
258 return mPlayer->setPlaybackBeginTime(msec);
261 status_t VideoEditorPlayer::setPlaybackEndTime(uint32_t msec) { argument
266 setStoryboardStartTime(uint32_t msec) argument
[all...]
H A DVideoEditorPlayer.h109 virtual status_t seekTo(int msec);
110 virtual status_t getCurrentPosition(int *msec);
111 virtual status_t getDuration(int *msec);
137 virtual status_t setPlaybackBeginTime(uint32_t msec);
138 virtual status_t setPlaybackEndTime(uint32_t msec);
139 virtual status_t setStoryboardStartTime(uint32_t msec);
H A DPreviewPlayer.h80 status_t setPlaybackBeginTime(uint32_t msec);
81 status_t setPlaybackEndTime(uint32_t msec);
82 status_t setStoryboardStartTime(uint32_t msec);
/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp79 virtual status_t seekTo(int msec) {return OK;} argument
80 virtual status_t getCurrentPosition(int *msec) {return OK;} argument
81 virtual status_t getDuration(int *msec) {return OK;} argument
/frameworks/base/services/common_time/
H A Dutils.h33 // Set a timeout which should occur msec milliseconds from now.
35 void setTimeout(int msec);
H A Dutils.cpp24 void Timeout::setTimeout(int msec) { argument
25 if (msec < 0) {
30 mSystemEndTime = systemTime() + (static_cast<nsecs_t>(msec) * 1000000);
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeToBuffQueue.cpp152 SLmillisecond msec; local
153 result = (*caller)->GetPosition(caller, &msec);
157 fprintf(stdout, "SL_PLAYEVENT_HEADATEND current position=%u ms\n", msec);
162 fprintf(stdout, "SL_PLAYEVENT_HEADATNEWPOS current position=%u ms\n", msec);
166 fprintf(stdout, "SL_PLAYEVENT_HEADATMARKER current position=%u ms\n", msec);
181 SLmillisecond msec; local
182 SLresult result = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &msec);
184 printf("DecPlayCallback called (iteration %d): current position=%u ms\n", counter, msec);
/frameworks/wilhelm/src/android/
H A Dandroid_GenericMediaPlayer.cpp283 // msec != NULL
285 // *msec ==
288 void GenericMediaPlayer::getPositionMsec(int* msec) { argument
293 if (player == 0 || player->getCurrentPosition(msec) != NO_ERROR) {
294 *msec = ANDROID_UNKNOWN_TIME;
564 int msec = 0; local
565 if (OK == mPlayer->getDuration(&msec)) {
567 mDurationMsec = msec;
H A 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
/frameworks/base/core/java/android/webkit/
H A DHTML5Audio.java310 private void seek(int msec) { argument
311 if (mProcessingOnEnd == true && mState == COMPLETE && msec == 0) {
315 mMediaPlayer.seekTo(msec);
/frameworks/wilhelm/src/itf/
H A DIRecord.c69 static SLresult IRecord_SetDurationLimit(SLRecordItf self, SLmillisecond msec) argument
75 if (thiz->mDurationLimit != msec) {
76 thiz->mDurationLimit = msec;
/frameworks/base/media/jni/
H A Dandroid_media_MediaPlayer.cpp390 android_media_MediaPlayer_seekTo(JNIEnv *env, jobject thiz, int msec) argument
397 ALOGV("seekTo: %d(msec)", msec);
398 process_media_player_call( env, thiz, mp->seekTo(msec), NULL, NULL );
444 int msec; local
445 process_media_player_call( env, thiz, mp->getCurrentPosition(&msec), NULL, NULL );
446 ALOGV("getCurrentPosition: %d (msec)", msec);
447 return msec;
458 int msec; local
526 android_media_MediaPlayer_getFrameAt(JNIEnv *env, jobject thiz, jint msec) argument
[all...]

Completed in 1358 milliseconds

12