Searched refs:mFactor (Results 1 – 5 of 5) sorted by relevance
37 private final float mFactor; field in AccelerateInterpolator41 mFactor = 1.0f; in AccelerateInterpolator()54 mFactor = factor; in AccelerateInterpolator()55 mDoubleFactor = 2 * mFactor; in AccelerateInterpolator()71 mFactor = a.getFloat(R.styleable.AccelerateInterpolator_factor, 1.0f); in AccelerateInterpolator()72 mDoubleFactor = 2 * mFactor; in AccelerateInterpolator()78 if (mFactor == 1.0f) { in getInterpolation()88 return NativeInterpolatorFactoryHelper.createAccelerateInterpolator(mFactor); in createNativeInterpolator()
48 mFactor = factor; in DecelerateInterpolator()64 mFactor = a.getFloat(R.styleable.DecelerateInterpolator_factor, 1.0f); in DecelerateInterpolator()71 if (mFactor == 1.0f) { in getInterpolation()74 result = (float)(1.0f - Math.pow((1.0f - input), 2 * mFactor)); in getInterpolation()79 private float mFactor = 1.0f; field in DecelerateInterpolator84 return NativeInterpolatorFactoryHelper.createDecelerateInterpolator(mFactor); in createNativeInterpolator()
32 private float mFactor; field in ScaleGesture38 mFactor = 1.0f; in onCreate()42 return mFactor; in getScaleFactor()54 mFactor *= detector.getScaleFactor(); in onScale()
47 explicit AccelerateInterpolator(float factor) : mFactor(factor), mDoubleFactor(factor * 2) {} in AccelerateInterpolator()51 const float mFactor;89 explicit DecelerateInterpolator(float factor) : mFactor(factor) {} in DecelerateInterpolator()93 const float mFactor;
37 if (mFactor == 1.0f) { in interpolate()85 if (mFactor == 1.0f) { in interpolate()88 result = 1.0f - pow((1.0f - input), 2 * mFactor); in interpolate()