/external/skqp/gm/ |
tilemodes.cpp | 39 SkShader::TileMode tmx, SkShader::TileMode tmy) { 94 constexpr SkShader::TileMode gModes[] = { 159 static sk_sp<SkShader> make_bm(SkShader::TileMode tx, SkShader::TileMode ty) { 165 static sk_sp<SkShader> make_grad(SkShader::TileMode tx, SkShader::TileMode ty) { 184 typedef sk_sp<SkShader> (*ShaderProc)(SkShader::TileMode, SkShader::TileMode); 209 constexpr SkShader::TileMode gModes[] = [all...] |
gradients_degenerate.cpp | 20 static const SkShader::TileMode TILE_MODES[] = { SkShader::kDecal_TileMode, 32 typedef sk_sp<SkShader> (*GradientFactory)(SkShader::TileMode tm); 75 static sk_sp<SkShader> make_linear(SkShader::TileMode mode) { 81 static sk_sp<SkShader> make_radial(SkShader::TileMode mode) { 86 static sk_sp<SkShader> make_sweep(SkShader::TileMode mode) { 93 static sk_sp<SkShader> make_sweep_zero_ang(SkShader::TileMode mode) { 99 static sk_sp<SkShader> make_2pt_conic(SkShader::TileMode mode) { 105 static sk_sp<SkShader> make_2pt_conic_zero_rad(SkShader::TileMode mode) {
|
gradientDirtyLaundry.cpp | 37 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 41 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 46 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { 52 typedef sk_sp<SkShader> (*GradMaker)(const SkPoint pts[2], const GradData&, SkShader::TileMode); 74 SkShader::TileMode tm = SkShader::kClamp_TileMode;
|
/external/skia/gm/ |
gradients_degenerate.cpp | 20 static const SkShader::TileMode TILE_MODES[] = { SkShader::kDecal_TileMode, 32 typedef sk_sp<SkShader> (*GradientFactory)(SkShader::TileMode tm); 75 static sk_sp<SkShader> make_linear(SkShader::TileMode mode) { 81 static sk_sp<SkShader> make_radial(SkShader::TileMode mode) { 86 static sk_sp<SkShader> make_sweep(SkShader::TileMode mode) { 93 static sk_sp<SkShader> make_sweep_zero_ang(SkShader::TileMode mode) { 99 static sk_sp<SkShader> make_2pt_conic(SkShader::TileMode mode) { 105 static sk_sp<SkShader> make_2pt_conic_zero_rad(SkShader::TileMode mode) {
|
gradientDirtyLaundry.cpp | 37 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 41 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 46 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { 52 typedef sk_sp<SkShader> (*GradMaker)(const SkPoint pts[2], const GradData&, SkShader::TileMode); 74 SkShader::TileMode tm = SkShader::kClamp_TileMode;
|
tilemodes_scaled.cpp | 38 SkShader::TileMode tmx, SkShader::TileMode tmy) { 98 constexpr SkShader::TileMode gModes[] = { 159 static sk_sp<SkShader> make_bm(SkShader::TileMode tx, SkShader::TileMode ty) { 165 static sk_sp<SkShader> make_grad(SkShader::TileMode tx, SkShader::TileMode ty) { 184 typedef sk_sp<SkShader> (*ShaderProc)(SkShader::TileMode, SkShader::TileMode); 209 constexpr SkShader::TileMode gModes[] = [all...] |
/external/skia/include/effects/ |
SkMatrixConvolutionImageFilter.h | 27 /*! \enum TileMode */ 28 enum TileMode { 52 @param tileMode How accesses outside the image are treated. (@see 53 TileMode). 66 TileMode tileMode, 77 TileMode tileMode, 98 TileMode fTileMode;
|
/external/skqp/include/effects/ |
SkMatrixConvolutionImageFilter.h | 27 /*! \enum TileMode */ 28 enum TileMode { 52 @param tileMode How accesses outside the image are treated. (@see 53 TileMode). 66 TileMode tileMode, 77 TileMode tileMode, 98 TileMode fTileMode;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
LinearGradientTest.java | 30 import android.graphics.Shader.TileMode; 52 lg = new LinearGradient(0, 0, 0, 40, color, position, TileMode.CLAMP); 68 lg = new LinearGradient(0, 0, 0, 40, Color.RED, Color.BLUE, TileMode.CLAMP); 89 LinearGradient lg = new LinearGradient(0, 0, 0, 40, colors, positions, TileMode.CLAMP); 118 lg = new LinearGradient(0, 0, 0, 40, red, blue, TileMode.CLAMP); 150 Color.RED, Color.BLUE, TileMode.CLAMP); 163 new LinearGradient(0.5f, 0, 1.5f, 0, colors, null, TileMode.CLAMP); 169 new LinearGradient(0.5f, 0, 1.5f, 0, colors, null, TileMode.CLAMP); 174 new LinearGradient(0.5f, 0, 1.5f, 0, new int[0], null, TileMode.CLAMP); 179 new LinearGradient(0.5f, 0, 1.5f, 0, new long[0], null, TileMode.CLAMP) [all...] |
ComposeShaderTest.java | 33 import android.graphics.Shader.TileMode; 51 Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP); 53 Color.GREEN, Color.RED, Shader.TileMode.CLAMP); 84 Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP); 86 Color.GREEN, Color.RED, Shader.TileMode.CLAMP); 121 BitmapShader redShader = new BitmapShader(redBitmap, TileMode.CLAMP, TileMode.CLAMP); 122 BitmapShader cyanShader = new BitmapShader(cyanBitmap, TileMode.CLAMP, TileMode.CLAMP); 149 BitmapShader redShader = new BitmapShader(redBitmap, TileMode.CLAMP, TileMode.CLAMP) [all...] |
ShaderTest.java | 50 Shader shader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); 77 Shader shader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
|
BitmapShaderTest.java | 54 BitmapShader shader = new BitmapShader(tile, Shader.TileMode.REPEAT, 55 Shader.TileMode.REPEAT); 107 Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); 129 Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); 151 Shader.TileMode.MIRROR, Shader.TileMode.MIRROR);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
ShaderTests.java | 54 Shader.TileMode.REPEAT, Shader.TileMode.REPEAT)); 75 Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); 82 Shader.TileMode.CLAMP); 126 Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); 132 null, Shader.TileMode.CLAMP); 153 Color.TRANSPARENT, Color.WHITE, Shader.TileMode.REPEAT)); 171 Color.TRANSPARENT, Color.WHITE, Shader.TileMode.CLAMP)) [all...] |
/external/skia/src/core/ |
SkBitmapProcState.h | 32 SkBitmapProcInfo(const SkBitmapProvider&, SkShader::TileMode tmx, SkShader::TileMode tmy); 42 SkShader::TileMode fTileModeX; 43 SkShader::TileMode fTileModeY; 58 SkBitmapProcState(const SkBitmapProvider& prov, SkShader::TileMode tmx, SkShader::TileMode tmy)
|
/external/skqp/src/core/ |
SkBitmapProcState.h | 32 SkBitmapProcInfo(const SkBitmapProvider&, SkShader::TileMode tmx, SkShader::TileMode tmy); 42 SkShader::TileMode fTileModeX; 43 SkShader::TileMode fTileModeY; 58 SkBitmapProcState(const SkBitmapProvider& prov, SkShader::TileMode tmx, SkShader::TileMode tmy)
|
/external/skia/modules/sksg/include/ |
SkSGGradient.h | 37 SG_ATTRIBUTE(TileMode , SkShader::TileMode , fTileMode ) 50 SkShader::TileMode fTileMode = SkShader::kClamp_TileMode;
|
/external/skqp/modules/sksg/include/ |
SkSGGradient.h | 37 SG_ATTRIBUTE(TileMode , SkShader::TileMode , fTileMode ) 50 SkShader::TileMode fTileMode = SkShader::kClamp_TileMode;
|
/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/experimental/svg/model/ |
SkSVGGradient.cpp | 89 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kPad) == 91 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kRepeat) == 93 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kReflect) == 95 const auto tileMode = static_cast<SkShader::TileMode>(fSpreadMethod.type()); 97 paint->setShader(this->onMakeShader(ctx, colors.begin(), pos.begin(), colors.count(), tileMode,
|
/external/skqp/experimental/svg/model/ |
SkSVGGradient.cpp | 89 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kPad) == 91 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kRepeat) == 93 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kReflect) == 95 const auto tileMode = static_cast<SkShader::TileMode>(fSpreadMethod.type()); 97 paint->setShader(this->onMakeShader(ctx, colors.begin(), pos.begin(), colors.count(), tileMode,
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
tilingtraits.h | 36 static const SWR_TILE_MODE TileMode{ mode }; 49 static const SWR_TILE_MODE TileMode{ SWR_TILE_NONE }; 60 static const SWR_TILE_MODE TileMode{ SWR_TILE_SWRZ }; 73 static const SWR_TILE_MODE TileMode{ SWR_TILE_SWRZ }; 85 static const SWR_TILE_MODE TileMode{ SWR_TILE_SWRZ }; 99 static const SWR_TILE_MODE TileMode{ SWR_TILE_MODE_YMAJOR }; 112 static const SWR_TILE_MODE TileMode{ SWR_TILE_MODE_XMAJOR }; 124 static const SWR_TILE_MODE TileMode{ SWR_TILE_MODE_WMAJOR };
|
/external/skia/bench/ |
MatrixConvolutionBench.cpp | 14 static const char* name(SkMatrixConvolutionImageFilter::TileMode mode) { 25 MatrixConvolutionBench(SkMatrixConvolutionImageFilter::TileMode tileMode, bool convolveAlpha) 27 name(tileMode), 38 kernelOffset, tileMode, convolveAlpha,
|
/external/skqp/bench/ |
MatrixConvolutionBench.cpp | 14 static const char* name(SkMatrixConvolutionImageFilter::TileMode mode) { 25 MatrixConvolutionBench(SkMatrixConvolutionImageFilter::TileMode tileMode, bool convolveAlpha) 27 name(tileMode), 38 kernelOffset, tileMode, convolveAlpha,
|
/external/skia/src/c/ |
sk_effects.cpp | 22 SkShader::TileMode fSK; 29 static bool from_c_tilemode(sk_shader_tilemode_t cMode, SkShader::TileMode* skMode) { 55 SkShader::TileMode mode; 82 SkShader::TileMode mode; 126 SkShader::TileMode mode;
|
/external/skqp/src/c/ |
sk_effects.cpp | 22 SkShader::TileMode fSK; 29 static bool from_c_tilemode(sk_shader_tilemode_t cMode, SkShader::TileMode* skMode) { 55 SkShader::TileMode mode; 82 SkShader::TileMode mode; 126 SkShader::TileMode mode;
|