找回密码
 立即注册
TheSurfaceAndroidSurfaceFlinger | android开发 2022-11-09 52 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
Android系统选用一种称为Surface的UI架构为使用程序提供用户界面。在Android使用程序中,每一个Activity组件都相关有一个或者若干个窗口,每一个窗口都对应有一个Surface。有了这个Surface之后,使用程序就可以在上面烘托窗口的UI。终究这些现已制作好了的Surface都会被一致提交给Surface管理服务SurfaceFlinger进行组建,最终显示在屏幕上面。无论是使用程序,仍是SurfaceFlinger,都可以使用GPU等硬件来进行UI烘托,以便取得更流通的UI。在Android使用程序UI架构中,还有一个重要的服务WindowManagerService,它担任一致管理协调系统中的一切窗口,例如管理窗口的大小、方位、打开和关闭等。这个PPT讲Android使用程序的Surface机制,论述Activity、Window和View的联系,以及使用程序、WindowManagerService和SurfaceFlinger协作终结UI烘托的进程本资料共包括以下附件:

(The Android system uses a UI architecture called Surface to provide the user interface for the user program. In the Android application, each activity component has one or more windows, and each window has a corresponding surface. With this Surface, you can use the program to highlight the UI of the window. After all, these surfaces will be submitted to the SurfaceFlinger, the surface management service, for formation, and finally displayed on the screen. Whether you are using programs or SurfaceFlinger, you can use hardware such as GPU to contrast the UI, so as to obtain a more popular UI. In the Android user program UI architecture, there is also an important service, WindowManagerService, which is responsible for the consistent management and coordination of all windows in the system, such as the size, orientation, opening and closing of the management window. This PPT talks about the surface mechanism of Android application, the relationship between Activity, Window and View, and the process of using the application, WindowManagerService and SurfaceFlinger to collaborate to end the UI foil. This material includes the following attachments:)

[下载]10383779285.rar




上一篇:Android应用程序消息处理机制
下一篇:Android应用程序资源管理框架