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

123

/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);
/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
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 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 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 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/services/core/java/com/android/server/policy/
H A DStatusBarController.java137 // our purposes, we need to find the fraction for which ther interpolator is mostly
175 * {@code interpolator(t + eps) > 0.99}.
177 private static float findAlmostThereFraction(Interpolator interpolator) { argument
181 if (interpolator.getInterpolation(val) < 0.99f) {
/frameworks/support/v4/tests/java/android/support/v4/widget/
H A DScrollerCompatTestBase.java55 protected void createScroller(Interpolator interpolator) argument
62 interpolator);
/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/v7/appcompat/src/android/support/v7/view/
H A DViewPropertyAnimatorCompatSet.java101 public ViewPropertyAnimatorCompatSet setInterpolator(Interpolator interpolator) { argument
103 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;
/frameworks/base/core/java/android/transition/
H A DTranslationAnimationCreator.java47 * @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 DLayoutAnimationController.java87 * 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 DVelocityTest.java235 * 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 DPropertyValuesAnimatorSet.cpp26 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 DAnimator.cpp59 void BaseRenderNodeAnimator::setInterpolator(Interpolator* interpolator) { argument
61 mInterpolator.reset(interpolator);
163 // No interpolator was set, use the default
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DScrimView.java155 public void animateViewAlpha(float alpha, long durationOut, Interpolator interpolator) { argument
162 mAlphaAnimator.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...]
/frameworks/support/design/base/android/support/design/widget/
H A DValueAnimatorCompat.java96 abstract void setInterpolator(Interpolator interpolator); argument
124 public void setInterpolator(Interpolator interpolator) { argument
125 mImpl.setInterpolator(interpolator);
/frameworks/support/design/eclair-mr1/android/support/design/widget/
H A DValueAnimatorCompatImplEclairMr1.java78 public void setInterpolator(Interpolator interpolator) { argument
79 mInterpolator = interpolator;
/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_graphics_drawable_AnimatedVectorDrawable.cpp89 Interpolator* interpolator = reinterpret_cast<Interpolator*>(interpolatorPtr); local
90 set->addPropertyAnimator(holder, interpolator, startDelay, duration, repeatCount);
H A Dandroid_view_RenderNodeAnimator.cpp166 Interpolator* interpolator = reinterpret_cast<Interpolator*>(interpolatorPtr); local
167 animator->setInterpolator(interpolator);
/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/base/packages/SystemUI/src/com/android/systemui/qs/
H A DTouchAnimator.java45 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/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...]

Completed in 6673 milliseconds

123