/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/chromium_org/third_party/skia/src/animator/ |
SkDrawShader.cpp | 20 SK_MEMBER(tileMode, TileMode) 28 tileMode(SkShader::kClamp_TileMode) { 77 (SkShader::TileMode) tileMode, 78 (SkShader::TileMode) tileMode);
|
SkPaintParts.h | 58 int /*SkShader::TileMode*/ tileMode;
|
SkDrawGradient.cpp | 186 fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, fUnitMapper); 221 radius, fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, fUnitMapper);
|
/external/skia/src/animator/ |
SkDrawShader.cpp | 20 SK_MEMBER(tileMode, TileMode) 28 tileMode(SkShader::kClamp_TileMode) { 77 (SkShader::TileMode) tileMode, 78 (SkShader::TileMode) tileMode);
|
SkPaintParts.h | 58 int /*SkShader::TileMode*/ tileMode;
|
SkDrawGradient.cpp | 186 fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, fUnitMapper); 221 radius, fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, fUnitMapper);
|
/frameworks/base/graphics/java/android/graphics/ |
LinearGradient.java | 39 private TileMode mTileMode; 53 TileMode tile) { 83 TileMode tile) { 120 int colors[], float positions[], int tileMode); 122 int color0, int color1, int tileMode); 124 int colors[], float positions[], int tileMode); 126 int color0, int color1, int tileMode);
|
RadialGradient.java | 38 private TileMode mTileMode; 51 int colors[], float positions[], TileMode tile) { 82 int color0, int color1, TileMode tile) { 121 int colors[], float positions[], int tileMode); 123 int color0, int color1, int tileMode); 126 int colors[], float positions[], int tileMode); 128 int color0, int color1, int tileMode);
|
/external/skia/bench/ |
MatrixConvolutionBench.cpp | 16 MatrixConvolutionBench(SkMatrixConvolutionImageFilter::TileMode tileMode, bool convolveAlpha) 26 fFilter = new SkMatrixConvolutionImageFilter(kernelSize, kernel, gain, bias, target, 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; 59 int colors[], float positions[], int tileMode) { 61 colors, positions, Shader_Delegate.getTileMode(tileMode)); 68 int color0, int color1, int tileMode) { 71 tileMode); 77 int colors[], float positions[], int tileMode) { 85 int color0, int color1, int tileMode) { 106 int colors[], float positions[], TileMode tile) { 126 float positions[], TileMode tile) {
|
RadialGradient_Delegate.java | 24 import android.graphics.Shader.TileMode; 58 int colors[], float positions[], int tileMode) { 60 colors, positions, Shader_Delegate.getTileMode(tileMode)); 66 int color0, int color1, int tileMode) { 68 tileMode); 73 int colors[], float positions[], int tileMode) { 80 int color0, int color1, int tileMode) { 102 TileMode tile) { 114 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.
|
/frameworks/base/core/jni/android/graphics/ |
Shader.cpp | 89 (SkShader::TileMode)tileModeX, 90 (SkShader::TileMode)tileModeY); 100 static_cast<SkShader::TileMode>(tileModeX), static_cast<SkShader::TileMode>(tileModeY), 112 jintArray colorArray, jfloatArray posArray, int tileMode) 136 static_cast<SkShader::TileMode>(tileMode)); 145 jfloatArray posArray, int tileMode) { 205 storedPositions, stopCount, shader, static_cast<SkShader::TileMode>(tileMode), NULL [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkMatrixConvolutionImageFilter.cpp | 23 static bool tile_mode_is_valid(SkMatrixConvolutionImageFilter::TileMode tileMode) { 24 switch (tileMode) { 41 TileMode tileMode, 50 fTileMode(tileMode), 83 fTileMode = (TileMode) buffer.readInt(); 315 typedef SkMatrixConvolutionImageFilter::TileMode TileMode; 323 TileMode tileMode [all...] |
/external/skia/src/effects/ |
SkMatrixConvolutionImageFilter.cpp | 23 static bool tile_mode_is_valid(SkMatrixConvolutionImageFilter::TileMode tileMode) { 24 switch (tileMode) { 41 TileMode tileMode, 50 fTileMode(tileMode), 83 fTileMode = (TileMode) buffer.readInt(); 315 typedef SkMatrixConvolutionImageFilter::TileMode TileMode; 323 TileMode tileMode [all...] |
/external/chromium_org/third_party/skia/include/effects/ |
SkMatrixConvolutionImageFilter.h | 24 /*! \enum TileMode */ 25 enum TileMode { 43 @param tileMode How accesses outside the image are treated. (@see 44 TileMode). 58 TileMode tileMode, 86 TileMode fTileMode;
|
/external/skia/include/effects/ |
SkMatrixConvolutionImageFilter.h | 24 /*! \enum TileMode */ 25 enum TileMode { 43 @param tileMode How accesses outside the image are treated. (@see 44 TileMode). 58 TileMode tileMode, 86 TileMode fTileMode;
|
/frameworks/base/libs/hwui/ |
SkiaShader.cpp | 75 SkiaShader::SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, 76 SkShader::TileMode tileY, SkMatrix* matrix, bool blend): 107 SkiaBitmapShader::SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX, 108 SkShader::TileMode tileY, SkMatrix* matrix, bool blend): 186 float* positions, int count, SkShader* key, SkShader::TileMode tileMode, 188 SkiaShader(kLinearGradient, key, tileMode, tileMode, matrix, blend), 200 mIsSimple = count == 2 && tileMode == SkShader::kClamp_TileMode; 265 uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode [all...] |
SkiaShader.h | 59 ANDROID_API SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, 60 SkShader::TileMode tileY, SkMatrix* matrix, bool blend); 117 SkShader::TileMode mTileX; 118 SkShader::TileMode mTileY; 139 ANDROID_API SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX, 140 SkShader::TileMode tileY, SkMatrix* matrix, bool blend); 162 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend); 196 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) [all...] |
/external/skia/gm/ |
matrixconvolution.cpp | 51 SkMatrixConvolutionImageFilter::TileMode tileMode, bool convolveAlpha, 67 tileMode,
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
BitmapDrawable.java | 338 * @return {@link Shader.TileMode#CLAMP} if the bitmap does not repeat, 339 * {@link Shader.TileMode#REPEAT} or {@link Shader.TileMode#MIRROR} otherwise. 341 public Shader.TileMode getTileModeX() { 348 * @return {@link Shader.TileMode#CLAMP} if the bitmap does not repeat, 349 * {@link Shader.TileMode#REPEAT} or {@link Shader.TileMode#MIRROR} otherwise. 351 public Shader.TileMode getTileModeY() { 357 * does not repeat its bitmap. Using {@link Shader.TileMode#REPEAT} or 358 * {@link Shader.TileMode#MIRROR} the bitmap can be repeated (or tiled) if the bitma [all...] |
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkGradientShaderPriv.h | 94 SkShader::TileMode fTileMode; 140 TileMode fTileMode; 244 SkShader::TileMode tileMode); 287 SkShader::TileMode* tm);
|
/external/skia/src/effects/gradients/ |
SkGradientShaderPriv.h | 94 SkShader::TileMode fTileMode; 140 TileMode fTileMode; 244 SkShader::TileMode tileMode); 287 SkShader::TileMode* tm);
|