public final class InputMethodManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
HIDE_IMPLICIT_ONLY |
static int |
HIDE_NOT_ALWAYS |
static int |
RESULT_HIDDEN |
static int |
RESULT_SHOWN |
static int |
RESULT_UNCHANGED_HIDDEN |
static int |
RESULT_UNCHANGED_SHOWN |
static int |
SHOW_FORCED |
static int |
SHOW_IMPLICIT |
public static final int SHOW_IMPLICIT
public static final int SHOW_FORCED
public static final int RESULT_UNCHANGED_SHOWN
public static final int RESULT_UNCHANGED_HIDDEN
public static final int RESULT_SHOWN
public static final int RESULT_HIDDEN
public static final int HIDE_IMPLICIT_ONLY
public static final int HIDE_NOT_ALWAYS
public List<InputMethodInfo> getInputMethodList()
public List<InputMethodInfo> getEnabledInputMethodList()
public List<InputMethodSubtype> getEnabledInputMethodSubtypeList(InputMethodInfo imi, boolean allowsImplicitlySelectedSubtypes)
public void hideStatusIcon(IBinder imeToken)
public boolean isFullscreenMode()
public boolean isActive(View view)
public boolean isActive()
public boolean isAcceptingText()
public void displayCompletions(View view, CompletionInfo[] completions)
public void updateExtractedText(View view, int token, ExtractedText text)
public boolean showSoftInput(View view, int flags)
public boolean showSoftInput(View view, int flags, ResultReceiver resultReceiver)
public boolean hideSoftInputFromWindow(IBinder windowToken, int flags)
public boolean hideSoftInputFromWindow(IBinder windowToken, int flags, ResultReceiver resultReceiver)
public void toggleSoftInputFromWindow(IBinder windowToken, int showFlags, int hideFlags)
public void toggleSoftInput(int showFlags,
int hideFlags)
public void restartInput(View view)
public void updateSelection(View view, int selStart, int selEnd, int candidatesStart, int candidatesEnd)
public void viewClicked(View view)
public boolean isWatchingCursor(View view)
public void updateCursor(View view, int left, int top, int right, int bottom)
public void setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype)
public void hideSoftInputFromInputMethod(IBinder token, int flags)
public void showSoftInputFromInputMethod(IBinder token, int flags)
public void showInputMethodPicker()
public void showInputMethodAndSubtypeEnabler(String imiId)
public InputMethodSubtype getCurrentInputMethodSubtype()
public boolean setCurrentInputMethodSubtype(InputMethodSubtype subtype)
public Map<InputMethodInfo,List<InputMethodSubtype>> getShortcutInputMethodsAndSubtypes()
public boolean switchToLastInputMethod(IBinder imeToken)
public boolean switchToNextInputMethod(IBinder imeToken, boolean onlyCurrentIme)
public void setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes)
public InputMethodSubtype getLastInputMethodSubtype()
Copyright © 2008-2013. All Rights Reserved.