Searched refs:mX0 (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
D | LinearGradient.java | 34 private float mX0; field in LinearGradient 67 mX0 = x0; in LinearGradient() 91 mX0 = x0; in LinearGradient() 105 return nativeCreate1(nativeMatrix, mX0, mY0, mX1, mY1, in createNativeInstance() 108 return nativeCreate2(nativeMatrix, mX0, mY0, mX1, mY1, in createNativeInstance() 120 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColors.clone(), in copy() 123 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColor0, mColor1, mTileMode); in copy()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | LinearGradient_Delegate.java | 105 private final float mX0; field in LinearGradient_Delegate.LinearGradientPaint 114 mX0 = x0; in LinearGradientPaint() 216 pos = (x - mX0) / mDx; in getColor() 219 float _x = (mDx*mDy*(y-mY0) + mDy*mDy*mX0 + mDx*mDx*x) / mDSize2; in getColor() 221 pos = (_x - mX0) / mDx; in getColor()
|