android 渲染流程

measure (first|layoutRequest) (main thread) onMeasure setMeasuredDimensionlayout (first|layoutRequest) (main thread) setFrame ...

2016-01-11 21:36:31

阅读数 894

评论数 0

android studio设置内存

/Applications/Android Studio.app/Contents/bin/studio.vmoptions-Xms7168m -Xmx8192m -XX:MaxPermSize=8192m -XX:ReservedCodeCacheSize=1024m

2016-01-28 16:33:04

阅读数 4629

评论数 0

android sharedUserId 共享用户

android:sharedUserId="com.aaa"相同sharedUserId的app必须使用同一个证书, 被分配同一个uidapp安装->sharedUserId->SharedUser->验证签名

2016-01-27 21:38:14

阅读数 434

评论数 0

View.onMeasured的默认实现 (onMeasure必须调setMeasuredDimension)

protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { setMeasuredDimension(getDefaultSize(getSuggestedMinimumWidth(), width...

2016-01-11 20:31:39

阅读数 1766

评论数 0

minSdkVersion <= targetSdkVersion <= compileSdkVersion

minSdkVersion <= targetSdkVersion <= compileSdkVersion

2016-01-08 18:39:09

阅读数 546

评论数 0

art(AOT) dalvik(JIT)

art(AOT) dalvik(JIT)

2016-01-06 11:57:05

阅读数 415

评论数 0

art虚拟机:预编译->oat文件 /data/dalvik-cache/ art支持多dex-oat文件支持多dex

art虚拟机:预编译->oat文件

2016-01-06 10:49:57

阅读数 544

评论数 0

android事件分发 入口(dispatchTouchEvent)

View.javapublic boolean dispatchTouchEvent(MotionEvent event) { // If the event should be handled by accessibility focus first. if (e...

2016-01-04 11:14:03

阅读数 630

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭