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. how to test sample applications

Hi all, i have got Android running on omap3530 Beagle board. i have
adb  interface to Board and can run adb commands. now i like to try
some sample applications, but no idea how to do that. can anybody
guide me about that.

thanks
super
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. How to get the version of os used in the phone

Hi all,

How can i get the os version currently using the android mobile

is any way to get that programatically

Thank you

Dilli Rao.M
--~--~---------~--~----~------------~-------~--~----~

3. how to call an Activity method from another java file

4. Time To Lift Dev Phone Purchase Limitations

5. Paint (fill) a Path with a texture

6. Compilation issue while adding library in external folder

7. Please teach me how to detect USB-connection