/cts/tests/tests/graphics/src/android/graphics/cts/ |
ComposeShaderTest.java | 31 import android.graphics.Shader.TileMode; 43 Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP); 45 Color.GREEN, Color.RED, Shader.TileMode.CLAMP); 79 BitmapShader redShader = new BitmapShader(redBitmap, TileMode.CLAMP, TileMode.CLAMP); 80 BitmapShader cyanShader = new BitmapShader(cyanBitmap, TileMode.CLAMP, TileMode.CLAMP);
|
Interpolator_ResultTest.java | 21 import android.graphics.Shader.TileMode;
|
BitmapShaderTest.java | 26 import android.graphics.Shader.TileMode; 46 BitmapShader shader = new BitmapShader(tile, Shader.TileMode.REPEAT, 47 Shader.TileMode.REPEAT);
|
LinearGradientTest.java | 26 import android.graphics.Shader.TileMode; 37 lg = new LinearGradient(0, 0, 0, 40, color, position, TileMode.CLAMP); 53 lg = new LinearGradient(0, 0, 0, 40, Color.RED, Color.BLUE, TileMode.CLAMP);
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
ResourceModifiers.java | 72 mRepeatShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT, 73 Shader.TileMode.REPEAT); 75 mTranslatedShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT, 76 Shader.TileMode.REPEAT); 82 mScaledShader = new BitmapShader(mBitmap, Shader.TileMode.MIRROR, 83 Shader.TileMode.MIRROR); 89 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); 97 Color.BLUE, Color.RED, Shader.TileMode.CLAMP); 100 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR); 127 mBitmapColors, null, Shader.TileMode.REPEAT) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
LinearGradient.java | 39 private TileMode mTileMode; 53 TileMode tile) { 81 TileMode tile) { 116 int colors[], float positions[], int tileMode); 118 int color0, int color1, int tileMode);
|
RadialGradient.java | 41 private TileMode mTileMode; 52 @param tileMode The Shader tiling mode 55 @NonNull int colors[], @Nullable float stops[], @NonNull TileMode tileMode) { 71 mTileMode = tileMode; 72 init(nativeCreate1(centerX, centerY, radius, colors, stops, tileMode.nativeInt)); 81 @param tileMode The Shader tiling mode 84 int centerColor, int edgeColor, @NonNull TileMode tileMode) { 94 mTileMode = tileMode; [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Patterns.java | 74 mShader1 = new BitmapShader(makeBitmap1(), Shader.TileMode.REPEAT, 75 Shader.TileMode.REPEAT); 76 mShader2 = new BitmapShader(makeBitmap2(), Shader.TileMode.REPEAT, 77 Shader.TileMode.REPEAT);
|
/external/skia/src/views/ |
SkParsePaint.cpp | 34 SkShader::TileMode mode = SkShader::kClamp_TileMode; 38 mode = (SkShader::TileMode)index; 51 SkShader::TileMode mode = SkShader::kRepeat_TileMode; 55 mode = (SkShader::TileMode)index;
|
/external/skia/samplecode/ |
SampleShaderText.cpp | 31 static SkShader* MakeBitmapShader(SkShader::TileMode tx, SkShader::TileMode ty, 57 static SkShader* MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 61 static SkShader* MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 69 static SkShader* MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 76 static SkShader* Make2Conical(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 88 typedef SkShader* (*GradMaker)(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm); 126 SkShader::TileMode tileModes[] = {
|
SampleGradients.cpp | 66 static SkShader* MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 70 static SkShader* MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 78 static SkShader* MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 85 static SkShader* Make2Conical(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 98 SkShader::TileMode tm) { 108 typedef SkShader* (*GradMaker)(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm); 150 shader = gGradMakers[j](pts, gGradData[i], (SkShader::TileMode)tm);
|
/external/skia/src/core/ |
SkLinearBitmapPipeline.h | 23 SkShader::TileMode xTile, SkShader::TileMode yTile,
|
SkPictureShader.cpp | 31 SkShader::TileMode tmx, 32 SkShader::TileMode tmy, 58 SkShader::TileMode fTmx, fTmy; 96 SkPictureShader::SkPictureShader(const SkPicture* picture, TileMode tmx, TileMode tmy, 105 SkShader* SkPictureShader::Create(const SkPicture* picture, TileMode tmx, TileMode tmy, 116 TileMode mx = (TileMode)buffer.read32(); 117 TileMode my = (TileMode)buffer.read32() [all...] |
/external/skia/src/gpu/effects/ |
GrSimpleTextureEffect.cpp | 52 static const SkShader::TileMode kTileModes[] = { 57 SkShader::TileMode tileModes[] = {
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BitmapShader_Delegate.java | 24 import android.graphics.Shader.TileMode; 95 TileMode tileModeX, TileMode tileModeY) { 101 private final TileMode mTileModeX; 102 private final TileMode mTileModeY; 105 TileMode tileModeX, TileMode tileModeY) { 207 private int getCoordinate(int i, int size, TileMode mode) {
|
/external/skia/gm/ |
gradientDirtyLaundry.cpp | 38 static SkShader* MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 42 static SkShader* MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 50 static SkShader* MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { 58 typedef SkShader* (*GradMaker)(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm); 80 SkShader::TileMode tm = SkShader::kClamp_TileMode;
|
tilemodes.cpp | 36 SkShader::TileMode tmx, SkShader::TileMode tmy) { 90 static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode, SkShader::kMirror_TileMode }; 159 static SkShader* make_bm(SkShader::TileMode tx, SkShader::TileMode ty) { 165 static SkShader* make_grad(SkShader::TileMode tx, SkShader::TileMode ty) { 184 typedef SkShader* (*ShaderProc)(SkShader::TileMode, SkShader::TileMode); 209 static const SkShader::TileMode gModes[] = [all...] |
tilemodes_scaled.cpp | 36 SkShader::TileMode tmx, SkShader::TileMode tmy) { 94 static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode, SkShader::kMirror_TileMode }; 163 static SkShader* make_bm(SkShader::TileMode tx, SkShader::TileMode ty) { 169 static SkShader* make_grad(SkShader::TileMode tx, SkShader::TileMode ty) { 188 typedef SkShader* (*ShaderProc)(SkShader::TileMode, SkShader::TileMode); 213 static const SkShader::TileMode gModes[] = [all...] |
gradients_2pt_conical.cpp | 41 SkShader::TileMode tm, const SkMatrix& localMatrix) { 54 SkShader::TileMode tm, const SkMatrix& localMatrix) { 67 SkShader::TileMode tm, const SkMatrix& localMatrix) { 80 SkShader::TileMode tm, const SkMatrix& localMatrix) { 93 SkShader::TileMode tm, const SkMatrix& localMatrix) { 106 SkShader::TileMode tm, const SkMatrix& localMatrix) { 119 SkShader::TileMode tm, const SkMatrix& localMatrix) { 132 SkShader::TileMode tm, const SkMatrix& localMatrix) { 145 SkShader::TileMode tm, const SkMatrix& localMatrix) { 158 SkShader::TileMode tm, const SkMatrix& localMatrix) [all...] |
shadertext.cpp | 49 static SkShader* MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 53 static SkShader* MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 61 static SkShader* MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { 68 static SkShader* Make2Conical(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 80 typedef SkShader* (*GradMaker)(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm); 116 SkShader::TileMode tileModes[] = {
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
AdvancedBlendActivity.java | 69 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, 70 Shader.TileMode.MIRROR); 75 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR, 76 Shader.TileMode.MIRROR); 82 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP);
|
BigGradientActivity.java | 45 0xff333333, Shader.TileMode.CLAMP));
|
/external/skia/bench/ |
SkLinearBitmapPipelineBench.cpp | 22 SkShader::TileMode xTile, 23 SkShader::TileMode yTile) 32 static SkString tileName(const char* pre, SkShader::TileMode mode) { 106 SkShader::TileMode fXTile; 107 SkShader::TileMode fYTile; 118 SkShader::TileMode xTile, 119 SkShader::TileMode yTile) 164 SkShader::TileMode xTile, 165 SkShader::TileMode yTile)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
MinimizedDockShadow.java | 67 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP)); 72 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP)); 77 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP));
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
BitmapDrawableTest.java | 99 drawable.setTileModeXY(Shader.TileMode.REPEAT, Shader.TileMode.MIRROR); 100 assertEquals(Shader.TileMode.REPEAT, drawable.getTileModeX()); 101 assertEquals(Shader.TileMode.MIRROR, drawable.getTileModeY());
|