Lines Matching defs:bitmap
22 * Shader used to draw a bitmap as a texture. The bitmap can be repeated or
37 * Call this to create a new shader that will draw with a bitmap.
39 * @param bitmap The bitmap to use inside the shader
40 * @param tileX The tiling mode for x to draw the bitmap in.
41 * @param tileY The tiling mode for y to draw the bitmap in.
43 public BitmapShader(@NonNull Bitmap bitmap, @NonNull TileMode tileX, @NonNull TileMode tileY) {
44 this(bitmap, tileX.nativeInt, tileY.nativeInt);
47 private BitmapShader(Bitmap bitmap, int tileX, int tileY) {
48 if (bitmap == null) {
51 if (bitmap == mBitmap && tileX == mTileX && tileY == mTileY) {
54 mBitmap = bitmap;
74 private static native long nativeCreate(long nativeMatrix, Bitmap bitmap,