HomeSort by relevance Sort by last modified time
    Searched refs:TileMode (Results 1 - 25 of 239) sorted by null

1 2 3 4 5 6 7 8 910

  /cts/tests/tests/graphics/src/android/graphics/cts/
Shader_TileModeTest.java 21 import android.graphics.Shader.TileMode;
33 assertEquals(TileMode.CLAMP, TileMode.valueOf("CLAMP"));
34 assertEquals(TileMode.MIRROR, TileMode.valueOf("MIRROR"));
35 assertEquals(TileMode.REPEAT, TileMode.valueOf("REPEAT"));
40 TileMode[] tileMode = TileMode.values()
    [all...]
ComposeShaderTest.java 32 import android.graphics.Shader.TileMode;
49 Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP);
51 Color.GREEN, Color.RED, Shader.TileMode.CLAMP);
86 BitmapShader redShader = new BitmapShader(redBitmap, TileMode.CLAMP, TileMode.CLAMP);
87 BitmapShader cyanShader = new BitmapShader(cyanBitmap, TileMode.CLAMP, TileMode.CLAMP);
114 BitmapShader redShader = new BitmapShader(redBitmap, TileMode.CLAMP, TileMode.CLAMP);
118 BitmapShader cyanShader = new BitmapShader(cyanBitmap, TileMode.CLAMP, TileMode.CLAMP)
    [all...]
  /external/skia/include/effects/
SkBlurImageFilter.h 15 /*! \enum TileMode */
16 enum TileMode {
27 TileMode tileMode = TileMode::kClampToBlack_TileMode);
SkMatrixConvolutionImageFilter.h 26 /*! \enum TileMode */
27 enum TileMode {
48 @param tileMode How accesses outside the image are treated. (@see
49 TileMode).
62 TileMode tileMode,
76 TileMode tileMode,
94 TileMode fTileMode;
SkGradientShader.h 43 SkShader::TileMode mode,
47 SkShader::TileMode mode) {
65 const SkScalar pos[], int count, SkShader::TileMode mode,
69 const SkScalar pos[], int count, SkShader::TileMode mode) {
88 SkShader::TileMode mode,
92 SkShader::TileMode mode) {
111 const SkScalar pos[], int count, SkShader::TileMode mode,
115 const SkScalar pos[], int count, SkShader::TileMode mode) {
128 int count, SkShader::TileMode mode,
133 int count, SkShader::TileMode mode)
    [all...]
  /external/skia/src/shaders/
SkImageShader.h 18 static sk_sp<SkShader> Make(sk_sp<SkImage>, TileMode tx, TileMode ty,
30 SkImageShader(sk_sp<SkImage>, TileMode tx, TileMode ty, const SkMatrix* localMatrix);
32 static bool IsRasterPipelineOnly(SkColorType, SkShader::TileMode tx, SkShader::TileMode ty);
38 bool onIsABitmap(SkBitmap*, SkMatrix*, TileMode*) const override;
40 SkImage* onIsAImage(SkMatrix*, TileMode*) const override;
53 const TileMode fTileModeX;
54 const TileMode fTileModeY
    [all...]
SkBitmapProcShader.h 20 static Context* MakeContext(const SkShaderBase&, TileMode tmx, TileMode tmy,
SkPictureShader.h 28 static sk_sp<SkShader> Make(sk_sp<SkPicture>, TileMode, TileMode, const SkMatrix*,
48 SkPictureShader(sk_sp<SkPicture>, TileMode, TileMode, const SkMatrix*, const SkRect*,
74 TileMode fTmx, fTmy;
SkImageShader.cpp 23 static SkShader::TileMode optimize(SkShader::TileMode tm, int dimension) {
34 SkImageShader::SkImageShader(sk_sp<SkImage> img, TileMode tmx, TileMode tmy, const SkMatrix* matrix)
42 const TileMode tx = (TileMode)buffer.readUInt();
43 const TileMode ty = (TileMode)buffer.readUInt();
64 bool SkImageShader::IsRasterPipelineOnly(SkColorType ct, SkShader::TileMode tx,
65 SkShader::TileMode ty)
    [all...]
  /external/skia/include/gpu/
GrSamplerParams.h 38 GrSamplerParams(SkShader::TileMode tileXAndY, FilterMode filterMode) {
42 GrSamplerParams(const SkShader::TileMode tileModes[2], FilterMode filterMode) {
61 void reset(SkShader::TileMode tileXAndY, FilterMode filterMode) {
66 void reset(const SkShader::TileMode tileModes[2], FilterMode filterMode) {
83 void setTileModeX(const SkShader::TileMode tm) { fTileModes[0] = tm; }
84 void setTileModeY(const SkShader::TileMode tm) { fTileModes[1] = tm; }
85 void setTileModeXAndY(const SkShader::TileMode tm) { fTileModes[0] = fTileModes[1] = tm; }
87 SkShader::TileMode getTileModeX() const { return fTileModes[0]; }
89 SkShader::TileMode getTileModeY() const { return fTileModes[1]; }
107 SkShader::TileMode fTileModes[2]
    [all...]
  /external/skia/src/core/
SkLinearBitmapPipeline.h 34 SkShader::TileMode xTile, SkShader::TileMode yTile,
73 SampleProcessorInterface* next, SkShader::TileMode yMode, SkISize dimensions,
79 SkShader::TileMode xMode, SkShader::TileMode yMode,
96 SkShader::TileMode xTile, SkShader::TileMode yTile,
SkImagePriv.h 25 sk_sp<SkShader> SkMakeBitmapShader(const SkBitmap& src, SkShader::TileMode, SkShader::TileMode,
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBitmapDrawable.java 10 import android.graphics.Shader.TileMode;
26 private TileMode tileModeX;
27 private TileMode tileModeY;
91 public void setTileModeX(TileMode mode) {
96 public TileMode getTileModeX() {
101 public void setTileModeY(TileMode mode) {
106 public TileMode getTileModeY() {
111 public void setTileModeXY(TileMode modeX, TileMode modeY) {
  /frameworks/layoutlib/bridge/src/android/graphics/
Shader_Delegate.java 22 import android.graphics.Shader.TileMode;
60 * Returns the {@link TileMode} matching the given int.
61 * @param tileMode the tile mode int value
62 * @return the TileMode enum.
64 public static TileMode getTileMode(int tileMode) {
65 for (TileMode tm : TileMode.values()) {
66 if (tm.nativeInt == tileMode) {
72 return TileMode.CLAMP
    [all...]
  /external/skia/include/core/
SkShader.h 43 enum TileMode {
89 bool isABitmap(SkBitmap* outTexture, SkMatrix* outMatrix, TileMode xy[2]) const;
100 SkImage* isAImage(SkMatrix* localMatrix, TileMode xy[2]) const;
154 TileMode fTileMode; //!< The tile mode used.
253 static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy,
272 static sk_sp<SkShader> MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy,
  /external/skia/src/shaders/gradients/
Sk4fLinearGradient.h 24 template<ApplyPremul, TileMode>
30 template <ApplyPremul premul, SkShader::TileMode tileMode>
  /frameworks/base/libs/hwui/tests/common/scenes/
BitmapShaders.cpp 51 SkShader::TileMode::kRepeat_TileMode,
52 SkShader::TileMode::kRepeat_TileMode,
58 SkShader::TileMode::kMirror_TileMode,
59 SkShader::TileMode::kMirror_TileMode,
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
ResourceModifier.java 62 repeatShader = new BitmapShader(bitmap, Shader.TileMode.REPEAT,
63 Shader.TileMode.REPEAT);
65 translatedShader = new BitmapShader(bitmap, Shader.TileMode.REPEAT,
66 Shader.TileMode.REPEAT);
72 scaledShader = new BitmapShader(bitmap, Shader.TileMode.MIRROR,
73 Shader.TileMode.MIRROR);
79 Color.RED, Color.GREEN, Shader.TileMode.CLAMP);
87 Color.BLUE, Color.RED, Shader.TileMode.CLAMP);
90 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR);
117 bitmapColors, null, Shader.TileMode.REPEAT)
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GradientStopsActivity.java 48 colors, positions, Shader.TileMode.CLAMP);
58 colors, positions, Shader.TileMode.CLAMP);
68 colors, positions, Shader.TileMode.CLAMP);
77 colors, null, Shader.TileMode.CLAMP);
85 colors, null, Shader.TileMode.REPEAT);
93 colors, null, Shader.TileMode.MIRROR);
101 colors, null, Shader.TileMode.CLAMP);
109 colors, null, Shader.TileMode.CLAMP);
117 colors, null, Shader.TileMode.CLAMP);
ShadersActivity.java 68 mRepeatShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT,
69 Shader.TileMode.REPEAT);
71 mTranslatedShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT,
72 Shader.TileMode.REPEAT);
78 mScaledShader = new BitmapShader(mTexture, Shader.TileMode.MIRROR,
79 Shader.TileMode.MIRROR);
85 Color.RED, Color.GREEN, Shader.TileMode.CLAMP);
93 Color.BLUE, Color.MAGENTA, Shader.TileMode.CLAMP);
96 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR);
  /external/skia/tests/
ShaderTest.cpp 20 SkShader::TileMode expectedX, SkShader::TileMode expectedY,
22 SkShader::TileMode tileModes[2];
37 tileModes[0] = tileModes[1] = (SkShader::TileMode)99;
55 const SkShader::TileMode tmx = SkShader::kRepeat_TileMode;
56 const SkShader::TileMode tmy = SkShader::kMirror_TileMode;
  /frameworks/base/graphics/java/android/graphics/
BitmapShader.java 43 public BitmapShader(@NonNull Bitmap bitmap, @NonNull TileMode tileX, @NonNull TileMode tileY) {
RadialGradient.java 42 private TileMode mTileMode;
55 * @param tileMode The Shader tiling mode
59 @NonNull TileMode tileMode) {
75 mTileMode = tileMode;
86 * @param tileMode The Shader tiling mode
89 @ColorInt int centerColor, @ColorInt int edgeColor, @NonNull TileMode tileMode) {
99 mTileMode = tileMode;
130 int colors[], float positions[], int tileMode);
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
ShaderTests.java 53 Shader.TileMode.REPEAT, Shader.TileMode.REPEAT));
74 Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
81 Shader.TileMode.CLAMP);
125 Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
131 null, Shader.TileMode.CLAMP);
152 Color.TRANSPARENT, Color.WHITE, Shader.TileMode.REPEAT));
170 Color.TRANSPARENT, Color.WHITE, Shader.TileMode.CLAMP))
    [all...]
  /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...]

Completed in 1040 milliseconds

1 2 3 4 5 6 7 8 910