/frameworks/base/graphics/java/android/graphics/ |
LinearGradient.java | 32 TileMode tile) { 54 TileMode tile) { 61 int colors[], float positions[], int tileMode); 63 int color0, int color1, int tileMode); 65 int colors[], float positions[], int tileMode); 67 int color0, int color1, int tileMode);
|
RadialGradient.java | 32 int colors[], float positions[], TileMode tile) { 56 int color0, int color1, TileMode tile) { 66 int colors[], float positions[], int tileMode); 68 int color0, int color1, int tileMode); 71 int colors[], float positions[], int tileMode); 73 int color0, int color1, int tileMode);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BitmapShader_Delegate.java | 24 import android.graphics.Shader.TileMode; 92 TileMode tileModeX, TileMode tileModeY) { 98 private final TileMode mTileModeX; 99 private final TileMode mTileModeY; 102 TileMode tileModeX, TileMode tileModeY) { 203 private int getCoordinate(int i, int size, 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.
|
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) {
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
AdvancedBlendActivity.java | 69 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, 70 Shader.TileMode.MIRROR); 75 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR, 76 Shader.TileMode.MIRROR); 82 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP);
|
GradientsActivity.java | 98 BitmapShader shader = new BitmapShader(texture, Shader.TileMode.REPEAT, 99 Shader.TileMode.REPEAT); 124 Shader.TileMode.CLAMP); 149 Shader.TileMode.MIRROR); 205 mGradient = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP); 207 new int[] { 0xFFFF0000, 0xFF00FF00, 0xFF0000FF }, null, Shader.TileMode.CLAMP);
|
/external/skia/bench/ |
GradientBench.cpp | 43 SkShader::TileMode tm, SkUnitMapper* mapper, 50 SkShader::TileMode tm, SkUnitMapper* mapper, 62 SkShader::TileMode tm, SkUnitMapper* mapper, 73 SkShader::TileMode tm, SkUnitMapper* mapper, 87 SkShader::TileMode tm, SkUnitMapper* mapper, 113 static const char* tilemodename(SkShader::TileMode tm) { 122 SkASSERT(!"unknown tilemode"); 152 SkShader::TileMode tm = SkShader::kClamp_TileMode,
|
/external/skia/samplecode/ |
SampleGradients.cpp | 68 SkShader::TileMode tm, SkUnitMapper* mapper) { 74 SkShader::TileMode tm, SkUnitMapper* mapper) { 83 SkShader::TileMode tm, SkUnitMapper* mapper) { 92 SkShader::TileMode tm, SkUnitMapper* mapper) { 105 SkShader::TileMode tm, SkUnitMapper* mapper) { 116 SkShader::TileMode tm, SkUnitMapper* mapper); 157 shader = gGradMakers[j](pts, gGradData[i], (SkShader::TileMode)tm, NULL);
|
SampleRepeatTile.cpp | 37 static void make_paint(SkPaint* paint, SkShader::TileMode tm) {
|
SampleTiling.cpp | 51 SkShader::TileMode tmx, SkShader::TileMode tmy) { 102 static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode, SkShader::kMirror_TileMode };
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapShaderTest.java | 26 import android.graphics.Shader.TileMode; 46 BitmapShader shader = new BitmapShader(tile, Shader.TileMode.REPEAT, 47 Shader.TileMode.REPEAT);
|
LinearGradientTest.java | 26 import android.graphics.Shader.TileMode; 37 lg = new LinearGradient(0, 0, 0, 40, color, position, TileMode.CLAMP); 53 lg = new LinearGradient(0, 0, 0, 40, Color.RED, Color.BLUE, TileMode.CLAMP);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
BitmapDrawableTest.java | 34 import android.graphics.Shader.TileMode; 158 bitmapDrawable.setTileModeX(TileMode.CLAMP); 159 assertEquals(TileMode.CLAMP, bitmapDrawable.getTileModeX()); 166 bitmapDrawable.setTileModeY(TileMode.REPEAT); 167 assertEquals(TileMode.CLAMP, bitmapDrawable.getTileModeX()); 168 assertEquals(TileMode.REPEAT, bitmapDrawable.getTileModeY()); 174 bitmapDrawable.setTileModeXY(TileMode.REPEAT, TileMode.MIRROR); 175 assertEquals(TileMode.REPEAT, bitmapDrawable.getTileModeX()); 176 assertEquals(TileMode.MIRROR, bitmapDrawable.getTileModeY()) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ShapeDrawable1.java | 47 null, Shader.TileMode.MIRROR); 55 return new BitmapShader(bm, Shader.TileMode.REPEAT, 56 Shader.TileMode.REPEAT);
|
Vertices.java | 54 Shader s = new BitmapShader(bm, Shader.TileMode.CLAMP, 55 Shader.TileMode.CLAMP);
|
/external/skia/gm/ |
tilemodes.cpp | 49 SkShader::TileMode tmx, SkShader::TileMode tmy) { 92 static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode, SkShader::kMirror_TileMode };
|
gradients.cpp | 37 SkShader::TileMode tm, SkUnitMapper* mapper) { 43 SkShader::TileMode tm, SkUnitMapper* mapper) { 52 SkShader::TileMode tm, SkUnitMapper* mapper) { 61 SkShader::TileMode tm, SkUnitMapper* mapper) { 74 SkShader::TileMode tm, SkUnitMapper* mapper); 100 SkShader::TileMode tm = SkShader::kClamp_TileMode;
|
/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) { 175 storedPositions, count, shader, static_cast<SkShader::TileMode>(tileMode), NULL [all...] |
/external/skia/src/core/ |
SkBitmapSamplerTemplate.h | 18 BITMAP_CLASSNAME_PREFIX(_Point_Sampler)(const SkBitmap& bm, SkShader::TileMode tmx, SkShader::TileMode tmy)
|
SkShader.cpp | 193 TileMode*, SkScalar*) const { 202 TileMode tmx, TileMode tmy) { 320 TileMode modes[],
|
/external/skia/include/core/ |
SkColorShader.h | 47 TileMode xy[2],
|
/frameworks/base/libs/hwui/ |
SkiaShader.cpp | 56 SkiaShader::SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, 57 SkShader::TileMode tileY, SkMatrix* matrix, bool blend): 87 SkiaBitmapShader::SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX, 88 SkShader::TileMode tileY, SkMatrix* matrix, bool blend): 178 float* positions, int count, SkShader* key, SkShader::TileMode tileMode, 180 SkiaShader(kLinearGradient, key, tileMode, tileMode, matrix, blend), 253 uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, [all...] |
GradientCache.cpp | 101 int count, SkShader::TileMode tileMode) { 103 GradientCacheEntry gradient(colors, positions, count, tileMode); 107 texture = addLinearGradient(gradient, colors, positions, count, tileMode); 118 uint32_t* colors, float* positions, int count, SkShader::TileMode tileMode) { 131 reinterpret_cast<const SkColor*>(colors), positions, count, tileMode);
|