- 博客(8)
- 收藏
- 关注
原创 android 渲染流程
measure (first|layoutRequest) (main thread) onMeasure setMeasuredDimensionlayout (first|layoutRequest) (main thread) setFrame onLayoutdraw (dirty|animation) (main threa
2016-01-11 21:36:31 1155
原创 android studio设置内存
/Applications/Android Studio.app/Contents/bin/studio.vmoptions-Xms7168m-Xmx8192m-XX:MaxPermSize=8192m-XX:ReservedCodeCacheSize=1024m
2016-01-28 16:33:04 4995
原创 android sharedUserId 共享用户
android:sharedUserId="com.aaa"相同sharedUserId的app必须使用同一个证书, 被分配同一个uidapp安装->sharedUserId->SharedUser->验证签名
2016-01-27 21:38:14 682
原创 View.onMeasured的默认实现 (onMeasure必须调setMeasuredDimension)
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { setMeasuredDimension(getDefaultSize(getSuggestedMinimumWidth(), widthMeasureSpec), getDefaultSize(getSugg
2016-01-11 20:31:39 2120
原创 minSdkVersion <= targetSdkVersion <= compileSdkVersion
minSdkVersion <= targetSdkVersion <= compileSdkVersion
2016-01-08 18:39:09 608
原创 art虚拟机:预编译->oat文件 /data/dalvik-cache/ art支持多dex-oat文件支持多dex
art虚拟机:预编译->oat文件
2016-01-06 10:49:57 776
原创 android事件分发 入口(dispatchTouchEvent)
View.javapublic boolean dispatchTouchEvent(MotionEvent event) { // If the event should be handled by accessibility focus first. if (event.isTargetAccessibilityFocus()) { //
2016-01-04 11:14:03 750
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人