Class ShadowKeyCharacterMap


  • @Implements(android.view.KeyCharacterMap.class)
    public class ShadowKeyCharacterMap
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected int get​(int keyCode, int metaState)  
      android.view.KeyEvent getDownEvent​(char a)  
      protected android.view.KeyEvent[] getEvents​(char[] chars)  
      protected int getKeyboardType()  
      android.view.KeyEvent getUpEvent​(char a)  
      protected static android.view.KeyCharacterMap load​(int deviceId)  
      protected static char nativeGetNumber​(int ptr, int keyCode)  
      protected static char nativeGetNumber​(long ptr, int keyCode)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowKeyCharacterMap

        public ShadowKeyCharacterMap()
    • Method Detail

      • load

        @Implementation
        protected static android.view.KeyCharacterMap load​(int deviceId)
      • getEvents

        @Implementation
        protected android.view.KeyEvent[] getEvents​(char[] chars)
      • getKeyboardType

        @Implementation
        protected int getKeyboardType()
      • get

        @Implementation
        protected int get​(int keyCode,
                          int metaState)
      • getDownEvent

        public android.view.KeyEvent getDownEvent​(char a)
      • getUpEvent

        public android.view.KeyEvent getUpEvent​(char a)
      • nativeGetNumber

        @Implementation(minSdk=20)
        protected static char nativeGetNumber​(long ptr,
                                              int keyCode)
      • nativeGetNumber

        @Implementation(maxSdk=19)
        protected static char nativeGetNumber​(int ptr,
                                              int keyCode)