Searched refs:mFactor (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/view/animation/
H A DAccelerateInterpolator.java37 private final float mFactor; field in class:AccelerateInterpolator
41 mFactor = 1.0f;
54 mFactor = factor;
55 mDoubleFactor = 2 * mFactor;
71 mFactor = a.getFloat(R.styleable.AccelerateInterpolator_factor, 1.0f);
72 mDoubleFactor = 2 * mFactor;
78 if (mFactor == 1.0f) {
88 return NativeInterpolatorFactoryHelper.createAccelerateInterpolator(mFactor);
H A DDecelerateInterpolator.java48 mFactor = factor;
64 mFactor = a.getFloat(R.styleable.DecelerateInterpolator_factor, 1.0f);
71 if (mFactor == 1.0f) {
74 result = (float)(1.0f - Math.pow((1.0f - input), 2 * mFactor));
79 private float mFactor = 1.0f; field in class:DecelerateInterpolator
84 return NativeInterpolatorFactoryHelper.createDecelerateInterpolator(mFactor);
/frameworks/base/libs/hwui/
H A DInterpolator.h46 AccelerateInterpolator(float factor) : mFactor(factor), mDoubleFactor(factor*2) {}
49 const float mFactor; member in class:android::uirenderer::AccelerateInterpolator
84 DecelerateInterpolator(float factor) : mFactor(factor) {}
87 const float mFactor; member in class:android::uirenderer::DecelerateInterpolator
H A DInterpolator.cpp36 if (mFactor == 1.0f) {
78 if (mFactor == 1.0f) {
81 result = 1.0f - pow((1.0f - input), 2 * mFactor);

Completed in 87 milliseconds