Home | History | Annotate | Download | only in graphics

Lines Matching refs:tileMode

22 import android.graphics.Shader.TileMode;
57 * Returns the {@link TileMode} matching the given int.
58 * @param tileMode the tile mode int value
59 * @return the TileMode enum.
61 public static TileMode getTileMode(int tileMode) {
62 for (TileMode tm : TileMode.values()) {
63 if (tm.nativeInt == tileMode) {
69 return TileMode.CLAMP;