Searched refs:tileMode (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
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
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
/frameworks/layoutlib/bridge/src/android/graphics/
H A DShader_Delegate.java61 * @param tileMode the tile mode int value
64 public static TileMode getTileMode(int tileMode) { argument
66 if (tm.nativeInt == tileMode) {
H A DLinearGradient_Delegate.java64 int colors[], float positions[], int tileMode) {
66 x1, y1, colors, positions, Shader_Delegate.getTileMode(tileMode));
73 int color0, int color1, int tileMode) {
75 null /*positions*/, tileMode);
62 nativeCreate1(LinearGradient thisGradient, long matrix, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
71 nativeCreate2(LinearGradient thisGradient, long matrix, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
H A DRadialGradient_Delegate.java63 int colors[], float positions[], int tileMode) {
65 colors, positions, Shader_Delegate.getTileMode(tileMode));
71 int color0, int color1, int tileMode) {
73 null /*positions*/, tileMode);
62 nativeCreate1(long matrix, float x, float y, float radius, int colors[], float positions[], int tileMode) argument
70 nativeCreate2(long matrix, float x, float y, float radius, int color0, int color1, int tileMode) argument
H A DGradient_Delegate.java84 protected GradientPaint(int[] colors, float[] positions, TileMode tileMode) { argument
87 mTileMode = tileMode;
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp97 jintArray colorArray, jfloatArray posArray, jint tileMode) {
115 static_cast<SkShader::TileMode>(tileMode), sGradientShaderFlags, NULL));
130 jfloat x0, jfloat y0, jfloat x1, jfloat y1, jint color0, jint color1, jint tileMode) {
142 static_cast<SkShader::TileMode>(tileMode), sGradientShaderFlags, NULL));
158 jfloat radius, jintArray colorArray, jfloatArray posArray, jint tileMode) {
175 static_cast<SkShader::TileMode>(tileMode), sGradientShaderFlags, NULL);
192 jint color0, jint color1, jint tileMode) {
202 static_cast<SkShader::TileMode>(tileMode), sGradientShaderFlags, NULL);
95 LinearGradient_create1(JNIEnv* env, jobject o, jlong matrixPtr, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jintArray colorArray, jfloatArray posArray, jint tileMode) argument
129 LinearGradient_create2(JNIEnv* env, jobject o, jlong matrixPtr, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jint color0, jint color1, jint tileMode) argument
157 RadialGradient_create1(JNIEnv* env, jobject, jlong matrixPtr, jfloat x, jfloat y, jfloat radius, jintArray colorArray, jfloatArray posArray, jint tileMode) argument
191 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.java882 final int tileMode = a.getInt(R.styleable.BitmapDrawable_tileMode, TILE_MODE_UNDEFINED);
883 if (tileMode != TILE_MODE_UNDEFINED) {
884 final Shader.TileMode mode = parseTileMode(tileMode);
928 private static Shader.TileMode parseTileMode(int tileMode) { argument
929 switch (tileMode) {
/frameworks/base/core/java/android/content/res/
H A DGradientColor.java168 private static Shader.TileMode parseTileMode(@GradientTileMode int tileMode) { argument
169 switch (tileMode) {
224 Log.v(TAG, "tileMode: " + mTileMode);

Completed in 146 milliseconds