Add helper methods into ViewUtils

Bug: 142277366
Test: manual
Change-Id: Ifc54032b65bdf2e1ce79c9a9babb3b25c6fde35d
1 file changed