Lines Matching refs:bitmap

175     static native boolean nCopyLayer(int layerId, int bitmap);
738 public void drawPatch(Bitmap bitmap, byte[] chunks, RectF dst, Paint paint) {
739 if (bitmap.isRecycled()) throw new IllegalArgumentException("Cannot draw recycled bitmaps");
744 nDrawPatch(mRenderer, bitmap.mNativeBitmap, bitmap.mBuffer, chunks,
751 private static native void nDrawPatch(int renderer, int bitmap, byte[] buffer, byte[] chunks,
755 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) {
756 if (bitmap.isRecycled()) throw new IllegalArgumentException("Cannot draw recycled bitmaps");
758 int modifiers = paint != null ? setupModifiers(bitmap, paint) : MODIFIER_NONE;
761 nDrawBitmap(mRenderer, bitmap.mNativeBitmap, bitmap.mBuffer, left, top, nativePaint);
768 int renderer, int bitmap, byte[] buffer, float left, float top, int paint);
771 public void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) {
772 if (bitmap.isRecycled()) throw new IllegalArgumentException("Cannot draw recycled bitmaps");
774 int modifiers = paint != null ? setupModifiers(bitmap, paint) : MODIFIER_NONE;
777 nDrawBitmap(mRenderer, bitmap.mNativeBitmap, bitmap.mBuffer,
784 private static native void nDrawBitmap(int renderer, int bitmap, byte[] buff,
788 public void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) {
789 if (bitmap.isRecycled()) throw new IllegalArgumentException("Cannot draw recycled bitmaps");
791 int modifiers = paint != null ? setupModifiers(bitmap, paint) : MODIFIER_NONE;
798 right = bitmap.getWidth();
799 bottom = bitmap.getHeight();
807 nDrawBitmap(mRenderer, bitmap.mNativeBitmap, bitmap.mBuffer, left, top, right, bottom,
815 public void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) {
816 if (bitmap.isRecycled()) throw new IllegalArgumentException("Cannot draw recycled bitmaps");
818 int modifiers = paint != null ? setupModifiers(bitmap, paint) : MODIFIER_NONE;
825 right = bitmap.getWidth();
826 bottom = bitmap.getHeight();
834 nDrawBitmap(mRenderer, bitmap.mNativeBitmap, bitmap.mBuffer, left, top, right, bottom,
841 private static native void nDrawBitmap(int renderer, int bitmap, byte[] buffer,
890 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts,
892 if (bitmap.isRecycled()) throw new IllegalArgumentException("Cannot draw recycled bitmaps");
908 int modifiers = paint != null ? setupModifiers(bitmap, paint) : MODIFIER_NONE;
911 nDrawBitmapMesh(mRenderer, bitmap.mNativeBitmap, bitmap.mBuffer, meshWidth, meshHeight,
918 private static native void nDrawBitmapMesh(int renderer, int bitmap, byte[] buffer,