Searched refs:BitmapShader (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DBitmapShader.java25 public class BitmapShader extends Shader { class in inherits:Shader
43 public BitmapShader(@NonNull Bitmap bitmap, TileMode tileX, TileMode tileY) { method in class:BitmapShader
55 final BitmapShader copy = new BitmapShader(mBitmap, mTileX, mTileY);
/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,
71 mTranslatedShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT,
78 mScaledShader = new BitmapShader(mTexture, Shader.TileMode.MIRROR,
H A DAdvancedBlendActivity.java23 import android.graphics.BitmapShader;
45 private BitmapShader mScaledShader;
58 private BitmapShader mScaled2Shader;
69 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR,
75 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR,
H A DAlpha8BitmapActivity.java23 import android.graphics.BitmapShader;
56 BitmapShader shader = new BitmapShader(texture,
H A DLinesActivity.java24 import android.graphics.BitmapShader;
62 private final BitmapShader mShader;
99 mShader = new BitmapShader(mBitmap1, BitmapShader.TileMode.MIRROR,
100 BitmapShader.TileMode.MIRROR);
H A DMoreShadersActivity.java23 import android.graphics.BitmapShader;
47 private BitmapShader mScaledShader;
58 private BitmapShader mScaled2Shader;
71 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR,
77 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR,
H A DPathsActivity.java23 import android.graphics.BitmapShader;
45 private final BitmapShader mShader;
82 mShader = new BitmapShader(mBitmap1, BitmapShader.TileMode.MIRROR,
83 BitmapShader.TileMode.MIRROR);
H A DGradientsActivity.java23 import android.graphics.BitmapShader;
98 BitmapShader shader = new BitmapShader(texture, Shader.TileMode.REPEAT,
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A 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,
75 mTranslatedShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT,
82 mScaledShader = new BitmapShader(mBitmap, Shader.TileMode.MIRROR,
/frameworks/opt/chips/src/com/android/ex/chips/
H A DCircularImageView.java5 import android.graphics.BitmapShader;
98 BitmapShader shader = new BitmapShader(bitmap, Shader.TileMode.CLAMP,
H A DRecipientEditTextView.java33 import android.graphics.BitmapShader;
1131 final BitmapShader shader = new BitmapShader(icon, TileMode.CLAMP, TileMode.CLAMP);
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DCircularBitmapDrawable.java21 import android.graphics.BitmapShader;
120 * BitmapShader.
129 * BitmapShader. The alpha parameter is the value from 0f to 1f to attenuate the alpha by.
134 BitmapShader shader = (BitmapShader) mBitmapPaint.getShader();
136 shader = new BitmapShader(bitmap, TileMode.CLAMP, TileMode.CLAMP);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatProgressBarHelper.java20 import android.graphics.BitmapShader;
104 final BitmapShader bitmapShader = new BitmapShader(tileBitmap,
118 * given a tiling BitmapShader.
/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequenceDrawable.java20 import android.graphics.BitmapShader;
131 private BitmapShader mFrontBitmapShader;
132 private BitmapShader mBackBitmapShader;
248 = new BitmapShader(mFrontBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
250 = new BitmapShader(mBackBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
263 * Masking is done with BitmapShader, incurring minimal additional draw cost.
345 BitmapShader tmpShader = mBackBitmapShader;
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawable.java20 import android.graphics.BitmapShader;
50 private final BitmapShader mBitmapShader;
383 mBitmapShader = new BitmapShader(mBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewThumbnail.java24 import android.graphics.BitmapShader;
79 protected BitmapShader mBitmapShader;
179 mBitmapShader = new BitmapShader(bm, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleDrawable.java32 import android.graphics.BitmapShader;
132 private BitmapShader mMaskShader;
771 mMaskShader = new BitmapShader(mMaskBuffer,
H A DBitmapDrawable.java27 import android.graphics.BitmapShader;
492 paint.setShader(new BitmapShader(bitmap,
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DUserIconDrawable.java24 import android.graphics.BitmapShader;
122 mIconPaint.setShader(new BitmapShader(icon, Shader.TileMode.CLAMP,
/frameworks/base/
H A Dcompiled-classes-phone1186 android.graphics.BitmapShader

Completed in 2931 milliseconds