1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-21 20:38:57 +00:00

workloads/gfxbench: Fix clicking on select tests

The X coordinate was miscalculated when attempting to load the test
selection menu.
This commit is contained in:
Marc Bonnici 2018-11-19 15:37:09 +00:00 committed by setrofim
parent c89ea9875e
commit 0d9dbe8845
2 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ public class UiAutomation extends BaseUiAutomation {
.className("android.widget.RelativeLayout"));
Rect bounds = circle.getBounds();
int selectx = bounds.width()/4;
selectx = bounds.width() - selectx;
selectx = bounds.centerX() + selectx;
int selecty = bounds.height()/4;
selecty = bounds.centerY() + selecty;