Home
last modified time | relevance | path

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

12

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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()
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()
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()
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()
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()
DAlpha8BitmapActivity.java23 import android.graphics.BitmapShader;
56 BitmapShader shader = new BitmapShader(texture, in BitmapsView()
DGradientsActivity.java23 import android.graphics.BitmapShader;
98 BitmapShader shader = new BitmapShader(texture, Shader.TileMode.REPEAT, in BitmapView()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DResourceModifiers.java24 import android.graphics.BitmapShader;
35 public final BitmapShader mRepeatShader;
36 public final BitmapShader mTranslatedShader;
37 public final BitmapShader mScaledShader;
72 mRepeatShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT, in ResourceModifiers()
75 mTranslatedShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT, in ResourceModifiers()
82 mScaledShader = new BitmapShader(mBitmap, Shader.TileMode.MIRROR, in ResourceModifiers()
/frameworks/base/graphics/java/android/graphics/
DBitmapShader.java26 public class BitmapShader extends Shader { class
47 public BitmapShader(@NonNull Bitmap bitmap, @NonNull TileMode tileX, @NonNull TileMode tileY) { in BitmapShader() method in BitmapShader
51 private BitmapShader(Bitmap bitmap, int tileX, int tileY) { in BitmapShader() method in BitmapShader
DBaseCanvas.java654 if (shader instanceof BitmapShader) { in throwIfHasHwBitmapInSwMode()
655 throwIfHwBitmapInSwMode(((BitmapShader) shader).mBitmap); in throwIfHasHwBitmapInSwMode()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DCircularBitmapDrawable.java21 import android.graphics.BitmapShader;
134 BitmapShader shader = (BitmapShader) mBitmapPaint.getShader(); in onDrawCircularBitmap()
136 shader = new BitmapShader(bitmap, TileMode.CLAMP, TileMode.CLAMP); in onDrawCircularBitmap()
/frameworks/ex/framesequence/src/android/support/rastermill/
DFrameSequenceDrawable.java20 import android.graphics.BitmapShader;
148 private BitmapShader mFrontBitmapShader;
149 private BitmapShader mBackBitmapShader;
280 = new BitmapShader(mFrontBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); in FrameSequenceDrawable()
282 = new BitmapShader(mBackBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); in FrameSequenceDrawable()
384 BitmapShader tmpShader = mBackBitmapShader; in draw()
/frameworks/opt/chips/src/com/android/ex/chips/
DCircularImageView.java5 import android.graphics.BitmapShader;
98 BitmapShader shader = new BitmapShader(bitmap, Shader.TileMode.CLAMP, in drawBitmapWithCircleOnCanvas()
DRecipientEditTextView.java33 import android.graphics.BitmapShader;
1134 final BitmapShader shader = new BitmapShader(icon, TileMode.CLAMP, TileMode.CLAMP); in setWorkPaintForIcon()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewThumbnail.java23 import android.graphics.BitmapShader;
81 protected BitmapShader mBitmapShader;
186 mBitmapShader = new BitmapShader(bm, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); in setThumbnail()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java27 import android.graphics.BitmapShader;
314 BitmapShader mShader;
349 mShader = new BitmapShader(mTile, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); in BackslashDrawable()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java26 import android.graphics.BitmapShader;
134 mIconPaint.setShader(new BitmapShader(icon, Shader.TileMode.CLAMP, in setIcon()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleDrawable.java28 import android.graphics.BitmapShader;
134 private BitmapShader mMaskShader;
757 mMaskShader = new BitmapShader(mMaskBuffer, in updateMaskShaderIfNeeded()
DBitmapDrawable.java27 import android.graphics.BitmapShader;
512 paint.setShader(new BitmapShader(bitmap, in draw()
DAdaptiveIconDrawable.java29 import android.graphics.BitmapShader;
369 mLayersShader = new BitmapShader(mLayersBitmap, TileMode.CLAMP, TileMode.CLAMP); in draw()
/frameworks/base/config/
Dpreloaded-classes1152 android.graphics.BitmapShader
Dboot-image-profile.txt5512 HSPLandroid/graphics/BitmapShader;-><init>(Landroid/graphics/Bitmap;II)V
5513 HSPLandroid/graphics/BitmapShader;-><init>(Landroid/graphics/Bitmap;Landroid/graphics/Shader$TileMo…
5514 HSPLandroid/graphics/BitmapShader;->createNativeInstance(J)J
33314 Landroid/graphics/BitmapShader;
Dhiddenapi-greylist-max-o.txt19117 Landroid/graphics/BitmapShader;-><init>(Landroid/graphics/Bitmap;II)V
19118 Landroid/graphics/BitmapShader;->copy()Landroid/graphics/Shader;
19119 Landroid/graphics/BitmapShader;->createNativeInstance(J)J
19120 Landroid/graphics/BitmapShader;->nativeCreate(JLandroid/graphics/Bitmap;II)J
20161 Landroid/graphics/drawable/RippleDrawable;->mMaskShader:Landroid/graphics/BitmapShader;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10550 public class BitmapShader extends android.graphics.Shader {
10551 …ctor public BitmapShader(android.graphics.Bitmap, android.graphics.Shader.TileMode, android.graphi…
/frameworks/base/non-updatable-api/
Dcurrent.txt13724 public class BitmapShader extends android.graphics.Shader {
13725 …ctor public BitmapShader(@NonNull android.graphics.Bitmap, @NonNull android.graphics.Shader.TileMo…

12