@Implements(android.view.InputDevice.class) public class ShadowInputDevice extends Object
| Constructor | Description |
|---|---|
ShadowInputDevice() |
| Modifier and Type | Method | Description |
|---|---|---|
protected String |
getName() |
|
protected int |
getProductId() |
|
protected int |
getVendorId() |
|
static InputDevice |
makeInputDeviceNamed(String deviceName) |
|
void |
setDeviceName(String deviceName) |
|
void |
setProductId(int productId) |
|
void |
setVendorId(int vendorId) |
public static InputDevice makeInputDeviceNamed(String deviceName)
@Implementation protected String getName()
@Implementation(minSdk=19) protected int getProductId()
@Implementation(minSdk=19) protected int getVendorId()
public void setDeviceName(String deviceName)
public void setProductId(int productId)
public void setVendorId(int vendorId)