/cts/tests/tests/graphics/src/android/graphics/cts/ |
Shader_TileModeTest.java | 21 import android.graphics.Shader.TileMode; 26 assertEquals(TileMode.CLAMP, TileMode.valueOf("CLAMP")); 27 assertEquals(TileMode.MIRROR, TileMode.valueOf("MIRROR")); 28 assertEquals(TileMode.REPEAT, TileMode.valueOf("REPEAT")); 32 TileMode[] tileMode = TileMode.values() [all...] |
/external/skia/src/animator/ |
SkDrawShader.cpp | 19 SK_MEMBER(tileMode, TileMode) 27 tileMode(SkShader::kClamp_TileMode) { 75 (SkShader::TileMode) tileMode, 76 (SkShader::TileMode) tileMode,
|
SkPaintPart.h | 56 int /*SkShader::TileMode*/ tileMode;
|
SkDrawGradient.cpp | 132 fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, 167 radius, fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode,
|
/frameworks/base/graphics/java/android/graphics/ |
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...] |
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);
|
/external/skia/include/c/ |
sk_shader.h | 49 sk_shader_tilemode_t tileMode, 71 @param tileMode The tiling mode 79 sk_shader_tilemode_t tileMode, 126 @param tileMode The tiling mode 138 sk_shader_tilemode_t tileMode,
|
/external/skia/src/gpu/effects/ |
GrMatrixConvolutionEffect.h | 28 GrTextureDomain::Mode tileMode, 31 kernelOffset, tileMode, convolveAlpha); 40 GrTextureDomain::Mode tileMode, 64 GrTextureDomain::Mode tileMode,
|
GrMatrixConvolutionEffect.cpp | 146 GrTextureDomain::Mode tileMode, 153 fDomain(GrTextureDomain::MakeTexelDomainForMode(texture, bounds, tileMode), tileMode) { 191 GrTextureDomain::Mode tileMode, 222 kernelOffset, tileMode, convolveAlpha); 245 GrTextureDomain::Mode tileMode = 255 tileMode,
|
/external/skia/src/effects/gradients/ |
Sk4fLinearGradient.h | 25 template<typename DstType, TileMode> 31 template <typename DstType, bool premul, SkShader::TileMode tileMode> 34 template <typename DstType, bool premul, SkShader::TileMode tileMode>
|
Sk4fLinearGradient.cpp | 131 template<SkShader::TileMode> 219 template<typename DstType, bool do_premul, SkShader::TileMode tileMode> 229 const SkScalar fx = pinFx<tileMode>(pt.x()); 231 LinearIntervalProcessor<DstType, tileMode> proc(fIntervals.begin(), 265 template<typename DstType, SkShader::TileMode tileMode> 326 if (tileMode == kClamp_TileMode) {
|
SkGradientShaderPriv.h | 95 SkShader::TileMode fTileMode; 231 TileMode fTileMode; 343 SkShader::TileMode tileMode); 378 SkShader::TileMode* tm);
|
/external/skia/gm/ |
pictureshader.cpp | 17 SkShader::TileMode tmx; 18 SkShader::TileMode tmy; 89 unsigned tileMode) { 95 this->drawScene(canvas, ctm, localMatrix, tileMode); 101 this->drawScene(canvas, ctm, localMatrix, tileMode); 107 this->drawScene(canvas, ctm, localMatrix, tileMode); 113 this->drawScene(canvas, ctm, localMatrix, tileMode); 120 this->drawScene(canvas, ctm, localMatrix, tileMode); 141 unsigned tileMode) { 142 SkASSERT(tileMode < SK_ARRAY_COUNT(kTileConfigs)) [all...] |
matrixconvolution.cpp | 51 SkMatrixConvolutionImageFilter::TileMode tileMode, bool convolveAlpha, 67 tileMode,
|
imagefiltersgraph.cpp | 202 auto tileMode = SkMatrixConvolutionImageFilter::kClamp_TileMode; 210 tileMode,
|
/external/skia/bench/ |
MatrixConvolutionBench.cpp | 16 MatrixConvolutionBench(SkMatrixConvolutionImageFilter::TileMode tileMode, bool convolveAlpha) 26 fFilter = SkMatrixConvolutionImageFilter::Create(kernelSize, kernel, gain, bias, kernelOffset, tileMode, convolveAlpha);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Shader_Delegate.java | 22 import android.graphics.Shader.TileMode; 57 * Returns the {@link TileMode} matching the given int. 58 * @param tileMode the tile mode int value 59 * @return the TileMode enum. 61 public static TileMode getTileMode(int tileMode) { 62 for (TileMode tm : TileMode.values()) { 63 if (tm.nativeInt == tileMode) { 69 return TileMode.CLAMP [all...] |
LinearGradient_Delegate.java | 24 import android.graphics.Shader.TileMode; 61 int colors[], float positions[], int tileMode) { 63 colors, positions, Shader_Delegate.getTileMode(tileMode)); 70 int color0, int color1, int tileMode) { 73 tileMode); 92 int colors[], float positions[], TileMode tile) { 112 float positions[], TileMode tile) {
|
RadialGradient_Delegate.java | 24 import android.graphics.Shader.TileMode; 60 int colors[], float positions[], int tileMode) { 62 colors, positions, Shader_Delegate.getTileMode(tileMode)); 68 int color0, int color1, int tileMode) { 70 tileMode); 90 TileMode tile) { 102 int[] colors, float[] positions, TileMode mode) {
|
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.
|
/external/skia/include/effects/ |
SkMatrixConvolutionImageFilter.h | 24 /*! \enum TileMode */ 25 enum TileMode { 46 @param tileMode How accesses outside the image are treated. (@see 47 TileMode). 60 TileMode tileMode, 74 TileMode tileMode, 96 TileMode fTileMode;
|
/frameworks/base/core/jni/android/graphics/ |
Shader.cpp | 98 (SkShader::TileMode)tileModeX, 99 (SkShader::TileMode)tileModeY); 109 jintArray colorArray, jfloatArray posArray, jint tileMode) 127 static_cast<SkShader::TileMode>(tileMode)); 136 jint color0, jint color1, jint tileMode) 146 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, (SkShader::TileMode)tileMode); 155 jintArray colorArray, jfloatArray posArray, jint tileMode) { 171 static_cast<SkShader::TileMode>(tileMode)) [all...] |
/external/skia/src/effects/ |
SkMatrixConvolutionImageFilter.cpp | 31 TileMode tileMode, 40 fTileMode(tileMode), 56 TileMode tileMode, 74 tileMode, convolveAlpha, input, cropRect); 97 TileMode tileMode = (TileMode)buffer.readInt(); 99 return Create(kernelSize, kernel.get(), gain, bias, kernelOffset, tileMode, convolveAlpha [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
BitmapDrawable.java | 370 * @return {@link android.graphics.Shader.TileMode#CLAMP} if the bitmap does not repeat, 371 * {@link android.graphics.Shader.TileMode#REPEAT} or 372 * {@link android.graphics.Shader.TileMode#MIRROR} otherwise. 374 public Shader.TileMode getTileModeX() { 381 * @return {@link android.graphics.Shader.TileMode#CLAMP} if the bitmap does not repeat, 382 * {@link android.graphics.Shader.TileMode#REPEAT} or 383 * {@link android.graphics.Shader.TileMode#MIRROR} otherwise. 385 public Shader.TileMode getTileModeY() { 391 * does not repeat its bitmap. Using {@link android.graphics.Shader.TileMode#REPEAT} or 392 * {@link android.graphics.Shader.TileMode#MIRROR} the bitmap can be repeated (or tiled [all...] |
/frameworks/base/core/java/android/content/res/ |
GradientColor.java | 163 private static Shader.TileMode parseTileMode(@GradientTileMode int tileMode) { 164 switch (tileMode) { 166 return Shader.TileMode.CLAMP; 168 return Shader.TileMode.REPEAT; 170 return Shader.TileMode.MIRROR; 172 return Shader.TileMode.CLAMP; 219 Log.v(TAG, "tileMode: " + mTileMode);
|