InputEvent

Class of android.view · InputEvent.java · Android's reference

public abstract class InputEvent implements android.os.Parcelable

An input event: a key or a motion.

Extended in the framework by

Methods

public abstract int getDeviceId() source
public final InputDevice getDevice() source
public abstract int getSource() source
public abstract void setSource(int source) source
public boolean isFromSource(int source) source
public abstract long getEventTime() source
public abstract long getEventTimeNanos() source
public void recycle() empty body source
public int getSequenceNumber() source
public int getDisplayId() source
public int describeContents() source
public void writeToParcel(android.os.Parcel out, int flags) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.