/external/skia/experimental/svg/model/ |
SkSVGLinearGradient.cpp | 133 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kPad) == 135 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kRepeat) == 137 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kReflect) == 139 const auto tileMode = static_cast<SkShader::TileMode>(fSpreadMethod.type()); 142 tileMode, 0, &fGradientTransform.value()));
|
/external/skia/src/pdf/ |
SkPDFShader.h | 49 SkShader::TileMode fImageTileModes[2];
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
BigGradientActivity.java | 45 0xff333333, Shader.TileMode.CLAMP));
|
MoreShadersActivity.java | 71 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, 72 Shader.TileMode.MIRROR); 77 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR, 78 Shader.TileMode.MIRROR); 84 Color.RED, 0x7f00ff00, Shader.TileMode.CLAMP); 90 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR);
|
GradientsActivity.java | 98 BitmapShader shader = new BitmapShader(texture, Shader.TileMode.REPEAT, 99 Shader.TileMode.REPEAT); 124 Shader.TileMode.CLAMP); 149 Shader.TileMode.MIRROR); 205 mGradient = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP); 207 new int[] { 0xFFFF0000, 0xFF00FF00, 0xFF0000FF }, null, Shader.TileMode.CLAMP);
|
/external/skia/bench/ |
GradientBench.cpp | 51 SkShader::TileMode tm, float scale) { 56 SkShader::TileMode tm, float scale) { 66 SkShader::TileMode tm, float scale) { 75 SkShader::TileMode tm, float scale) { 88 SkShader::TileMode tm, float scale) { 101 SkShader::TileMode tm, float scale) { 115 SkShader::TileMode tm, float scale) { 128 SkShader::TileMode tm, float scale); 158 static const char* tilemodename(SkShader::TileMode tm) { 167 SkDEBUGFAIL("unknown tilemode"); [all...] |
SkLinearBitmapPipelineBench.cpp | 26 SkShader::TileMode xTile, 27 SkShader::TileMode yTile) 36 static SkString tileName(const char* pre, SkShader::TileMode mode) { 111 SkShader::TileMode fXTile; 112 SkShader::TileMode fYTile; 123 SkShader::TileMode xTile, 124 SkShader::TileMode yTile) 171 SkShader::TileMode xTile, 172 SkShader::TileMode yTile)
|
TileBench.cpp | 39 ConstXTileBench(SkShader::TileMode xTile, 40 SkShader::TileMode yTile,
|
/external/skia/src/shaders/ |
SkPictureShader.cpp | 37 SkShader::TileMode tmx, 38 SkShader::TileMode tmy, 79 SkShader::TileMode fTmx, fTmy; 127 SkPictureShader::SkPictureShader(sk_sp<SkPicture> picture, TileMode tmx, TileMode tmy, 145 sk_sp<SkShader> SkPictureShader::Make(sk_sp<SkPicture> picture, TileMode tmx, TileMode tmy, 157 TileMode mx = (TileMode)buffer.read32(); 158 TileMode my = (TileMode)buffer.read32() [all...] |
SkShader.cpp | 223 bool SkShader::isABitmap(SkBitmap* outTexture, SkMatrix* outMatrix, TileMode xy[2]) const { 228 SkImage* SkShader::isAImage(SkMatrix* localMatrix, TileMode xy[2]) const { 250 sk_sp<SkShader> SkShader::MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, 258 sk_sp<SkShader> SkShader::MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy,
|
/external/skia/gm/ |
shadertext.cpp | 50 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 54 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 62 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { 69 static sk_sp<SkShader> Make2Conical(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 81 typedef sk_sp<SkShader> (*GradMaker)(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm); 117 SkShader::TileMode tileModes[] = {
|
clippedbitmapshaders.cpp | 45 ClippedBitmapShadersGM(SkShader::TileMode mode, bool hq=false) 50 SkShader::TileMode fMode;
|
giantbitmap.cpp | 23 SkShader::TileMode fMode; 63 GiantBitmapGM(SkShader::TileMode mode, bool doFilter, bool doRotate) : fBM(nullptr) {
|
/external/skia/src/core/ |
SkBitmapProcState.h | 31 SkBitmapProcInfo(const SkBitmapProvider&, SkShader::TileMode tmx, SkShader::TileMode tmy); 41 SkShader::TileMode fTileModeX; 42 SkShader::TileMode fTileModeY; 57 SkBitmapProcState(const SkBitmapProvider& prov, SkShader::TileMode tmx, SkShader::TileMode tmy)
|
SkBlurImageFilter.cpp | 31 SkBlurImageFilter::TileMode tileMode); 47 SkBlurImageFilter::TileMode fTileMode; 62 TileMode tileMode) { 67 new SkBlurImageFilterImpl(sigmaX, sigmaY, input, cropRect, tileMode)); 89 SkBlurImageFilter::TileMode tileMode) 90 : INHERITED(&input, 1, cropRect), fSigma{sigmaX, sigmaY}, fTileMode(tileMode) {} 96 SkBlurImageFilter::TileMode tileMode [all...] |
/external/skia/fuzz/ |
FuzzGradients.cpp | 27 std::vector<SkScalar>* pos, SkShader::TileMode* mode) { 35 *mode = static_cast<SkShader::TileMode>(m); 69 SkShader::TileMode mode, 114 SkShader::TileMode mode; 152 SkShader::TileMode mode; 190 SkShader::TileMode mode; 224 SkShader::TileMode mode;
|
/external/skia/src/shaders/gradients/ |
SkGradientShaderPriv.h | 95 SkShader::TileMode fTileMode; 255 TileMode fTileMode; 277 TileMode getTileMode() const { return fTileMode; } 348 SkShader::TileMode tileMode, 354 , fTileMode(tileMode) 361 SkShader::TileMode fTileMode; 435 SkShader::TileMode fTileMode; 461 SkShader::TileMode fTileMode;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ThemedDrawableTest.java | 28 import android.graphics.Shader.TileMode; 81 assertEquals(TileMode.MIRROR, d.getTileModeX()); 82 assertEquals(TileMode.MIRROR, d.getTileModeY());
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ShapeDrawable1.java | 47 null, Shader.TileMode.MIRROR); 55 return new BitmapShader(bm, Shader.TileMode.REPEAT, 56 Shader.TileMode.REPEAT);
|
Vertices.java | 54 Shader s = new BitmapShader(bm, Shader.TileMode.CLAMP, 55 Shader.TileMode.CLAMP);
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
XYPlotWithBgImgActivity.java | 17 private Shader WHITE_SHADER = new LinearGradient(1, 1, 1, 1, Color.WHITE, Color.WHITE, Shader.TileMode.REPEAT); 104 Shader.TileMode.REPEAT 117 Shader.TileMode.REPEAT, 118 Shader.TileMode.REPEAT);
|
/external/skia/samplecode/ |
SampleTiling.cpp | 43 SkShader::TileMode tmx, SkShader::TileMode tmy) { 91 static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode, SkShader::kMirror_TileMode };
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
Gradient_Delegate.java | 19 import android.graphics.Shader.TileMode; 73 * on the color and position lists, as well as the {@link TileMode} 81 private final TileMode mTileMode; 84 protected GradientPaint(int[] colors, float[] positions, TileMode tileMode) { 87 mTileMode = tileMode; 125 * will use {@link TileMode} value to convert it into a [0,1] value.
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
CircularBitmapDrawable.java | 29 import android.graphics.Shader.TileMode; 136 shader = new BitmapShader(bitmap, TileMode.CLAMP, TileMode.CLAMP);
|
/external/skia/src/gpu/effects/ |
GrSimpleTextureEffect.cpp | 78 static const SkShader::TileMode kTileModes[] = { 81 SkShader::TileMode tileModes[] = {
|