Home
last modified time | relevance | path

Searched refs:tileMode (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DRadialGradient.java55 @NonNull int colors[], @Nullable float stops[], @NonNull TileMode tileMode) { in RadialGradient() argument
71 mTileMode = tileMode; in RadialGradient()
72 init(nativeCreate1(centerX, centerY, radius, colors, stops, tileMode.nativeInt)); in RadialGradient()
84 int centerColor, int edgeColor, @NonNull TileMode tileMode) { in RadialGradient() argument
94 mTileMode = tileMode; in RadialGradient()
95 init(nativeCreate2(centerX, centerY, radius, centerColor, edgeColor, tileMode.nativeInt)); in RadialGradient()
121 int colors[], float positions[], int tileMode); in nativeCreate1() argument
123 int color0, int color1, int tileMode); in nativeCreate2() argument
DLinearGradient.java116 int colors[], float positions[], int tileMode); in nativeCreate1() argument
118 int color0, int color1, int tileMode); in nativeCreate2() argument
/frameworks/base/core/jni/android/graphics/
DShader.cpp91 jintArray colorArray, jfloatArray posArray, jint tileMode) in LinearGradient_create1() argument
109 static_cast<SkShader::TileMode>(tileMode)); in LinearGradient_create1()
118 jint color0, jint color1, jint tileMode) in LinearGradient_create2() argument
128 … SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, (SkShader::TileMode)tileMode); in LinearGradient_create2()
137 jintArray colorArray, jfloatArray posArray, jint tileMode) { in RadialGradient_create1() argument
153 static_cast<SkShader::TileMode>(tileMode)); in RadialGradient_create1()
162 jint color0, jint color1, jint tileMode) { in RadialGradient_create2() argument
171 (SkShader::TileMode)tileMode); in RadialGradient_create2()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DRadialGradient_Delegate.java58 int colors[], float positions[], int tileMode) { in nativeCreate1() argument
60 colors, positions, Shader_Delegate.getTileMode(tileMode)); in nativeCreate1()
66 int color0, int color1, int tileMode) { in nativeCreate2() argument
68 tileMode); in nativeCreate2()
DShader_Delegate.java61 public static TileMode getTileMode(int tileMode) { in getTileMode() argument
63 if (tm.nativeInt == tileMode) { in getTileMode()
DLinearGradient_Delegate.java59 int colors[], float positions[], int tileMode) { in nativeCreate1() argument
61 colors, positions, Shader_Delegate.getTileMode(tileMode)); in nativeCreate1()
68 int color0, int color1, int tileMode) { in nativeCreate2() argument
71 tileMode); in nativeCreate2()
DGradient_Delegate.java84 protected GradientPaint(int[] colors, float[] positions, TileMode tileMode) { in GradientPaint() argument
87 mTileMode = tileMode; in GradientPaint()
/frameworks/base/graphics/java/android/graphics/drawable/
DBitmapDrawable.java779 final int tileMode = a.getInt(R.styleable.BitmapDrawable_tileMode, TILE_MODE_UNDEFINED); in updateStateFromTypedArray() local
780 if (tileMode != TILE_MODE_UNDEFINED) { in updateStateFromTypedArray()
781 final Shader.TileMode mode = parseTileMode(tileMode); in updateStateFromTypedArray()
818 private static Shader.TileMode parseTileMode(int tileMode) { in parseTileMode() argument
819 switch (tileMode) { in parseTileMode()
/frameworks/base/docs/html/guide/topics/resources/
Ddrawable-resource.jd178 android:tileMode=["disabled" | "clamp" | "repeat" | "mirror"] /&gt;
255 <dt><code>android:tileMode</code></dt>
285 android:tileMode="repeat" /&gt;
/frameworks/base/api/
Dcurrent.txt1277 field public static final int tileMode = 16843265; // 0x1010201