Home
last modified time | relevance | path

Searched refs:getDefaultDensity (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmap_Delegate.java275 Bitmap.getDefaultDensity()); in nativeCreate()
304 Bitmap.getDefaultDensity()); in nativeCopy()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java569 outputBitmap.setDensity(Bitmap.getDefaultDensity()); in setDensityFromOptions()
DBitmap.java85 int mDensity = getDefaultDensity();
100 static int getDefaultDensity() { in getDefaultDensity() method in Bitmap
DCanvas.java166 mDensity = Bitmap.getDefaultDensity(); in Canvas()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp317 static float getDefaultDensity(uint32_t width, uint32_t height) { in getDefaultDensity() function
394 float dpi = getDefaultDensity(config.width, config.height); in queryDisplayProperties()
419 config.xdpi = config.ydpi = getDefaultDensity(w, h); in setVirtualDisplayProperties()