Remove use of isLayoutRtl and move to utility method

isLayoutRtl is a hidden API and this CL moves the code into
an internal utility method.

Bug: 6948882

Change-Id: I20604b4233e0ce659e033133539662d9e3b558b3
4 files changed
tree: 3951c8e56c4236be551ea73131a50d464202dffd
  1. src/
  2. TestCommon/
  3. tests/