2009/3/31 waterblood <guoyin.c...@gmail.com>

> 1. As a multi windows systems, each window whill hold two buffers
> (front buffer, back buffer in surface). Is all the buffer size
> determined by the windows size or the display pannel size? If its size
> is same as the window'size, whether surface will destroyed and
> recreated if we resize it?


It's the size of the window.  The buffer is resized when the window resizes;
the surface is not destroyed.


> 2. How to control the z-order of Layer in surface? everytime a new
> Layer created, it will be added to the top in surfaceflinger. So if we
> want jump to another exist windows, how to updat the z-order of the
> former window, jump-to window?


Don't use surface flinger directly, use the window manager; it takes care of
Z-ordering.

-- 
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.  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-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to