Searched defs:msec (Results 1 - 22 of 22) sorted by relevance

/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/libmediaplayerservice/
H A DTestPlayerStub.h88 virtual status_t seekTo(int msec) {return mPlayer->seekTo(msec);} argument
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 DMediaPlayerService.cpp310 snprintf(buffer, 255, " msec per frame(%f), channel count(%d), format(%d), frame count(%ld)\n",
330 snprintf(buffer, 255, " msec per frame(%f), latency (%d)\n",
881 status_t MediaPlayerService::Client::getCurrentPosition(int *msec) argument
886 status_t ret = p->getCurrentPosition(msec);
888 ALOGV("[%d] getCurrentPosition = %d", mConnId, *msec);
895 status_t MediaPlayerService::Client::getDuration(int *msec) argument
900 status_t ret = p->getDuration(msec);
902 ALOGV("[%d] getDuration = %d", mConnId, *msec);
930 status_t MediaPlayerService::Client::seekTo(int msec) argument
932 ALOGV("[%d] seekTo(%d)", mConnId, msec);
[all...]
/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/base/services/common_time/
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/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/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;
/frameworks/base/core/java/android/os/
H A DDropBoxManager.java326 * @param msec time of the last entry seen
329 public Entry getNextEntry(String tag, long msec) { argument
330 try { return mService.getNextEntry(tag, msec); } catch (RemoteException e) { return null; }
/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_AudioSfDecoder.cpp81 void AudioSfDecoder::getPositionMsec(int* msec) { argument
84 *msec = ANDROID_UNKNOWN_TIME;
86 *msec = timeUsec / 1000;
H A Dandroid_GenericPlayer.cpp196 void GenericPlayer::getDurationMsec(int* msec) { argument
198 *msec = mDurationMsec;
/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/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/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/av/media/libmedia/
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...]
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...]
/frameworks/base/core/java/android/widget/
H A DVideoView.java631 public void seekTo(int msec) { argument
633 mMediaPlayer.seekTo(msec);
636 mSeekWhenPrepared = msec;
/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 DPreviewPlayer.cpp1293 status_t PreviewPlayer::setPlaybackBeginTime(uint32_t msec) { argument
1295 mPlayBeginTimeMsec = msec;
1299 status_t PreviewPlayer::setPlaybackEndTime(uint32_t msec) { argument
1301 mPlayEndTimeMsec = msec;
1305 status_t PreviewPlayer::setStoryboardStartTime(uint32_t msec) { argument
1307 mStoryboardStartTimeMsec = 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...]
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java1163 * @param msec the offset in milliseconds from the start to seek to
1167 public native void seekTo(int msec) throws IllegalStateException; argument
1377 public native Bitmap getFrameAt(int msec) throws IllegalStateException; argument

Completed in 205 milliseconds