@Implements(value=android.view.inputmethod.InputMethodManager.class) public class ShadowInputMethodManager extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ShadowInputMethodManager.SoftInputVisibilityChangeHandler
Handler for receiving soft input visibility changed event.
|
Constructor and Description |
---|
ShadowInputMethodManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
displayCompletions(View view,
CompletionInfo[] completions) |
protected void |
focusIn(View view) |
protected boolean |
hideSoftInputFromWindow(IBinder windowToken,
int flags) |
protected boolean |
hideSoftInputFromWindow(IBinder windowToken,
int flags,
ResultReceiver resultReceiver) |
protected boolean |
isActive() |
protected boolean |
isActive(View view) |
protected boolean |
isFullscreenMode() |
boolean |
isSoftInputVisible() |
protected void |
onViewDetachedFromWindow(View view) |
protected static InputMethodManager |
peekInstance() |
static void |
reset() |
protected void |
restartInput(View view) |
void |
setSoftInputVisibilityHandler(ShadowInputMethodManager.SoftInputVisibilityChangeHandler visibilityChangeHandler) |
protected boolean |
showSoftInput(View view,
int flags) |
protected boolean |
showSoftInput(View view,
int flags,
ResultReceiver resultReceiver) |
protected void |
toggleSoftInput(int showFlags,
int hideFlags) |
@Implementation protected boolean showSoftInput(View view, int flags)
@Implementation protected boolean showSoftInput(View view, int flags, ResultReceiver resultReceiver)
@Implementation protected boolean hideSoftInputFromWindow(IBinder windowToken, int flags)
@Implementation protected boolean hideSoftInputFromWindow(IBinder windowToken, int flags, ResultReceiver resultReceiver)
@Implementation protected void toggleSoftInput(int showFlags, int hideFlags)
public boolean isSoftInputVisible()
public void setSoftInputVisibilityHandler(ShadowInputMethodManager.SoftInputVisibilityChangeHandler visibilityChangeHandler)
@Implementation protected void restartInput(View view)
@Implementation protected boolean isActive(View view)
@Implementation protected boolean isActive()
@Implementation protected boolean isFullscreenMode()
@Implementation protected void focusIn(View view)
@Implementation(minSdk=23) protected void onViewDetachedFromWindow(View view)
@Implementation protected void displayCompletions(View view, CompletionInfo[] completions)
@Implementation(maxSdk=22) protected static InputMethodManager peekInstance()
@Resetter public static void reset()