Home | History | Annotate | Download | only in android

Lines Matching refs:density

17 hwLcd_setBootProperty(int density)
21 /* Map density to one of our five bucket values.
22 The TV density is a bit particular (and not actually a bucket
25 if (density != LCD_DENSITY_TVDPI) {
26 if (density < (LCD_DENSITY_LDPI + LCD_DENSITY_MDPI)/2)
27 density = LCD_DENSITY_LDPI;
28 else if (density < (LCD_DENSITY_MDPI + LCD_DENSITY_HDPI)/2)
29 density = LCD_DENSITY_MDPI;
30 else if (density < (LCD_DENSITY_HDPI + LCD_DENSITY_XHDPI)/2)
31 density = LCD_DENSITY_HDPI;
33 density = LCD_DENSITY_XHDPI;
36 snprintf(temp, sizeof temp, "%d", density);