什么是Android中无效区域? [英] What is invalid region in Android?

查看:134
本文介绍了什么是Android中无效区域?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Android的怎么样画图的主题,有这么一句话:

Under "How Android Draws Views" topic, there is such a sentence :

绘图开始的根节点
  布局。它被要求来测量
  并绘制布局树。绘画是
  步行树处理,
  呈现每个视图相交
  在无效区域

和我不太明白的术语无效区域。

And I didn't quite understand the term "invalid region".

下面是引用的来源的文章。

Here is the source article of the quotation.

有人能详细点吗?

感谢。

推荐答案

无效区域实质上是一个需要重新绘制屏幕的部分。它是用来做仅重绘无效区域,只留下其余的画更有效率。

The "invalid region" is essentially the portion of the screen that requires repainting. It's used to make painting more efficient by only repainting the invalid region and leaving the rest alone.

这篇关于什么是Android中无效区域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆