This method is a duplicate of `getPixels(View parent)`. Couldn't we have just just made that method public?