/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Gradient_Delegate.java | 27 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()
|
D | SweepGradient_Delegate.java | 84 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions); in SweepGradient_Delegate()
|
D | RadialGradient_Delegate.java | 90 mJavaPaint = new RadialGradientPaint(x, y, radius, mColors, mPositions, tile); in RadialGradient_Delegate()
|
D | LinearGradient_Delegate.java | 92 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile); in LinearGradient_Delegate()
|
/frameworks/base/graphics/java/android/graphics/ |
D | SweepGradient.java | 33 private float[] mPositions; field in SweepGradient 64 mPositions = positions; in SweepGradient() 94 mPositions != null ? mPositions.clone() : null); in copy()
|
D | LinearGradient.java | 35 private float[] mPositions; field in LinearGradient 66 mPositions = positions; in LinearGradient() 102 mPositions != null ? mPositions.clone() : null, mTileMode); in copy()
|
D | RadialGradient.java | 37 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/ |
D | GradientDrawable.java | 939 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/ |
D | DisplayListOp.h | 1355 : 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
|