Lines Matching refs:duration
247 // transition plays in reverse and use the same duration as previous state.
248 mConfig.duration = state == NORMAL ? fromState.transitionDuration : state.transitionDuration;
303 * @param duration intended duration for normal playback. Use higher duration for better
307 LauncherState state, long duration) {
308 return createAnimationToNewWorkspace(state, duration, LauncherStateManager.ANIM_ALL);
312 LauncherState state, long duration, @AnimationComponents int animComponents) {
313 return createAnimationToNewWorkspace(state, new AnimatorSetBuilder(), duration, null,
318 AnimatorSetBuilder builder, long duration, Runnable onCancelRunnable,
323 mConfig.duration = duration;
325 createAnimationToNewWorkspaceInternal(state, builder, null), duration,
500 public long duration;
513 duration = 0;
533 mPropertySetter = duration == 0 ? NO_ANIM_PROPERTY_SETTER
534 : new AnimatedPropertySetter(duration, builder);