search

goog.labs.style.PixelDensityMonitor.Density

Provided By
Typenumber

The two different pixel density modes on which the various ratios between physical and device pixels are mapped.

Values

HIGH

Mode for newer portable devices with a high resolution screen, defined as having a device pixel ratio of more than 1.5.

NORMAL

Mode for older portable devices and desktop screens, defined as having a device pixel ratio of less than 1.5.