It depends on whether your app is hardware accelerated or not but at least
one view will have its onDraw method invoked.
On Oct 21, 2012 5:52 AM, "Satya Komatineni" <satya.komatin...@gmail.com>
wrote:

> Thank you very much. That helps.
>
> what if the layout results in shifting a view in its placement (origin
> change but not size). will that result in using the cached results of
> the previous draw?
>
>
> On Sat, Oct 20, 2012 at 4:19 PM, Romain Guy <romain...@android.com> wrote:
> > requestLayout() itself does not lead to a draw pass but some views might
> > react to a
> > Layout change by calling invalidate.
> >
> > On Oct 20, 2012 12:59 PM, "Satya Komatineni" <satya.komatin...@gmail.com
> >
> > wrote:
> >>
> >> For a UI action in the same thread:
> >>
> >> //On my view I call requestLayout()
> >> ViewRoot schedules a traversal
> >>
> >> //I don't call invalidate() on my view
> >> So, no rectangle is invalid (I am assuming that is the assertion
> >> because I didn't call invalidate)
> >>
> >>
> >> Is it possible that the layout phase may invalidate() some of the
> >> views? I suppose for those views that don't change their position or
> >> size, I am assuming onDraw() won't be called.
> >>
> >> Wondering if someone could comment on this.
> >>
> >> Thanks a lot.
> >> Satya
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> >> Groups "Android Developers" group.
> >> To post to this group, send email to
> android-developers@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> android-developers+unsubscr...@googlegroups.com
> >> 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 android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> http://satyakomatineni.com/android/training
> http://satyakomatineni.com
> http://androidbook.com
> http://twitter.com/SatyaKomatineni
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to