code: public static void drawMasked(Bitmap src, Drawable mask, Bitmap dest) {
          drawMasked(src, mask, dest, CLEAR_COLOR);
      }
docs: Drawing src bitmap to dest bitmap with applied mask.
  
  @param src  source bitmap
  @param mask bitmap mask
  @param dest destination bitmap