code: public void getTransformedBounds(RectF outBounds) {
      getParentTransform(sTempTransform);
      // IMPORTANT: {@code getBounds} should be called after {@code getParentTransform},
      // because the parent may have to change our bounds.
      outBounds.set(getBounds());
      sTempTransform.mapRect(outBounds);
    }
docs: Gets the transformed bounds of this drawable.
  Note: bounds are not cropped (otherwise they would likely be the same as drawable's bounds).
  @param outBounds rect to fill with bounds