Searched refs:duration (Results 51 - 75 of 181) sorted by relevance

12345678

/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceSet.java199 String duration = computeDuration(start, component);
206 (TextUtils.isEmpty(duration))||
234 values.put(CalendarContract.Events.DURATION, duration);
262 String duration = cursor.getString(durationColumn);
271 (TextUtils.isEmpty(duration))||
304 durationProp.setValue(duration);
320 final String duration = values.getAsString(CalendarContract.Events.DURATION);
330 (TextUtils.isEmpty(duration))||
363 durationProp.setValue(duration);
456 // see if a duration i
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c564 // get the duration before prefetch
565 XAmillisecond duration; local
566 result = (*playerPlay)->GetDuration(playerPlay, &duration);
568 if (XA_TIME_UNKNOWN == duration)
571 printf("Duration before prefetch: %.1f (surprise!)\n", duration / 1000.0f);
594 // get duration again, now it should be known for the file source or unknown for TS
595 result = (*playerPlay)->GetDuration(playerPlay, &duration);
597 if (duration == XA_TIME_UNKNOWN) {
600 printf("Duration after prefetch: %u ms (expected for file, unexpected for TS)\n", duration);
688 printf(" duration
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DIBluetooth.aidl44 boolean setScanMode(int mode, int duration);
/frameworks/base/core/java/android/net/arp/
H A DArpPeer.java108 long duration = (long) timeout - SystemClock.elapsedRealtime();
110 (int) duration);
/frameworks/base/core/java/android/widget/
H A DOverScroller.java220 * @return The duration of the scroll in milliseconds.
223 * @deprecated OverScrollers don't necessarily have a fixed duration.
240 * @deprecated OverScrollers don't necessarily have a fixed duration.
242 * the duration of an existing scroll, use startScroll
261 * the duration of an existing scroll, use startScroll
279 * the duration of an existing scroll, use startScroll
303 final int duration = mScrollerX.mDuration;
304 if (elapsedTime < duration) {
305 float q = (float) (elapsedTime) / duration;
346 * duration
374 startScroll(int startX, int startY, int dx, int dy, int duration) argument
680 startScroll(int start, int distance, int duration) argument
[all...]
H A DStackView.java244 int duration = Math.round(mStackSlider.getDurationForNeutralPosition(mYVelocity));
253 slideIn.setDuration(duration);
264 int duration = Math.round(mStackSlider.getDurationForOffscreenPosition(mYVelocity));
273 slideOut.setDuration(duration);
849 int duration;
852 duration = Math.round(mStackSlider.getDurationForNeutralPosition());
854 duration = Math.round(mStackSlider.getDurationForOffscreenPosition());
862 pa.setDuration(duration);
868 int duration;
870 duration
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DDrawableHolder.java64 * @param duration the duration, in ms.
70 public ObjectAnimator addAnimTo(long duration, long delay, argument
76 anim.setDuration(duration);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DTransitionDrawable.java131 * with the specified duration. If the transition is already running, the last
132 * known duration will be used.
134 * @param duration The duration to use if no transition is running.
136 public void reverseTransition(int duration) { argument
151 mDuration = mOriginalDuration = duration;
/frameworks/base/voip/java/com/android/server/sip/
H A DSipSessionListenerProxy.java182 final int duration) {
187 mListener.onRegistrationDone(session, duration);
181 onRegistrationDone(final ISipSession session, final int duration) argument
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DRecurrenceSetTest.java87 // Check generation of duration from events in different time zones.
96 // TODO: would like to use P1H for duration
130 String exrule, String exdate, long dtstart, String tzid, String duration, int allDay,
150 assertEquals(duration, values.get(android.provider.CalendarContract.Events.DURATION));
129 verifyPopulateContentValues(String recurrence, String rrule, String rdate, String exrule, String exdate, long dtstart, String tzid, String duration, int allDay, boolean badFormat) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCommandParams.java88 Tone tone, Duration duration, boolean vibrate) {
91 this.settings = new ToneSettings(duration, tone, vibrate);
87 PlayToneParams(CommandDetails cmdDet, TextMessage textMsg, Tone tone, Duration duration, boolean vibrate) argument
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4SYS_Stream.h156 duration of this stream are computed in this timescale
159 M4OSA_Time duration; /**< The stream duration of this stream. The time unit is the member in struct:__anon183
161 the duration is not known.*/
163 The average bitrate is computed on the stream duration.
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardPatternView.java402 public void showBouncer(int duration) { argument
404 showBouncer(mSecurityMessageDisplay, mEcaView, mBouncerFrame, duration);
408 public void hideBouncer(int duration) { argument
410 hideBouncer(mSecurityMessageDisplay, mEcaView, mBouncerFrame, duration);
H A DKeyguardSecurityViewFlipper.java139 public void showBouncer(int duration) { argument
145 ksv.showBouncer(ksv == active ? duration : 0);
151 public void hideBouncer(int duration) { argument
157 ksv.hideBouncer(ksv == active ? duration : 0);
H A DKeyguardWidgetCarousel.java166 int duration = REORDERING_ZOOM_IN_OUT_DURATION;
170 mChildrenTransformsAnimator.setDuration(duration);
247 int duration = REORDERING_ZOOM_IN_OUT_DURATION;
251 mChildrenTransformsAnimator.setDuration(duration);
H A DKeyguardWidgetPager.java643 void animateOutlinesAndSidePages(final boolean show, int duration) { argument
652 if (duration == -1) {
653 duration = show ? CHILDREN_OUTLINE_FADE_IN_DURATION :
674 child.fadeFrame(this, show, finalOutlineAlpha, duration);
680 mChildrenOutlineFadeAnimation.setDuration(duration);
759 void setBouncerAnimationDuration(int duration) { argument
760 mBouncerZoomInOutDuration = duration;
/frameworks/av/media/libstagefright/
H A DAMRExtractor.cpp139 int64_t duration = 0; local
154 duration += 20000; // Each frame is 20ms
158 mMeta->setInt64(kKeyDuration, duration);
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c108 double duration = 0.0; local
233 duration += finish - start;
247 printf( "\n%2.5f seconds\n", (double)duration/CLOCKS_PER_SEC);
/frameworks/base/core/java/android/view/animation/
H A DGridLayoutAnimationController.java160 * animation duration.
162 * @return a fraction of the animation duration
173 * Sets the delay, as a fraction of the animation duration, by which the
176 * @param columnDelay a fraction of the animation duration
189 * animation duration.
191 * @return a fraction of the animation duration
202 * Sets the delay, as a fraction of the animation duration, by which the
205 * @param rowDelay a fraction of the animation duration
311 final long duration = mAnimation.getDuration();
312 final float columnDelay = mColumnDelay * duration;
[all...]
/frameworks/ex/variablespeed/jni/
H A Dsola_time_scaler.cc156 double duration = max(FLAGS_sola_ring_buffer, 20. * window_duration_); local
162 (sample_rate_ * duration), num_channels_, 1);
167 (sample_rate_ * ratio_ * duration), num_channels_, 2);
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp151 static float duration = defaultDuration; variable
274 duration = strtod(optarg, &chptr);
275 if ((*chptr != '\0') || (duration < 0.0)) {
276 testPrintE("Invalid command-line specified duration of: %s",
366 testPrintE(" %s [-s start_pass] [-e end_pass] [-t duration]",
370 testPrintI("duration: %g", duration);
391 // Stop if duration of work has already been performed
394 if (tv2double(&delta) > duration) { break; }
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmConnection.java69 long duration; field in class:GsmConnection
215 } else if (duration == 0) {
218 return duration;
422 duration = SystemClock.elapsedRealtime() - connectTimeReal;
538 duration = 0;
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp385 /* Periodically ask for position and duration */
390 SLmillisecond duration; local
391 res = (*pCntxt->playItf)->GetDuration(pCntxt->playItf, &duration);
393 if (duration == SL_TIME_UNKNOWN) {
394 printf("After %u encoded %u decoded frames: position is %u ms, duration is "
398 printf("After %u encoded %u decoded frames: position is %u ms, duration is "
400 encodedFrames, decodedFrames, position, duration);
579 /* Get the duration before prefetch; should be unknown */
580 SLmillisecond duration; local
581 res = (*playItf)->GetDuration(playItf, &duration);
[all...]
/frameworks/base/services/java/com/android/server/
H A DNotificationManagerService.java376 int duration; field in class:NotificationManagerService.ToastRecord
378 ToastRecord(int pid, String pkg, ITransientNotification callback, int duration) argument
383 this.duration = duration;
386 void update(int duration) { argument
387 this.duration = duration;
401 + " duration=" + duration;
666 public void enqueueToast(String pkg, ITransientNotification callback, int duration) argument
[all...]
/frameworks/av/libvideoeditor/vss/src/
H A DM4AMRR_CoreReader.c349 pStreamDesc->duration = M4OSA_TIME_UNKNOWN;
363 pStreamContext->m_pStreamHandler->duration = M4OSA_TIME_UNKNOWN;
370 /* duration of the stream = 20 ms * number of access unit */
398 pStreamContext->m_pStreamHandler->duration = auCount * M4AMRR_FRAME_LENGTH ;
399 pStreamDesc->duration = pStreamContext->m_pStreamHandler->duration ;
640 M4OSA_TIME_TO_MS(duration_double, pStreamContext->m_pStreamHandler->duration, 1000);
642 /* Calculate the seek Interval duration based on total dutation */
643 /* Interval = (duration / ENTRIES) in multiples of AU frame length */

Completed in 1034 milliseconds

12345678