Searched refs:duration (Results 126 - 150 of 286) sorted by relevance

1234567891011>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCommandParams.java110 Tone tone, Duration duration, boolean vibrate) {
113 mSettings = new ToneSettings(duration, tone, vibrate);
109 PlayToneParams(CommandDetails cmdDet, TextMessage textMsg, Tone tone, Duration duration, boolean vibrate) argument
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DOverlayListView.java171 * @param duration Duration in milliseconds
174 public OverlayObject setDuration(long duration) { argument
175 mDuration = duration;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.h74 bool isFinished(int64_t duration) const;
/frameworks/base/core/java/android/widget/
H A DStackView.java250 int duration = Math.round(mStackSlider.getDurationForNeutralPosition(mYVelocity));
259 slideIn.setDuration(duration);
270 int duration = Math.round(mStackSlider.getDurationForOffscreenPosition(mYVelocity));
279 slideOut.setDuration(duration);
855 int duration;
858 duration = Math.round(mStackSlider.getDurationForNeutralPosition());
860 duration = Math.round(mStackSlider.getDurationForOffscreenPosition());
868 pa.setDuration(duration);
874 int duration;
876 duration
[all...]
H A DMediaController.java439 int duration = mPlayer.getDuration();
441 if (duration > 0) {
443 long pos = 1000L * position / duration;
451 mEndTime.setText(stringForTime(duration));
565 // We're setting the field "mDragging" to true for the duration of the dragging
594 long duration = mPlayer.getDuration();
595 long newposition = (duration * progress) / 1000L;
/frameworks/base/graphics/java/android/graphics/
H A DMovie.java36 public native int duration(); method in class:Movie
/frameworks/av/cmds/stagefright/
H A Dmuxer.cpp128 int64_t duration; local
129 CHECK(format->findInt64("durationUs", &duration));
131 // Since we got the duration now, correct the start time.
133 if (trimStartTimeUs > duration) {
134 fprintf(stderr, "Warning: trimStartTimeUs > duration,"
/frameworks/av/media/libstagefright/
H A DAMRExtractor.cpp142 int64_t duration = 0; local
160 duration += 20000; // Each frame is 20ms
164 mMeta->setInt64(kKeyDuration, duration);
H A DMPEG4Extractor.cpp161 uint32_t duration; member in struct:android::MPEG4Source::Sample
466 int64_t duration; local
467 if (track->meta->findInt64(kKeyDuration, &duration)) {
468 // nothing fancy, just pick a frame near 1/4th of the duration
470 kKeyThumbnailTime, duration / 4);
1064 int64_t duration; local
1069 if (mLastTrack->meta->findInt64(kKeyDuration, &duration) &&
1075 int64_t paddingus = duration - (int64_t)(segment_duration + media_time);
1077 // track duration from media header (which is what kKeyDuration is) might
1078 // be slightly shorter than the segment duration, whic
1255 int64_t duration = 0; local
1951 uint64_t duration = 0; local
1998 uint64_t duration = 0; local
[all...]
H A DAACExtractor.cpp172 int64_t duration = 0; local
186 // Round up and get the duration
188 duration = numFrames * mFrameDurationUs;
189 mMeta->setInt64(kKeyDuration, duration);
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c109 double duration = 0.0; local
234 duration += finish - start;
248 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/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableView.java202 long duration) {
251 * @param duration The duration of the remove animation.
259 public abstract void performRemoveAnimation(long duration, float translationDirection, argument
262 public abstract void performAddAnimation(long delay, long duration); argument
201 setHideSensitive(boolean hideSensitive, boolean animated, long delay, long duration) argument
H A DActivatableNotificationView.java571 int duration = BACKGROUND_ANIMATION_LENGTH_MS;
575 duration = (int) mBackgroundAnimator.getCurrentPlayTime();
578 if (duration <= 0) {
587 mBackgroundAnimator.setDuration(duration);
667 public void performRemoveAnimation(long duration, float translationDirection, argument
672 0, duration, onFinishedRunnable);
679 public void performAddAnimation(long delay, long duration) { argument
682 startAppearAnimation(true /* isAppearing */, -1.0f, delay, duration, null);
687 long duration, final Runnable onFinishedRunnable) {
715 (long) (duration * Mat
686 startAppearAnimation(boolean isAppearing, float translationDirection, long delay, long duration, final Runnable onFinishedRunnable) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAbsActionBarView.java160 public ViewPropertyAnimatorCompat setupAnimatorToVisibility(int visibility, long duration) { argument
170 anim.setDuration(duration);
175 anim.setDuration(duration);
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java428 long delay, long duration,
432 endTranslationY, startScale, endScale, delay, duration, interpolator,
436 endTranslationY, startScale, endScale, delay, duration, interpolator,
445 long delay, long duration, Interpolator interpolator, final Runnable finishRunnable) {
450 animator.setDuration(duration);
478 long delay, long duration, Interpolator interpolator, final Runnable finishRunnable) {
492 getCenterYForRow(cellState.row) + endTranslationY, delay, duration, interpolator);
493 startRtFloatAnimation(cellState.hwRadius, mDotSize/2 * endScale, delay, duration,
495 startRtAlphaAnimation(cellState, endAlpha, delay, duration, interpolator,
510 long delay, long duration, Interpolato
426 startCellStateAnimation(CellState cellState, float startAlpha, float endAlpha, float startTranslationY, float endTranslationY, float startScale, float endScale, long delay, long duration, Interpolator interpolator, Runnable finishRunnable) argument
441 startCellStateAnimationSw(final CellState cellState, final float startAlpha, final float endAlpha, final float startTranslationY, final float endTranslationY, final float startScale, final float endScale, long delay, long duration, Interpolator interpolator, final Runnable finishRunnable) argument
474 startCellStateAnimationHw(final CellState cellState, float startAlpha, float endAlpha, float startTranslationY, float endTranslationY, float startScale, float endScale, long delay, long duration, Interpolator interpolator, final Runnable finishRunnable) argument
509 startRtAlphaAnimation(CellState cellState, float endAlpha, long delay, long duration, Interpolator interpolator, Animator.AnimatorListener listener) argument
522 startRtFloatAnimation(CanvasProperty<Float> property, float endValue, long delay, long duration, Interpolator interpolator) argument
762 startRadiusAnimation(float start, float end, long duration, Interpolator interpolator, final CellState state, final Runnable endRunnable) argument
[all...]
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustAgentWrapper.java73 private static final String DATA_DURATION = "duration";
123 final long duration;
129 duration = Math.min(durationMs, mMaximumTimeToLock);
132 + durationMs + " to " + duration);
135 duration = durationMs;
137 long expiration = SystemClock.elapsedRealtime() + duration;
/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/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp384 /* Periodically ask for position and duration */
389 SLmillisecond duration; local
390 res = (*pCntxt->playItf)->GetDuration(pCntxt->playItf, &duration);
392 if (duration == SL_TIME_UNKNOWN) {
393 printf("After %zu encoded %zu decoded frames: position is %u ms, duration is "
397 printf("After %zu encoded %zu decoded frames: position is %u ms, duration is "
399 encodedFrames, decodedFrames, position, duration);
578 /* Get the duration before prefetch; should be unknown */
579 SLmillisecond duration; local
580 res = (*playItf)->GetDuration(playItf, &duration);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskView.java466 * @param fadeInDuration the duration of the action button animation, only used if
539 public void onStartLaunchTargetEnterAnimation(TaskViewTransform transform, int duration, argument
545 AnimationProps animation = new AnimationProps(duration, Interpolators.ALPHA_OUT);
552 showActionButton(true /* fadeIn */, duration /* fadeInDuration */);
559 .setDuration(duration)
566 public void onStartLaunchTargetLaunchAnimation(int duration, boolean screenPinningRequested, argument
571 AnimationProps animation = new AnimationProps(duration, Interpolators.ALPHA_OUT);
577 hideActionButton(true /* fadeOut */, duration,
/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfigurationMap.java142 long duration = 0;
148 duration = configurationDuration.getDuration();
153 map = duration <= DURATION_20FPS_NS ?
662 * capability. This does not include the stall duration, so for example, a JPEG or RAW16 output
663 * resolution with a large stall duration but a minimum frame duration that's above 20 fps will
665 * still guaranteed to operate at a rate of at least 10 fps, not including stall duration.</p>
683 * Get the minimum {@link CaptureRequest#SENSOR_FRAME_DURATION frame duration}
690 * <p>This should correspond to the frame duration when only that stream is active, with all
694 * <p>When multiple streams are used in a request, the minimum frame duration wil
1359 getInternalFormatDuration(int format, int dataspace, Size size, int duration) argument
1385 getDurations(int duration, int dataspace) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleForeground.java170 final int duration = (int)
175 tweenRadius.setDuration(duration);
181 tweenOrigin.setDuration(duration);
/frameworks/base/media/jni/
H A Dandroid_media_MediaProfiles.cpp187 int duration = sProfiles->getCamcorderProfileParamByName("duration", id, q); local
200 if (duration == -1 || fileFormat == -1 || videoCodec == -1 || audioCodec == -1 ||
212 duration,
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipManager.java643 public void onRegistrationDone(ISipSession session, int duration) { argument
644 long expiryTime = duration;
645 if (duration > 0) expiryTime += System.currentTimeMillis();
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
H A DSlideKitkat.java148 long duration = a.getInt(R.styleable.lbSlide_android_duration, -1);
149 if (duration >= 0) {
150 setDuration(duration);

Completed in 5298 milliseconds

1234567891011>>