Home
last modified time | relevance | path

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

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