Home
last modified time | relevance | path

Searched refs:mPositions (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DGradient_Delegate.java27 protected final float[] mPositions; field in Gradient_Delegate
68 mPositions = positions; in Gradient_Delegate()
80 private final float[] mPositions; field in Gradient_Delegate.GradientPaint
86 mPositions = positions; in GradientPaint()
110 while (currentPos > mPositions[nextPos]) { in precomputeGradientColors()
114 float percent = (currentPos - mPositions[prevPos]) / in precomputeGradientColors()
115 (mPositions[nextPos] - mPositions[prevPos]); in precomputeGradientColors()
DSweepGradient_Delegate.java84 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions); in SweepGradient_Delegate()
DRadialGradient_Delegate.java90 mJavaPaint = new RadialGradientPaint(x, y, radius, mColors, mPositions, tile); in RadialGradient_Delegate()
DLinearGradient_Delegate.java92 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile); in LinearGradient_Delegate()
/frameworks/base/graphics/java/android/graphics/
DSweepGradient.java33 private float[] mPositions; field in SweepGradient
64 mPositions = positions; in SweepGradient()
94 mPositions != null ? mPositions.clone() : null); in copy()
DLinearGradient.java35 private float[] mPositions; field in LinearGradient
66 mPositions = positions; in LinearGradient()
102 mPositions != null ? mPositions.clone() : null, mTileMode); in copy()
DRadialGradient.java37 private float[] mPositions; field in RadialGradient
70 mPositions = stops; in RadialGradient()
107 mPositions != null ? mPositions.clone() : null, mTileMode); in copy()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java939 colors, st.mPositions, Shader.TileMode.CLAMP));
1338 st.mPositions = new float[3];
1339 st.mPositions[0] = 0.0f;
1341 st.mPositions[1] = st.mCenterX != 0.5f ? st.mCenterX : st.mCenterY;
1342 st.mPositions[2] = 1f;
1544 public float[] mPositions;
1595 if (state.mPositions != null) {
1596 mPositions = state.mPositions.clone();
/frameworks/base/libs/hwui/
DDisplayListOp.h1355 : DrawSomeTextOp(text, bytesCount, count, paint), mPositions(positions) { in DrawPosTextOp()
1360 return renderer.drawPosText(mText, mBytesCount, mCount, mPositions, getPaint(renderer)); in applyDraw()
1366 const float* mPositions;
1374 mX(x), mY(y), mPositions(positions), mTotalAdvance(totalAdvance) { in DrawTextOp()
1407 mPositions, getPaint(renderer), mTotalAdvance, bounds); in applyDraw()
1422 op.mPositions, op.getPaint(renderer), op.mTotalAdvance, op.mLocalBounds, in multiDraw()
1440 const float* mPositions; variable