Android APIs
public interface

CoordinatesProvider

android.support.test.espresso.action.CoordinatesProvider
Known Indirect Subclasses

Class Overview

Interface to implement calculation of Coordinates.

Summary

Public Methods
abstract float[] calculateCoordinates(View view)
Calculates coordinates of given view.

Public Methods

public abstract float[] calculateCoordinates (View view)

Calculates coordinates of given view.

Parameters
view the View which is used for the calculation.
Returns
  • a float[] with x and y values of the calculated coordinates.