输入法应用进程部分
输入应用的内部架构
UI 模块
inputView candView 全屏
InputMehtodService
AbstractInputMethodService
Service KeyEvent.Callback
class AbstractInputMethodImpl
Implement InputMethod
class AbstractInputMethodSessionImpl
Implement InputMethodSession
extends
extends
implement
接口 InputMethod 作用 :
1 创建时绑定到系统服务中
2 绑定 Ime 到应用程序上下文
3 开启或结束输入过程
4 InputMethodSession 操作
InputMethodSession :
可提供给 App 使用的输入法功能接口