unclippedBoundsInWindow

The regular boundsInWindow returns a rect that is clipped by the edges of the window. So if a view is scrolled half way out of the screen, the rect returned would only have half the size required for the shimmer calculations.

Return

Rect that is not clipped by the window's size.