Searched defs:mTension (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/view/animation/
H A DAnticipateInterpolator.java35 private final float mTension; field in class:AnticipateInterpolator
38 mTension = 2.0f;
47 mTension = tension;
63 mTension = a.getFloat(R.styleable.AnticipateInterpolator_tension, 2.0f);
70 return t * t * ((mTension + 1) * t - mTension);
76 return NativeInterpolatorFactoryHelper.createAnticipateInterpolator(mTension);
H A DOvershootInterpolator.java36 private final float mTension; field in class:OvershootInterpolator
39 mTension = 2.0f;
48 mTension = tension;
64 mTension = a.getFloat(R.styleable.OvershootInterpolator_tension, 2.0f);
73 return t * t * ((mTension + 1) * t + mTension) + 1.0f;
79 return NativeInterpolatorFactoryHelper.createOvershootInterpolator(mTension);
H A DAnticipateOvershootInterpolator.java40 private final float mTension; field in class:AnticipateOvershootInterpolator
43 mTension = 2.0f * 1.5f;
52 mTension = tension * 1.5f;
64 mTension = tension * extraTension;
80 mTension = a.getFloat(AnticipateOvershootInterpolator_tension, 2.0f) *
99 if (t < 0.5f) return 0.5f * a(t * 2.0f, mTension);
100 else return 0.5f * (o(t * 2.0f - 2.0f, mTension) + 2.0f);
106 return NativeInterpolatorFactoryHelper.createAnticipateOvershootInterpolator(mTension);
/frameworks/base/libs/hwui/
H A DInterpolator.h55 AnticipateInterpolator(float tension) : mTension(tension) {}
58 const float mTension; member in class:android::uirenderer::AnticipateInterpolator
63 AnticipateOvershootInterpolator(float tension) : mTension(tension) {}
66 const float mTension; member in class:android::uirenderer::AnticipateOvershootInterpolator
97 OvershootInterpolator(float tension) : mTension(tension) {}
100 const float mTension; member in class:android::uirenderer::OvershootInterpolator

Completed in 117 milliseconds