InputMethodService.InputMethodSessionImpl
public
class
InputMethodService.InputMethodSessionImpl
extends AbstractInputMethodService.AbstractInputMethodSessionImpl
| java.lang.Object | ||
| ↳ | android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodSessionImpl | |
| ↳ | android.inputmethodservice.InputMethodService.InputMethodSessionImpl | |
Concrete implementation of
AbstractInputMethodService.AbstractInputMethodSessionImpl that provides
all of the standard behavior for an input method session.
Summary
Public constructors | |
|---|---|
InputMethodService.InputMethodSessionImpl()
|
|
Public methods | |
|---|---|
void
|
appPrivateCommand(String action, Bundle data)
|
void
|
displayCompletions(CompletionInfo[] completions)
|
void
|
finishInput()
|
void
|
toggleSoftInput(int showFlags, int hideFlags)
|
void
|
updateCursor(Rect newCursor)
|
void
|
updateCursorAnchorInfo(CursorAnchorInfo info)
|
void
|
updateExtractedText(int token, ExtractedText text)
|
void
|
updateSelection(int oldSelStart, int oldSelEnd, int newSelStart, int newSelEnd, int candidatesStart, int candidatesEnd)
|
void
|
viewClicked(boolean focusChanged)
|
Inherited methods | |
|---|---|
android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodSessionImpl
| |
java.lang.Object
| |
android.view.inputmethod.InputMethodSession
| |
Public constructors
InputMethodService.InputMethodSessionImpl
InputMethodService.InputMethodSessionImpl ()
Public methods
appPrivateCommand
void appPrivateCommand (String action, Bundle data)
Call InputMethodService.onAppPrivateCommand().
| Parameters | |
|---|---|
action |
String
|
data |
Bundle
|
displayCompletions
void displayCompletions (CompletionInfo[] completions)
Call InputMethodService.onDisplayCompletions().
| Parameters | |
|---|---|
completions |
CompletionInfo
|
toggleSoftInput
void toggleSoftInput (int showFlags,
int hideFlags)
| Parameters | |
|---|---|
showFlags |
int
|
hideFlags |
int
|
updateCursor
void updateCursor (Rect newCursor)
Call InputMethodService.onUpdateCursor().
| Parameters | |
|---|---|
newCursor |
Rect
|
updateCursorAnchorInfo
void updateCursorAnchorInfo (CursorAnchorInfo info)
Call InputMethodService.onUpdateCursorAnchorInfo().
| Parameters | |
|---|---|
info |
CursorAnchorInfo
|
updateExtractedText
void updateExtractedText (int token,
ExtractedText text)
Call InputMethodService.onUpdateExtractedText().
| Parameters | |
|---|---|
token |
int
|
text |
ExtractedText
|
updateSelection
void updateSelection (int oldSelStart,
int oldSelEnd,
int newSelStart,
int newSelEnd,
int candidatesStart,
int candidatesEnd)
Call InputMethodService.onUpdateSelection().
| Parameters | |
|---|---|
oldSelStart |
int
|
oldSelEnd |
int
|
newSelStart |
int
|
newSelEnd |
int
|
candidatesStart |
int
|
candidatesEnd |
int
|
viewClicked
void viewClicked (boolean focusChanged)
| Parameters | |
|---|---|
focusChanged |
boolean
|
Interfaces
Classes
- AbstractInputMethodService
- AbstractInputMethodService.AbstractInputMethodImpl
- AbstractInputMethodService.AbstractInputMethodSessionImpl
- ExtractEditText
- InputMethodService
- InputMethodService.InputMethodImpl
- InputMethodService.InputMethodSessionImpl
- InputMethodService.Insets
- Keyboard
- Keyboard.Key
- Keyboard.Row
- KeyboardView

