/frameworks/base/graphics/java/android/graphics/ |
H A D | Interpolator.java | 69 * @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 D | StagefrightPlayer.cpp | 110 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 D | StagefrightPlayer.h | 51 virtual status_t seekTo(int msec); 52 virtual status_t getCurrentPosition(int *msec); 53 virtual status_t getDuration(int *msec);
|
H A D | MidiFile.h | 45 virtual status_t seekTo(int msec); 48 virtual status_t getCurrentPosition(int* msec); 49 virtual status_t getDuration(int* msec);
|
H A D | TestPlayerStub.h | 88 virtual status_t seekTo(int msec) {return mPlayer->seekTo(msec);} argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Interpolator.cpp | 23 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 D | mediaplayer.cpp | 379 status_t MediaPlayer::getCurrentPosition(int *msec) argument 386 *msec = mCurrentPosition; 389 return mPlayer->getCurrentPosition(msec); 394 status_t MediaPlayer::getDuration_l(int *msec) argument 408 if (msec) { 409 *msec = durationMs; 417 status_t MediaPlayer::getDuration(int *msec) argument 420 return getDuration_l(msec); 423 status_t MediaPlayer::seekTo_l(int msec) argument 425 ALOGV("seekTo %d", msec); 464 seekTo(int msec) argument [all...] |
H A D | IMediaPlayer.cpp | 168 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/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 120 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 D | VideoEditorPlayer.h | 111 virtual status_t seekTo(int msec); 112 virtual status_t getCurrentPosition(int *msec); 113 virtual status_t getDuration(int *msec); 139 virtual status_t setPlaybackBeginTime(uint32_t msec); 140 virtual status_t setPlaybackEndTime(uint32_t msec); 141 virtual status_t setStoryboardStartTime(uint32_t msec);
|
H A D | PreviewPlayer.h | 80 status_t setPlaybackBeginTime(uint32_t msec); 81 status_t setPlaybackEndTime(uint32_t msec); 82 status_t setStoryboardStartTime(uint32_t msec);
|
/frameworks/av/include/media/ |
H A D | IMediaPlayer.h | 55 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 D | mediaplayer.h | 218 status_t seekTo(int msec); 219 status_t getCurrentPosition(int *msec); 220 status_t getDuration(int *msec); 250 status_t seekTo_l(int msec); 252 status_t getDuration_l(int *msec);
|
H A D | MediaPlayerInterface.h | 158 virtual status_t seekTo(int msec) = 0; 159 virtual status_t getCurrentPosition(int *msec) = 0; 160 virtual status_t getDuration(int *msec) = 0;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDriver.h | 48 virtual status_t seekTo(int msec); 49 virtual status_t getCurrentPosition(int *msec); 50 virtual status_t getDuration(int *msec);
|
H A D | NuPlayerDriver.cpp | 275 status_t NuPlayerDriver::seekTo(int msec) { argument 278 int64_t seekTimeUs = msec * 1000ll; 304 status_t NuPlayerDriver::getCurrentPosition(int *msec) { argument 308 *msec = 0; 310 *msec = (mPositionUs + 500ll) / 1000; 316 status_t NuPlayerDriver::getDuration(int *msec) { argument 323 *msec = (mDurationUs + 500ll) / 1000;
|
/frameworks/base/media/tests/players/ |
H A D | invoke_mock_media_player.cpp | 79 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 D | utils.h | 33 // Set a timeout which should occur msec milliseconds from now. 35 void setTimeout(int msec);
|
H A D | utils.cpp | 24 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 D | slesTestDecodeToBuffQueue.cpp | 152 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 D | android_GenericMediaPlayer.cpp | 283 // 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 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
|
H A D | android_AudioSfDecoder.h | 63 virtual void getPositionMsec(int* msec); //msec != NULL, ANDROID_UNKNOWN_TIME if unknown
|
/frameworks/wilhelm/src/itf/ |
H A D | IRecord.c | 69 static SLresult IRecord_SetDurationLimit(SLRecordItf self, SLmillisecond msec) argument 75 if (thiz->mDurationLimit != msec) { 76 thiz->mDurationLimit = msec;
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaPlayer.cpp | 395 android_media_MediaPlayer_seekTo(JNIEnv *env, jobject thiz, int msec) argument 402 ALOGV("seekTo: %d(msec)", msec); 403 process_media_player_call( env, thiz, mp->seekTo(msec), NULL, NULL ); 449 int msec; local 450 process_media_player_call( env, thiz, mp->getCurrentPosition(&msec), NULL, NULL ); 451 ALOGV("getCurrentPosition: %d (msec)", msec); 452 return msec; 463 int msec; local [all...] |