public abstract class MetaKeyKeyListener extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
META_ALT_LOCKED |
static int |
META_ALT_ON |
static int |
META_CAP_LOCKED |
static int |
META_SHIFT_ON |
static int |
META_SYM_LOCKED |
static int |
META_SYM_ON |
| Constructor and Description |
|---|
MetaKeyKeyListener() |
| Modifier and Type | Method and Description |
|---|---|
static long |
adjustMetaAfterKeypress(long state) |
static void |
adjustMetaAfterKeypress(Spannable content) |
static void |
clearMetaKeyState(Editable content,
int states) |
long |
clearMetaKeyState(long state,
int which) |
void |
clearMetaKeyState(View view,
Editable content,
int states) |
static int |
getMetaState(CharSequence text) |
static int |
getMetaState(CharSequence text,
int meta) |
static int |
getMetaState(long state) |
static int |
getMetaState(long state,
int meta) |
static long |
handleKeyDown(long state,
int keyCode,
KeyEvent event) |
static long |
handleKeyUp(long state,
int keyCode,
KeyEvent event) |
static boolean |
isMetaTracker(CharSequence text,
Object what) |
static boolean |
isSelectingMetaTracker(CharSequence text,
Object what) |
boolean |
onKeyDown(View view,
Editable content,
int keyCode,
KeyEvent event) |
boolean |
onKeyUp(View view,
Editable content,
int keyCode,
KeyEvent event) |
static long |
resetLockedMeta(long state) |
protected static void |
resetLockedMeta(Spannable content) |
static void |
resetMetaState(Spannable text) |
public static final int META_SHIFT_ON
public static final int META_ALT_ON
public static final int META_SYM_ON
public static final int META_CAP_LOCKED
public static final int META_ALT_LOCKED
public static final int META_SYM_LOCKED
public static void resetMetaState(Spannable text)
public static final int getMetaState(CharSequence text)
public static final int getMetaState(CharSequence text, int meta)
public static void adjustMetaAfterKeypress(Spannable content)
public static boolean isMetaTracker(CharSequence text, Object what)
public static boolean isSelectingMetaTracker(CharSequence text, Object what)
protected static void resetLockedMeta(Spannable content)
public static void clearMetaKeyState(Editable content, int states)
public static long resetLockedMeta(long state)
public static final int getMetaState(long state)
public static final int getMetaState(long state,
int meta)
public static long adjustMetaAfterKeypress(long state)
public static long handleKeyDown(long state,
int keyCode,
KeyEvent event)
public static long handleKeyUp(long state,
int keyCode,
KeyEvent event)
public long clearMetaKeyState(long state,
int which)
Copyright © 2008-2013. All Rights Reserved.