Searched refs:SweepGradient (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
H A D | SweepGradient.java | 19 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 D | AdvancedGradientsActivity.java | 26 import android.graphics.SweepGradient; 41 private final SweepGradient mSweepGradient; 50 mSweepGradient = new SweepGradient(0.0f, 0.0f, 0xff000000, 0xffffffff);
|
H A D | GradientsActivity.java | 30 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 D | ResourceModifiers.java | 30 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 D | GradientDrawable.java | 38 import android.graphics.SweepGradient; 998 mFillPaint.setShader(new SweepGradient(x0, y0, tempColors, tempPositions));
|
Completed in 331 milliseconds