It's complicated and involves the activity manager, window manager, current
window manager policy, and eventually a rotation on the surface flinger.  If
you want to know generally what is going on, I would suggest just looking at
the code; if you have a specific thing you are trying to accomplish, I would
be glad to help.

(And first starting point, the parameter is not "0", it is one of the
constants in ActivityInfo, which gets mapped to the rotation to use as
described in the documentation for these various pieces.)

On Mon, Mar 30, 2009 at 5:46 PM, Max R. <[email protected]> wrote:

>
> Hi, what's the actual call (function) flow from setRequestedOrientation
> (java) down to SurfaceFlinger(cpp)?
> Specially, can someone explain where the parameter 0 of
> setRequestedOrientation get translated into ROTATION_90?
>
> Max
>
> >
>


-- 
Dianne Hackborn
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to