Searched refs:mGradient (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GradientsActivity.java | 195 private final LinearGradient mGradient; field in GradientsActivity.ShadersView 205 mGradient = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP); in ShadersView() 229 mGradient.setLocalMatrix(mMatrix); in onDraw() 230 mPaint.setShader(mGradient); in onDraw() 238 mGradient.setLocalMatrix(mMatrix); in onDraw() 239 mPaint.setShader(mGradient); in onDraw() 250 mGradient.setLocalMatrix(mMatrix); in onDraw() 251 mPaint.setShader(mGradient); in onDraw() 260 mGradient.setLocalMatrix(mMatrix); in onDraw() 261 mPaint.setShader(mGradient); in onDraw()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Gradient_Delegate.java | 82 private int[] mGradient; field in Gradient_Delegate.GradientPaint 100 if (mGradient == null) { in precomputeGradientColors() 103 mGradient = new int[GRADIENT_SIZE+1]; in precomputeGradientColors() 117 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent); in precomputeGradientColors() 189 return mGradient[index]; in getGradientColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BarTransitions.java | 141 private final Drawable mGradient; field in BarTransitions.BarBackgroundDrawable 171 mGradient = context.getDrawable(gradientResourceId); in BarBackgroundDrawable() 207 mGradient.setBounds(bounds); in onBoundsChange() 273 mGradient.setAlpha(mGradientAlpha); in draw() 274 mGradient.draw(canvas); in draw()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | GradientDrawable.java | 476 return mGradientState.mGradient; in getGradientType() 553 if (mGradientState.mGradient != RADIAL_GRADIENT) { in getGradientRadius() 1122 if (st.mGradient == LINEAR_GRADIENT) { 1161 } else if (st.mGradient == RADIAL_GRADIENT) { 1190 } else if (st.mGradient == SWEEP_GRADIENT) { 1566 st.mGradient = a.getInt( 1567 R.styleable.GradientDrawableGradient_type, st.mGradient); 1596 if (st.mGradient == LINEAR_GRADIENT) { 1659 } else if (st.mGradient == RADIAL_GRADIENT) { 1797 public @GradientType int mGradient = LINEAR_GRADIENT; [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
D | MLand.java | 1306 GradientDrawable mGradient = new GradientDrawable(); 1318 mGradient.setOrientation(GradientDrawable.Orientation.LEFT_RIGHT); 1323 mGradient.setColors(new int[]{0xFFFFFFFF, 0xFFDDDDDD}); 1330 mGradient.setColors(new int[]{0xFFBCAAA4, 0xFFA1887F}); 1349 mGradient.setGradientCenter(w * 0.75f, 0); 1350 mGradient.setBounds(0, 0, w, h); 1351 mGradient.draw(c);
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 2212 Landroid/graphics/drawable/GradientDrawable$GradientState;->mGradient:I
|