android.view.inputmethod
Interface InputMethodSession
- All Known Implementing Classes:
- AbstractInputMethodService.AbstractInputMethodSessionImpl, InputMethodService.InputMethodSessionImpl
public interface InputMethodSession
Method Summary |
void |
appPrivateCommand(String action,
Bundle data)
|
void |
dispatchKeyEvent(int seq,
KeyEvent event,
InputMethodSession.EventCallback callback)
|
void |
dispatchTrackballEvent(int seq,
MotionEvent event,
InputMethodSession.EventCallback callback)
|
void |
displayCompletions(CompletionInfo[] completions)
|
void |
finishInput()
|
void |
toggleSoftInput(int showFlags,
int hideFlags)
|
void |
updateCursor(Rect newCursor)
|
void |
updateExtractedText(int token,
ExtractedText text)
|
void |
updateSelection(int oldSelStart,
int oldSelEnd,
int newSelStart,
int newSelEnd,
int candidatesStart,
int candidatesEnd)
|
void |
viewClicked(boolean focusChanged)
|
finishInput
void finishInput()
updateSelection
void updateSelection(int oldSelStart,
int oldSelEnd,
int newSelStart,
int newSelEnd,
int candidatesStart,
int candidatesEnd)
viewClicked
void viewClicked(boolean focusChanged)
updateCursor
void updateCursor(Rect newCursor)
displayCompletions
void displayCompletions(CompletionInfo[] completions)
updateExtractedText
void updateExtractedText(int token,
ExtractedText text)
dispatchKeyEvent
void dispatchKeyEvent(int seq,
KeyEvent event,
InputMethodSession.EventCallback callback)
dispatchTrackballEvent
void dispatchTrackballEvent(int seq,
MotionEvent event,
InputMethodSession.EventCallback callback)
appPrivateCommand
void appPrivateCommand(String action,
Bundle data)
toggleSoftInput
void toggleSoftInput(int showFlags,
int hideFlags)
Copyright © 2008-2012. All Rights Reserved.