On Thu, Sep 23, 2010 at 9:14 AM, G2 <[email protected]> wrote:

> - Launcher or Launcher2 doesn't rotate by default because of the
> nosensor reported by Craig in AOSP.
>

This is by design, and you will not the behavior of devices running stock
Android (Droid, Nexus One, etc).


> - The crazy behavior reported in the previous post (acceleration value
> changed after rotation) is due to code in frameworks/base/core/java/
> android/hardware/SensorManager.java. Value of acceleration are changed
> depending if rotation = 90 or 270. I think that it's a wrong behavior
> and it should be reported as a  bug.
>

There is just a convenience function there to account for the screen
rotation if you want.  This is correct.


> - Rotation code in frameworks doesn't include support for 180 and 270,
> only 0 and 90.
>

As of Froyo 270 is also supported as standard behavior.  180 may be enabled,
but the standard platform has it disabled for usability reasons.

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

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to