commit | 53fbbd05adfb1992528f621be07e6b2c8790d890 | [log] [tgz] |
---|---|---|
author | Daniel Xie <dxie@google.com> | Wed Jul 15 00:09:39 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Jul 15 00:09:40 2015 +0000 |
tree | e3abad730ad58e17605805cc4af36ff4c1115a75 | |
parent | c73d8100d22d5ece6a261f480c78a7c2127037a9 [diff] | |
parent | 6d6f11032666bfcd1198d45ea6838cf4f98ddf15 [diff] |
Merge "CtsUiAutomatorTest pinchin/pinout test case: add support for 480X320 pixel solution device. The pinchin/pinout test need the device solution bigger than ***X400. This is hardcode in the CtsUiAutomatorTest.java the source code is: withinMarginOfError(0.1f, screenRect.centerX(), p2s.x)) private boolean withinMarginOfError(float marginPrecent, int expected, int actual) { int m = (int) (marginPrecent * expected); return actual >= expected - m && actual <= expected + m; }" into kitkat-cts-dev