InputConnectionWrapper

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

public class InputConnectionWrapper implements InputConnection

An InputConnection that passes each call to another one.

Constructors

public InputConnectionWrapper(InputConnection target, boolean mutable) source

Methods

public void setTarget(InputConnection target) source
public CharSequence getTextBeforeCursor(int n, int flags) source
public CharSequence getTextAfterCursor(int n, int flags) source
public CharSequence getSelectedText(int flags) source
public SurroundingText getSurroundingText(int beforeLength, int afterLength, int flags) source
public int getCursorCapsMode(int reqModes) source
public ExtractedText getExtractedText(ExtractedTextRequest request, int flags) source
public boolean deleteSurroundingText(int beforeLength, int afterLength) source
public boolean deleteSurroundingTextInCodePoints(int beforeLength, int afterLength) source
public boolean setComposingText(CharSequence text, int newCursorPosition) source
public boolean setComposingRegion(int start, int end) source
public boolean finishComposingText() source
public boolean commitText(CharSequence text, int newCursorPosition) source
public boolean commitCompletion(CompletionInfo text) source
public boolean commitCorrection(CorrectionInfo correctionInfo) source
public boolean setSelection(int start, int end) source
public boolean performEditorAction(int editorAction) source
public boolean performContextMenuAction(int id) source
public boolean beginBatchEdit() source
public boolean endBatchEdit() source
public boolean sendKeyEvent(KeyEvent event) source
public boolean clearMetaKeyStates(int states) source
public boolean reportFullscreenMode(boolean enabled) source
public boolean performSpellCheck() source
public boolean performPrivateCommand(String action, Bundle data) source
public void performHandwritingGesture(HandwritingGesture gesture, java.util.concurrent.Executor executor, java.util.function.IntConsumer consumer) source
public boolean previewHandwritingGesture(PreviewableHandwritingGesture gesture, android.os.CancellationSignal cancellationSignal) source
public boolean requestCursorUpdates(int cursorUpdateMode) source
public boolean requestCursorUpdates(int cursorUpdateMode, int cursorUpdateFilter) source
public Handler getHandler() source
public void closeConnection() source
public boolean commitContent(InputContentInfo inputContentInfo, int flags, Bundle opts) source
public boolean setImeConsumesInput(boolean imeConsumesInput) 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.