@Implements(value=android.hardware.input.InputManager.class) public class ShadowInputManager extends Object
Constructor and Description |
---|
ShadowInputManager() |
Modifier and Type | Method and Description |
---|---|
protected boolean[] |
deviceHasKeys(int id,
int[] keyCodes) |
protected boolean |
injectInputEvent(InputEvent event,
int mode) |
static void |
reset() |
@Implementation protected boolean injectInputEvent(InputEvent event, int mode)
@Implementation(minSdk=19) protected boolean[] deviceHasKeys(int id, int[] keyCodes)
@Resetter public static void reset()