Home
last modified time | relevance | path

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

123

/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
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()
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()
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()
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()
DBitmapTransitionView.kt42 private val mShaderA = BitmapShader(mImageA, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP) in <lambda>()
43 private val mShaderB = BitmapShader(mImageB, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP) in <lambda>()
DRenderEffectViewActivity.kt57 Shader.TileMode.CLAMP, Shader.TileMode.CLAMP) in <lambda>()
75 val blurEffect = RenderEffect.createBlurEffect(10f, 10f, Shader.TileMode.CLAMP) in <lambda>()
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()
DBlurActivity.java68 Shader.TileMode.DECAL in BlurGradientView()
83 Shader.TileMode.CLAMP in onLayout()
127 Shader.TileMode.DECAL in BlurView()
DAlpha8BitmapActivity.java57 Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); in BitmapsView()
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/snow/
DSnowEffect.kt51 frameBuffer.setRenderEffect(RenderEffect.createBlurEffect(4f, 4f, Shader.TileMode.CLAMP)) in <lambda>()
148 BitmapShader(snowConfig.foreground, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR) in <lambda>()
153 BitmapShader(snowConfig.background, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR) in <lambda>()
158 BitmapShader(snowConfig.noiseTexture, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT) in <lambda>()
167 BitmapShader(it, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR) in <lambda>()
180 BitmapShader(snowConfig.foreground, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR) in <lambda>()
189 BitmapShader(image, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR) in <lambda>()
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/fog/
DFogEffect.kt140 BitmapShader(fogConfig.foreground, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR) in updateTextureUniforms()
145 BitmapShader(fogConfig.background, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR) in updateTextureUniforms()
150 BitmapShader(fogConfig.cloudsTexture, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT) in updateTextureUniforms()
161 BitmapShader(fogConfig.fogTexture, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT) in updateTextureUniforms()
178 BitmapShader(it, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR) in prepareColorGrading()
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/rain/
DRainEffect.kt48 setRenderEffect(RenderEffect.createBlurEffect(2f, 2f, Shader.TileMode.CLAMP)) in <lambda>()
155 BitmapShader(rainConfig.foreground, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR) in <lambda>()
161 BitmapShader(rainConfig.background, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR) in <lambda>()
174 BitmapShader(buffer, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR) in <lambda>()
188 BitmapShader(it, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR) in <lambda>()
/frameworks/base/graphics/java/android/graphics/
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()
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()
DRenderEffect.java21 import android.graphics.Shader.TileMode;
89 @NonNull TileMode edgeTreatment in createBlurEffect()
114 @NonNull TileMode edgeTreatment in createBlurEffect()
DShader.java84 public enum TileMode { enum in Shader
105 TileMode(int nativeInt) { in TileMode() method in Shader.TileMode
DBitmapShader.java120 public BitmapShader(@NonNull Bitmap bitmap, @NonNull TileMode tileX, @NonNull TileMode tileY) { in BitmapShader()
/frameworks/base/graphics/java/android/graphics/drawable/
DBitmapDrawable.java402 public Shader.TileMode getTileModeX() { in getTileModeX()
413 public Shader.TileMode getTileModeY() { in getTileModeY()
429 public void setTileModeX(Shader.TileMode mode) { in setTileModeX()
445 public final void setTileModeY(Shader.TileMode mode) { in setTileModeY()
461 public void setTileModeXY(Shader.TileMode xmode, Shader.TileMode ymode) { in setTileModeXY()
515 final Shader.TileMode tmx = state.mTileModeX; in draw()
516 final Shader.TileMode tmy = state.mTileModeY; in draw()
521 tmx == null ? Shader.TileMode.CLAMP : tmx, in draw()
522 tmy == null ? Shader.TileMode.CLAMP : tmy)); in draw()
896 final Shader.TileMode mode = parseTileMode(tileMode); in updateStateFromTypedArray()
[all …]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DCircularBitmapDrawable.java29 import android.graphics.Shader.TileMode;
136 shader = new BitmapShader(bitmap, TileMode.CLAMP, TileMode.CLAMP); in onDrawCircularBitmap()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DRadialGlow.kt39 glow = RadialGradient(0f, 0f, 100.dp(), glowColor, bgColor, Shader.TileMode.CLAMP)
50 min(w, h).toFloat(), glowColor, bgColor, Shader.TileMode.CLAMP) in onSizeChanged()
/frameworks/opt/chips/src/com/android/ex/chips/
DCircularImageView.java98 BitmapShader shader = new BitmapShader(bitmap, Shader.TileMode.CLAMP, in drawBitmapWithCircleOnCanvas()
99 Shader.TileMode.CLAMP); in drawBitmapWithCircleOnCanvas()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/
DGlassView.kt155 RenderEffect.createBlurEffect(value, value, Shader.TileMode.CLAMP))
171 noisePaint.shader = BitmapShader(noise, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT)
/frameworks/base/core/java/android/content/res/
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()
/frameworks/base/core/java/com/android/internal/widget/
DNotificationRowIconView.java117 new BitmapShader(squared, BitmapShader.TileMode.CLAMP, in makeCircularDrawable()
118 BitmapShader.TileMode.CLAMP)); in makeCircularDrawable()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardLayout.java24 import android.graphics.Shader.TileMode;
317 ((BitmapDrawable) backgroundTile).setTileModeXY(TileMode.REPEAT, TileMode.REPEAT); in setBackgroundTile()
335 ((BitmapDrawable) horizontalTile).setTileModeX(TileMode.REPEAT); in getIllustration()

123