Home
last modified time | relevance | path

Searched refs:BitmapShader (Results 1 – 25 of 30) sorted by relevance

12

/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DShadersActivity.java23 import android.graphics.BitmapShader;
43 private BitmapShader mRepeatShader;
44 private BitmapShader mTranslatedShader;
45 private BitmapShader mScaledShader;
68 mRepeatShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT, in ShadersView()
71 mTranslatedShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT, in ShadersView()
78 mScaledShader = new BitmapShader(mTexture, Shader.TileMode.MIRROR, in ShadersView()
H A DAdvancedBlendActivity.java23 import android.graphics.BitmapShader;
45 private BitmapShader mScaledShader;
58 private BitmapShader mScaled2Shader;
69 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView()
75 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView()
H A DLinesActivity.java24 import android.graphics.BitmapShader;
62 private final BitmapShader mShader;
99 mShader = new BitmapShader(mBitmap1, BitmapShader.TileMode.MIRROR, in LinesView()
100 BitmapShader.TileMode.MIRROR); in LinesView()
H A DPathsActivity.java23 import android.graphics.BitmapShader;
45 private final BitmapShader mShader;
82 mShader = new BitmapShader(mBitmap1, BitmapShader.TileMode.MIRROR, in PathsView()
83 BitmapShader.TileMode.MIRROR); in PathsView()
H A DMoreShadersActivity.java23 import android.graphics.BitmapShader;
47 private BitmapShader mScaledShader;
58 private BitmapShader mScaled2Shader;
71 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView()
77 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView()
H A DRenderEffectViewActivity.kt22 import android.graphics.BitmapShader
37 private lateinit var mScratchesShader: BitmapShader
56 mScratchesShader = BitmapShader(mScratchesImage,
H A DBitmapTransitionView.kt21 import android.graphics.BitmapShader
42 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 DAlpha8BitmapActivity.java23 import android.graphics.BitmapShader;
56 BitmapShader shader = new BitmapShader(texture, in BitmapsView()
H A DGradientsActivity.java23 import android.graphics.BitmapShader;
98 BitmapShader shader = new BitmapShader(texture, Shader.TileMode.REPEAT, in BitmapView()
H A DStretchShaderActivity.java22 import android.graphics.BitmapShader;
74 BitmapShader bitmapShader = new BitmapShader(mBitmap, Shader.TileMode.CLAMP, in onCreate()
H A DColorFiltersMutateActivity.java25 import android.graphics.BitmapShader;
88 mRuntimeShader.setInputShader("bitmapShader", new BitmapShader(mBitmap1, in BitmapsView()
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DBitmapShader.java30 public class BitmapShader extends Shader { class
115 public BitmapShader(@NonNull Bitmap bitmap, @NonNull TileMode tileX, @NonNull TileMode tileY) { in BitmapShader() method in BitmapShader
119 private BitmapShader(Bitmap bitmap, int tileX, int tileY) { in BitmapShader() method in BitmapShader
H A DRuntimeShader.java514 public void setInputBuffer(@NonNull String shaderName, @NonNull BitmapShader shader) { in setInputBuffer()
H A DBaseCanvas.java742 if (shader instanceof BitmapShader) { in throwIfHasHwFeaturesInSwMode()
743 throwIfHwBitmapInSwMode(((BitmapShader) shader).mBitmap); in throwIfHasHwFeaturesInSwMode()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
H A DMediaProjectionTaskView.kt20 import android.graphics.BitmapShader
71 private var bitmapShader: BitmapShader? = null
128 BitmapShader(thumbnailBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP)
/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/materials/
H A DGlassView.kt21 import android.graphics.BitmapShader
171 noisePaint.shader = BitmapShader(noise, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
H A DTransitionAnimationHelper.java38 import android.graphics.BitmapShader;
361 final BitmapShader shader = new BitmapShader(edgeBuffer.asBitmap(), in createExtensionSurface()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DSurfaceAnimationRunner.java30 import android.graphics.BitmapShader;
466 BitmapShader shader = new BitmapShader(edgeBuffer.asBitmap(), in doCreateExtensionSurface()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DUserSwitchingDialog.java28 import android.graphics.BitmapShader;
156 paint.setShader(new BitmapShader(bmp, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP)); in getUserIconRounded()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DUserIconDrawable.java30 import android.graphics.BitmapShader;
158 mIconPaint.setShader(new BitmapShader(icon, Shader.TileMode.CLAMP, in setIcon()
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleDrawable.java38 import android.graphics.BitmapShader;
185 private BitmapShader mMaskShader;
1094 mMaskShader = new BitmapShader(mMaskBuffer, in updateMaskShaderIfNeeded()
H A DBitmapDrawable.java28 import android.graphics.BitmapShader;
513 paint.setShader(new BitmapShader(bitmap, in draw()
H A DAdaptiveIconDrawable.java30 import android.graphics.BitmapShader;
396 mLayersShader = new BitmapShader(mLayersBitmap, TileMode.CLAMP, TileMode.CLAMP); in draw()
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt6136 HSPLandroid/graphics/BitmapShader;-><init>(Landroid/graphics/Bitmap;II)V
6137 HSPLandroid/graphics/BitmapShader;-><init>(Landroid/graphics/Bitmap;Landroid/graphics/Shader$TileMo…
6138 HSPLandroid/graphics/BitmapShader;->createNativeInstance(JZ)J
6139 HSPLandroid/graphics/BitmapShader;->shouldDiscardNativeInstance(Z)Z
6507 …rGradient;,Landroid/graphics/drawable/RippleShader;,Landroid/graphics/BitmapShader;,Landroid/graph…
7664 …raphics/Rect;Landroid/graphics/Rect;]Landroid/graphics/BitmapShader;Landroid/graphics/BitmapShader
24792 Landroid/graphics/BitmapShader;
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt6139 HSPLandroid/graphics/BitmapShader;-><init>(Landroid/graphics/Bitmap;II)V
6140 HSPLandroid/graphics/BitmapShader;-><init>(Landroid/graphics/Bitmap;Landroid/graphics/Shader$TileMo…
6141 HSPLandroid/graphics/BitmapShader;->createNativeInstance(JZ)J
6142 HSPLandroid/graphics/BitmapShader;->shouldDiscardNativeInstance(Z)Z
6510 …rGradient;,Landroid/graphics/drawable/RippleShader;,Landroid/graphics/BitmapShader;,Landroid/graph…
7667 …raphics/Rect;Landroid/graphics/Rect;]Landroid/graphics/BitmapShader;Landroid/graphics/BitmapShader
34899 Landroid/graphics/BitmapShader;

12