/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; 64 public static TileMode getTileMode(int tileMode) { in getTileMode() 65 for (TileMode tm : TileMode.values()) { in getTileMode() 72 return TileMode.CLAMP; in getTileMode()
|
D | BitmapShader_Delegate.java | 24 import android.graphics.Shader.TileMode; 95 TileMode tileModeX, TileMode tileModeY) { in BitmapShader_Delegate() 102 private final TileMode mTileModeX; 103 private final TileMode mTileModeY; 106 TileMode tileModeX, TileMode tileModeY) { in BitmapShaderPaint() 208 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; 91 int colors[], float positions[], TileMode tile) { in RadialGradient_Delegate() 103 int[] colors, float[] positions, TileMode mode) { in RadialGradientPaint()
|
D | LinearGradient_Delegate.java | 24 import android.graphics.Shader.TileMode; 92 float y1, int colors[], float positions[], TileMode tile) { in LinearGradient_Delegate() 112 float positions[], TileMode tile) { in LinearGradientPaint()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | BitmapShaders.cpp | 51 SkShader::TileMode::kRepeat_TileMode, in createContent() 52 SkShader::TileMode::kRepeat_TileMode, in createContent() 58 SkShader::TileMode::kMirror_TileMode, in createContent() 59 SkShader::TileMode::kMirror_TileMode, in createContent()
|
D | HwBitmapInCompositeShader.cpp | 65 2, SkShader::TileMode::kRepeat_TileMode); in createContent() 79 return image->makeShader(SkShader::TileMode::kClamp_TileMode, in createBitmapShader() 80 SkShader::TileMode::kClamp_TileMode); in createBitmapShader()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | BitmapDrawable.java | 375 public Shader.TileMode getTileModeX() { in getTileModeX() 386 public Shader.TileMode getTileModeY() { in getTileModeY() 402 public void setTileModeX(Shader.TileMode mode) { in setTileModeX() 418 public final void setTileModeY(Shader.TileMode mode) { in setTileModeY() 434 public void setTileModeXY(Shader.TileMode xmode, Shader.TileMode ymode) { in setTileModeXY() 488 final Shader.TileMode tmx = state.mTileModeX; in draw() 489 final Shader.TileMode tmy = state.mTileModeY; in draw() 494 tmx == null ? Shader.TileMode.CLAMP : tmx, in draw() 495 tmy == null ? Shader.TileMode.CLAMP : tmy)); in draw() 858 final Shader.TileMode mode = parseTileMode(tileMode); in updateStateFromTypedArray() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | RadialGradient.java | 42 private TileMode mTileMode; 59 @NonNull TileMode tileMode) { in RadialGradient() 89 @ColorInt int centerColor, @ColorInt int edgeColor, @NonNull TileMode tileMode) { in RadialGradient()
|
D | LinearGradient.java | 43 private TileMode mTileMode; 59 @Nullable float positions[], @NonNull TileMode tile) { in LinearGradient() 89 @NonNull TileMode tile) { in LinearGradient()
|
D | BitmapShader.java | 43 public BitmapShader(@NonNull Bitmap bitmap, @NonNull TileMode tileX, @NonNull TileMode tileY) { in BitmapShader()
|
D | Shader.java | 56 public enum TileMode { enum in Shader 72 TileMode(int nativeInt) { in TileMode() method in Shader.TileMode
|
/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 | 34 import android.graphics.Shader.TileMode; 78 new float[]{0f, radius / outerArcRadius, 1f}, TileMode.CLAMP)); in paintShadow() 80 TileMode.CLAMP)); in paintShadow() 106 colors, new float[]{0f, 1 / 3f, 1f}, TileMode.CLAMP)); in paintShadow()
|
/frameworks/base/core/jni/android/graphics/ |
D | Shader.cpp | 78 (SkShader::TileMode)tileModeX, (SkShader::TileMode)tileModeY); in BitmapShader_constructor() 113 static_cast<SkShader::TileMode>(tileMode), sGradientShaderFlags, NULL)); in LinearGradient_create1() 140 static_cast<SkShader::TileMode>(tileMode), sGradientShaderFlags, NULL)); in LinearGradient_create2() 173 static_cast<SkShader::TileMode>(tileMode), sGradientShaderFlags, NULL); in RadialGradient_create1() 200 static_cast<SkShader::TileMode>(tileMode), sGradientShaderFlags, NULL); in RadialGradient_create2()
|
/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/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/data/ |
D | VideoProvider.java | 28 import android.graphics.Shader.TileMode; 118 COLORS.get(1), TileMode.CLAMP); in makeIcon() 129 COLORS.get(2), COLORS.get(3), TileMode.CLAMP); in makeIcon()
|
/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()
|