/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
BitmapDrawableTest.java | 50 import android.graphics.Shader.TileMode; 226 bitmapDrawable.setTileModeX(TileMode.CLAMP); 227 assertEquals(TileMode.CLAMP, bitmapDrawable.getTileModeX()); 234 bitmapDrawable.setTileModeY(TileMode.REPEAT); 235 assertEquals(TileMode.CLAMP, bitmapDrawable.getTileModeX()); 236 assertEquals(TileMode.REPEAT, bitmapDrawable.getTileModeY()); 242 bitmapDrawable.setTileModeXY(TileMode.REPEAT, TileMode.MIRROR); 243 assertEquals(TileMode.REPEAT, bitmapDrawable.getTileModeX()); 244 assertEquals(TileMode.MIRROR, bitmapDrawable.getTileModeY()) [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
BitmapDrawable.java | 371 * @return {@link android.graphics.Shader.TileMode#CLAMP} if the bitmap does not repeat, 372 * {@link android.graphics.Shader.TileMode#REPEAT} or 373 * {@link android.graphics.Shader.TileMode#MIRROR} otherwise. 375 public Shader.TileMode getTileModeX() { 382 * @return {@link android.graphics.Shader.TileMode#CLAMP} if the bitmap does not repeat, 383 * {@link android.graphics.Shader.TileMode#REPEAT} or 384 * {@link android.graphics.Shader.TileMode#MIRROR} otherwise. 386 public Shader.TileMode getTileModeY() { 392 * does not repeat its bitmap. Using {@link android.graphics.Shader.TileMode#REPEAT} or 393 * {@link android.graphics.Shader.TileMode#MIRROR} the bitmap can be repeated (or tiled [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
GradientTests.java | 47 0xffffffff, 0x00ffffff, Shader.TileMode.CLAMP)
|
Rgba16fTests.java | 104 Shader.TileMode.CLAMP, Shader.TileMode.CLAMP)); 130 Shader.TileMode.CLAMP, Shader.TileMode.CLAMP));
|
/external/skia/gm/ |
subsetshader.cpp | 29 SkShader::TileMode tm = SkShader::kRepeat_TileMode;
|
gradients_no_texture.cpp | 30 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 34 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 41 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { 48 static sk_sp<SkShader> Make2Radial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 60 static sk_sp<SkShader> Make2Conical(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 73 typedef sk_sp<SkShader> (*GradMaker)(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm); 98 constexpr SkShader::TileMode kTM = SkShader::kClamp_TileMode;
|
gradients.cpp | 58 SkShader::TileMode tm, const SkMatrix& localMatrix) { 64 SkShader::TileMode tm, const SkMatrix& localMatrix) { 71 SkShader::TileMode tm, const SkMatrix& localMatrix) { 80 SkShader::TileMode tm, const SkMatrix& localMatrix) { 90 SkShader::TileMode, const SkMatrix& localMatrix) { 99 SkShader::TileMode, const SkMatrix& localMatrix) { 109 SkShader::TileMode tm, const SkMatrix& localMatrix) { 122 SkShader::TileMode tm, const SkMatrix& localMatrix) { 136 SkShader::TileMode tm, const SkMatrix& localMatrix) { 148 SkShader::TileMode tm, const SkMatrix& localMatrix) [all...] |
bmpfilterqualityrepeat.cpp | 75 constexpr SkShader::TileMode kTM = SkShader::kRepeat_TileMode;
|
/external/skia/include/gpu/ |
GrProcessor.h | 210 SkShader::TileMode tileXAndY = SkShader::kClamp_TileMode, 216 SkShader::TileMode tileXAndY = SkShader::kClamp_TileMode, 223 SkShader::TileMode tileXAndY = SkShader::kClamp_TileMode, 229 SkShader::TileMode tileXAndY = SkShader::kClamp_TileMode,
|
/external/skia/src/core/ |
SkShader.cpp | 230 sk_sp<SkShader> SkShader::MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, 238 sk_sp<SkShader> SkShader::MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy,
|
/external/skia/src/gpu/ |
GrProcessor.cpp | 215 SkShader::TileMode tileXAndY, 229 SkShader::TileMode tileXAndY, 246 SkShader::TileMode tileXAndY, 272 SkShader::TileMode tileXAndY,
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorBrightnessView.java | 92 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); 137 0, .3f, .31f, 1 }, Shader.TileMode.CLAMP); 161 color1, color2, Shader.TileMode.CLAMP);
|
ColorOpacityView.java | 97 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); 142 0, .3f, .31f, 1 }, Shader.TileMode.CLAMP); 161 mBorder, mBorder, mWidth - mBorder, mBorder, color1, color2, Shader.TileMode.CLAMP);
|
ColorRectView.java | 148 mBorder, 0, mWidth - mBorder, 0, wheelColor, null, Shader.TileMode.CLAMP); 152 0, mBorder, 0, mHeight - mBorder, colors, null, Shader.TileMode.CLAMP); 155 0, mBorder, 0, mHeight - mBorder, colors2, null, Shader.TileMode.CLAMP); 192 0, .3f, .31f, 1 }, Shader.TileMode.CLAMP);
|
ColorSaturationView.java | 92 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); 137 0, .3f, .31f, 1 }, Shader.TileMode.CLAMP); 160 color1, color2, Shader.TileMode.CLAMP);
|
ColorHueView.java | 154 0, .3f, .31f, 1}, Shader.TileMode.CLAMP); 197 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
|
/frameworks/base/core/jni/android/graphics/ |
Shader.cpp | 75 (SkShader::TileMode)tileModeX, (SkShader::TileMode)tileModeY); 92 jintArray colorArray, jfloatArray posArray, jint tileMode) { 110 static_cast<SkShader::TileMode>(tileMode), sGradientShaderFlags, NULL)); 125 jfloat x0, jfloat y0, jfloat x1, jfloat y1, jint color0, jint color1, jint tileMode) { 137 static_cast<SkShader::TileMode>(tileMode), sGradientShaderFlags, NULL)); 153 jfloat radius, jintArray colorArray, jfloatArray posArray, jint tileMode) { 170 static_cast<SkShader::TileMode>(tileMode), sGradientShaderFlags, NULL) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
ImageGradientColorizer.java | 76 new float[] {0.0f, 0.4f, 1.0f}, Shader.TileMode.CLAMP); 98 new float[] {0.0f, 0.6f, 1.0f}, Shader.TileMode.CLAMP);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatProgressBarHelper.java | 105 Shader.TileMode.REPEAT, Shader.TileMode.CLAMP);
|
/external/skia/samplecode/ |
SampleRepeatTile.cpp | 35 static void make_paint(SkPaint* paint, SkShader::TileMode tm) {
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
FrameSequenceDrawable.java | 280 = new BitmapShader(mFrontBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); 282 = new BitmapShader(mBackBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
LinearGradient_Delegate.java | 24 import android.graphics.Shader.TileMode; 61 int colors[], float positions[], int tileMode) { 63 x1, y1, colors, positions, Shader_Delegate.getTileMode(tileMode)); 70 int color0, int color1, int tileMode) { 72 null /*positions*/, tileMode); 92 float y1, int colors[], float positions[], TileMode tile) { 112 float positions[], TileMode tile) {
|
RadialGradient_Delegate.java | 24 import android.graphics.Shader.TileMode; 60 int colors[], float positions[], int tileMode) { 62 colors, positions, Shader_Delegate.getTileMode(tileMode)); 68 int color0, int color1, int tileMode) { 70 null /*positions*/, tileMode); 91 int colors[], float positions[], TileMode tile) { 103 int[] colors, float[] positions, TileMode mode) {
|
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/data/ |
VideoProvider.java | 28 import android.graphics.Shader.TileMode; 118 COLORS.get(1), TileMode.CLAMP); 129 COLORS.get(2), COLORS.get(3), TileMode.CLAMP);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
LinearColorBar.java | 127 0, 0, 0, off-2, mRightColor &0xffffff, mRightColor, Shader.TileMode.CLAMP)); 130 0, 0, 0, off-2, mMiddleColor&0xffffff, mMiddleColor, Shader.TileMode.CLAMP)); 133 0, 0, 0, off/2, 0x00a0a0a0, 0xffa0a0a0, Shader.TileMode.CLAMP));
|