Home | History | Annotate | Download | only in filters

Lines Matching refs:bitmap

19 import android.graphics.Bitmap;
32 private final Bitmap.Config mConfig = Bitmap.Config.ARGB_8888;
54 native protected void nativeApplyFilterFlip(Bitmap src, int srcWidth, int srcHeight,
55 Bitmap dst, int dstWidth, int dstHeight, int flip);
57 native protected void nativeApplyFilterRotate(Bitmap src, int srcWidth, int srcHeight,
58 Bitmap dst, int dstWidth, int dstHeight, int rotate);
60 native protected void nativeApplyFilterCrop(Bitmap src, int srcWidth, int srcHeight,
61 Bitmap dst, int dstWidth, int dstHeight, int offsetWidth, int offsetHeight);
63 native protected void nativeApplyFilterStraighten(Bitmap src, int srcWidth, int srcHeight,
64 Bitmap dst, int dstWidth, int dstHeight, float straightenAngle);
72 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) {
80 return bitmap;
94 Rect cropBounds = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight());
95 RectF crop = mGeometry.getCropBounds(bitmap);
120 Bitmap temp = null;
121 temp = Bitmap.createBitmap(outputX, outputY, mConfig);
127 Matrix m1 = mGeometry.buildTotalXform(bitmap.getWidth(), bitmap.getHeight(), displayCenter);
136 canvas.drawBitmap(bitmap, m1, paint);