Hi Romain,

Using invalidate() is the trivial View method that I wanted to circumvent, 
because it will adress its parent, which then will scan all of its children, 
and redraw the ones that are dirty. If you have a lot of children, and your 
app is an audio program that must not be interrupted, then you have a 
problem. Also I found out that if there is not enough time to redraw some 
view, then *all* visible views will be redrawn.

So I was trying to strip down the ViewGroup such that it became faster, with 
some succes. The bottleneck now is the method drawChild(Canvas canvas, View 
child), statement child.mPrivateFlags |= View.DRAWN, that can't be used any 
more. Could you give away the secret what I must use instead?

wboe 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to