码迷,mamicode.com
首页 > Windows程序 > 详细

WindowManagerPolicy的后缀 解释

时间:2016-09-10 21:56:23      阅读:256      评论:0      收藏:0      [点我收藏+]

标签:

转自:http://blog.csdn.net/hunanwy/article/details/8563090

 

Ti,called from the input thread. Input thread负责分发input event到window.


Tq,called from the low-level input queue thread. Input queue thread负责将raw input event放到global input queue,Ti thread会读出global input queue.

Lw,called with the main window manager lock held. 在Lw可以调用package mgr, power mgr. 但不能调用activity mgr和其它大多数services。

Li,called with the input thread lock held.比Lw更加苛刻.

Lp,for an internal lock of the PhoneWindowManager.  This is used to protect some internal state, and can be acquired with either thw Lw and Li lock held, so has the restrictions of both of those when held.  (ref PhoneWindowManger.java)

WindowManagerPolicy的后缀 解释

标签:

原文地址:http://www.cnblogs.com/dirt2/p/5860210.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!