Searched refs:tension (Results 1 - 6 of 6) 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.cpp39 static jlong createAnticipateInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
40 return reinterpret_cast<jlong>(new AnticipateInterpolator(tension));
43 static jlong createAnticipateOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
44 return reinterpret_cast<jlong>(new AnticipateOvershootInterpolator(tension));
63 static jlong createOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
64 return reinterpret_cast<jlong>(new OvershootInterpolator(tension));
/frameworks/base/libs/hwui/
H A DInterpolator.h54 AnticipateInterpolator(float tension) : mTension(tension) {} argument
62 AnticipateOvershootInterpolator(float tension) : mTension(tension) {} argument
96 OvershootInterpolator(float tension) : mTension(tension) {} argument
/frameworks/base/core/java/android/view/animation/
H A DAnticipateOvershootInterpolator.java46 * @param tension Amount of anticipation/overshoot. When tension equals 0.0f,
50 public AnticipateOvershootInterpolator(float tension) { argument
51 mTension = tension * 1.5f;
55 * @param tension Amount of anticipation/overshoot. When tension equals 0.0f,
58 * @param extraTension Amount by which to multiply the tension. For instance,
60 * a tension of 2.0f, you would use an extraTension of 1.5f.
62 public AnticipateOvershootInterpolator(float tension, float extraTension) { argument
63 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;
70 // 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;
71 // _o(t) = t * t * ((tension + 1) * t + tension)

Completed in 57 milliseconds