| commit | 695c071739dcf896d756fe7ccf09f432557d287a | [log] [tgz] |
|---|---|---|
| author | ryanlwlin <ryanlwlin@google.com> | Wed Aug 05 20:45:05 2020 +0800 |
| committer | ryanlwlin <ryanlwlin@google.com> | Thu Aug 13 11:06:21 2020 +0800 |
| tree | a42785e2eb0dca986642c6e964075a1aaad27d09 | |
| parent | f756018a23d7e99644af0db6377617b9331033ea [diff] |
Fix AccessibilityGestureDetectorTest failure The movement doesn't reach the threshold in time, so it is not recognized as a swipe gesture. We adjust the swipe duration to ensure the swipe velocity is higher than the velocity defined in Swipe.java. The strke length is computed with xdpi which is also used by the threshold. Bug: 162285833 Test: atst AccessibilityGestureDetectorTest on crosshatch Change-Id: I27e31bc4867cfcb37afcbf1a9012c914a1a834c7