Example usage for Java android.text.method MetaKeyKeyListener fields, constructors, methods, implement or subclass
The text is from its open source code.
void | adjustMetaAfterKeypress(Spannable content) Call this method after you handle a keypress so that the meta state will be reset to unshifted (if it is not still down) or primed to be reset to unshifted (once it is released). |
long | adjustMetaAfterKeypress(long state) Call this method after you handle a keypress so that the meta state will be reset to unshifted (if it is not still down) or primed to be reset to unshifted (once it is released). |
int | getMetaState(CharSequence text) Gets the state of the meta keys. |
int | getMetaState(long state) Gets the state of the meta keys. |
long | handleKeyDown(long state, int keyCode, KeyEvent event) Handles presses of the meta keys. |
long | handleKeyUp(long state, int keyCode, KeyEvent event) Handles release of the meta keys. |