PointerCoordsSubject

public final class PointerCoordsSubject
extends Subject

java.lang.Object
   ↳ com.google.common.truth.Subject
     ↳ androidx.test.ext.truth.view.PointerCoordsSubject


Subject for MotionEvent.PointerProperties

Summary

Public methods

static PointerCoordsSubject assertThat(MotionEvent.PointerCoords other)
FloatSubject axisValue(int axis)
FloatSubject orientation()
static Factory<PointerCoordsSubjectMotionEvent.PointerCoords> pointerCoords()
FloatSubject pressure()
FloatSubject size()
FloatSubject toolMajor()
FloatSubject toolMinor()
FloatSubject touchMajor()
FloatSubject touchMinor()
FloatSubject x()
FloatSubject y()

Inherited methods

Public methods

assertThat

public static PointerCoordsSubject assertThat (MotionEvent.PointerCoords other)

Parameters
other MotionEvent.PointerCoords

Returns
PointerCoordsSubject

axisValue

public FloatSubject axisValue (int axis)

Parameters
axis int

Returns
FloatSubject

orientation

public FloatSubject orientation ()

Returns
FloatSubject

pointerCoords

public static Factory<PointerCoordsSubjectMotionEvent.PointerCoords> pointerCoords ()

Returns
Factory<PointerCoordsSubjectMotionEvent.PointerCoords>

pressure

public FloatSubject pressure ()

Returns
FloatSubject

size

public FloatSubject size ()

Returns
FloatSubject

toolMajor

public FloatSubject toolMajor ()

Returns
FloatSubject

toolMinor

public FloatSubject toolMinor ()

Returns
FloatSubject

touchMajor

public FloatSubject touchMajor ()

Returns
FloatSubject

touchMinor

public FloatSubject touchMinor ()

Returns
FloatSubject

x

public FloatSubject x ()

Returns
FloatSubject

y

public FloatSubject y ()

Returns
FloatSubject