start from WindowManagerService
16lz
2021-01-26
Since I think WindowManagerService might be the most often used code in android, I decide to start from WindowManagerService, although it seems to be a little more complicated.
But right away, I have an issue, the definition of WindowManagerService.
public class WindowManagerService extends IWindowManager.Stub
What's IWindowManager.Stub? I google it, and www.androidjavadoc.com says android.view.IWindowManager.Stub. Then I reach frameworks\base\core\java\android\view\IWindowManager.aidl.
But in aidl, there's only an interface definition, so where's the implementation?
http://blog.csdn.net/stonecao/article/details/6425019 tells me that there should be some .java file for the implementation. And http://blog.csdn.net/innost/article/details/6172893 shows the usage of aidl tool.
Then I search the built source, and find out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/view/IWindowManager.java, which I think is the implementation of IWindowManager.
But right away, I have an issue, the definition of WindowManagerService.
public class WindowManagerService extends IWindowManager.Stub
What's IWindowManager.Stub? I google it, and www.androidjavadoc.com says android.view.IWindowManager.Stub. Then I reach frameworks\base\core\java\android\view\IWindowManager.aidl.
But in aidl, there's only an interface definition, so where's the implementation?
http://blog.csdn.net/stonecao/article/details/6425019 tells me that there should be some .java file for the implementation. And http://blog.csdn.net/innost/article/details/6172893 shows the usage of aidl tool.
Then I search the built source, and find out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/view/IWindowManager.java, which I think is the implementation of IWindowManager.
更多相关文章
- 代码中设置drawableleft
- android 3.0 隐藏 系统标题栏
- Android开发中activity切换动画的实现
- Android(安卓)学习 笔记_05. 文件下载
- Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
- 技术博客汇总
- android 2.3 wifi (一)
- AndRoid Notification的清空和修改
- Android中的Chronometer