/frameworks/base/graphics/java/android/graphics/ |
BitmapShader.java | 31 public BitmapShader(Bitmap bitmap, TileMode tileX, TileMode tileY) {
|
Shader.java | 30 public enum TileMode { 46 TileMode(int nativeInt) {
|
LinearGradient.java | 33 int colors[], float positions[], TileMode tile) { 53 int color0, int color1, TileMode tile) { 59 int colors[], float positions[], int tileMode); 61 int color0, int color1, int tileMode);
|
RadialGradient.java | 32 int colors[], float positions[], TileMode tile) { 54 int color0, int color1, TileMode tile) { 62 int colors[], float positions[], int tileMode); 64 int color0, int color1, int tileMode);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BitmapShader.java | 33 public BitmapShader(Bitmap bitmap, TileMode tileX, TileMode tileY) {
|
Shader.java | 31 public enum TileMode { 47 TileMode(int nativeInt) {
|
/external/skia/src/core/ |
SkBitmapProcShader.h | 26 SkBitmapProcShader(const SkBitmap& src, TileMode tx, TileMode ty); 35 virtual bool asABitmap(SkBitmap*, SkMatrix*, TileMode*); 37 static bool CanDo(const SkBitmap&, TileMode tx, TileMode ty);
|
SkBitmapSampler.h | 29 SkBitmapSampler(const SkBitmap&, bool filter, SkShader::TileMode tmx, SkShader::TileMode tmy); 34 SkShader::TileMode getTileModeX() const { return fTileModeX; } 35 SkShader::TileMode getTileModeY() const { return fTileModeY; } 45 SkShader::TileMode tmx, SkShader::TileMode tmy); 51 SkShader::TileMode fTileModeX; 52 SkShader::TileMode fTileModeY;
|
SkBitmapSampler.cpp | 20 static SkTileModeProc get_tilemode_proc(SkShader::TileMode mode) 36 SkShader::TileMode tmx, SkShader::TileMode tmy) 55 SkShader::TileMode tmx, SkShader::TileMode tmy) 86 ARGB32_Bilinear_Sampler(const SkBitmap& bm, SkShader::TileMode tmx, SkShader::TileMode tmy) 134 RGB16_Bilinear_Sampler(const SkBitmap& bm, SkShader::TileMode tmx, SkShader::TileMode tmy) 188 Index8_Bilinear_Sampler(const SkBitmap& bm, SkShader::TileMode tmx, SkShader::TileMode tmy [all...] |
SkBitmapProcShader.cpp | 5 bool SkBitmapProcShader::CanDo(const SkBitmap& bm, TileMode tx, TileMode ty) { 20 TileMode tmx, TileMode tmy) { 48 TileMode xy[]) { 56 xy[0] = (TileMode)fState.fTileModeX; 57 xy[1] = (TileMode)fState.fTileModeY; 240 TileMode tmx, TileMode tmy,
|
/external/skia/include/effects/ |
SkGradientShader.h | 50 SkShader::TileMode mode, 72 SkShader::TileMode mode, 101 SkShader::TileMode mode,
|
/external/skia/include/core/ |
SkShader.h | 53 enum TileMode { 153 TileMode xy[2]); 165 TileMode tmx, TileMode tmy); 192 TileMode, TileMode,
|
/external/skia/src/animator/ |
SkDrawShader.cpp | 28 SK_MEMBER(tileMode, TileMode) 36 tileMode(SkShader::kClamp_TileMode) { 85 (SkShader::TileMode) tileMode, 86 (SkShader::TileMode) tileMode);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapShaderTest.java | 29 import android.graphics.Shader.TileMode; 45 args = {Bitmap.class, TileMode.class, TileMode.class} 55 BitmapShader shader = new BitmapShader(tile, Shader.TileMode.REPEAT, 56 Shader.TileMode.REPEAT);
|
ComposeShaderTest.java | 34 import android.graphics.Shader.TileMode; 52 Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP); 54 Color.GREEN, Color.RED, Shader.TileMode.CLAMP); 93 BitmapShader blueShader = new BitmapShader(greenBitmap, TileMode.CLAMP, TileMode.CLAMP); 94 BitmapShader redShader = new BitmapShader(cyanBitmap, TileMode.CLAMP, TileMode.CLAMP);
|
Shader_TileModeTest.java | 26 @TestTargetClass(Shader.TileMode.class)
|
ShaderTest.java | 58 Shader shader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
|
LinearGradientTest.java | 30 import android.graphics.Shader.TileMode; 41 android.graphics.Shader.TileMode.class} 47 android.graphics.Shader.TileMode.class} 56 lg = new LinearGradient(0, 0, 0, 40, color, position, TileMode.CLAMP); 72 lg = new LinearGradient(0, 0, 0, 40, Color.RED, Color.BLUE, TileMode.CLAMP);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
BitmapDrawable.java | 258 public Shader.TileMode getTileModeX() { 262 public Shader.TileMode getTileModeY() { 266 public void setTileModeX(Shader.TileMode mode) { 270 public final void setTileModeY(Shader.TileMode mode) { 274 public void setTileModeXY(Shader.TileMode xmode, Shader.TileMode ymode) { 301 Shader.TileMode tmx = state.mTileModeX; 302 Shader.TileMode tmy = state.mTileModeY; 308 tmx == null ? Shader.TileMode.CLAMP : tmx, 309 tmy == null ? Shader.TileMode.CLAMP : tmy) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Patterns.java | 76 mShader1 = new BitmapShader(makeBitmap1(), Shader.TileMode.REPEAT, 77 Shader.TileMode.REPEAT); 78 mShader2 = new BitmapShader(makeBitmap2(), Shader.TileMode.REPEAT, 79 Shader.TileMode.REPEAT);
|
/external/skia/src/views/ |
SkParsePaint.cpp | 27 SkShader::TileMode mode = SkShader::kClamp_TileMode; 31 mode = (SkShader::TileMode)index; 44 SkShader::TileMode mode = SkShader::kRepeat_TileMode; 48 mode = (SkShader::TileMode)index;
|
/external/webkit/WebCore/platform/graphics/android/ |
PatternAndroid.cpp | 39 static SkShader::TileMode toTileMode(bool doRepeat) {
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
BitmapDrawableTest.java | 39 import android.graphics.Shader.TileMode; 220 args = {android.graphics.Shader.TileMode.class} 225 args = {android.graphics.Shader.TileMode.class} 230 args = {android.graphics.Shader.TileMode.class, android.graphics.Shader.TileMode.class} 241 bitmapDrawable.setTileModeX(TileMode.CLAMP); 242 assertEquals(TileMode.CLAMP, bitmapDrawable.getTileModeX()); 249 bitmapDrawable.setTileModeY(TileMode.REPEAT); 250 assertEquals(TileMode.CLAMP, bitmapDrawable.getTileModeX()); 251 assertEquals(TileMode.REPEAT, bitmapDrawable.getTileModeY()) [all...] |
/external/webkit/WebCore/platform/graphics/skia/ |
PatternSkia.cpp | 77 SkShader::TileMode tileModeX = m_repeatX ? SkShader::kRepeat_TileMode : SkShader::kClamp_TileMode; 78 SkShader::TileMode tileModeY = m_repeatY ? SkShader::kRepeat_TileMode : SkShader::kClamp_TileMode;
|
/external/skia/gm/ |
gradients.cpp | 30 SkShader::TileMode tm, SkUnitMapper* mapper) { 36 SkShader::TileMode tm, SkUnitMapper* mapper) { 45 SkShader::TileMode tm, SkUnitMapper* mapper) { 54 SkShader::TileMode tm, SkUnitMapper* mapper); 83 SkShader::TileMode tm = SkShader::kClamp_TileMode;
|