Class ShadowKeyCharacterMap

java.lang.Object
org.robolectric.shadows.ShadowKeyCharacterMap

@Implements(android.view.KeyCharacterMap.class) public class ShadowKeyCharacterMap extends Object
  • Constructor Details

    • ShadowKeyCharacterMap

      public ShadowKeyCharacterMap()
  • Method Details

    • load

      @Implementation protected static KeyCharacterMap load(int deviceId)
    • nativeGetEvents

      @Implementation protected static KeyEvent[] nativeGetEvents(long ptr, char[] chars)
    • nativeGetKeyboardType

      @Implementation protected static int nativeGetKeyboardType(long ptr)
    • nativeGetCharacter

      @Implementation protected static char nativeGetCharacter(long ptr, int keyCode, int metaState)
    • nativeGetDisplayLabel

      @Implementation protected static char nativeGetDisplayLabel(long ptr, int keyCode)
    • nativeGetNumber

      @Implementation protected static char nativeGetNumber(long ptr, int keyCode)