Package org.robolectric.shadows
Class ShadowInputDevice
java.lang.Object
org.robolectric.shadows.ShadowInputDevice
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetName()protected intprotected intstatic InputDevicemakeInputDeviceNamed(String deviceName) voidsetDeviceName(String deviceName) voidsetProductId(int productId) voidsetVendorId(int vendorId)
-
Constructor Details
-
ShadowInputDevice
public ShadowInputDevice()
-
-
Method Details
-
makeInputDeviceNamed
-
getName
-
getProductId
@Implementation(minSdk=19) protected int getProductId() -
getVendorId
@Implementation(minSdk=19) protected int getVendorId() -
setDeviceName
-
setProductId
public void setProductId(int productId) -
setVendorId
public void setVendorId(int vendorId)
-