/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Shader_Delegate.java | 58 * @param tileMode the tile mode int value 61 public static TileMode getTileMode(int tileMode) { argument 63 if (tm.nativeInt == tileMode) {
|
H A D | Gradient_Delegate.java | 84 protected GradientPaint(int[] colors, float[] positions, TileMode tileMode) { argument 87 mTileMode = tileMode;
|
H A D | RadialGradient_Delegate.java | 60 int colors[], float positions[], int tileMode) { 62 colors, positions, Shader_Delegate.getTileMode(tileMode)); 68 int color0, int color1, int tileMode) { 70 tileMode); 59 nativeCreate1(float x, float y, float radius, int colors[], float positions[], int tileMode) argument 67 nativeCreate2(float x, float y, float radius, int color0, int color1, int tileMode) argument
|
H A D | LinearGradient_Delegate.java | 61 int colors[], float positions[], int tileMode) { 63 colors, positions, Shader_Delegate.getTileMode(tileMode)); 70 int color0, int color1, int tileMode) { 73 tileMode); 59 nativeCreate1(LinearGradient thisGradient, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument 68 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 D | LinearGradient.java | 116 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 D | RadialGradient.java | 52 @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 D | Shader.cpp | 104 jintArray colorArray, jfloatArray posArray, jint tileMode) 122 static_cast<SkShader::TileMode>(tileMode)); 131 jint color0, jint color1, jint tileMode) 141 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, (SkShader::TileMode)tileMode); 150 jintArray colorArray, jfloatArray posArray, jint tileMode) { 166 static_cast<SkShader::TileMode>(tileMode)); 175 jint color0, jint color1, jint tileMode) { 184 (SkShader::TileMode)tileMode); 102 LinearGradient_create1(JNIEnv* env, jobject o, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jintArray colorArray, jfloatArray posArray, jint tileMode) argument 129 LinearGradient_create2(JNIEnv* env, jobject o, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jint color0, jint color1, jint tileMode) argument 149 RadialGradient_create1(JNIEnv* env, jobject, jfloat x, jfloat y, jfloat radius, jintArray colorArray, jfloatArray posArray, jint tileMode) argument 174 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 D | BitmapDrawable.java | 799 final int tileMode = a.getInt(R.styleable.BitmapDrawable_tileMode, TILE_MODE_UNDEFINED); 800 if (tileMode != TILE_MODE_UNDEFINED) { 801 final Shader.TileMode mode = parseTileMode(tileMode); 848 private static Shader.TileMode parseTileMode(int tileMode) { argument 849 switch (tileMode) {
|