CoordinatesProvider

public interface CoordinatesProvider

androidx.test.espresso.action.CoordinatesProvider
Known Indirect Subclasses


Interface to implement calculation of Coordinates.

Summary

Public methods

abstract float[] calculateCoordinates(View view)

Calculates coordinates of given view.

Public methods

calculateCoordinates

float[] calculateCoordinates (View view)

Calculates coordinates of given view.

Parameters
view View: the View which is used for the calculation.

Returns
float[] a float[] with x and y values of the calculated coordinates.