/frameworks/base/core/java/android/view/ |
H A D | RenderNodeAnimatorSetHelper.java | 36 public static long createNativeInterpolator(TimeInterpolator interpolator, long argument 38 if (interpolator == null) { 41 } else if (RenderNodeAnimator.isNativeInterpolator(interpolator)) { 42 return ((NativeInterpolatorFactory)interpolator).createNativeInterpolator(); 44 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 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 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/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
H A D | AnimationUtilsCompat.java | 72 // Special treatment for the interpolator introduced at API 21. 104 Interpolator interpolator = null; 122 interpolator = new LinearInterpolator(); 124 interpolator = new AccelerateInterpolator(context, attrs); 126 interpolator = new DecelerateInterpolator(context, attrs); 128 interpolator = new AccelerateDecelerateInterpolator(); 130 interpolator = new CycleInterpolator(context, attrs); 132 interpolator = new AnticipateInterpolator(context, attrs); 134 interpolator = new OvershootInterpolator(context, attrs); 136 interpolator [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | AnimationProps.java | 67 * Creates an animation with a default {@param duration} and {@param interpolator} for all 70 public AnimationProps(int duration, Interpolator interpolator) { argument 71 this(0, duration, interpolator, null); 75 * Creates an animation with a default {@param duration} and {@param interpolator} for all 78 public AnimationProps(int duration, Interpolator interpolator, argument 80 this(0, duration, interpolator, listener); 85 * {@param interpolator} for all properties in this animation. 87 public AnimationProps(int startDelay, int duration, Interpolator interpolator) { argument 88 this(startDelay, duration, interpolator, null); 93 * {@param interpolator} fo 95 AnimationProps(int startDelay, int duration, Interpolator interpolator, Animator.AnimatorListener listener) argument 180 setInterpolator(@ropType int propertyType, Interpolator interpolator) argument [all...] |
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/ |
H A D | PathInterpolatorValueParameterizedTest.java | 52 {R.interpolator.control_points_interpolator, 0.89f}, 53 {R.interpolator.single_control_point_interpolator, 0.086f}, 54 {R.interpolator.path_interpolator, 0.85f} 71 Interpolator interpolator = AnimationUtilsCompat.loadInterpolator(mActivity, mResId); 72 float value = interpolator.getInterpolation(0.5f);
|
/frameworks/base/core/java/android/animation/ |
H A D | FloatKeyframeSet.java | 64 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); 65 if (interpolator != null) { 66 fraction = interpolator.getInterpolation(fraction); 80 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); 81 if (interpolator != null) { 82 fraction = interpolator.getInterpolation(fraction); 94 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); 99 // Apply interpolator on the proportional duration. 100 if (interpolator != null) { 101 intervalFraction = interpolator [all...] |
H A D | IntKeyframeSet.java | 64 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); 65 if (interpolator != null) { 66 fraction = interpolator.getInterpolation(fraction); 80 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); 81 if (interpolator != null) { 82 fraction = interpolator.getInterpolation(fraction); 93 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); 98 // Apply interpolator on the proportional duration. 99 if (interpolator != null) { 100 intervalFraction = interpolator [all...] |
H A D | KeyframeSet.java | 186 * animation's interpolator) and the evaluator used to calculate in-between values. This 189 * outside the [0-1] bounds, if the animation's interpolator made that happen (e.g., a 207 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); 208 if (interpolator != null) { 209 fraction = interpolator.getInterpolation(fraction); 218 final TimeInterpolator interpolator = mLastKeyframe.getInterpolator(); 219 if (interpolator != null) { 220 fraction = interpolator.getInterpolation(fraction); 232 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); 236 // 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 | 98 * Applies the interpolator and length to the animator, such that the fling animation is 111 * Applies the interpolator and length to the animator, such that the fling animation is 125 * Applies the interpolator and length to the animator, such that the fling animation is 140 animator.setInterpolator(properties.interpolator); 144 * Applies the interpolator and length to the animator, such that the fling animation is 159 animator.setInterpolator(properties.interpolator); 175 mAnimatorProperties.interpolator = slowInInterpolator; 178 // Cross fade between fast-out-slow-in and linear interpolator with current velocity. 184 mAnimatorProperties.interpolator = superInterpolator; 187 // Just use a normal interpolator whic 349 Interpolator interpolator; field in class:FlingAnimationUtils.AnimatorProperties [all...] |
H A D | KeyguardAffordanceView.java | 364 Interpolator interpolator = circleRadius == 0.0f 367 animator.setInterpolator(interpolator); 382 mPreviewClipper.setInterpolator(interpolator); 429 * @param interpolator If animate, whats the interpolator? When null we take the default 430 * interpolator. 433 Interpolator interpolator) { 449 if (interpolator == null) { 450 interpolator = imageScale == 0.0f 454 animator.setInterpolator(interpolator); 432 setImageScale(float imageScale, boolean animate, long duration, Interpolator interpolator) argument 490 setImageAlpha(float alpha, boolean animate, long duration, Interpolator interpolator, Runnable runnable) argument [all...] |
/frameworks/support/compat/java/android/support/v4/widget/ |
H A D | ScrollerCompat.java | 48 public static ScrollerCompat create(Context context, Interpolator interpolator) { argument 49 return new ScrollerCompat(context, interpolator); 56 ScrollerCompat(Context context, Interpolator interpolator) { argument 57 mScroller = interpolator != null ? 58 new OverScroller(context, interpolator) : new OverScroller(context);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | AnimationUtils.java | 330 * @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/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | AnimationProperties.java | 54 * Get a custom interpolator for a property instead of the normal one. 72 * Set a custom interpolator to use for all views for a property. 74 public AnimationProperties setCustomInterpolator(Property property, Interpolator interpolator) { argument 78 mInterpolatorMap.put(property, interpolator);
|
/frameworks/support/compat/tests/java/android/support/v4/widget/ |
H A D | ScrollerCompatTestBase.java | 44 protected void createScroller(Interpolator interpolator) argument 47 mScroller = new ScrollerCompat(InstrumentationRegistry.getContext(), interpolator);
|
/frameworks/base/libs/hwui/ |
H A D | PropertyValuesAnimatorSet.cpp | 26 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/v7/appcompat/src/android/support/v7/view/ |
H A D | ViewPropertyAnimatorCompatSet.java | 105 public ViewPropertyAnimatorCompatSet setInterpolator(Interpolator interpolator) { argument 107 mInterpolator = interpolator;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | TrustDrawable.java | 222 int startAlpha, int endAlpha, long duration, Interpolator interpolator, 226 duration, mAlphaUpdateListener, interpolator, repeating); 229 duration, mRadiusUpdateListener, interpolator, repeating); 240 ValueAnimator.AnimatorUpdateListener updateListener, Interpolator interpolator, 244 animator.setInterpolator(interpolator); 221 makeAnimators(float startRadius, float endRadius, int startAlpha, int endAlpha, long duration, Interpolator interpolator, boolean repeating, boolean stateUpdateListener) argument 239 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 95 OverScroller(Context context, Interpolator interpolator, float bounceCoefficientX, float bounceCoefficientY) argument 114 OverScroller(Context context, Interpolator interpolator, float bounceCoefficientX, float bounceCoefficientY, boolean flywheel) argument 119 setInterpolator(Interpolator interpolator) argument [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | PathInterpolatorTests.cpp | 102 PathInterpolator interpolator(getX(data), getY(data)); 104 EXPECT_FLOAT_EQ(data.outFraction[i], interpolator.interpolate(data.inFraction[i]));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
H A D | AssistOrbView.java | 152 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
|