Home

Android View

Android View 双缓存: 屏幕缓存和GPS渲染缓存分开, 防止屏幕显示不完整的帧 Back Buffer和Frame Buffer VSync: Vertical Synchronization, 利用Vertical Blanking Interval(VBI) 间隙的 vertical sync pulse(垂直同步脉冲)交换双缓存. 避免screen tearing. Choreographer: 保证绘制拥有完整的16.6ms,避免绘制的随机性 SurfaceFlinger: 接受多个来源的图形显示数据,将他们合成,然后发送到显示设备进行渲染 重绘 requestLayout 或者 invalidate performTravers...

Read more

Android Layout

Android Layout Android Linear Layout: LinearLayout is a ViewGroup subclass, used to provide child View elements one by one either in a particular direction either horizontally or vertically based on the orientation property. Android Relative Layout: RelativeLayout is a ViewGroup subclass, used to specify the position of child View elements...

Read more

Android Handler

Android Handler Message MessageQueue Looper Looper.prepare(); Looper.loop(); Reference Android组件系列:Handler机制详解

Read more

Android Dalvik

Android Dalvik Reference Android runtime and Dalvik Exploring the Differences Between Dalvik and ART Runtimes in Android

Read more