Thanks!  Got it now!

On Mar 31, 10:32 am, Dianne Hackborn <[email protected]> wrote:
> This is ActivityManagerService, WindowManagerService, PhoneWindowManager.
>
>
>
> On Tue, Mar 31, 2009 at 9:10 AM, Max R. <[email protected]> wrote:
>
> > I meant  SCREEN_ORIENTATION_LANDSCAPE for the parameter for
> > setRequestedOrientation().
> >         SCREEN_ORIENTATION_LANDSCAPE = Constant Value: 0
>
> > This request ends up coming to SurfaceFlinger as
> > eOrientation90          = 1.
>
> > Do you know where (where in src?) it checks
> > SCREEN_ORIENTATION_LANDSCAPE is valid and translate it to
> > eOrientation90?
>
> > Thx!
> > Max
>
> > On Mar 30, 7:15 pm, Dianne Hackborn <[email protected]> wrote:
> > > 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.
>
> --
> 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