Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

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.