Re: [android-porting] Emulator display magic?

2010-09-15 Thread James Adams
Hi Sean - thanks for the tip - that's fixed it :-) On Tue, Sep 14, 2010 at 3:08 PM, Sean McNeil wrote: >  Take a look at the system property ro.sf.lcd_density. For a QVGA screen, > you want to set it as > > ro.sf.lcd_density = 120 > > to get the proper scaling. IMHO, the density should not be nec

Re: [android-porting] Emulator display magic?

2010-09-14 Thread Sean McNeil
Take a look at the system property ro.sf.lcd_density. For a QVGA screen, you want to set it as ro.sf.lcd_density = 120 to get the proper scaling. IMHO, the density should not be necessary and scaling could be done via the dpi. But for some reason it isn't done. Sean On 9/14/2010 4:54 PM, J

[android-porting] Emulator display magic?

2010-09-14 Thread James Adams
I'm porting Android onto some hardware with a 240x320 (portrait) display. My quesion is, does Android base all of its icon / widget scaling based on the 'width' and 'height' (in mm) parameters returned from the frame buffer driver? I expect it should, but it seems not to - what I want to do is ge