Package org.robolectric.shadows
Class ShadowInputManager
java.lang.Object
org.robolectric.shadows.ShadowInputManager
@Implements(value=android.hardware.input.InputManager.class, looseSignatures=true) public class ShadowInputManager extends Object
Shadow for
InputManager
-
Constructor Summary
Constructors Constructor Description ShadowInputManager()
-
Method Summary
Modifier and Type Method Description protected boolean[]
deviceHasKeys(int id, int[] keyCodes)
protected int[]
getInputDeviceIds()
Used inInputDevice.getDeviceIds()
protected boolean
injectInputEvent(InputEvent event, int mode)
static void
reset()
protected Object
verifyInputEvent(Object inputEvent)
Provides a local java implementation, since the real implementation is in system server + native code.
-
Constructor Details
-
ShadowInputManager
public ShadowInputManager()
-
-
Method Details
-
injectInputEvent
-
deviceHasKeys
-
getInputDeviceIds
Used inInputDevice.getDeviceIds()
-
verifyInputEvent
Provides a local java implementation, since the real implementation is in system server + native code. -
reset
-