/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()
|
/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/layoutlib/bridge/src/android/graphics/ |
D | Shader_Delegate.java | 22 import android.graphics.Shader.TileMode; 65 public static TileMode getTileMode(int tileMode) { in getTileMode() 66 for (TileMode tm : TileMode.values()) { in getTileMode() 73 return TileMode.CLAMP; in getTileMode()
|
D | BitmapShader_Delegate.java | 24 import android.graphics.Shader.TileMode; 97 TileMode tileModeX, TileMode tileModeY) { in BitmapShader_Delegate() 104 private final TileMode mTileModeX; 105 private final TileMode mTileModeY; 108 TileMode tileModeX, TileMode tileModeY) { in BitmapShaderPaint() 210 private int getCoordinate(int i, int size, TileMode mode) { in getCoordinate()
|
D | Gradient_Delegate.java | 19 import android.graphics.Shader.TileMode; 87 private final TileMode mTileMode; 90 protected GradientPaint(int[] colors, float[] positions, TileMode tileMode) { in GradientPaint()
|
D | RadialGradient_Delegate.java | 24 import android.graphics.Shader.TileMode; 87 long[] colors, float[] positions, TileMode tile) { in RadialGradient_Delegate() 99 int[] colors, float[] positions, TileMode mode) { in RadialGradientPaint()
|
D | LinearGradient_Delegate.java | 24 import android.graphics.Shader.TileMode; 87 float y1, long[] colors, float[] positions, TileMode tile) { in LinearGradient_Delegate() 107 float[] positions, TileMode tile) { in LinearGradientPaint()
|
/frameworks/base/graphics/java/android/graphics/ |
D | RadialGradient.java | 35 private TileMode mTileMode; 66 @NonNull TileMode tileMode) { in RadialGradient() 90 @NonNull TileMode tileMode) { in RadialGradient() 100 @NonNull TileMode tileMode, ColorSpace colorSpace) { in RadialGradient() 128 @ColorInt int centerColor, @ColorInt int edgeColor, @NonNull TileMode tileMode) { in RadialGradient() 146 @ColorLong long centerColor, @ColorLong long edgeColor, @NonNull TileMode tileMode) { in RadialGradient()
|
D | LinearGradient.java | 38 private TileMode mTileMode; 69 @Nullable float[] positions, @NonNull TileMode tile) { in LinearGradient() 92 @Nullable float[] positions, @NonNull TileMode tile) { in LinearGradient() 101 @NonNull @ColorLong long[] colors, @Nullable float[] positions, @NonNull TileMode tile, in LinearGradient() 130 @NonNull TileMode tile) { in LinearGradient() 150 @NonNull TileMode tile) { in LinearGradient()
|
D | BitmapShader.java | 47 public BitmapShader(@NonNull Bitmap bitmap, @NonNull TileMode tileX, @NonNull TileMode tileY) { in BitmapShader()
|
D | Shader.java | 85 public enum TileMode { enum in Shader 101 TileMode(int nativeInt) { in TileMode() method in Shader.TileMode
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | BitmapShaders.cpp | 49 image->makeShader(SkShader::TileMode::kRepeat_TileMode, in createContent() 50 SkShader::TileMode::kRepeat_TileMode, nullptr); in createContent() 55 image->makeShader(SkShader::TileMode::kMirror_TileMode, in createContent() 56 SkShader::TileMode::kMirror_TileMode, nullptr); in createContent()
|
D | HwBitmapInCompositeShader.cpp | 63 center, 50, colors, nullptr, 2, SkShader::TileMode::kRepeat_TileMode); in createContent() 77 return image->makeShader(SkShader::TileMode::kClamp_TileMode, in createBitmapShader() 78 SkShader::TileMode::kClamp_TileMode); in createBitmapShader()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | BitmapDrawable.java | 394 public Shader.TileMode getTileModeX() { in getTileModeX() 405 public Shader.TileMode getTileModeY() { in getTileModeY() 421 public void setTileModeX(Shader.TileMode mode) { in setTileModeX() 437 public final void setTileModeY(Shader.TileMode mode) { in setTileModeY() 453 public void setTileModeXY(Shader.TileMode xmode, Shader.TileMode ymode) { in setTileModeXY() 507 final Shader.TileMode tmx = state.mTileModeX; in draw() 508 final Shader.TileMode tmy = state.mTileModeY; in draw() 513 tmx == null ? Shader.TileMode.CLAMP : tmx, in draw() 514 tmy == null ? Shader.TileMode.CLAMP : tmy)); in draw() 889 final Shader.TileMode mode = parseTileMode(tileMode); in updateStateFromTypedArray() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | MinimizedDockShadow.java | 67 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP)); in updatePaint() 72 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP)); in updatePaint() 77 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP)); in updatePaint()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | RectShadowPainter.java | 36 import android.graphics.Shader.TileMode; 88 new float[]{0f, radius / outerArcRadius, 1f}, TileMode.CLAMP)); in paintShadow() 90 TileMode.CLAMP)); in paintShadow() 116 colors, new float[]{0f, 1 / 3f, 1f}, TileMode.CLAMP)); in paintShadow()
|
/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/base/core/jni/android/graphics/ |
D | Shader.cpp | 80 (SkShader::TileMode)tileModeX, (SkShader::TileMode)tileModeY); in BitmapShader_constructor() 125 static_cast<SkShader::TileMode>(tileMode), sGradientShaderFlags, nullptr)); in LinearGradient_create() 155 static_cast<SkShader::TileMode>(tileMode), sGradientShaderFlags, nullptr); in RadialGradient_create()
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
D | FrameSequenceDrawable.java | 280 = new BitmapShader(mFrontBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); in FrameSequenceDrawable() 282 = new BitmapShader(mBackBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); in FrameSequenceDrawable()
|
/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()
|