Searched refs:tension (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/animation/
H A DNativeInterpolatorFactoryHelper.java28 public static native long createAnticipateInterpolator(float tension); argument
29 public static native long createAnticipateOvershootInterpolator(float tension); argument
34 public static native long createOvershootInterpolator(float tension); argument
/frameworks/base/core/jni/
H A Dcom_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp37 static jlong createAnticipateInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
38 return reinterpret_cast<jlong>(new AnticipateInterpolator(tension));
41 static jlong createAnticipateOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
42 return reinterpret_cast<jlong>(new AnticipateOvershootInterpolator(tension));
61 static jlong createOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
62 return reinterpret_cast<jlong>(new OvershootInterpolator(tension));
/frameworks/base/libs/hwui/
H A DInterpolator.h55 AnticipateInterpolator(float tension) : mTension(tension) {} argument
63 AnticipateOvershootInterpolator(float tension) : mTension(tension) {} argument
97 OvershootInterpolator(float tension) : mTension(tension) {} argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/view/animation/
H A DNativeInterpolatorFactoryHelper_Delegate.java62 /*package*/ static long createAnticipateInterpolator(float tension) { argument
63 return sManager.addNewDelegate(new AnticipateInterpolator(tension));
67 /*package*/ static long createAnticipateOvershootInterpolator(float tension) { argument
68 return sManager.addNewDelegate(new AnticipateOvershootInterpolator(tension));
92 /*package*/ static long createOvershootInterpolator(float tension) { argument
93 return sManager.addNewDelegate(new OvershootInterpolator(tension));
/frameworks/base/core/java/android/view/animation/
H A DAnticipateOvershootInterpolator.java47 * @param tension Amount of anticipation/overshoot. When tension equals 0.0f,
51 public AnticipateOvershootInterpolator(float tension) { argument
52 mTension = tension * 1.5f;
56 * @param tension Amount of anticipation/overshoot. When tension equals 0.0f,
59 * @param extraTension Amount by which to multiply the tension. For instance,
61 * a tension of 2.0f, you would use an extraTension of 1.5f.
63 public AnticipateOvershootInterpolator(float tension, float extraTension) { argument
64 mTension = tension * extraTensio
[all...]
H A DAnticipateInterpolator.java42 * @param tension Amount of anticipation. When tension equals 0.0f, there is
46 public AnticipateInterpolator(float tension) { argument
47 mTension = tension;
69 // a(t) = t * t * ((tension + 1) * t - tension)
H A DOvershootInterpolator.java43 * @param tension Amount of overshoot. When tension equals 0.0f, there is
47 public OvershootInterpolator(float tension) { argument
48 mTension = tension;
70 // _o(t) = t * t * ((tension + 1) * t + tension)

Completed in 2803 milliseconds