Re: [android-developers] Re: relation between ViewRoot and View
It's also something that should not be semantically visible from the SDK; it is just an implementation detail, which should be possible to change in the future without impacting the SDK. On Sun, Feb 21, 2010 at 10:05 PM, Romain Guy wrote: > There's only one ViewRoot for an entire view hierarchy (one ViewRoot > per window for instance.) There's certainly not one ViewRoot per View, > and it's actually pretty clear when reading the code of ViewRoot > and/or View. > > On Sun, Feb 21, 2010 at 10:03 PM, Guobin wrote: > > Some comments in ViewRoot.java > > ViewRoot: The top of a view hierarchy, implementing the needed > > protocol between View and the WindowManager. > > > > BRs > > Guobin > > > > On Feb 20, 4:53 pm, sheng wang wrote: > >> Hi , > >> > >> Can any one give more information about ViewRoot and what's the relation > >> between viewroot and view? > >> I found a Viewroot create a surface at its' constructor, which I think > is > >> the real bitmap data goes to. So I guess > >> every view has it own viewroot, every view has a surface for drawing > and > >> the surfaceflinger will finally blend all surfaces together, but I found > >> it's definitely wrong. > >> > >> How view and viewroot cooperate is quite ambiguous to me. Any > information > >> will be appreciated! > > > > -- > > 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 > > > > > > -- > Romain Guy > Android framework engineer > romain...@android.com > > 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 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 > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. 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 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
Re: [android-developers] Re: relation between ViewRoot and View
There's only one ViewRoot for an entire view hierarchy (one ViewRoot per window for instance.) There's certainly not one ViewRoot per View, and it's actually pretty clear when reading the code of ViewRoot and/or View. On Sun, Feb 21, 2010 at 10:03 PM, Guobin wrote: > Some comments in ViewRoot.java > ViewRoot: The top of a view hierarchy, implementing the needed > protocol between View and the WindowManager. > > BRs > Guobin > > On Feb 20, 4:53 pm, sheng wang wrote: >> Hi , >> >> Can any one give more information about ViewRoot and what's the relation >> between viewroot and view? >> I found a Viewroot create a surface at its' constructor, which I think is >> the real bitmap data goes to. So I guess >> every view has it own viewroot, every view has a surface for drawing and >> the surfaceflinger will finally blend all surfaces together, but I found >> it's definitely wrong. >> >> How view and viewroot cooperate is quite ambiguous to me. Any information >> will be appreciated! > > -- > 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 > -- Romain Guy Android framework engineer romain...@android.com 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 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
[android-developers] Re: relation between ViewRoot and View
Some comments in ViewRoot.java ViewRoot: The top of a view hierarchy, implementing the needed protocol between View and the WindowManager. BRs Guobin On Feb 20, 4:53 pm, sheng wang wrote: > Hi , > > Can any one give more information about ViewRoot and what's the relation > between viewroot and view? > I found a Viewroot create a surface at its' constructor, which I think is > the real bitmap data goes to. So I guess > every view has it own viewroot, every view has a surface for drawing and > the surfaceflinger will finally blend all surfaces together, but I found > it's definitely wrong. > > How view and viewroot cooperate is quite ambiguous to me. Any information > will be appreciated! -- 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