Home
last modified time | relevance | path

Searched refs:TileMode (Results 1 – 25 of 53) sorted by relevance

123

/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGradientStopsActivity.java48 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()
H A DShadersActivity.java68 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()
H A DMoreShadersActivity.java71 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()
H A DAdvancedBlendActivity.java69 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()
H A DBitmapTransitionView.kt42 private val mShaderA = BitmapShader(mImageA, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP)
43 private val mShaderB = BitmapShader(mImageB, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP)
H A DGradientsActivity.java98 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()
H A DRenderEffectViewActivity.kt57 Shader.TileMode.CLAMP, Shader.TileMode.CLAMP)
75 val blurEffect = RenderEffect.createBlurEffect(10f, 10f, Shader.TileMode.CLAMP)
H A DBlurActivity.java68 Shader.TileMode.DECAL in BlurGradientView()
83 Shader.TileMode.CLAMP in onLayout()
127 Shader.TileMode.DECAL in BlurView()
H A DAlpha8BitmapActivity.java57 Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); in BitmapsView()
H A DLinesActivity.java99 mShader = new BitmapShader(mBitmap1, BitmapShader.TileMode.MIRROR, in LinesView()
100 BitmapShader.TileMode.MIRROR); in LinesView()
H A DPathsActivity.java82 mShader = new BitmapShader(mBitmap1, BitmapShader.TileMode.MIRROR, in PathsView()
83 BitmapShader.TileMode.MIRROR); in PathsView()
H A DBigGradientActivity.java45 0xff333333, Shader.TileMode.CLAMP)); in onDraw()
H A DColorFiltersMutateActivity.java89 Shader.TileMode.CLAMP, in BitmapsView()
90 Shader.TileMode.CLAMP)); in BitmapsView()
H A DAdvancedGradientsActivity.java52 Shader.TileMode.MIRROR); in GradientsView()
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DRadialGradient.java37 private TileMode mTileMode;
72 @NonNull TileMode tileMode) { in RadialGradient()
96 @NonNull TileMode tileMode) { in RadialGradient()
141 @NonNull TileMode tileMode) { in RadialGradient()
152 @NonNull TileMode tileMode, ColorSpace colorSpace in RadialGradient()
190 @ColorInt int centerColor, @ColorInt int edgeColor, @NonNull TileMode tileMode) { in RadialGradient()
208 @ColorLong long centerColor, @ColorLong long edgeColor, @NonNull TileMode tileMode) { in RadialGradient()
H A DLinearGradient.java39 private TileMode mTileMode;
70 @Nullable float[] positions, @NonNull TileMode tile) { in LinearGradient()
93 @Nullable float[] positions, @NonNull TileMode tile) { in LinearGradient()
102 @NonNull @ColorLong long[] colors, @Nullable float[] positions, @NonNull TileMode tile, in LinearGradient()
131 @NonNull TileMode tile) { in LinearGradient()
151 @NonNull TileMode tile) { in LinearGradient()
H A DRenderEffect.java21 import android.graphics.Shader.TileMode;
89 @NonNull TileMode edgeTreatment in createBlurEffect()
114 @NonNull TileMode edgeTreatment in createBlurEffect()
H A DBitmapShader.java115 public BitmapShader(@NonNull Bitmap bitmap, @NonNull TileMode tileX, @NonNull TileMode tileY) { in BitmapShader()
H A DShader.java84 public enum TileMode { enum in Shader
105 TileMode(int nativeInt) { in TileMode() method in Shader.TileMode
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java395 public Shader.TileMode getTileModeX() { in getTileModeX()
406 public Shader.TileMode getTileModeY() { in getTileModeY()
422 public void setTileModeX(Shader.TileMode mode) { in setTileModeX()
454 public void setTileModeXY(Shader.TileMode xmode, Shader.TileMode ymode) { in setTileModeXY()
508 final Shader.TileMode tmx = state.mTileModeX; in draw()
509 final Shader.TileMode tmy = state.mTileModeY; in draw()
936 return Shader.TileMode.CLAMP; in parseTileMode()
938 return Shader.TileMode.REPEAT; in parseTileMode()
940 return Shader.TileMode.MIRROR; in parseTileMode()
989 Shader.TileMode mTileModeX = null;
[all …]
/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/
H A DRadialGlow.kt39 glow = RadialGradient(0f, 0f, 100.dp(), glowColor, bgColor, Shader.TileMode.CLAMP)
50 min(w, h).toFloat(), glowColor, bgColor, Shader.TileMode.CLAMP)
/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/materials/
H A DGlassView.kt155 RenderEffect.createBlurEffect(value, value, Shader.TileMode.CLAMP))
171 noisePaint.shader = BitmapShader(noise, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT)
/aosp14/frameworks/base/core/java/android/content/res/
H A DGradientColor.java168 private static Shader.TileMode parseTileMode(@GradientTileMode int tileMode) { in parseTileMode()
171 return Shader.TileMode.CLAMP; in parseTileMode()
173 return Shader.TileMode.REPEAT; in parseTileMode()
175 return Shader.TileMode.MIRROR; in parseTileMode()
177 return Shader.TileMode.CLAMP; in parseTileMode()
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/
H A DPaintNativeInstanceTest.kt59 Shader.TileMode.MIRROR)
61 Shader.TileMode.MIRROR)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
H A DMediaProjectionTaskView.kt128 BitmapShader(thumbnailBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP)

123