/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);
|
/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 | 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 | 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 | 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/services/core/java/com/android/server/policy/ |
H A D | StatusBarController.java | 138 // our purposes, we need to find the fraction for which ther interpolator is mostly 176 * {@code interpolator(t + eps) > 0.99}. 178 private static float findAlmostThereFraction(Interpolator interpolator) { argument 182 if (interpolator.getInterpolation(val) < 0.99f) {
|
/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/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/v7/appcompat/src/android/support/v7/view/ |
H A D | ViewPropertyAnimatorCompatSet.java | 105 public ViewPropertyAnimatorCompatSet setInterpolator(Interpolator interpolator) { argument 107 mInterpolator = interpolator;
|
/frameworks/base/core/java/android/animation/ |
H A D | Keyframe.java | 63 * 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;
|
/frameworks/base/core/java/android/transition/ |
H A D | TranslationAnimationCreator.java | 47 * @param interpolator The interpolator to use with this animator. 52 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, 81 anim.setInterpolator(interpolator); 51 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator, Transition transition) argument
|
/frameworks/base/core/java/android/view/animation/ |
H A D | LayoutAnimationController.java | 87 * The interpolator used to interpolate the delays. 219 * Sets the interpolator used to interpolate the delays between the 222 * @param context the context from which the interpolator must be inflated 223 * @param resourceID the resource identifier of the interpolator 235 * Sets the interpolator used to interpolate the delays between the 238 * @param interpolator the interpolator 245 public void setInterpolator(Interpolator interpolator) { argument 246 mInterpolator = interpolator; 250 * Returns the interpolator use [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | VelocityTest.java | 235 * the VelocityTracker using a linear interpolator 244 * the VelocityTracker using a given interpolator 247 long startime, int duration, Interpolator interpolator) { 253 float ii = interpolator.getInterpolation(i / (float)steps); 246 drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, long startime, int duration, Interpolator interpolator) argument
|
/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
|
H A D | Animator.cpp | 59 void BaseRenderNodeAnimator::setInterpolator(Interpolator* interpolator) { argument 61 mInterpolator.reset(interpolator); 168 // No interpolator was set, use the default
|
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ScrimView.java | 165 public void animateViewAlpha(float alpha, long durationOut, Interpolator interpolator) { argument 172 mAlphaAnimator.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...] |
/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/support/transition/src/android/support/transition/ |
H A D | TranslationAnimationCreator.java | 45 * @param interpolator The interpolator to use with this animator. 50 float startX, float startY, float endX, float endY, TimeInterpolator interpolator) { 75 anim.setInterpolator(interpolator); 49 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator) argument
|
/frameworks/base/core/jni/ |
H A D | android_view_RenderNodeAnimator.cpp | 166 Interpolator* interpolator = reinterpret_cast<Interpolator*>(interpolatorPtr); local 167 animator->setInterpolator(interpolator);
|
/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
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | TouchAnimator.java | 45 float startDelay, float endDelay, Interpolator interpolator, Listener listener) { 51 mInterpolator = interpolator; 44 TouchAnimator(Object[] targets, KeyframeSet[] keyframeSets, float startDelay, float endDelay, Interpolator interpolator, Listener listener) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | DozeScrimController.java | 196 Interpolator interpolator) { 197 startScrimAnimation(inFront, target, duration, interpolator, null /* endRunnable */); 201 Interpolator interpolator, final Runnable endRunnable) { 218 anim.setInterpolator(interpolator); 195 startScrimAnimation(final boolean inFront, float target, long duration, Interpolator interpolator) argument 200 startScrimAnimation(final boolean inFront, float target, long duration, Interpolator interpolator, final Runnable endRunnable) argument
|
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
H A D | TranslationAnimationCreator.java | 40 * @param interpolator The interpolator to use with this animator. 45 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, 74 anim.setInterpolator(interpolator); 44 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator, Transition transition) argument
|