commit | 387fea97317d5b2a3455ee37244bd44b1921eea7 | [log] [tgz] |
---|---|---|
author | Fengjiang Li <fengjial@google.com> | Wed Dec 20 14:19:28 2023 -0800 |
committer | Fengjiang Li <fengjial@google.com> | Thu Feb 01 16:24:14 2024 -0800 |
tree | f684e4eb4a2d67e27a81d4363abd0c881e7cc6b0 | |
parent | e49c26dd796aeea150e80fa6e4e0d23ba6afb90d [diff] |
Update TaplAddWidgetTest#testResizeWidget() and WidgetResizeFrame#resize() API to pass launcher's cellBoarderSpace and use its height to expand widget To expand widget vertically, the drag distance has to be >= 0.66 * (cellHeight + cellBoarderSpace.y). The TAPL test should add cellBoarderSpace.y onto the vertical drag distance to make test less flaky. Bug: 291104076 Test: Postsubmit passed https://android-build.corp.google.com/builds/abtd/run/L49100030001703948 Flag: NA Change-Id: I602cf29b83df6875abd8eadfe255a2adb13f03cb