Framework
tinyvampirepudge
这个作者很懒,什么都没留下…
展开
-
StartActivity主体流程-api26
主体流程基于api26App端:Activity#startActivity(Intent intent)Activity#startActivity(Intent intent, @Nullable Bundle options)Activity#startActivityForResult(Intent intent, int requestCode)Activity#startActivityForResult(Intent intent, int requestCod, Bundle o原创 2020-06-08 18:20:17 · 561 阅读 · 0 评论 -
View默认的LayoutParams是何时生成的,默认值是什么。layout_width和layout_height属性在哪里生效
View默认的LayoutParams是何时生成的,默认值是什么View#mLayoutParams属性:/** * The layout parameters associated with this view and used by the parent * {@link android.view.ViewGroup} to determine how this view should be * laid out. * {@hide} */protected ViewGroup.Layo原创 2020-05-27 19:45:16 · 2704 阅读 · 2 评论 -
startService源码主要流程解析
文章目录1、Activity中调用startService2、ContextImpl#startService3、ActivityManagerService#startService4、启动进程,执行mPendingServices中的服务Zygote启动进程Zygote进程的Socket——接收创建进程的消息,fork创建子进程ActivityThread#main——通知AMS进程创建完成,...原创 2020-03-16 18:54:20 · 969 阅读 · 0 评论