Searched defs:interpolator (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/view/animation/
H A DFallbackLUTInterpolator.java25 * building a native interpolator from a TimeInterpolator that is not marked
38 * interpolator creation
40 public FallbackLUTInterpolator(TimeInterpolator interpolator, long duration) { argument
41 mSourceInterpolator = interpolator;
42 mLut = createLUT(interpolator, duration);
45 private static float[] createLUT(TimeInterpolator interpolator, long duration) { argument
53 values[i] = interpolator.getInterpolation(inValue);
64 * Used to create a one-shot float[] LUT & native interpolator
66 public static long createNativeInterpolator(TimeInterpolator interpolator, long duration) { argument
67 float[] lut = createLUT(interpolator, duratio
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DAppearAnimationCreator.java28 float translationY, boolean appearing, Interpolator interpolator,
27 createAnimation(T animatedObject, long delay, long duration, float translationY, boolean appearing, Interpolator interpolator, Runnable finishListener) argument
H A DDisappearAnimationUtils.java32 AnimationUtils.loadInterpolator(ctx, android.R.interpolator.linear_out_slow_in));
36 float delayScaleFactor, Interpolator interpolator) {
37 super(ctx, duration, translationScaleFactor, delayScaleFactor, interpolator);
35 DisappearAnimationUtils(Context ctx, long duration, float translationScaleFactor, float delayScaleFactor, Interpolator interpolator) argument
H A DAppearAnimationUtils.java42 AnimationUtils.loadInterpolator(ctx, android.R.interpolator.linear_out_slow_in));
46 float delayScaleFactor, Interpolator interpolator) {
47 mInterpolator = interpolator;
172 boolean appearing, Interpolator interpolator, Runnable endRunnable) {
179 .setInterpolator(interpolator)
45 AppearAnimationUtils(Context ctx, long duration, float translationScaleFactor, float delayScaleFactor, Interpolator interpolator) argument
171 createAnimation(View view, long delay, long duration, float translationY, boolean appearing, Interpolator interpolator, Runnable endRunnable) argument
H A DKeyguardPatternView.java105 mContext, android.R.interpolator.linear_out_slow_in));
109 mContext, android.R.interpolator.fast_out_linear_in));
369 Interpolator interpolator,
378 animator.setInterpolator(interpolator);
404 appearing, interpolator, null);
367 createAnimation(final LockPatternView.CellState animatedCell, long delay, long duration, float translationY, final boolean appearing, Interpolator interpolator, final Runnable finishListener) argument
/frameworks/support/v4/tests/java/android/support/v4/widget/
H A DScrollerCompatTestBase.java44 protected void createScroller(Interpolator interpolator) argument
50 mScroller = constructor.newInstance(mApiLevel, getContext(), interpolator);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DViewPropertyAnimatorCompatSet.java93 public ViewPropertyAnimatorCompatSet setInterpolator(Interpolator interpolator) { argument
95 mInterpolator = interpolator;
/frameworks/base/core/java/android/animation/
H A DKeyframe.java63 * The optional time interpolator for the interval preceding this keyframe. A null interpolator
226 * Gets the optional interpolator for this Keyframe. A value of <code>null</code> indicates
229 * @return The optional interpolator for this Keyframe.
236 * Sets the optional interpolator for this Keyframe. A value of <code>null</code> indicates
239 * @return The optional interpolator for this Keyframe.
241 public void setInterpolator(TimeInterpolator interpolator) { argument
242 mInterpolator = interpolator;
H A DAnimatorSet.java123 // Records the interpolator for the set. Null value indicates that no interpolator
258 * of this AnimatorSet. The default value is null, which means that no interpolator
259 * is set on this AnimatorSet. Setting the interpolator to any non-null value
260 * will cause that interpolator to be set on the child animations
263 * @param interpolator the interpolator to be used by each child animation of this AnimatorSet
266 public void setInterpolator(TimeInterpolator interpolator) { argument
267 mInterpolator = interpolator;
H A DLayoutTransition.java577 * Sets the interpolator on one of the animation objects used by this transition. The
578 * <code>transitionType</code> parameter determines the animation whose interpolator
583 * the animation whose interpolator is being set.
584 * @param interpolator The interpolator that the specified animation should use.
587 public void setInterpolator(int transitionType, TimeInterpolator interpolator) { argument
590 mChangingAppearingInterpolator = interpolator;
593 mChangingDisappearingInterpolator = interpolator;
596 mChangingInterpolator = interpolator;
599 mAppearingInterpolator = interpolator;
[all...]
/frameworks/base/core/java/android/transition/
H A DTranslationAnimationCreator.java46 * @param interpolator The interpolator to use with this animator.
51 float startX, float startY, float endX, float endY, TimeInterpolator interpolator) {
78 anim.setInterpolator(interpolator);
50 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator) argument
H A DTransitionSet.java203 public TransitionSet setInterpolator(TimeInterpolator interpolator) { argument
204 return (TransitionSet) super.setInterpolator(interpolator);
/frameworks/base/core/java/android/view/animation/
H A DLayoutAnimationController.java85 * The interpolator used to interpolate the delays.
217 * Sets the interpolator used to interpolate the delays between the
220 * @param context the context from which the interpolator must be inflated
221 * @param resourceID the resource identifier of the interpolator
233 * Sets the interpolator used to interpolate the delays between the
236 * @param interpolator the interpolator
243 public void setInterpolator(Interpolator interpolator) { argument
244 mInterpolator = interpolator;
248 * Returns the interpolator use
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java230 * the VelocityTracker using a linear interpolator
239 * the VelocityTracker using a given interpolator
242 long startime, int duration, Interpolator interpolator) {
248 float ii = interpolator.getInterpolation(i / (float)steps);
241 drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, long startime, int duration, Interpolator interpolator) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DScrimView.java112 public void animateViewAlpha(float alpha, long durationOut, Interpolator interpolator) { argument
119 mAlphaAnimator.setInterpolator(interpolator);
H A DFlingAnimationUtils.java58 = AnimationUtils.loadInterpolator(ctx, android.R.interpolator.fast_out_slow_in);
60 = AnimationUtils.loadInterpolator(ctx, android.R.interpolator.fast_out_linear_in);
68 * Applies the interpolator and length to the animator, such that the fling animation is
81 * Applies the interpolator and length to the animator, such that the fling animation is
95 * Applies the interpolator and length to the animator, such that the fling animation is
110 animator.setInterpolator(properties.interpolator);
114 * Applies the interpolator and length to the animator, such that the fling animation is
129 animator.setInterpolator(properties.interpolator);
140 mAnimatorProperties.interpolator = mLinearOutSlowIn;
143 // Cross fade between fast-out-slow-in and linear interpolator wit
301 Interpolator interpolator; field in class:FlingAnimationUtils.AnimatorProperties
[all...]
/frameworks/support/v4/gingerbread/android/support/v4/widget/
H A DScrollerCompatGingerbread.java25 public static Object createScroller(Context context, Interpolator interpolator) { argument
26 return interpolator != null ?
27 new OverScroller(context, interpolator) : new OverScroller(context);
/frameworks/base/core/jni/
H A Dandroid_view_RenderNodeAnimator.cpp171 Interpolator* interpolator = reinterpret_cast<Interpolator*>(interpolatorPtr); local
172 animator->setInterpolator(interpolator);
/frameworks/base/libs/hwui/
H A DAnimator.cpp58 void BaseRenderNodeAnimator::setInterpolator(Interpolator* interpolator) { argument
61 mInterpolator = interpolator;
119 // No interpolator was set, use the default
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDozeScrimController.java59 AnimationUtils.loadInterpolator(context, android.R.interpolator.linear_out_slow_in);
140 Interpolator interpolator) {
141 startScrimAnimation(inFront, target, duration, interpolator, 0 /* delay */,
146 Interpolator interpolator, long delay, final Runnable endRunnable) {
163 anim.setInterpolator(interpolator);
139 startScrimAnimation(final boolean inFront, float target, long duration, Interpolator interpolator) argument
145 startScrimAnimation(final boolean inFront, float target, long duration, Interpolator interpolator, long delay, final Runnable endRunnable) argument
H A DTrustDrawable.java87 context, android.R.interpolator.linear_out_slow_in);
89 context, android.R.interpolator.fast_out_slow_in);
232 int startAlpha, int endAlpha, long duration, Interpolator interpolator,
236 duration, mAlphaUpdateListener, interpolator, repeating);
239 duration, mRadiusUpdateListener, interpolator, repeating);
250 ValueAnimator.AnimatorUpdateListener updateListener, Interpolator interpolator,
254 animator.setInterpolator(interpolator);
231 makeAnimators(float startRadius, float endRadius, int startAlpha, int endAlpha, long duration, Interpolator interpolator, boolean repeating, boolean stateUpdateListener) argument
249 configureAnimator(ValueAnimator animator, long duration, ValueAnimator.AnimatorUpdateListener updateListener, Interpolator interpolator, boolean repeating) argument
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
H A DSlideKitkat.java209 float start, float end, float terminalValue, TimeInterpolator interpolator,
222 anim.setInterpolator(interpolator);
208 createAnimation(final View view, Property<View, Float> property, float start, float end, float terminalValue, TimeInterpolator interpolator, int finalVisibility) argument
/frameworks/support/v4/java/android/support/v4/widget/
H A DScrollerCompat.java39 Object createScroller(Context context, Interpolator interpolator); argument
63 public Object createScroller(Context context, Interpolator interpolator) { argument
64 return interpolator != null ?
65 new Scroller(context, interpolator) : new Scroller(context);
152 public Object createScroller(Context context, Interpolator interpolator) { argument
153 return ScrollerCompatGingerbread.createScroller(context, interpolator);
249 public static ScrollerCompat create(Context context, Interpolator interpolator) { argument
250 return new ScrollerCompat(context, interpolator);
253 ScrollerCompat(Context context, Interpolator interpolator) { argument
254 this(Build.VERSION.SDK_INT, context, interpolator);
262 ScrollerCompat(int apiVersion, Context context, Interpolator interpolator) argument
[all...]
/frameworks/base/core/java/android/view/
H A DRenderNodeAnimator.java157 static boolean isNativeInterpolator(TimeInterpolator interpolator) { argument
158 return interpolator.getClass().isAnnotationPresent(HasNativeInterpolator.class);
350 public void setInterpolator(TimeInterpolator interpolator) { argument
352 mInterpolator = interpolator;
/frameworks/base/core/java/android/widget/
H A DScroller.java149 * Create a Scroller with the default duration and interpolator.
156 * Create a Scroller with the specified interpolator. If the interpolator is
157 * null, the default (viscous) interpolator will be used. "Flywheel" behavior will
160 public Scroller(Context context, Interpolator interpolator) { argument
161 this(context, interpolator,
166 * Create a Scroller with the specified interpolator. If the interpolator is
167 * null, the default (viscous) interpolator will be used. Specify whether or
170 public Scroller(Context context, Interpolator interpolator, boolea argument
[all...]

Completed in 376 milliseconds

12