Home
last modified time | relevance | path

Searched refs:TileMode (Results 1 – 25 of 49) sorted by relevance

12

/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeRadialGradientTest.java16 import android.graphics.Shader.TileMode;
29 new RadialGradient(0.5f, 0.5f, 1, Color.RED, Color.BLUE, TileMode.CLAMP); in testZeroScaleMatrix()
54 RadialGradient gradient = new RadialGradient(50, 50, 25, red, blue, TileMode.CLAMP); in testColorLong()
151 RadialGradient unused = new RadialGradient(0.5f, 0.5f, 1, colors, null, TileMode.CLAMP); in testNullColorInts()
162 RadialGradient unused = new RadialGradient(0.5f, 0.5f, 1, colors, null, TileMode.CLAMP); in testNullColorLongs()
172 new RadialGradient(0.5f, 0.5f, 1, new int[0], null, TileMode.CLAMP); in testNoColorInts()
183 new RadialGradient(0.5f, 0.5f, 1, new long[0], null, TileMode.CLAMP); in testNoColorLongs()
193 new RadialGradient(0.5f, 0.5f, 1, new int[1], null, TileMode.CLAMP); in testOneColorInts()
204 new RadialGradient(0.5f, 0.5f, 1, new long[1], null, TileMode.CLAMP); in testOneColorLongs()
217 RadialGradient unused = new RadialGradient(0.5f, 0.5f, 1, colors, null, TileMode.CLAMP); in testMismatchColorLongs()
[all …]
DShadowNativeLinearGradientTest.java16 import android.graphics.Shader.TileMode;
34 lg = new LinearGradient(0, 0, 0, 40, color, position, TileMode.CLAMP); in testLinearGradient()
50 lg = new LinearGradient(0, 0, 0, 40, Color.RED, Color.BLUE, TileMode.CLAMP); in testLinearGradient()
72 LinearGradient lg = new LinearGradient(0, 0, 0, 40, colors, positions, TileMode.CLAMP);
105 lg = new LinearGradient(0, 0, 0, 40, red, blue, TileMode.CLAMP);
139 new LinearGradient(0.5f, 0, 1.5f, 0, Color.RED, Color.BLUE, TileMode.CLAMP);
157 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);
180 new LinearGradient(0.5f, 0, 1.5f, 0, new int[0], null, TileMode.CLAMP); in testNoColorInts()
191 new LinearGradient(0.5f, 0, 1.5f, 0, new long[0], null, TileMode.CLAMP); in testNoColorLongs()
[all …]
DShadowNativeComposeShaderTest.java19 import android.graphics.Shader.TileMode;
35 new LinearGradient(0, 0, SIZE, 0, Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP); in testPorterDuff()
37 new LinearGradient(0, 0, 0, SIZE, Color.GREEN, Color.RED, Shader.TileMode.CLAMP); in testPorterDuff()
69 new LinearGradient(0, 0, SIZE, 0, Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP); in testBlendMode()
71 new LinearGradient(0, 0, 0, SIZE, Color.GREEN, Color.RED, Shader.TileMode.CLAMP); in testBlendMode()
106 BitmapShader redShader = new BitmapShader(redBitmap, TileMode.CLAMP, TileMode.CLAMP); in testXfermode()
107 BitmapShader cyanShader = new BitmapShader(cyanBitmap, TileMode.CLAMP, TileMode.CLAMP); in testXfermode()
134 BitmapShader redShader = new BitmapShader(redBitmap, TileMode.CLAMP, TileMode.CLAMP); in testChildLocalMatrix()
138 BitmapShader cyanShader = new BitmapShader(cyanBitmap, TileMode.CLAMP, TileMode.CLAMP); in testChildLocalMatrix()
DShadowNativeBitmapShaderTest.java38 BitmapShader shader = new BitmapShader(tile, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); in testBitmapShader()
90 BitmapShader shader = new BitmapShader(bitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); in testClamp()
110 BitmapShader shader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); in testRepeat()
130 BitmapShader shader = new BitmapShader(bitmap, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR); in testMirror()
148 () -> new BitmapShader(null, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR)); in testNullBitmap()
DShadowNativeShaderTest.java35 Shader shader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); in testAccessLocalMatrix()
63 Shader shader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); in testGetSetLocalMatrix()
/external/skia/modules/canvaskit/htmlcanvas/
Dpattern.js15 this._tileX = CanvasKit.TileMode.Repeat;
20 this._tileY = CanvasKit.TileMode.Decal;
23 this._tileX = CanvasKit.TileMode.Decal;
24 this._tileY = CanvasKit.TileMode.Repeat;
27 this._tileX = CanvasKit.TileMode.Repeat;
28 this._tileY = CanvasKit.TileMode.Repeat;
31 this._tileX = CanvasKit.TileMode.Decal;
32 this._tileY = CanvasKit.TileMode.Decal;
/external/skia/platform_tools/android/apps/jetski/src/main/java/org/skia/jetski/
DSweepGradient.java15 int[] colors, float[] pos, TileMode tm, in SweepGradient()
22 int[] colors, float[] pos, TileMode tm) throws IllegalArgumentException { in SweepGradient()
28 this(x, y, 0, 360, colors, pos, TileMode.CLAMP, null); in SweepGradient()
32 float[] colors, float[] pos, TileMode tm, in SweepGradient()
39 float[] colors, float[] pos, TileMode tm) throws IllegalArgumentException { in SweepGradient()
45 this(x, y, 0, 360, colors, pos, TileMode.CLAMP, null); in SweepGradient()
DRadialGradient.java14 public RadialGradient(float x, float y, float r, int[] colors, float[] pos, TileMode tm, in RadialGradient()
21 float[] pos, TileMode tm) throws IllegalArgumentException { in RadialGradient()
25 public RadialGradient(float x, float y, float r, float[] colors, float[] pos, TileMode tm, in RadialGradient()
32 float[] pos, TileMode tm) throws IllegalArgumentException { in RadialGradient()
DLinearGradient.java15 float[] pos, TileMode tm, in LinearGradient()
22 float[] pos, TileMode tm) throws IllegalArgumentException { in LinearGradient()
27 float[] pos, TileMode tm, in LinearGradient()
34 float[] pos, TileMode tm) throws IllegalArgumentException { in LinearGradient()
DImage.java48 public Shader makeShader(TileMode tmx, TileMode tmy, SamplingOptions sampling) { in makeShader()
52 public Shader makeShader(TileMode tmx, TileMode tmy, SamplingOptions sampling, in makeShader()
DGradient.java17 protected Gradient(int[] colors, float[] pos, TileMode tm, Matrix lm, in Gradient()
22 protected Gradient(float[] colors, float[] pos, TileMode tm, Matrix lm, in Gradient()
27 private static long makeGradient(int[] colors, float[] pos, TileMode tm, Matrix lm, in makeGradient()
45 private static long makeGradient(float[] colors, float[] pos, TileMode tm, Matrix lm, in makeGradient()
DTwoPointConicalGradient.java15 int[] colors, float[] pos, TileMode tm, in TwoPointConicalGradient()
23 TileMode tm) throws IllegalArgumentException { in TwoPointConicalGradient()
28 float[] colors, float[] pos, TileMode tm, in TwoPointConicalGradient()
36 TileMode tm) throws IllegalArgumentException { in TwoPointConicalGradient()
DTileMode.java10 public enum TileMode { enum
34 TileMode(int nativeInt) { in TileMode() method in TileMode
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
Dtilingtraits.h36 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/platform_tools/android/apps/jetskidemo/src/main/java/org/skia/jetskidemo/
DAnimationActivity.java47 colors1, pos, TileMode.REPEAT); in onSurfaceInitialized()
49 colors2, pos, TileMode.REPEAT); in onSurfaceInitialized()
52 colors1, pos, TileMode.MIRROR); in onSurfaceInitialized()
53 mSweepGradient = new SweepGradient(sw/2, sh/4, 0, 90, colors2, pos, TileMode.REPEAT); in onSurfaceInitialized()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLinearGradient.java17 private Shader.TileMode tile;
21 float x0, float y0, float x1, float y1, int color0, int color1, Shader.TileMode tile) { in __constructor__()
55 public Shader.TileMode getTile() { in getTile()
/external/skia/platform_tools/android/apps/jetskidemo/src/main/java/org/skia/jetskidemo/samples/
DImageShaderSample.java17 import org.skia.jetski.TileMode;
26 image.makeShader(TileMode.REPEAT, TileMode.REPEAT, in ImageShaderSample()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapDrawableTest.java75 drawable.setTileModeXY(Shader.TileMode.REPEAT, Shader.TileMode.MIRROR); in shouldSetTileModeXY()
76 assertThat(drawable.getTileModeX()).isEqualTo(Shader.TileMode.REPEAT); in shouldSetTileModeXY()
77 assertThat(drawable.getTileModeY()).isEqualTo(Shader.TileMode.MIRROR); in shouldSetTileModeXY()
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts284 …const s1 = img.makeShaderCubic(CK.TileMode.Decal, CK.TileMode.Repeat, 1 / 3, 1 / 3); // $ExpectTyp…
286 const s2 = mm.makeShaderOptions(CK.TileMode.Decal, CK.TileMode.Repeat, // $ExpectType Shader
314 const filter = imgf.MakeBlur(2, 4, CK.TileMode.Mirror, null); // $ExpectType ImageFilter
315 const filter1 = imgf.MakeBlur(2, 4, CK.TileMode.Decal, filter); // $ExpectType ImageFilter
692 const shader1 = pic2!.makeShader(CK.TileMode.Clamp, CK.TileMode.Decal, CK.FilterMode.Nearest);
693 const shader2 = pic2!.makeShader(CK.TileMode.Clamp, CK.TileMode.Decal, CK.FilterMode.Nearest,
695 const shader3 = pic2!.makeShader(CK.TileMode.Clamp, CK.TileMode.Decal, CK.FilterMode.Nearest,
768 CK.TileMode.Mirror
778 CK.TileMode.Clamp,
791 CK.TileMode.Decal,
[all …]
Dindex.d.ts501 readonly TileMode: TileModeEnumValues; property
1912 makeShaderCubic(tx: TileMode, ty: TileMode, B: number, C: number,
1924 makeShaderOptions(tx: TileMode, ty: TileMode, fm: FilterMode, mm: MipmapMode,
2623 makeShader(tmx: TileMode, tmy: TileMode, mode: FilterMode,
3395 MakeBlur(sigmaX: number, sigmaY: number, mode: TileMode,
3748 pos: number[] | null, mode: TileMode, localMatrix?: InputMatrix,
3765 pos: number[] | null, mode: TileMode, localMatrix?: InputMatrix,
3784 pos: number[] | null, mode: TileMode, localMatrix?: InputMatrix | null,
3819 pos: number[] | null, mode: TileMode, localMatrix?: InputMatrix,
4185 export type TileMode = EmbindEnumEntity; alias
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapDrawableTest.java93 drawable.setTileModeXY(Shader.TileMode.REPEAT, Shader.TileMode.MIRROR); in shouldSetTileModeXY()
94 assertThat(drawable.getTileModeX()).isEqualTo(Shader.TileMode.REPEAT); in shouldSetTileModeXY()
95 assertThat(drawable.getTileModeY()).isEqualTo(Shader.TileMode.MIRROR); in shouldSetTileModeXY()
/external/skia/modules/canvaskit/tests/
Drtshader_test.js197 CanvasKit.TileMode.Decal, CanvasKit.TileMode.Decal,
202 CanvasKit.TileMode.Decal, CanvasKit.TileMode.Decal,
Dcore_test.js48 const shader = pic.makeShader(CanvasKit.TileMode.Mirror, CanvasKit.TileMode.Mirror,
372 const shader = image.makeShaderOptions(CanvasKit.TileMode.Clamp,
373 CanvasKit.TileMode.Clamp,
496 CanvasKit.TileMode.Clamp,
524 CanvasKit.TileMode.Mirror
538 CanvasKit.TileMode.Mirror,
551 CanvasKit.TileMode.Mirror,
569 CanvasKit.TileMode.Mirror,
601 CanvasKit.TileMode.Mirror
612 CanvasKit.TileMode.Mirror,
[all …]
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DXYPlotWithBgImgActivity.java17 …er WHITE_SHADER = new LinearGradient(1, 1, 1, 1, Color.WHITE, Color.WHITE, Shader.TileMode.REPEAT);
117 Shader.TileMode.REPEAT, in onGraphStyleToggle()
118 Shader.TileMode.REPEAT); in onGraphStyleToggle()
/external/skia/modules/jetski/src/
DImage.cpp51 const auto tmx = jetski::utils::TileMode(jtmx), in Image_MakeShader()
52 tmy = jetski::utils::TileMode(jtmy); in Image_MakeShader()

12