2012年4月27日

动画的硬件加速

摘要: 好像是3D的都能加速, 2D的部分能加速. 也不知道怎么加速.以后要总结总结.哪些能加速, 哪些不能加速.android图形系统详解六:View layerView layers 在所有版本的Android中,views都有画到离屏缓冲的能力,这包括使用view的绘制cache,或使用Canvas.saveLayer().离屏缓冲,或者说层,有很多用处.你可以使用它们来为复杂的view动画或使用组合效果时提高性能.例如,你可以使用Canvas.saveLayer()实现淡出效果,这个方法会临时的把一个view画到一个layer中然后使用一个透明系数把它组合回屏幕上. 从Android3.0.. 阅读全文

posted @ 2012-04-27 16:11 明明的天天 阅读(1905) 评论(0) 推荐(0)

android View全面详解2

摘要: Nested ClassesclassView.AccessibilityDelegateThis class represents a delegate that can be registered in aViewto enhance accessibility support via composition rather via inheritance.classView.BaseSavedStateBase class for derived classes that want to save and restore their own state inonSaveInstanceSt 阅读全文

posted @ 2012-04-27 14:44 明明的天天 阅读(8729) 评论(0) 推荐(0)

android View全面详解

摘要: 全面的详解, 必须API文档的介绍, 如下:Class OverviewThis class represents the basic building block for user interface components. A View occupies a rectangular area on the screen and is responsible for drawing and event handling. View is the base class forwidgets, which are used to create interactive UI components 阅读全文

posted @ 2012-04-27 11:37 明明的天天 阅读(1400) 评论(0) 推荐(0)

导航