commit | fe2fb182b7998f5384f78a6956962966b10b5699 | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Tue Apr 16 14:54:38 2013 -0700 |
committer | Raph Levien <raph@google.com> | Tue Apr 16 15:10:38 2013 -0700 |
tree | 5fac13bee47b25de9f8d3e6567e9b8975f69de65 | |
parent | 6f0516cb9e0526a958d09332a74bf4d7b0beaeb3 [diff] |
Fix for bug 8631592 android.widget.cts.TextViewTest#testGetFocusedRect The test was assuming that the coordinates coming back from getPrimaryHorizontal() would always be an integer (so would match exactly the int-valued coordinates of getFocusedRect), but this is not a valid assumption when text is being laid out with higher precision. This change loosens the test slightly so that only the integer component needs to match. Change-Id: I8d5e336242c6578a7e46068afbf2e5f337f9db40