Searched refs:TileMode (Results 1 - 25 of 54) sorted by path

123

/frameworks/base/
H A Dcompiled-classes-phone1266 android.graphics.Shader$TileMode
/frameworks/base/core/java/android/content/res/
H A DGradientColor.java163 private static Shader.TileMode parseTileMode(@GradientTileMode int tileMode) {
166 return Shader.TileMode.CLAMP;
168 return Shader.TileMode.REPEAT;
170 return Shader.TileMode.MIRROR;
172 return Shader.TileMode.CLAMP;
/frameworks/base/core/java/android/view/
H A DView.java23293 shader = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP);
23306 color & 0x00FFFFFF, Shader.TileMode.CLAMP);
23311 shader = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP);
/frameworks/base/core/java/android/widget/
H A DProgressBar.java511 clone.setTileModeXY(Shader.TileMode.REPEAT, Shader.TileMode.CLAMP);
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java2097 new float[] { 0f, 0.3f, 1f }, Shader.TileMode.CLAMP));
2100 new float[] { 0f, 0.3f, 1f }, Shader.TileMode.CLAMP));
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp98 (SkShader::TileMode)tileModeX,
99 (SkShader::TileMode)tileModeY);
127 static_cast<SkShader::TileMode>(tileMode));
146 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, (SkShader::TileMode)tileMode);
171 static_cast<SkShader::TileMode>(tileMode));
189 (SkShader::TileMode)tileMode);
/frameworks/base/graphics/java/android/graphics/
H A DBitmapShader.java33 private TileMode mTileX;
34 private TileMode mTileY;
43 public BitmapShader(@NonNull Bitmap bitmap, TileMode tileX, TileMode tileY) {
H A DLinearGradient.java39 private TileMode mTileMode;
53 TileMode tile) {
81 TileMode tile) {
H A DRadialGradient.java41 private TileMode mTileMode;
55 @NonNull int colors[], @Nullable float stops[], @NonNull TileMode tileMode) {
84 int centerColor, int edgeColor, @NonNull TileMode tileMode) {
H A DShader.java42 public enum TileMode { enum in class:Shader
58 TileMode(int nativeInt) { method in class:Shader.TileMode
/frameworks/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java370 * @return {@link android.graphics.Shader.TileMode#CLAMP} if the bitmap does not repeat,
371 * {@link android.graphics.Shader.TileMode#REPEAT} or
372 * {@link android.graphics.Shader.TileMode#MIRROR} otherwise.
374 public Shader.TileMode getTileModeX() {
381 * @return {@link android.graphics.Shader.TileMode#CLAMP} if the bitmap does not repeat,
382 * {@link android.graphics.Shader.TileMode#REPEAT} or
383 * {@link android.graphics.Shader.TileMode#MIRROR} otherwise.
385 public Shader.TileMode getTileModeY() {
391 * does not repeat its bitmap. Using {@link android.graphics.Shader.TileMode#REPEAT} or
392 * {@link android.graphics.Shader.TileMode#MIRRO
[all...]
H A DGradientDrawable.java1131 gradientColors, st.mPositions, Shader.TileMode.CLAMP));
1160 x0, y0, radius, gradientColors, null, Shader.TileMode.CLAMP));
H A DRippleDrawable.java772 Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
/frameworks/base/libs/hwui/
H A DDisplayListCanvas.cpp583 SkShader::TileMode xy[2];
H A DRecordingCanvas.cpp661 SkShader::TileMode xy[2];
H A DSkiaShader.cpp206 SkShader::TileMode xy[2];
/frameworks/base/libs/hwui/tests/unit/
H A DRecordingCanvasTests.cpp744 SkShader::TileMode::kClamp_TileMode,
745 SkShader::TileMode::kClamp_TileMode));
758 SkShader::TileMode::kClamp_TileMode,
759 SkShader::TileMode::kClamp_TileMode));
767 SkShader::TileMode::kRepeat_TileMode));
H A DSkiaBehaviorTests.cpp38 SkShader::TileMode xy[2];
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DUserIconDrawable.java122 mIconPaint.setShader(new BitmapShader(icon, Shader.TileMode.CLAMP,
123 Shader.TileMode.CLAMP));
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DUsageGraph.java29 import android.graphics.Shader.TileMode;
193 getColor(mAccentColor, .2f), 0, TileMode.CLAMP));
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFakeShadowDrawable.java255 , Shader.TileMode.CLAMP));
263 new float[]{0f, .5f, 1f}, Shader.TileMode.CLAMP));
H A DTaskViewThumbnail.java168 mBitmapShader = new BitmapShader(bm, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DMinimizedDockShadow.java67 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP));
72 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP));
77 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcherScrim.java109 Shader.TileMode.CLAMP));
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DResourceModifiers.java72 mRepeatShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT,
73 Shader.TileMode.REPEAT);
75 mTranslatedShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT,
76 Shader.TileMode.REPEAT);
82 mScaledShader = new BitmapShader(mBitmap, Shader.TileMode.MIRROR,
83 Shader.TileMode.MIRROR);
89 Color.RED, Color.GREEN, Shader.TileMode.CLAMP);
97 Color.BLUE, Color.RED, Shader.TileMode.CLAMP);
100 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR);
127 mBitmapColors, null, Shader.TileMode
[all...]

Completed in 608 milliseconds

123