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

1234567891011>>

/frameworks/base/core/java/android/os/
H A DIDeviceIdleController.aidl37 void addPowerSaveTempWhitelistApp(String name, long duration, int userId, String reason);
/frameworks/base/core/jni/android/graphics/
H A DMovieImpl.cpp28 SkMSec Movie::duration() function in class:Movie
54 SkMSec dur = this->duration();
H A DMovie.h37 SkMSec duration();
42 /** Specify the time code (between 0...duration) to sample a bitmap
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/
H A DMusicTrack.java47 * @param duration
50 String image, int trackNumber, int totalTrackCount, int duration) {
59 this.mDuration = duration;
49 MusicTrack(String title, String album, String artist, String genre, String source, String image, int trackNumber, int totalTrackCount, int duration) argument
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
H A DBitmapRequestKeyImpl.java82 final long duration = (long) ((float) (mUriString.length() % spread) / spread * max
85 Thread.sleep(duration);
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DISipSession.aidl89 * @param duration duration in second before the registration expires
92 void register(int duration);
97 * expiration duration. The session listener is called back upon success or
H A DSipSessionAdapter.java59 public void onRegistrationDone(ISipSession session, int duration) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLightBarTransitionsController.java107 public void appTransitionStarting(long startTime, long duration, boolean forced) { argument
115 duration);
123 mTransitionDeferringDuration = duration;
157 long duration) {
168 mTintAnimator.setDuration(duration);
156 animateIconTint(float targetDarkIntensity, long delay, long duration) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java60 * @param maxLengthSeconds the longest duration an animation can become in seconds
70 * @param maxLengthSeconds the longest duration an animation can become in seconds
139 animator.setDuration(properties.duration);
158 animator.setDuration(properties.duration);
191 mAnimatorProperties.duration = (long) (durationSeconds * 1000);
224 animator.setDuration(properties.duration);
244 animator.setDuration(properties.duration);
277 mAnimatorProperties.duration = (long) (durationSeconds * 1000);
350 long duration; field in class:FlingAnimationUtils.AnimatorProperties
H A DKeyguardAffordanceView.java286 private void startRtCircleFadeOut(long duration) { argument
289 animator.setDuration(duration);
363 long duration = 250;
367 duration = (long) (CIRCLE_APPEAR_DURATION * durationFactor);
368 duration = Math.min(duration, CIRCLE_DISAPPEAR_MAX_DURATION);
370 animator.setDuration(duration);
378 mPreviewClipper.setDuration(duration);
423 * @param duration If animate, whats the duration
427 setImageScale(float imageScale, boolean animate, long duration, Interpolator interpolator) argument
485 setImageAlpha(float alpha, boolean animate, long duration, Interpolator interpolator, Runnable runnable) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewPropertyAnimatorRT.java70 long duration = parent.getDuration();
77 interpolator = new FallbackLUTInterpolator(interpolator, duration);
86 animator.setDuration(duration);
/frameworks/base/core/java/android/animation/
H A DLayoutTransition.java56 * animation. The other animations begin after a delay that is set to the default duration
73 * basic animation properties, such as the duration, start delay, and properties being animated.
166 * The default duration used by all animations.
181 * the appearing item is the default duration, since it should wait for the items to move
320 * Sets the duration to be used by all animations of this transition object. If you want to
321 * set the duration of just one of the animations in particular, use the
324 * @param duration The length of time, in milliseconds, that the transition animations
327 public void setDuration(long duration) { argument
328 mChangingAppearingDuration = duration;
329 mChangingDisappearingDuration = duration;
487 setDuration(int transitionType, long duration) argument
544 setStagger(int transitionType, long duration) argument
828 setupChangeAnimation(final ViewGroup parent, final int changeReason, Animator baseAnimator, final long duration, final View child) argument
[all...]
H A DAnimator.java32 * The value used to indicate infinite duration (e.g. when Animators repeat infinitely).
179 * Sets the duration of the animation.
181 * @param duration The length of the animation, in milliseconds.
183 public abstract Animator setDuration(long duration); argument
186 * Gets the duration of the animation.
193 * Gets the total duration of the animation, accounting for animation sequences, start delay,
194 * and repeating. Return {@link #DURATION_INFINITE} if the duration is infinite.
201 long duration = getDuration();
202 if (duration == DURATION_INFINITE) {
205 return getStartDelay() + duration;
[all...]
/frameworks/av/cmds/stagefright/
H A Daudioloop.cpp42 fprintf(stderr, " -d duration in seconds, default 5 seconds\n");
52 unsigned duration = 5; local
61 duration = atoi(optarg);
86 // talk into the appropriate microphone for the duration
127 sleep(duration);
137 sleep(duration);
/frameworks/av/include/media/
H A DMediaAnalyticsItem.h115 void setRate(Attr, int64_t count, int64_t duration);
123 void addRate(Attr, int64_t count, int64_t duration);
131 bool getRate(Attr, int64_t *count, int64_t *duration, double *rate);
215 struct { int64_t count, duration; } rate; member in struct:android::MediaAnalyticsItem::Prop::__anon81::__anon82
/frameworks/av/media/libmediametrics/include/
H A DMediaAnalyticsItem.h115 void setRate(Attr, int64_t count, int64_t duration);
123 void addRate(Attr, int64_t count, int64_t duration);
131 bool getRate(Attr, int64_t *count, int64_t *duration, double *rate);
215 struct { int64_t count, duration; } rate; member in struct:android::MediaAnalyticsItem::Prop::__anon394::__anon395
/frameworks/base/core/java/android/transition/
H A DSidePropagation.java54 * Sets the speed at which transition propagation happens, relative to the duration of the
57 * in start delay of approximately the duration of the Transition. A speed of 2 means the
58 * start delay difference will be approximately half of the duration of the transition. A
61 * @param propagationSpeed The speed at which propagation occurs, relative to the duration
63 * as the duration of the transition. May not be 0.
113 long duration = transition.getDuration();
114 if (duration < 0) {
115 duration = 300;
118 return Math.round(duration * directionMultiplier / mPropagationSpeed * distanceFraction);
/frameworks/base/core/java/android/widget/
H A DDateTimeView.java230 long duration = Math.abs(now - mTimeMillis);
235 if (duration < MINUTE_IN_MILLIS) {
239 } else if (duration < HOUR_IN_MILLIS) {
240 count = (int)(duration / MINUTE_IN_MILLIS);
247 } else if (duration < DAY_IN_MILLIS) {
248 count = (int)(duration / HOUR_IN_MILLIS);
255 } else if (duration < YEAR_IN_MILLIS) {
272 count = (int)(duration / YEAR_IN_MILLIS);
343 long duration = Math.abs(now - mTimeMillis);
347 if (duration < MINUTE_IN_MILLI
[all...]
/frameworks/base/libs/hwui/
H A DPropertyValuesAnimatorSet.cpp26 Interpolator* interpolator, nsecs_t startDelay, nsecs_t duration, int repeatCount,
30 interpolator, startDelay, duration, repeatCount, repeatMode);
116 // Sort the animators by their total duration. Note that all the animators in the set start at
117 // the same time, so the ones with longer total duration (which includes start delay) will
131 nsecs_t startDelay, nsecs_t duration, int repeatCount,
134 mDuration(duration) {
25 addPropertyAnimator(PropertyValuesHolder* propertyValuesHolder, Interpolator* interpolator, nsecs_t startDelay, nsecs_t duration, int repeatCount, RepeatMode repeatMode) argument
130 PropertyAnimator(PropertyValuesHolder* holder, Interpolator* interpolator, nsecs_t startDelay, nsecs_t duration, int repeatCount, RepeatMode repeatMode) argument
/frameworks/support/transition/src/android/support/transition/
H A DSidePropagation.java54 * Sets the speed at which transition propagation happens, relative to the duration of the
57 * in start delay of approximately the duration of the Transition. A speed of 2 means the
58 * start delay difference will be approximately half of the duration of the transition. A
61 * @param propagationSpeed The speed at which propagation occurs, relative to the duration
63 * as the duration of the transition. May not be 0.
113 long duration = transition.getDuration();
114 if (duration < 0) {
115 duration = 300;
118 return Math.round(duration * directionMultiplier / mPropagationSpeed * distanceFraction);
/frameworks/support/wear/tests/src/android/support/wear/widget/util/
H A DArcSwipe.java52 Gesture(int duration, boolean clockwise) { argument
53 mDuration = duration;
118 int duration,
123 final int delayBetweenMovements = duration / steps.length;
113 sendArcSwipe( UiController uiController, float[] startCoordinates, float[] endCoordinates, float[] precision, int duration, boolean isClockwise) argument
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java110 int duration = -1;
114 duration = Integer.parseInt(args[index+5]);
119 duration);
123 int duration = -1;
127 duration = Integer.parseInt(args[index+5]);
132 duration);
215 private void sendSwipe(int inputSource, float x1, float y1, float x2, float y2, int duration) { argument
216 if (duration < 0) {
217 duration = 300;
222 long endTime = startTime + duration;
[all...]
/frameworks/base/core/java/android/view/animation/
H A DAnimationSet.java33 * (for example, duration or fillBefore), the values of AnimationSet
41 * <li>duration, repeatMode, fillBefore, fillAfter: These properties, when set
50 * <code>android:duration="500"</code> in an XML resource for an AnimationSet object.</p>
200 * <p>Sets the duration of every child animation.</p>
202 * @param durationMillis the duration of the animation, in milliseconds, for
294 * The duration of an AnimationSet is defined to be the
295 * duration of the longest child animation.
303 long duration = 0;
307 duration = mDuration;
310 duration
[all...]
/frameworks/av/services/camera/libcameraservice/utils/
H A DLatencyHistogram.cpp34 nsecs_t duration = end - start; local
35 int32_t durationMs = static_cast<int32_t>(duration / 1000000LL);
/frameworks/base/core/java/android/accessibilityservice/
H A DGestureDescription.java45 * Upper bound on total gesture duration. Nearly all gestures will be much shorter.
62 * Get the upper limit on a gesture's duration.
64 * @return The maximum duration in milliseconds.
146 // Total duration assumes that the gesture starts at 0; waiting around to start a gesture
147 // counts against total duration
167 * added to a gesture, and the total gesture duration (earliest path start time to latest
185 "Gesture would exceed maximum duration with new stroke");
223 * @param duration The duration, in milliseconds, the stroke takes to traverse the path.
228 @IntRange(from = 0) long duration) {
226 StrokeDescription(@onNull Path path, @IntRange(from = 0) long startTime, @IntRange(from = 0) long duration) argument
244 StrokeDescription(@onNull Path path, @IntRange(from = 0) long startTime, @IntRange(from = 0) long duration, boolean willContinue) argument
333 continueStroke(Path path, long startTime, long duration, boolean willContinue) argument
[all...]

Completed in 610 milliseconds

1234567891011>>