/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GradientStopsActivity.java | 48 colors, positions, Shader.TileMode.CLAMP); in onDraw() 58 colors, positions, Shader.TileMode.CLAMP); in onDraw() 68 colors, positions, Shader.TileMode.CLAMP); in onDraw() 77 colors, null, Shader.TileMode.CLAMP); in onDraw() 85 colors, null, Shader.TileMode.REPEAT); in onDraw() 93 colors, null, Shader.TileMode.MIRROR); in onDraw() 101 colors, null, Shader.TileMode.CLAMP); in onDraw() 109 colors, null, Shader.TileMode.CLAMP); in onDraw() 117 colors, null, Shader.TileMode.CLAMP); in onDraw()
|
D | ShadersActivity.java | 68 mRepeatShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT, in ShadersView() 69 Shader.TileMode.REPEAT); in ShadersView() 71 mTranslatedShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT, in ShadersView() 72 Shader.TileMode.REPEAT); in ShadersView() 78 mScaledShader = new BitmapShader(mTexture, Shader.TileMode.MIRROR, in ShadersView() 79 Shader.TileMode.MIRROR); in ShadersView() 85 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); in ShadersView() 93 Color.BLUE, Color.MAGENTA, Shader.TileMode.CLAMP); in ShadersView() 96 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR); in ShadersView()
|
D | MoreShadersActivity.java | 71 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView() 72 Shader.TileMode.MIRROR); in ShadersView() 77 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView() 78 Shader.TileMode.MIRROR); in ShadersView() 84 Color.RED, 0x7f00ff00, Shader.TileMode.CLAMP); in ShadersView() 90 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR); in ShadersView()
|
D | AdvancedBlendActivity.java | 69 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView() 70 Shader.TileMode.MIRROR); in ShadersView() 75 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView() 76 Shader.TileMode.MIRROR); in ShadersView() 82 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP); in ShadersView()
|
D | GradientsActivity.java | 98 BitmapShader shader = new BitmapShader(texture, Shader.TileMode.REPEAT, in BitmapView() 99 Shader.TileMode.REPEAT); in BitmapView() 124 Shader.TileMode.CLAMP); in GradientView() 149 Shader.TileMode.MIRROR); in RadialGradientView() 205 mGradient = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP); in ShadersView() 207 new int[] { 0xFFFF0000, 0xFF00FF00, 0xFF0000FF }, null, Shader.TileMode.CLAMP); in ShadersView()
|
D | Alpha8BitmapActivity.java | 57 Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); in BitmapsView()
|
D | LinesActivity.java | 99 mShader = new BitmapShader(mBitmap1, BitmapShader.TileMode.MIRROR, in LinesView() 100 BitmapShader.TileMode.MIRROR); in LinesView()
|
D | PathsActivity.java | 82 mShader = new BitmapShader(mBitmap1, BitmapShader.TileMode.MIRROR, in PathsView() 83 BitmapShader.TileMode.MIRROR); in PathsView()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | ResourceModifiers.java | 72 mRepeatShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT, in ResourceModifiers() 73 Shader.TileMode.REPEAT); in ResourceModifiers() 75 mTranslatedShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT, in ResourceModifiers() 76 Shader.TileMode.REPEAT); in ResourceModifiers() 82 mScaledShader = new BitmapShader(mBitmap, Shader.TileMode.MIRROR, in ResourceModifiers() 83 Shader.TileMode.MIRROR); in ResourceModifiers() 89 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); in ResourceModifiers() 97 Color.BLUE, Color.RED, Shader.TileMode.CLAMP); in ResourceModifiers() 100 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR); in ResourceModifiers() 127 mBitmapColors, null, Shader.TileMode.REPEAT); in ResourceModifiers()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Shader_Delegate.java | 22 import android.graphics.Shader.TileMode; 61 public static TileMode getTileMode(int tileMode) { in getTileMode() 62 for (TileMode tm : TileMode.values()) { in getTileMode() 69 return TileMode.CLAMP; in getTileMode()
|
D | BitmapShader_Delegate.java | 24 import android.graphics.Shader.TileMode; 95 TileMode tileModeX, TileMode tileModeY) { in BitmapShader_Delegate() 101 private final TileMode mTileModeX; 102 private final TileMode mTileModeY; 105 TileMode tileModeX, TileMode tileModeY) { in BitmapShaderPaint() 207 private int getCoordinate(int i, int size, TileMode mode) { in getCoordinate()
|
D | Gradient_Delegate.java | 19 import android.graphics.Shader.TileMode; 81 private final TileMode mTileMode; 84 protected GradientPaint(int[] colors, float[] positions, TileMode tileMode) { in GradientPaint()
|
D | RadialGradient_Delegate.java | 24 import android.graphics.Shader.TileMode; 90 TileMode tile) { in RadialGradient_Delegate() 102 int[] colors, float[] positions, TileMode mode) { in RadialGradientPaint()
|
D | LinearGradient_Delegate.java | 24 import android.graphics.Shader.TileMode; 92 int colors[], float positions[], TileMode tile) { in LinearGradient_Delegate() 112 float positions[], TileMode tile) { in LinearGradientPaint()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapShader.java | 33 private TileMode mTileX; 34 private TileMode mTileY; 43 public BitmapShader(@NonNull Bitmap bitmap, TileMode tileX, TileMode tileY) { in BitmapShader()
|
D | LinearGradient.java | 39 private TileMode mTileMode; 53 TileMode tile) { in LinearGradient() 81 TileMode tile) { in LinearGradient()
|
D | RadialGradient.java | 41 private TileMode mTileMode; 55 @NonNull int colors[], @Nullable float stops[], @NonNull TileMode tileMode) { in RadialGradient() 84 int centerColor, int edgeColor, @NonNull TileMode tileMode) { in RadialGradient()
|
D | Shader.java | 42 public enum TileMode { enum in Shader 58 TileMode(int nativeInt) { in TileMode() method in Shader.TileMode
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | BitmapDrawable.java | 373 public Shader.TileMode getTileModeX() { in getTileModeX() 384 public Shader.TileMode getTileModeY() { in getTileModeY() 400 public void setTileModeX(Shader.TileMode mode) { in setTileModeX() 416 public final void setTileModeY(Shader.TileMode mode) { in setTileModeY() 432 public void setTileModeXY(Shader.TileMode xmode, Shader.TileMode ymode) { in setTileModeXY() 503 final Shader.TileMode tmx = state.mTileModeX; in draw() 504 final Shader.TileMode tmy = state.mTileModeY; in draw() 509 tmx == null ? Shader.TileMode.CLAMP : tmx, in draw() 510 tmy == null ? Shader.TileMode.CLAMP : tmy)); in draw() 801 final Shader.TileMode mode = parseTileMode(tileMode); in updateStateFromTypedArray() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | RectShadowPainter.java | 33 import android.graphics.Shader.TileMode; 62 new float[]{0f, radius / outerArcRadius, 1f}, TileMode.CLAMP)); in paintShadow() 64 TileMode.CLAMP)); in paintShadow() 90 colors, new float[]{0f, 1 / 3f, 1f}, TileMode.CLAMP)); in paintShadow()
|
/frameworks/base/core/jni/android/graphics/ |
D | Shader.cpp | 93 (SkShader::TileMode)tileModeX, in BitmapShader_constructor() 94 (SkShader::TileMode)tileModeY); in BitmapShader_constructor() 122 static_cast<SkShader::TileMode>(tileMode)); in LinearGradient_create1() 141 … SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, (SkShader::TileMode)tileMode); in LinearGradient_create2() 166 static_cast<SkShader::TileMode>(tileMode)); in RadialGradient_create1() 184 (SkShader::TileMode)tileMode); in RadialGradient_create2()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BitmapHelper.java | 44 paint.setShader(new BitmapShader(input, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP)); in createCircularClip()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | CircularBitmapDrawable.java | 29 import android.graphics.Shader.TileMode; 136 shader = new BitmapShader(bitmap, TileMode.CLAMP, TileMode.CLAMP); in onDrawCircularBitmap()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | CircularImageView.java | 98 BitmapShader shader = new BitmapShader(bitmap, Shader.TileMode.CLAMP, in drawBitmapWithCircleOnCanvas() 99 Shader.TileMode.CLAMP); in drawBitmapWithCircleOnCanvas()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | SetupWizardLayout.java | 23 import android.graphics.Shader.TileMode; 365 ((BitmapDrawable) backgroundTile).setTileModeXY(TileMode.REPEAT, TileMode.REPEAT); in setBackgroundTile() 383 ((BitmapDrawable) horizontalTile).setTileModeX(TileMode.REPEAT); in getIllustration()
|