Home
last modified time | relevance | path

Searched refs:mX0 (Results 1 – 2 of 2) sorted by relevance

/frameworks/layoutlib/bridge/src/android/graphics/
DLinearGradient_Delegate.java100 private final float mX0; field in LinearGradient_Delegate.LinearGradientPaint
109 mX0 = x0; in LinearGradientPaint()
207 pos = (x - mX0) / mDx; in getColor()
210 float _x = (mDx*mDy*(y-mY0) + mDy*mDy*mX0 + mDx*mDx*x) / mDSize2; in getColor()
212 pos = (_x - mX0) / mDx; in getColor()
/frameworks/base/graphics/java/android/graphics/
DLinearGradient.java29 private float mX0; field in LinearGradient
109 mX0 = x0; in LinearGradient()
158 return nativeCreate(nativeMatrix, mX0, mY0, mX1, mY1, in createNativeInstance()