In the case of the Nexus 6, the manufacturer chose a quantized density of 560 (adb shell getprop ro.sf.lcd_density), even though the physical density is about 493 (getResources().getDisplayMetrics().toString()). Understanding why they might do this requires understanding the meaning of the quantized density and how it affects image resource rendering, which is explained here.
In short, the quantized density of 560 means that the scale factor employed to load/render images will be 3.5. In the words of D. Hackborn, 'The density ... is an abstract density bucket the device manufacturer has decided makes sense for their UI to run in. This is what is used to evaluate things like "dp" units and select and scale bitmaps from resources.'
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…