创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业

int x = (int) imageView.getX();
        int y = (int) imageView.getY();
        int bitmapX = bitmap.getWidth();
        int bitmapY = bitmap.getHeight();
        Bitmap bitmap1 = Bitmap.createBitmap(bitmap,x,y,bitmapX-x,bitmapY-y);

        if (bitmap != null){
            blur(bitmap1,imageView,8);//模糊处理
        }
        bitmap1.recycle();
        convenientBanner.setDrawingCacheEnabled(false);//清除缓存
    }
};

 

你可能感兴趣的:(创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业创业)