lightbulb_outline Please take our October 2018 developer survey. Start survey

PointerCoordsSubject

public final class PointerCoordsSubject
extends Subject<PointerCoordsSubjectMotionEvent.PointerCoords>

java.lang.Object
   ↳ com.google.common.truth.Subject<androidx.test.ext.truth.view.PointerCoordsSubjectandroid.view.MotionEvent.PointerCoords>
     ↳ 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

From class com.google.common.truth.Subject
From class java.lang.Object

Public methods

assertThat

PointerCoordsSubject assertThat (MotionEvent.PointerCoords other)

Parameters
other MotionEvent.PointerCoords

Returns
PointerCoordsSubject

axisValue

FloatSubject axisValue (int axis)

Parameters
axis int

Returns
FloatSubject

orientation

FloatSubject orientation ()

Returns
FloatSubject

pointerCoords

Factory<PointerCoordsSubjectMotionEvent.PointerCoords> pointerCoords ()

Returns
Factory<PointerCoordsSubjectMotionEvent.PointerCoords>

pressure

FloatSubject pressure ()

Returns
FloatSubject

size

FloatSubject size ()

Returns
FloatSubject

toolMajor

FloatSubject toolMajor ()

Returns
FloatSubject

toolMinor

FloatSubject toolMinor ()

Returns
FloatSubject

touchMajor

FloatSubject touchMajor ()

Returns
FloatSubject

touchMinor

FloatSubject touchMinor ()

Returns
FloatSubject

x

FloatSubject x ()

Returns
FloatSubject

y

FloatSubject y ()

Returns
FloatSubject