Searched refs:bitmapWithBorder (Results 1 – 1 of 1) sorted by relevance
91 mFrontBitmapDrawable = bitmapWithBorder((BitmapDrawable)getResources() in init()93 mBackBitmapDrawable = bitmapWithBorder((BitmapDrawable) getResources() in init()103 private BitmapDrawable bitmapWithBorder(BitmapDrawable bitmapDrawable) { in bitmapWithBorder() method in CardView104 Bitmap bitmapWithBorder = Bitmap.createBitmap(bitmapDrawable.getIntrinsicWidth() + in bitmapWithBorder() local107 Canvas canvas = new Canvas(bitmapWithBorder); in bitmapWithBorder()109 return new BitmapDrawable(getResources(), bitmapWithBorder); in bitmapWithBorder()