HomeSort by relevance Sort by last modified time
    Searched defs:mX0 (Results 1 - 2 of 2) sorted by null

  /frameworks/base/graphics/java/android/graphics/
LinearGradient.java 34 private float mX0;
67 mX0 = x0;
91 mX0 = x0;
105 return nativeCreate1(nativeMatrix, mX0, mY0, mX1, mY1,
108 return nativeCreate2(nativeMatrix, mX0, mY0, mX1, mY1,
120 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColors.clone(),
123 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColor0, mColor1, mTileMode);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
LinearGradient_Delegate.java 105 private final float mX0;
114 mX0 = x0;
216 pos = (x - mX0) / mDx;
219 float _x = (mDx*mDy*(y-mY0) + mDy*mDy*mX0 + mDx*mDx*x) / mDSize2;
221 pos = (_x - mX0) / mDx;

Completed in 101 milliseconds