/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapShader.java | 25 public class BitmapShader extends Shader { class in inherits:Shader 43 public BitmapShader(@NonNull Bitmap bitmap, @NonNull TileMode tileX, @NonNull TileMode tileY) { method in class:BitmapShader 47 private BitmapShader(Bitmap bitmap, int tileX, int tileY) { method in class:BitmapShader 69 final BitmapShader copy = new BitmapShader(mBitmap, mTileX, mTileY);
|
H A D | BaseCanvas.java | 547 if (shader instanceof BitmapShader) { 548 throwIfHwBitmapInSwMode(((BitmapShader) shader).mBitmap);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ShadersActivity.java | 23 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 D | AdvancedBlendActivity.java | 23 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 D | Alpha8BitmapActivity.java | 23 import android.graphics.BitmapShader; 56 BitmapShader shader = new BitmapShader(texture,
|
H A D | LinesActivity.java | 24 import android.graphics.BitmapShader; 62 private final BitmapShader mShader; 99 mShader = new BitmapShader(mBitmap1, BitmapShader.TileMode.MIRROR, 100 BitmapShader.TileMode.MIRROR);
|
H A D | MoreShadersActivity.java | 23 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 D | PathsActivity.java | 23 import android.graphics.BitmapShader; 45 private final BitmapShader mShader; 82 mShader = new BitmapShader(mBitmap1, BitmapShader.TileMode.MIRROR, 83 BitmapShader.TileMode.MIRROR);
|
H A D | GradientsActivity.java | 23 import android.graphics.BitmapShader; 98 BitmapShader shader = new BitmapShader(texture, Shader.TileMode.REPEAT,
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ResourceModifiers.java | 24 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 D | CircularImageView.java | 5 import android.graphics.BitmapShader; 98 BitmapShader shader = new BitmapShader(bitmap, Shader.TileMode.CLAMP,
|
H A D | RecipientEditTextView.java | 33 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 D | CircularBitmapDrawable.java | 21 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 D | AppCompatProgressBarHelper.java | 20 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 D | FrameSequenceDrawable.java | 20 import android.graphics.BitmapShader; 148 private BitmapShader mFrontBitmapShader; 149 private BitmapShader mBackBitmapShader; 280 = new BitmapShader(mFrontBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); 282 = new BitmapShader(mBackBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); 295 * Masking is done with BitmapShader, incurring minimal additional draw cost. 384 BitmapShader tmpShader = mBackBitmapShader;
|
/frameworks/support/compat/java/android/support/v4/graphics/drawable/ |
H A D | IconCompat.java | 25 import android.graphics.BitmapShader; 257 BitmapShader shader = new BitmapShader(adaptiveIconBitmap, Shader.TileMode.CLAMP,
|
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawable.java | 20 import android.graphics.BitmapShader; 52 private final BitmapShader mBitmapShader; 387 mBitmapShader = new BitmapShader(mBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskViewThumbnail.java | 23 import android.graphics.BitmapShader; 81 protected BitmapShader mBitmapShader; 186 mBitmapShader = new BitmapShader(bm, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | ImageGradientColorizer.java | 20 import android.graphics.BitmapShader;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleDrawable.java | 32 import android.graphics.BitmapShader; 132 private BitmapShader mMaskShader; 777 mMaskShader = new BitmapShader(mMaskBuffer,
|
H A D | AdaptiveIconDrawable.java | 28 import android.graphics.BitmapShader; 367 mLayersShader = new BitmapShader(mLayersBitmap, TileMode.CLAMP, TileMode.CLAMP);
|
H A D | BitmapDrawable.java | 27 import android.graphics.BitmapShader; 493 paint.setShader(new BitmapShader(bitmap,
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
H A D | UserIconDrawable.java | 24 import android.graphics.BitmapShader; 123 mIconPaint.setShader(new BitmapShader(icon, Shader.TileMode.CLAMP,
|
/frameworks/base/ |
H A D | preloaded-classes | 953 android.graphics.BitmapShader
|
H A D | compiled-classes-phone | 1264 android.graphics.BitmapShader
|