Searched refs:interpolator (Results 1 - 25 of 92) sorted by relevance

1234

/frameworks/base/core/java/android/view/
H A DRenderNodeAnimatorSetHelper.java35 public static long createNativeInterpolator(TimeInterpolator interpolator, long argument
37 if (interpolator == null) {
40 } else if (RenderNodeAnimator.isNativeInterpolator(interpolator)) {
41 return ((NativeInterpolatorFactory)interpolator).createNativeInterpolator();
43 return FallbackLUTInterpolator.createNativeInterpolator(interpolator, duration);
H A DViewPropertyAnimatorRT.java71 TimeInterpolator interpolator = parent.getInterpolator();
72 if (interpolator == null) {
74 interpolator = sLinearInterpolator;
76 if (!RenderNodeAnimator.isNativeInterpolator(interpolator)) {
77 interpolator = new FallbackLUTInterpolator(interpolator, duration);
87 animator.setInterpolator(interpolator);
/frameworks/base/core/java/com/android/internal/view/animation/
H A DFallbackLUTInterpolator.java25 * building a native interpolator from a TimeInterpolator that is not marked
40 * interpolator creation
42 public FallbackLUTInterpolator(TimeInterpolator interpolator, long duration) { argument
43 mSourceInterpolator = interpolator;
44 mLut = createLUT(interpolator, duration);
47 private static float[] createLUT(TimeInterpolator interpolator, long duration) { argument
57 values[i] = interpolator.getInterpolation(inValue);
68 * Used to create a one-shot float[] LUT & native interpolator
70 public static long createNativeInterpolator(TimeInterpolator interpolator, long duration) { argument
71 float[] lut = createLUT(interpolator, duratio
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
H A DDisappearAnimationUtils.java31 AnimationUtils.loadInterpolator(ctx, android.R.interpolator.fast_out_linear_in));
35 float delayScaleFactor, Interpolator interpolator) {
36 this(ctx, duration, translationScaleFactor, delayScaleFactor, interpolator,
41 float delayScaleFactor, Interpolator interpolator, RowTranslationScaler rowScaler) {
42 super(ctx, duration, translationScaleFactor, delayScaleFactor, interpolator);
34 DisappearAnimationUtils(Context ctx, long duration, float translationScaleFactor, float delayScaleFactor, Interpolator interpolator) argument
40 DisappearAnimationUtils(Context ctx, long duration, float translationScaleFactor, float delayScaleFactor, Interpolator interpolator, RowTranslationScaler rowScaler) argument
H A DAppearAnimationCreator.java27 float translationY, boolean appearing, Interpolator interpolator,
26 createAnimation(T animatedObject, long delay, long duration, float translationY, boolean appearing, Interpolator interpolator, Runnable finishListener) argument
H A DAppearAnimationUtils.java51 AnimationUtils.loadInterpolator(ctx, android.R.interpolator.linear_out_slow_in));
55 float delayScaleFactor, Interpolator interpolator) {
56 mInterpolator = interpolator;
185 boolean appearing, Interpolator interpolator, final Runnable endRunnable) {
199 alphaAnim.setInterpolator(interpolator);
221 interpolator);
226 float endTranslationY, Interpolator interpolator) {
237 translationAnim.setInterpolator(interpolator);
54 AppearAnimationUtils(Context ctx, long duration, float translationScaleFactor, float delayScaleFactor, Interpolator interpolator) argument
184 createAnimation(final View view, long delay, long duration, float translationY, boolean appearing, Interpolator interpolator, final Runnable endRunnable) argument
225 startTranslationYAnimation(View view, long delay, long duration, float endTranslationY, Interpolator interpolator) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DAnimationProps.java68 * Creates an animation with a default {@param duration} and {@param interpolator} for all
71 public AnimationProps(int duration, Interpolator interpolator) { argument
72 this(0, duration, interpolator, null);
76 * Creates an animation with a default {@param duration} and {@param interpolator} for all
79 public AnimationProps(int duration, Interpolator interpolator, argument
81 this(0, duration, interpolator, listener);
86 * {@param interpolator} for all properties in this animation.
88 public AnimationProps(int startDelay, int duration, Interpolator interpolator) { argument
89 this(startDelay, duration, interpolator, null);
94 * {@param interpolator} fo
96 AnimationProps(int startDelay, int duration, Interpolator interpolator, Animator.AnimatorListener listener) argument
196 setInterpolator(@ropType int propertyType, Interpolator interpolator) argument
[all...]
/frameworks/base/core/java/android/animation/
H A DFloatKeyframeSet.java90 final TimeInterpolator interpolator = nextKeyframe.getInterpolator();
91 if (interpolator != null) {
92 fraction = interpolator.getInterpolation(fraction);
106 final TimeInterpolator interpolator = nextKeyframe.getInterpolator();
107 if (interpolator != null) {
108 fraction = interpolator.getInterpolation(fraction);
120 final TimeInterpolator interpolator = nextKeyframe.getInterpolator();
125 // Apply interpolator on the proportional duration.
126 if (interpolator != null) {
127 intervalFraction = interpolator
[all...]
H A DIntKeyframeSet.java90 final TimeInterpolator interpolator = nextKeyframe.getInterpolator();
91 if (interpolator != null) {
92 fraction = interpolator.getInterpolation(fraction);
106 final TimeInterpolator interpolator = nextKeyframe.getInterpolator();
107 if (interpolator != null) {
108 fraction = interpolator.getInterpolation(fraction);
119 final TimeInterpolator interpolator = nextKeyframe.getInterpolator();
124 // Apply interpolator on the proportional duration.
125 if (interpolator != null) {
126 intervalFraction = interpolator
[all...]
H A DKeyframeSet.java194 * animation's interpolator) and the evaluator used to calculate in-between values. This
197 * outside the [0-1] bounds, if the animation's interpolator made that happen (e.g., a
215 final TimeInterpolator interpolator = nextKeyframe.getInterpolator();
216 if (interpolator != null) {
217 fraction = interpolator.getInterpolation(fraction);
226 final TimeInterpolator interpolator = mLastKeyframe.getInterpolator();
227 if (interpolator != null) {
228 fraction = interpolator.getInterpolation(fraction);
240 final TimeInterpolator interpolator = nextKeyframe.getInterpolator();
244 // Apply interpolator o
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStackScrollerDecorView.java81 Interpolator interpolator;
83 interpolator = Interpolators.ALPHA_IN;
85 interpolator = Interpolators.ALPHA_OUT;
90 .setInterpolator(interpolator)
H A DFlingAnimationUtils.java62 * Applies the interpolator and length to the animator, such that the fling animation is
75 * Applies the interpolator and length to the animator, such that the fling animation is
89 * Applies the interpolator and length to the animator, such that the fling animation is
104 animator.setInterpolator(properties.interpolator);
108 * Applies the interpolator and length to the animator, such that the fling animation is
123 animator.setInterpolator(properties.interpolator);
134 mAnimatorProperties.interpolator = mLinearOutSlowIn;
137 // Cross fade between fast-out-slow-in and linear interpolator with current velocity.
143 mAnimatorProperties.interpolator = superInterpolator;
146 // Just use a normal interpolator whic
295 Interpolator interpolator; field in class:FlingAnimationUtils.AnimatorProperties
[all...]
H A DKeyguardAffordanceView.java350 Interpolator interpolator = circleRadius == 0.0f
353 animator.setInterpolator(interpolator);
368 mPreviewClipper.setInterpolator(interpolator);
415 * @param interpolator If animate, whats the interpolator? When null we take the default
416 * interpolator.
419 Interpolator interpolator) {
435 if (interpolator == null) {
436 interpolator = imageScale == 0.0f
440 animator.setInterpolator(interpolator);
418 setImageScale(float imageScale, boolean animate, long duration, Interpolator interpolator) argument
476 setImageAlpha(float alpha, boolean animate, long duration, Interpolator interpolator, Runnable runnable) argument
[all...]
/frameworks/support/compat/java/android/support/v4/widget/
H A DScrollerCompat.java41 public static ScrollerCompat create(Context context, Interpolator interpolator) { argument
42 return new ScrollerCompat(Build.VERSION.SDK_INT >= 14, context, interpolator);
49 ScrollerCompat(boolean isIcsOrNewer, Context context, Interpolator interpolator) { argument
51 mScroller = interpolator != null ?
52 new OverScroller(context, interpolator) : new OverScroller(context);
/frameworks/base/core/java/android/view/animation/
H A DAnimationUtils.java330 * @return The interpolator object reference by the specified id
359 BaseInterpolator interpolator = null;
377 interpolator = new LinearInterpolator();
379 interpolator = new AccelerateInterpolator(res, theme, attrs);
381 interpolator = new DecelerateInterpolator(res, theme, attrs);
383 interpolator = new AccelerateDecelerateInterpolator();
385 interpolator = new CycleInterpolator(res, theme, attrs);
387 interpolator = new AnticipateInterpolator(res, theme, attrs);
389 interpolator = new OvershootInterpolator(res, theme, attrs);
391 interpolator
[all...]
/frameworks/support/design/honeycomb-mr1/android/support/design/widget/
H A DValueAnimatorCompatImplHoneycombMr1.java43 public void setInterpolator(Interpolator interpolator) { argument
44 mValueAnimator.setInterpolator(interpolator);
/frameworks/support/design/base/android/support/design/widget/
H A DValueAnimatorCompat.java98 abstract void setInterpolator(Interpolator interpolator); argument
126 public void setInterpolator(Interpolator interpolator) { argument
127 mImpl.setInterpolator(interpolator);
/frameworks/base/libs/hwui/
H A DPropertyValuesAnimatorSet.cpp26 Interpolator* interpolator, nsecs_t startDelay, nsecs_t duration, int repeatCount,
30 interpolator, startDelay, duration, repeatCount, repeatMode);
130 PropertyAnimator::PropertyAnimator(PropertyValuesHolder* holder, Interpolator* interpolator, argument
133 : mPropertyValuesHolder(holder), mInterpolator(interpolator), mStartDelay(startDelay),
25 addPropertyAnimator(PropertyValuesHolder* propertyValuesHolder, Interpolator* interpolator, nsecs_t startDelay, nsecs_t duration, int repeatCount, RepeatMode repeatMode) argument
/frameworks/support/compat/tests/java/android/support/v4/widget/
H A DScrollerCompatTestBase.java50 protected void createScroller(Interpolator interpolator) argument
54 interpolator);
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DViewPropertyAnimatorCompatSet.java105 public ViewPropertyAnimatorCompatSet setInterpolator(Interpolator interpolator) { argument
107 mInterpolator = interpolator;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTrustDrawable.java221 int startAlpha, int endAlpha, long duration, Interpolator interpolator,
225 duration, mAlphaUpdateListener, interpolator, repeating);
228 duration, mRadiusUpdateListener, interpolator, repeating);
239 ValueAnimator.AnimatorUpdateListener updateListener, Interpolator interpolator,
243 animator.setInterpolator(interpolator);
220 makeAnimators(float startRadius, float endRadius, int startAlpha, int endAlpha, long duration, Interpolator interpolator, boolean repeating, boolean stateUpdateListener) argument
238 configureAnimator(ValueAnimator animator, long duration, ValueAnimator.AnimatorUpdateListener updateListener, Interpolator interpolator, boolean repeating) argument
H A DDozeScrimController.java162 Interpolator interpolator) {
163 startScrimAnimation(inFront, target, duration, interpolator, null /* endRunnable */);
167 Interpolator interpolator, final Runnable endRunnable) {
184 anim.setInterpolator(interpolator);
161 startScrimAnimation(final boolean inFront, float target, long duration, Interpolator interpolator) argument
166 startScrimAnimation(final boolean inFront, float target, long duration, Interpolator interpolator, final Runnable endRunnable) argument
/frameworks/base/core/java/android/widget/
H A DOverScroller.java46 * Creates an OverScroller with a viscous fluid scroll interpolator and flywheel.
56 * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will
59 public OverScroller(Context context, Interpolator interpolator) { argument
60 this(context, interpolator, true);
66 * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will
71 public OverScroller(Context context, Interpolator interpolator, boolea argument
94 OverScroller(Context context, Interpolator interpolator, float bounceCoefficientX, float bounceCoefficientY) argument
112 OverScroller(Context context, Interpolator interpolator, float bounceCoefficientX, float bounceCoefficientY, boolean flywheel) argument
117 setInterpolator(Interpolator interpolator) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
H A DAssistOrbView.java152 long startDelay, Interpolator interpolator) {
162 mCircleAnimator.setInterpolator(interpolator);
187 * @param interpolator The desired interpolator if animated. If null,
188 * a default interpolator will be taken designed for appearing or
192 Interpolator interpolator) {
205 mOffsetAnimator.setInterpolator(interpolator);
151 animateCircleSize(float circleSize, long duration, long startDelay, Interpolator interpolator) argument
191 animateOffset(float offset, long duration, long startDelay, Interpolator interpolator) argument
/frameworks/support/transition/base/android/support/transition/
H A DTransitionImpl.java70 public abstract TransitionImpl setInterpolator(TimeInterpolator interpolator); argument

Completed in 1145 milliseconds

1234