> 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.
Sounds like you need to optimize your application then. > Also I found out that if there is not enough time to redraw some > view, then all visible views will be redrawn. No, that is simply not true. > 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? How is drawChild() a bottleneck? It simply draws a given child. -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- 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

