InputMethodManager

Class of android.view.inputmethod · InputMethodManager.java · Android's reference

public final class InputMethodManager

The input method: no on-screen keyboard; the host keyboard sends key events to the focused view.

Fields

public static final int SHOW_IMPLICIT = 1 source
public static final int SHOW_FORCED = 2 source
public static final int HIDE_IMPLICIT_ONLY = 1 source
public static final int HIDE_NOT_ALWAYS = 2 source
public static final int RESULT_UNCHANGED_SHOWN = 0 source
public static final int RESULT_UNCHANGED_HIDDEN = 1 source
public static final int RESULT_SHOWN = 2 source
public static final int RESULT_HIDDEN = 3 source

Methods

public boolean isActive(View view) source
public boolean isActive() source
public boolean isAcceptingText() source
public boolean showSoftInput(View view, int flags) source
public boolean showSoftInput(View view, int flags, android.os.ResultReceiver resultReceiver) source
public boolean hideSoftInputFromWindow(IBinder windowToken, int flags) source
public boolean hideSoftInputFromWindow(IBinder windowToken, int flags, android.os.ResultReceiver resultReceiver) source
public void restartInput(View view) empty body source
public void updateSelection(View view, int selStart, int selEnd, int candidatesStart, int candidatesEnd) empty body source
public void updateCursorAnchorInfo(View view, CursorAnchorInfo cursorAnchorInfo) empty body source
public void updateExtractedText(View view, int token, ExtractedText text) empty body source
public void viewClicked(View view) empty body source
public void toggleSoftInput(int showFlags, int hideFlags) empty body source
public void startStylusHandwriting(View view) empty body source
public boolean isStylusHandwritingAvailable() source
public void displayCompletions(View view, CompletionInfo[] completions) empty body source
public java.util.List<InputMethodInfo> getEnabledInputMethodList() source
public java.util.List<InputMethodInfo> getInputMethodList() source
public InputMethodSubtype getCurrentInputMethodSubtype() source
public boolean isFullscreenMode() source
public void sendAppPrivateCommand(View view, String action, android.os.Bundle data) empty body source
public void invalidateInput(View view) empty body source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.