Searched refs:SweepGradient (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DSweepGradient.java19 public class SweepGradient extends Shader { class in inherits:Shader
51 public SweepGradient(float cx, float cy, method in class:SweepGradient
76 public SweepGradient(float cx, float cy, int color0, int color1) { method in class:SweepGradient
90 final SweepGradient copy;
93 copy = new SweepGradient(mCx, mCy, mColors.clone(),
97 copy = new SweepGradient(mCx, mCy, mColor0, mColor1);
100 throw new IllegalArgumentException("SweepGradient should be created with either " +
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DAdvancedGradientsActivity.java26 import android.graphics.SweepGradient;
41 private final SweepGradient mSweepGradient;
50 mSweepGradient = new SweepGradient(0.0f, 0.0f, 0xff000000, 0xffffffff);
H A DGradientsActivity.java30 import android.graphics.SweepGradient;
173 SweepGradient gradient = new SweepGradient(100.0f, 100.0f, 0xff000000, 0xffffffff);
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DResourceModifiers.java30 import android.graphics.SweepGradient;
46 public final SweepGradient mSweepGradient;
102 mSweepGradient = new SweepGradient(mDrawWidth / 2.0f, mDrawHeight / 2.0f,
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java38 import android.graphics.SweepGradient;
998 mFillPaint.setShader(new SweepGradient(x0, y0, tempColors, tempPositions));

Completed in 630 milliseconds