Setting Display panel size for android.

193 views
Skip to first unread message

James lichtenstiger

unread,
Sep 10, 2010, 10:13:20 PM9/10/10
to android-porting
I'm porting android 2.2 sense UI to the Motorola droid (OMAP3430 board-
sholes), The incredible has WVGA(480x800) panel and the Droid has a
FWVGA(480x854) panel. I tried hard coding the resolution into the
kernel, but it threw off the screen calibration and the capacitive
softkeys no longer worked. Is there a better way to set the screen
resolution, perhaps internally in android?

Deva R

unread,
Sep 12, 2010, 2:42:34 PM9/12/10
to jamez...@gmail.com, android-porting
Android queries fb info via FBIOGET_VSCREENINFO ioctl call., and processes it.

it should be inherently taken care as per fb is set by kernel, but you
can track if /hardware/libhardware/modules/gralloc/framebuffer.cpp


Also, check in pdk display driver doc (at bottom), this exact problem
is mentioned in troubleshoot section
http://www.netmite.com/android/mydroid/development/pdk/docs/display_drivers.html
=> Both problems are caused by an incorrect implementation of the
frame buffer's page flipping. Key events are captured, but the
graphical interface appears to drop every other frame.

--
Regards,
Deva
www.bittoggler.com

> --
> unsubscribe: android-porti...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>

Reply all
Reply to author
Forward
0 new messages