Searched refs:duration (Results 151 - 175 of 181) sorted by relevance

12345678

/frameworks/base/core/java/android/widget/
H A DScrollView.java1129 long duration = AnimationUtils.currentAnimationTimeMillis() - mLastScroll;
1130 if (duration > ANIMATED_SCROLL_GAP) {
H A DEditor.java3525 long duration = SystemClock.uptimeMillis() - mPreviousTapUpTime;
3526 if (duration <= ViewConfiguration.getDoubleTapTimeout()) {
3670 final long duration = SystemClock.uptimeMillis() - mFadingStartTime;
3671 if (duration > FADE_OUT_DURATION) return false;
3673 final float coef = 1.0f - (float) duration / FADE_OUT_DURATION;
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java815 private synchronized void vibrate(long duration) { argument
824 mVibrator.vibrate(duration);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java1009 private void incrementCurrentTime(long duration) { argument
1010 mElapsedRealtime += duration;
H A DNetworkStatsServiceTest.java361 // now change bucket duration setting and trigger another poll with
1046 private void incrementCurrentTime(long duration) { argument
1047 mElapsedRealtime += duration;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsPanelView.java542 final int duration = 250;
549 .setDuration(duration).setInterpolator(cubic);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorTools.cpp585 * If the current clip time has reach the duration of one frame of the framing picture
590 while((((M4xVSS_FramingContext*)userData)->current_gif_time + currentFraming->duration) < pProgress->uiOutputTime)
601 if(currentFraming->duration != 0)
603 ((M4xVSS_FramingContext*)userData)->current_gif_time += currentFraming->duration;
765 /* Choose random values if we have reached the duration of a partial effect */
983 framingCtx->duration = 0;
1048 framingCtx->duration = 0;
3117 framingCtx->duration = effectsSettings[index].uiDuration;
3198 framingCtx->duration = 0;
/frameworks/av/libvideoeditor/vss/src/
H A DM4xVSS_API.c1169 /* Initialize total duration variable */
1653 /* Update total_duration with transition duration */
1686 == pParams->duration
1688 == pParams->duration)
1789 pParams->duration =
1791 /* If duration is filled, let's use it instead of EndCutTime */
1794 pParams->duration =
2078 /* Update total duration */
2079 totalDuration += pParams->duration;
2324 /* If percentage information are not correct and if duration fiel
[all...]
H A DM4PTO3GPP_API.c1566 pC->m_pWriterVideoStream->duration = 0; /**< Duration is not known */
1650 pC->m_pWriterAudioStream->duration = 0;/**< Duration is not known yet */
H A DM4VSS3GPP_Edit.c704 * We add a transition of duration 0 at the end of the last clip.
781 * Maximum transition duration between clip n and clip n+1 is the duration
789 /**< duration of clip n is the end cut time */
809 /**< duration of clip n+1 is the end cut time */
841 * There is a transition overlap if the sum of the duration of
843 * is higher than the duration of the clip in-between. */
857 * Output clip duration */
861 * Compute the sum of the clip duration */
868 uiClipVideoDuration; /* Only video track duration i
[all...]
H A DM4xVSS_internal.c58 mode. That way the media duration is accurate*/
1448 * Keep the picture duration */
1629 /*Increasing frequency of Frame, calculating Nos of Frame = duration /FPS */
1633 (xVSS_context->pPTo3GPPcurrentParams->duration \
1814 framingCtx->duration = 0;
2100 framingCtx->duration = 0;
3486 /*open the MCS in the "normal opening" mode to retrieve the exact duration*/
3870 * If the current clip time has reach the duration of one frame of the framing picture
4049 /* Choose random values if we have reached the duration of a partial effect */
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace.pb.cpp1778 // required int32 duration = 3;
1899 // required int32 duration = 3;
1901 ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->duration(), output);
1953 // required int32 duration = 3;
1957 this->duration());
2018 set_duration(from.duration());
H A Dgltrace.pb.h1381 // required int32 duration = 3;
1385 inline ::google::protobuf::int32 duration() const;
1779 // required int32 duration = 3;
1787 inline ::google::protobuf::int32 GLMessage::duration() const { function in class:android::gltrace::GLMessage
/frameworks/base/voip/java/android/net/sip/
H A DSipAudioCall.java538 public void onRegistrationDone(SipSession session, int duration) {
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h3097 XAmillisecond duration; member in struct:XAVideoStreamInformation_
3106 XAmillisecond duration; member in struct:XAAudioStreamInformation_
3124 XAmillisecond duration; member in struct:XATimedTextStreamInformation_
3132 XAmillisecond duration; member in struct:XAMIDIStreamInformation_
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp122 streamInfo.videoInfo.duration = XA_TIME_UNKNOWN;
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsService.java1014 final long duration = SystemClock.elapsedRealtime() - startRealtime;
1015 Slog.v(TAG, "performPollLocked() took " + duration + "ms");
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs379 static float getAnimatedAlpha(int64_t startTime, int64_t currentTime, int64_t duration)
382 double alpha = duration > 0 ? (double) timeElapsed / duration : 1.0;
/frameworks/base/docs/html/guide/google/gcm/client-javadoc/
H A Ddefault.css521 -webkit-animation-duration: 0.7s;
522 -moz-animation-duration: 0.7s;
523 animation-duration: 0.7s;
3511 -webkit-transition-duration: .25s;
3515 -moz-transition-duration: .25s;
3519 -o-transition-duration: .25s;
3523 -transition-duration: .25s;
/frameworks/base/docs/html/guide/google/gcm/server-javadoc/
H A Ddefault.css521 -webkit-animation-duration: 0.7s;
522 -moz-animation-duration: 0.7s;
523 animation-duration: 0.7s;
3511 -webkit-transition-duration: .25s;
3515 -moz-transition-duration: .25s;
3519 -o-transition-duration: .25s;
3523 -transition-duration: .25s;
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorClasses.cpp477 VIDEOEDIT_JAVA_FIELD_INIT("duration", "I"),
579 VIDEOEDIT_JAVA_FIELD_INIT("duration", "I" ),
627 VIDEOEDIT_JAVA_FIELD_INIT("duration", "I" ),
1345 // Set the begin cut time, in percent of clip duration (only for 3GPP clip !).
1349 // Set the end cut time, in percent of clip duration (only for 3GPP clip !).
1353 // Set the duration of the clip, if different from 0,
1563 // Set the duration field.
1564 pEnv->SetIntField(object, fieldIds.duration, pProperties->uiClipDuration);
2308 // Set the duration in milliseconds.
2309 pSettings->uiDuration = (M4OSA_UInt32)pEnv->GetIntField(object, fieldIds.duration);
[all...]
/frameworks/base/services/input/
H A DEventHub.cpp565 void EventHub::vibrate(int32_t deviceId, nsecs_t duration) {
575 effect.replay.length = (duration + 999999LL) / 1000000LL;
/frameworks/av/libvideoeditor/vss/mcs/src/
H A DM4MCS_API.c3602 * @return M4MCS_ERR_DURATION_IS_NULL : Specified output parameters define a null duration stream
4447 * duration
4505 M4OSA_TRACE1_2("M4MCS_setEncodingParams(): Begin cut larger than duration (%d>%d),\
4512 * If end cut time is too large, we set it to the clip duration */
4540 * FlB 2009.03.04: check audio effects start time and duration validity*/
4553 duration (%d,%d), returning M4ERR_PARAMETER",
4562 /* Re-adjust the effect duration until the end of the output clip*/
4700 * @return M4MCS_ERR_BEGIN_CUT_EQUALS_END_CUT: Encoding settings would produce a null duration
4880 /* compute max duration */
5039 /* compute max duration */
9970 M4OSA_UInt32 duration; local
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp211 const nsecs_t duration = now - mBootTime; local
212 ALOGI("Boot is finished (%ld ms)", long(ns2ms(duration)) );
/frameworks/av/libvideoeditor/vss/3gpwriter/src/
H A DM4MP4W_Writer.c436 /* magical formula : memory = vesMemory + 12 * framerate * duration */
583 mMp4FileDataPtr->duration = 0; /*i*/
771 160; /*AMR8+timescale=8000 => sample duration 160 constant*/
806 160; /*EVRC+timescale=8000 => sample duration 160 constant*/
1250 /*set audioMsChunkDur (duration in ms before a new chunk is created)
2216 /*sample duration is a priori constant in audio case, */
2220 /*TODO test sample duration? (should be 20ms in AMR8, 160 tics with timescale 8000) */
2314 /* keep track of real sample duration*/
2392 /*increase of 1 the number of consecutive AUs with same duration*/
2645 /*increase of 1 the number of consecutive AUs with same duration*/
[all...]

Completed in 685 milliseconds

12345678