美文网首页
Android 杂

Android 杂

作者: nziyouren | 来源:发表于2017-07-06 00:45 被阅读0次

1、无须编译整个Android源代码,查看代码偷懒法

http://yuanfentiank789.github.io/2016/11/24/asreadandroid/

2、MacBook 安装 Ubuntu 16.04

http://blog.topspeedsnail.com/archives/5901

WindowManagerPolicy的方法后缀

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)

相关文章

  • Android 杂

    1、无须编译整个Android源代码,查看代码偷懒法 http://yuanfentiank789.github....

  • Android杂知识

    opencc(简繁体转换库)Android 截屏方式整理Android 保持屏幕常亮的几种方法Android分享一...

  • Android的问题

    Android蹲坑的疑难杂症集锦一 - 简书 Android App 启动页(Splash)黑/白闪屏现象产生原因...

  • Android开发中的杂⑦杂⑧

    1.沉浸式状态栏设置 java代码 xml 根布局中设置fitsSystemWindows 和background...

  • Android源码:Handler, Looper和Messag

    做了6年的Android开发,此间做的事情非常杂包括ROM,SDK和APP,从来没有好好的研究过Android的基...

  • Android 第一行代码阅读笔记

    刚刚看了刚哥的博客,对于Android学习线路指南文章深有感悟,我的Android知识体系太杂不能很好的联系起来,...

  • Android 杂知识总结

    在开发中,总会遇到各种不可名状的问题。限于不同时期对知识点的认识与熟悉度,问题的难度及掌握度也因人而异。 以下是我...

  • android 疑难杂症

    1.WebView 输入框无法被输入法顶起 。输入法遮挡输入框。 if(/Android/gi.test(navi...

  • android 疑难杂症

    本文汇集本人开发要解决一些疑难杂症的代码集合,方便以后自己要用到的时候又跑去搜索解决,只需要来这里 Ctrl + ...

  • Android 疑难杂症

    1.华为手机一个弹框多个权限 https://developer.huawei.com/consumer/cn/d...

网友评论

      本文标题:Android 杂

      本文链接:https://www.haomeiwen.com/subject/ypmchxtx.html