忘れがちなのでメモ
Resource → Bitmap
BitmapFactory.decodeResource(getResources(), R.drawable.icon)
Resource → Drawable
getResources().getDrawable(R.drawable.icon)
Drawable → Bitmap
((BitmapDrawable) drawable).getBitmap()
Bitmap → Drawable
new BitmapDrawable(bitmap)