Searched defs:tileMode (Results 1 - 9 of 9) 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.java60 int colors[], float positions[], int tileMode) {
62 colors, positions, Shader_Delegate.getTileMode(tileMode));
68 int color0, int color1, int tileMode) {
70 null /*positions*/, tileMode);
59 nativeCreate1(long matrix, float x, float y, float radius, int colors[], float positions[], int tileMode) argument
67 nativeCreate2(long matrix, float x, float y, float radius, int color0, int color1, int tileMode) argument
H A DLinearGradient_Delegate.java61 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);
59 nativeCreate1(LinearGradient thisGradient, long matrix, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
68 nativeCreate2(LinearGradient thisGradient, long matrix, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
/frameworks/base/graphics/java/android/graphics/
H A DLinearGradient.java130 int colors[], float positions[], int tileMode);
132 int color0, int color1, int tileMode);
129 nativeCreate1(long matrix, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
131 nativeCreate2(long matrix, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
H A DRadialGradient.java55 * @param tileMode The Shader tiling mode
59 @NonNull TileMode tileMode) {
75 mTileMode = tileMode;
86 * @param tileMode The Shader tiling mode
89 @ColorInt int centerColor, @ColorInt int edgeColor, @NonNull TileMode tileMode) {
99 mTileMode = tileMode;
130 int colors[], float positions[], int tileMode);
132 int color0, int color1, int tileMode);
57 RadialGradient(float centerX, float centerY, float radius, @NonNull @ColorInt int colors[], @Nullable float stops[], @NonNull TileMode tileMode) argument
88 RadialGradient(float centerX, float centerY, float radius, @ColorInt int centerColor, @ColorInt int edgeColor, @NonNull TileMode tileMode) argument
129 nativeCreate1(long matrix, float x, float y, float radius, int colors[], float positions[], int tileMode) argument
131 nativeCreate2(long matrix, float x, float y, float radius, int color0, int color1, int tileMode) argument
/frameworks/base/core/java/android/content/res/
H A DGradientColor.java163 private static Shader.TileMode parseTileMode(@GradientTileMode int tileMode) { argument
164 switch (tileMode) {
219 Log.v(TAG, "tileMode: " + mTileMode);
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp92 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);
187 jint color0, jint color1, jint tileMode) {
197 static_cast<SkShader::TileMode>(tileMode), sGradientShaderFlags, NULL);
90 LinearGradient_create1(JNIEnv* env, jobject o, jlong matrixPtr, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jintArray colorArray, jfloatArray posArray, jint tileMode) argument
124 LinearGradient_create2(JNIEnv* env, jobject o, jlong matrixPtr, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jint color0, jint color1, jint tileMode) argument
152 RadialGradient_create1(JNIEnv* env, jobject, jlong matrixPtr, jfloat x, jfloat y, jfloat radius, jintArray colorArray, jfloatArray posArray, jint tileMode) argument
186 RadialGradient_create2(JNIEnv* env, jobject, jlong matrixPtr, jfloat x, jfloat y, jfloat radius, jint color0, jint color1, jint tileMode) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java856 final int tileMode = a.getInt(R.styleable.BitmapDrawable_tileMode, TILE_MODE_UNDEFINED);
857 if (tileMode != TILE_MODE_UNDEFINED) {
858 final Shader.TileMode mode = parseTileMode(tileMode);
902 private static Shader.TileMode parseTileMode(int tileMode) { argument
903 switch (tileMode) {

Completed in 497 milliseconds