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:
parent
c89ea9875e
commit
0d9dbe8845
Binary file not shown.
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user