/frameworks/base/core/java/android/view/ |
H A D | RenderNodeAnimatorSetHelper.java | 35 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 D | ViewPropertyAnimatorRT.java | 71 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 D | FallbackLUTInterpolator.java | 25 * 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 54 values[i] = interpolator.getInterpolation(inValue); 65 * Used to create a one-shot float[] LUT & native interpolator 67 public static long createNativeInterpolator(TimeInterpolator interpolator, long duration) { argument 68 float[] lut = createLUT(interpolator, duratio [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
H A D | DisappearAnimationUtils.java | 31 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 D | AppearAnimationCreator.java | 27 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 D | AppearAnimationUtils.java | 51 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 D | AnimationProps.java | 68 * 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 D | FloatKeyframeSet.java | 90 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 D | IntKeyframeSet.java | 90 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 D | KeyframeSet.java | 194 * 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 D | StackScrollerDecorView.java | 81 Interpolator interpolator; 83 interpolator = Interpolators.ALPHA_IN; 85 interpolator = Interpolators.ALPHA_OUT; 90 .setInterpolator(interpolator)
|
H A D | FlingAnimationUtils.java | 62 * 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 D | KeyguardAffordanceView.java | 347 Interpolator interpolator = circleRadius == 0.0f 350 animator.setInterpolator(interpolator); 365 mPreviewClipper.setInterpolator(interpolator); 412 * @param interpolator If animate, whats the interpolator? When null we take the default 413 * interpolator. 416 Interpolator interpolator) { 432 if (interpolator == null) { 433 interpolator = imageScale == 0.0f 437 animator.setInterpolator(interpolator); 415 setImageScale(float imageScale, boolean animate, long duration, Interpolator interpolator) argument 473 setImageAlpha(float alpha, boolean animate, long duration, Interpolator interpolator, Runnable runnable) argument [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | AnimationUtils.java | 298 * @return The interpolator object reference by the specified id 327 BaseInterpolator interpolator = null; 345 interpolator = new LinearInterpolator(); 347 interpolator = new AccelerateInterpolator(res, theme, attrs); 349 interpolator = new DecelerateInterpolator(res, theme, attrs); 351 interpolator = new AccelerateDecelerateInterpolator(); 353 interpolator = new CycleInterpolator(res, theme, attrs); 355 interpolator = new AnticipateInterpolator(res, theme, attrs); 357 interpolator = new OvershootInterpolator(res, theme, attrs); 359 interpolator [all...] |
/frameworks/base/libs/hwui/ |
H A D | PropertyValuesAnimatorSet.cpp | 26 Interpolator* interpolator, nsecs_t startDelay, 30 interpolator, startDelay, duration, repeatCount); 109 PropertyAnimator::PropertyAnimator(PropertyValuesHolder* holder, Interpolator* interpolator, argument 111 : mPropertyValuesHolder(holder), mInterpolator(interpolator), mStartDelay(startDelay), 25 addPropertyAnimator(PropertyValuesHolder* propertyValuesHolder, Interpolator* interpolator, nsecs_t startDelay, nsecs_t duration, int repeatCount) argument
|
H A D | PropertyValuesAnimatorSet.h | 28 PropertyAnimator(PropertyValuesHolder* holder, Interpolator* interpolator, nsecs_t startDelay,
|
/frameworks/support/design/honeycomb-mr1/android/support/design/widget/ |
H A D | ValueAnimatorCompatImplHoneycombMr1.java | 43 public void setInterpolator(Interpolator interpolator) { argument 44 mValueAnimator.setInterpolator(interpolator);
|
/frameworks/support/design/base/android/support/design/widget/ |
H A D | ValueAnimatorCompat.java | 96 abstract void setInterpolator(Interpolator interpolator); argument 124 public void setInterpolator(Interpolator interpolator) { argument 125 mImpl.setInterpolator(interpolator);
|
/frameworks/support/v4/gingerbread/android/support/v4/widget/ |
H A D | ScrollerCompatGingerbread.java | 25 public static Object createScroller(Context context, Interpolator interpolator) { argument 26 return interpolator != null ? 27 new OverScroller(context, interpolator) : new OverScroller(context);
|
/frameworks/support/v4/tests/java/android/support/v4/widget/ |
H A D | ScrollerCompatTestBase.java | 55 protected void createScroller(Interpolator interpolator) argument 62 interpolator);
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
H A D | ViewPropertyAnimatorCompatSet.java | 101 public ViewPropertyAnimatorCompatSet setInterpolator(Interpolator interpolator) { argument 103 mInterpolator = interpolator;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | ScrollerCompat.java | 39 Object createScroller(Context context, Interpolator interpolator); argument 65 public Object createScroller(Context context, Interpolator interpolator) { argument 66 return interpolator != null ? 67 new Scroller(context, interpolator) : new Scroller(context); 160 public Object createScroller(Context context, Interpolator interpolator) { argument 161 return ScrollerCompatGingerbread.createScroller(context, interpolator); 264 public static ScrollerCompat create(Context context, Interpolator interpolator) { argument 265 return new ScrollerCompat(Build.VERSION.SDK_INT, context, interpolator); 272 private ScrollerCompat(int apiVersion, Context context, Interpolator interpolator) { argument 280 mScroller = mImpl.createScroller(context, interpolator); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | TrustDrawable.java | 221 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
|
/frameworks/base/core/java/android/widget/ |
H A D | OverScroller.java | 46 * 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/support/design/eclair-mr1/android/support/design/widget/ |
H A D | ValueAnimatorCompatImplEclairMr1.java | 78 public void setInterpolator(Interpolator interpolator) { argument 79 mInterpolator = interpolator;
|