Account for horizontal offset when calculating borders

Before this CL, only vertical offset was used when calculating the view
bounds in the ViewInfo object. This caused that in some cases where padding
was used, the bounds didn't match the actual output.

Bug: http://b.android.com/222231
Change-Id: I4889caee2811556442dc6ec97c1307661a798392
1 file changed