Portrait/Landscape mode

by UJ » Wed, 01 Apr 2009 02:23:52 GMT


Sponsored Links
 Hello folks,

When we try to implement orientation in AP layer,
we can set "android:screenOrientation" parameter in
AndroidManifest.xml file or call "setRequestOrientation()" method of
Activity class.

Can every experts tell me when I set the
"android:screenOrientation" parameter, which process will read this
configuration, pass to where and which process will do the rotation
(maybe graphic driver?)

Please give me some tips how to trace this flow.

Thanks everybody.
UJ




--~--~---------~--~----~------------~-------~--~----~



Portrait/Landscape mode

by Jean-Baptiste Queru » Wed, 01 Apr 2009 02:34:11 GMT


 What are you trying to achieve?

JBQ






-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Portrait/Landscape mode

by Dianne Hackborn » Wed, 01 Apr 2009 05:26:06 GMT


 I am starting to get tired of this question. :/  You can look at
ActivityManagerService, WindowManagerService, and PhoneWindowManager (and
down in to SurfaceFlinger if desired) to see the involved code.






-- 
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.

--~--~---------~--~----~------------~-------~--~----~



Portrait/Landscape mode

by UJ » Wed, 01 Apr 2009 07:44:10 GMT


 Thanks your reply. =)

I want to know if I need to modified graphic driver in my new device.
I want to do display rotation on other x86 platform.
I can boot up the android OS, but I cannot rotate my application >.<

In android emulator, I find some codes in "goldfish_fb.c" seems to do
the display rotation.

So, the SurfaceFlinger will call graphic driver to do the display
rotation?





--~--~---------~--~----~------------~-------~--~----~



Portrait/Landscape mode

by Jean-Baptiste Queru » Wed, 01 Apr 2009 12:56:45 GMT


 You're in the wrong group. This question belongs in android-porting.

JBQ

2009/4/1 UJ <ujhu...@gmail.com>:





-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. SDcard mount problem with vold

Hi All,

I am seeing similar problem as is highlighted in the below link in my
environment,

2. intermezzo: hero yg sedang mengalami identity crisis?

LMAO!

http://www.dealextreme.com/details.dx/sku.30780

--~--~---------~--~----~------------~-------~--~----~
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

3. Your one Look here

4. Tutorials: creating 9-patch drawables using SDK tools

5. TranslucentGLSurfaceViewActivity and screen rotation

6. How to know when an ougoing call has been answered

7. Error while Building the android...