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.cpp38 static jlong createAnticipateInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
39 return reinterpret_cast<jlong>(new AnticipateInterpolator(tension));
42 static jlong createAnticipateOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
43 return reinterpret_cast<jlong>(new AnticipateOvershootInterpolator(tension));
62 static jlong createOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
63 return reinterpret_cast<jlong>(new OvershootInterpolator(tension));
/frameworks/base/libs/hwui/
H A DInterpolator.h56 explicit AnticipateInterpolator(float tension) : mTension(tension) {} argument
64 explicit AnticipateOvershootInterpolator(float tension) : mTension(tension) {} argument
98 explicit OvershootInterpolator(float tension) : mTension(tension) {} argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/view/animation/
H A DNativeInterpolatorFactoryHelper_Delegate.java64 /*package*/ static long createAnticipateInterpolator(float tension) { argument
65 return sManager.addNewDelegate(new AnticipateInterpolator(tension));
69 /*package*/ static long createAnticipateOvershootInterpolator(float tension) { argument
70 return sManager.addNewDelegate(new AnticipateOvershootInterpolator(tension));
94 /*package*/ static long createOvershootInterpolator(float tension) { argument
95 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 170 milliseconds