按键在Framework中的传递
2014-10-13 02:26:25 6 举报
按键在Framework中的传递
作者其他创作
大纲/内容
dispatchKey
WMThread.run()
底层调用
dispatchKeyEvent
deliverKeyEvent
PhoneWindow
main()
dispatchMotion
superDispatchKeyEvent
底层按键消息
ViewGroup
nativeInit()注册底层回调Callbacks
InputManager()
setView
InputManager.Callbacks
WindowManagerImpl
SystemServer
设置回调
init2()
View
InputMonitor
addView
PhoneWindowManager
PhoneWindow.DecorView
interceptKeyBeforeDispatching
WindowManagerService(**)
run()
handleMotion
WindowManagerService
InputHandler
init1()
communication with the global system window manager
Activity
mFeatureId 0
handleKey
Wraps the C++ InputManager and provides its callbacks.
InputManager
ViewRootImpl
0 条评论
下一页