Home
last modified time | relevance | path

Searched refs:DENSITY_DEFAULT (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/util/
DDisplayMetrics.java50 public static final int DENSITY_DEFAULT = DENSITY_MEDIUM; field in DisplayMetrics
121 density = DENSITY_DEVICE / (float) DENSITY_DEFAULT; in setToDefaults()
203 densityDpi = (int)((density*DisplayMetrics.DENSITY_DEFAULT)+.5f); in updateMetrics()
225 SystemProperties.getInt("ro.sf.lcd_density", DENSITY_DEFAULT)); in getDeviceDensity()
DTypedValue.java145 public static final int DENSITY_DEFAULT = 0; field in TypedValue
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java48 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
150 mTargetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in setTargetDensity()
347 int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
DBitmapDrawable.java221 mTargetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in setTargetDensity()
439 int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
478 mTargetDensity = DisplayMetrics.DENSITY_DEFAULT; in BitmapDrawable()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java139 applicationDensity = DisplayMetrics.DENSITY_DEFAULT; in CompatibilityInfo()
141 / (float) DisplayMetrics.DENSITY_DEFAULT; in CompatibilityInfo()
/frameworks/base/core/java/android/view/
DDisplay.java97 outMetrics.densityDpi = (int)((mDensity*DisplayMetrics.DENSITY_DEFAULT)+.5f); in getMetrics()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java291 screenWidth, screenHeight, DisplayMetrics.DENSITY_DEFAULT, in computeLayout()
292 DisplayMetrics.DENSITY_DEFAULT, DisplayMetrics.DENSITY_DEFAULT, in computeLayout()
309 screenWidth, screenHeight, DisplayMetrics.DENSITY_DEFAULT, in computeLayout()
310 DisplayMetrics.DENSITY_DEFAULT, DisplayMetrics.DENSITY_DEFAULT, in computeLayout()
364 metrics.density = density / (float) DisplayMetrics.DENSITY_DEFAULT; in computeLayout()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java312 if (density == TypedValue.DENSITY_DEFAULT) { in decodeResourceStream()
313 opts.inDensity = DisplayMetrics.DENSITY_DEFAULT; in decodeResourceStream()
/frameworks/base/docs/html/sdk/api_diff/4/
DmissingSinces.txt132 NO DOC BLOCK: android.util.DisplayMetrics Field DENSITY_DEFAULT
133 NO DOC BLOCK: android.util.TypedValue Field DENSITY_DEFAULT
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/content/
DConfigTest.java136 mMetrics.density = (((float)value)/((float)DisplayMetrics.DENSITY_DEFAULT)); in setProperty()
/frameworks/base/include/utils/
DResourceTypes.h828 DENSITY_DEFAULT = 0, enumerator
/frameworks/base/tools/aapt/
DAaptAssets.cpp766 if (out) out->density = ResTable_config::DENSITY_DEFAULT; in getDensityName()
/frameworks/base/libs/utils/
DResourceTypes.cpp4032 if (dval == ResTable_config::DENSITY_DEFAULT) { in print()
/frameworks/base/core/java/android/app/
DActivityThread.java3878 Bitmap.setDefaultDensity(DisplayMetrics.DENSITY_DEFAULT); in handleBindApplication()