Greetings, I've got a display for my board that puts the origin (x=0, y=0, z=0) at the top left corner. The display has a resolution of 480x800. Looking at the Android sensor.h[1] indicates that Android considers origin to be the bottom left corner of the display. Is there anyway in software to deal with this difference?
As it stands right now, the way the display is getting mounted onto the board, the home screen looks OK in portrait mode, but when we flip to landscape mode in an application, the screen is upside down. I'm thinking that making Android and the display agree upon the display's origin will make the switch from portrait to landscape work much better. Any ideas? [1] - http://android.git.kernel.org/?p=platform/hardware/libhardware.git;a=blob;f=include/hardware/sensors.h;h=74d50dd1512fc25ed3ba9767a2ef2f1bf80e2eae;hb=HEAD Regards -- Ashwin -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting