Thank you very much Romain for pointing me in the right direction. I'll start reading up on invalidate and use that for my updates.
-Chris On Sun, Jan 10, 2010 at 9:49 PM, Romain Guy <[email protected]> wrote: > When you call invalidate() to redraw your View, specify what area to > redraw: > > invalidate(Rect t) > or > invalidate(int left, int top, int right, int bottom) > > On Sun, Jan 10, 2010 at 8:44 PM, chris harper <[email protected]> wrote: > > Hi > > > > When doing a lot of updates on a canvas (like an animation) if you > > only want to update a small part of the canvas when onDraw is called > > instead of redrawing the entire canvas is there a way to only redraw > > one part and keep the rest of the canvas the exact same to save on > > "Drawing Time"? > > > > For example a scene with a background and a character in it and you > > want him to wave so you only want to update the arm moving and keep > > the rest of the scene the same without having to redraw it all (to > > save on drawing time). > > > > Is there a way to do this? Or is it an all or nothing deal when > > redrawing a canvas? > > > > If there is an obvious way or if I misinterpreted how the onDraw works > > then I apologize. > > > > Thank you > > > > -Chris > > > > -- > > 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]<android-developers%[email protected]> > > For more options, visit this group at > > http://groups.google.com/group/android-developers?hl=en > > > > > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en >
-- 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

