Home
last modified time | relevance | path

Searched refs:sPixelDensity (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java75 private static float sPixelDensity = -1f; field in GalleryUtils
84 sPixelDensity = metrics.density; in initialize()
109 return sPixelDensity * dp; in dpToPixel()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java86 private static float sPixelDensity = 1; field in Util
99 sPixelDensity = metrics.density; in initialize()
109 return Math.round(sPixelDensity * dp); in dpToPixel()