That variable also refers to the images that get used. i.e. https://github.com/mozilla-b2g/gaia/tree/master/apps/camera/style/images There's a 1, 1.5 and 2 : grid.png Bug 939227 - Remove shadows from action icons in camera. r=daleharvey a month ago [email protected] Bug 939227 - Remove shadows from action icons in camera. r=daleharvey a month ago [email protected] Bug 830644 - [Camera][Hidpi] Support high resolution devices 9 months ago If the variable doesn't correspond to one of those three… I'm not sure what happens.
Regards, Naoki On Dec 27, 2013, at 10:06 AM, [email protected] wrote: > On Wednesday, December 25, 2013 12:53:00 PM UTC+1, Alexandre Lissy wrote: >> Le 25/12/2013 01:24, Philip Wright a �crit : >> >>> [quote]PX=1, PX=1.5, or PX=2 is the GAIA_DEV_PIXELS_PER_PX setting that >>> should be used for the device[/quote] >> >>> >> >>> currently trying to build FFOS for the Lg Optimus E400, see >>> http://forum.xda-developers.com/showthread.php?t=2576978 >> >>> >> >>> but all the icons are oversized. >> >>> >> >>> if PX=1 is suitable for HVGA, is PX=0.5 suitable for QVGA? >> >> >> >> According to the specs at GSMArena, this device is 240x320 with 125ppi. >> >> This is even lower than our reference devices. For example, the Keon has >> >> 320x480 screen is 165ppi. >> >> >> >> So the GetDefaultScaleInternal() method will return a >> >> GAIA_DEV_PIXELS_PER_PX=1.0, according to >> >> https://mxr.mozilla.org/mozilla-central/source/widget/gonk/nsWindow.cpp#532 >> >> >> >> Maybe the fix would be to hack GetDefaultScaleInternal(), make it return >> >> 0.5 in this case, and update the icons accordingly ? >> >> >> >>> _______________________________________________ >> >>> dev-b2g mailing list >> >>> [email protected] >> >>> https://lists.mozilla.org/listinfo/dev-b2g >> >>> > > I can try 0,5 or 0,7 but first we need to make these work again > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
