Searched defs:tileMode (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DShader_Delegate.java58 * @param tileMode the tile mode int value
61 public static TileMode getTileMode(int tileMode) { argument
63 if (tm.nativeInt == tileMode) {
H A DGradient_Delegate.java84 protected GradientPaint(int[] colors, float[] positions, TileMode tileMode) { argument
87 mTileMode = tileMode;
H A DRadialGradient_Delegate.java58 int colors[], float positions[], int tileMode) {
60 colors, positions, Shader_Delegate.getTileMode(tileMode));
66 int color0, int color1, int tileMode) {
68 tileMode);
57 nativeCreate1(float x, float y, float radius, int colors[], float positions[], int tileMode) argument
65 nativeCreate2(float x, float y, float radius, int color0, int color1, int tileMode) argument
H A DLinearGradient_Delegate.java59 int colors[], float positions[], int tileMode) {
61 colors, positions, Shader_Delegate.getTileMode(tileMode));
68 int color0, int color1, int tileMode) {
71 tileMode);
57 nativeCreate1(LinearGradient thisGradient, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
66 nativeCreate2(LinearGradient thisGradient, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
/frameworks/base/graphics/java/android/graphics/
H A DLinearGradient.java116 int colors[], float positions[], int tileMode);
118 int color0, int color1, int tileMode);
115 nativeCreate1(float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
117 nativeCreate2(float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
H A DRadialGradient.java52 @param tileMode The Shader tiling mode
55 @NonNull int colors[], @Nullable float stops[], @NonNull TileMode tileMode) {
71 mTileMode = tileMode;
72 init(nativeCreate1(centerX, centerY, radius, colors, stops, tileMode.nativeInt));
81 @param tileMode The Shader tiling mode
84 int centerColor, int edgeColor, @NonNull TileMode tileMode) {
94 mTileMode = tileMode;
95 init(nativeCreate2(centerX, centerY, radius, centerColor, edgeColor, tileMode.nativeInt));
121 int colors[], float positions[], int tileMode);
123 int color0, int color1, int tileMode);
54 RadialGradient(float centerX, float centerY, float radius, @NonNull int colors[], @Nullable float stops[], @NonNull TileMode tileMode) argument
83 RadialGradient(float centerX, float centerY, float radius, int centerColor, int edgeColor, @NonNull TileMode tileMode) argument
120 nativeCreate1(float x, float y, float radius, int colors[], float positions[], int tileMode) argument
122 nativeCreate2(float x, float y, float radius, int color0, int color1, int tileMode) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp91 jintArray colorArray, jfloatArray posArray, jint tileMode)
109 static_cast<SkShader::TileMode>(tileMode));
118 jint color0, jint color1, jint tileMode)
128 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, (SkShader::TileMode)tileMode);
137 jintArray colorArray, jfloatArray posArray, jint tileMode) {
153 static_cast<SkShader::TileMode>(tileMode));
162 jint color0, jint color1, jint tileMode) {
171 (SkShader::TileMode)tileMode);
89 LinearGradient_create1(JNIEnv* env, jobject o, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jintArray colorArray, jfloatArray posArray, jint tileMode) argument
116 LinearGradient_create2(JNIEnv* env, jobject o, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jint color0, jint color1, jint tileMode) argument
136 RadialGradient_create1(JNIEnv* env, jobject, jfloat x, jfloat y, jfloat radius, jintArray colorArray, jfloatArray posArray, jint tileMode) argument
161 RadialGradient_create2(JNIEnv* env, jobject, jfloat x, jfloat y, jfloat radius, jint color0, jint color1, jint tileMode) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java788 final int tileMode = a.getInt(R.styleable.BitmapDrawable_tileMode, TILE_MODE_UNDEFINED);
789 if (tileMode != TILE_MODE_UNDEFINED) {
790 final Shader.TileMode mode = parseTileMode(tileMode);
827 private static Shader.TileMode parseTileMode(int tileMode) { argument
828 switch (tileMode) {

Completed in 227 milliseconds