/frameworks/base/core/jni/android/graphics/ |
H A D | Interpolator.cpp | 24 static void Interpolator_setKeyFrame(JNIEnv* env, jobject clazz, jlong interpHandle, jint index, jint msec, jfloatArray valueArray, jfloatArray blendArray) argument 37 interp->setKeyFrame(index, msec, scalars, blend); 50 static jint Interpolator_timeToValues(JNIEnv* env, jobject clazz, jlong interpHandle, jint msec, jfloatArray valueArray) argument 56 result = interp->timeToValues(msec, (SkScalar*)values);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | TestPlayerStub.h | 90 virtual status_t seekTo(int msec) {return mPlayer->seekTo(msec);} argument
|
H A D | MediaPlayerService.cpp | 384 snprintf(buffer, 255, " msec per frame(%f), latency (%d)\n", 1056 status_t MediaPlayerService::Client::getCurrentPosition(int *msec) argument 1061 status_t ret = p->getCurrentPosition(msec); 1063 ALOGV("[%d] getCurrentPosition = %d", mConnId, *msec); 1070 status_t MediaPlayerService::Client::getDuration(int *msec) argument 1075 status_t ret = p->getDuration(msec); 1077 ALOGV("[%d] getDuration = %d", mConnId, *msec); 1105 status_t MediaPlayerService::Client::seekTo(int msec) argument 1107 ALOGV("[%d] seekTo(%d)", mConnId, msec); 1110 return p->seekTo(msec); 1619 int32_t msec = 0; local [all...] |
/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 160 nativeSetKeyFrame(long native_instance, int index, int msec, float[] values, float[] blend) argument 162 nativeTimeToValues(long native_instance, int msec, float[] values) argument [all...] |
/frameworks/base/libs/common_time/ |
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/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/av/cmds/screenrecord/ |
H A D | Overlay.cpp | 270 int32_t msec = (int32_t) ((realTime % 1000000000) / 1000000); local 272 snprintf(tmpBuf, sizeof(tmpBuf), ".%03d", msec);
|
/frameworks/base/core/java/android/os/ |
H A D | DropBoxManager.java | 357 * @param msec time of the last entry seen 360 public Entry getNextEntry(String tag, long msec) { argument 362 return mService.getNextEntry(tag, msec);
|
/frameworks/wilhelm/src/android/ |
H A D | android_GenericMediaPlayer.cpp | 286 // msec != NULL 288 // *msec == 291 void GenericMediaPlayer::getPositionMsec(int* msec) { argument 296 if (player == 0 || player->getCurrentPosition(msec) != NO_ERROR) { 297 *msec = ANDROID_UNKNOWN_TIME; 567 int msec = 0; local 568 if (OK == mPlayer->getDuration(&msec)) { 570 mDurationMsec = msec;
|
H A D | android_AudioSfDecoder.cpp | 85 void AudioSfDecoder::getPositionMsec(int* msec) { argument 88 *msec = ANDROID_UNKNOWN_TIME; 90 *msec = timeUsec / 1000;
|
H A D | android_GenericPlayer.cpp | 197 void GenericPlayer::getDurationMsec(int* msec) { argument 199 *msec = mDurationMsec;
|
/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/av/media/libmedia/ |
H A D | IMediaPlayer.cpp | 249 status_t seekTo(int msec) argument 253 data.writeInt32(msec); 258 status_t getCurrentPosition(int* msec) argument 263 *msec = reply.readInt32(); 267 status_t getDuration(int* msec) argument 272 *msec = reply.readInt32(); 581 int msec = 0; local 582 status_t ret = getCurrentPosition(&msec); 583 reply->writeInt32(msec); 589 int msec local [all...] |
H A D | mediaplayer.cpp | 463 status_t MediaPlayer::getCurrentPosition(int *msec) argument 470 *msec = mCurrentPosition; 473 return mPlayer->getCurrentPosition(msec); 478 status_t MediaPlayer::getDuration_l(int *msec) argument 493 if (msec) { 494 *msec = durationMs; 503 status_t MediaPlayer::getDuration(int *msec) argument 506 return getDuration_l(msec); 509 status_t MediaPlayer::seekTo_l(int msec) argument 511 ALOGV("seekTo %d", msec); 552 seekTo(int msec) argument [all...] |
H A D | AudioTrack.cpp | 2656 status_t AudioTrack::pendingDuration(int32_t *msec, ExtendedTimestamp::Location location) argument 2658 if (msec == nullptr || 2678 *msec = 0; 2691 *msec = (int32_t)(ms + clockdiff / NANOS_PER_MILLIS); 2701 *msec = (diff <= 0) ? 0
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDriver.cpp | 385 status_t NuPlayerDriver::seekTo(int msec) { argument 386 ALOGD("seekTo(%p) %d ms at state %d", this, msec, mState); 389 int64_t seekTimeUs = msec * 1000ll; 413 status_t NuPlayerDriver::getCurrentPosition(int *msec) { argument 419 *msec = (int)divRound(tempUs, (int64_t)(1000)); 435 *msec = (int)divRound(tempUs, (int64_t)(1000)); 439 status_t NuPlayerDriver::getDuration(int *msec) { argument 446 *msec = (mDurationUs + 500ll) / 1000; 537 int msec = 0; local 539 getCurrentPosition(&msec); [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 766 public void seekTo(int msec) { argument 768 mMediaPlayer.seekTo(msec); 771 mSeekWhenPrepared = msec;
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaPlayer.cpp | 580 android_media_MediaPlayer_seekTo(JNIEnv *env, jobject thiz, jint msec) argument 587 ALOGV("seekTo: %d(msec)", msec); 588 process_media_player_call( env, thiz, mp->seekTo(msec), NULL, NULL ); 634 int msec; local 635 process_media_player_call( env, thiz, mp->getCurrentPosition(&msec), NULL, NULL ); 636 ALOGV("getCurrentPosition: %d (msec)", msec); 637 return (jint) msec; 648 int msec; local [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 1503 * @param msec the offset in milliseconds from the start to seek to 1507 public native void seekTo(int msec) throws IllegalStateException; argument
|