自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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(AOT) dalvik(JIT)

art(AOT) dalvik(JIT)

2016-01-06 11:57:05 573

原创 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关注的人

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