mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 19:32:34 +01: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:
Binary file not shown.
@@ -97,7 +97,7 @@ public class UiAutomation extends BaseUiAutomation {
|
|||||||
.className("android.widget.RelativeLayout"));
|
.className("android.widget.RelativeLayout"));
|
||||||
Rect bounds = circle.getBounds();
|
Rect bounds = circle.getBounds();
|
||||||
int selectx = bounds.width()/4;
|
int selectx = bounds.width()/4;
|
||||||
selectx = bounds.width() - selectx;
|
selectx = bounds.centerX() + selectx;
|
||||||
int selecty = bounds.height()/4;
|
int selecty = bounds.height()/4;
|
||||||
selecty = bounds.centerY() + selecty;
|
selecty = bounds.centerY() + selecty;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user