A density implementation that always returns 1 (no scaling).
A density implementation that returns the platform's display density.