Searched refs:DENSITY_DEFAULT (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/core/java/android/util/ |
D | DisplayMetrics.java | 50 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()
|
D | TypedValue.java | 145 public static final int DENSITY_DEFAULT = 0; field in TypedValue
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | NinePatchDrawable.java | 48 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT; 150 mTargetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in setTargetDensity() 347 int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
|
D | BitmapDrawable.java | 221 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/ |
D | CompatibilityInfo.java | 139 applicationDensity = DisplayMetrics.DENSITY_DEFAULT; in CompatibilityInfo() 141 / (float) DisplayMetrics.DENSITY_DEFAULT; in CompatibilityInfo()
|
/frameworks/base/core/java/android/view/ |
D | Display.java | 97 outMetrics.densityDpi = (int)((mDensity*DisplayMetrics.DENSITY_DEFAULT)+.5f); in getMetrics()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | Bridge.java | 291 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/ |
D | BitmapFactory.java | 312 if (density == TypedValue.DENSITY_DEFAULT) { in decodeResourceStream() 313 opts.inDensity = DisplayMetrics.DENSITY_DEFAULT; in decodeResourceStream()
|
/frameworks/base/docs/html/sdk/api_diff/4/ |
D | missingSinces.txt | 132 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/ |
D | ConfigTest.java | 136 mMetrics.density = (((float)value)/((float)DisplayMetrics.DENSITY_DEFAULT)); in setProperty()
|
/frameworks/base/include/utils/ |
D | ResourceTypes.h | 828 DENSITY_DEFAULT = 0, enumerator
|
/frameworks/base/tools/aapt/ |
D | AaptAssets.cpp | 766 if (out) out->density = ResTable_config::DENSITY_DEFAULT; in getDensityName()
|
/frameworks/base/libs/utils/ |
D | ResourceTypes.cpp | 4032 if (dval == ResTable_config::DENSITY_DEFAULT) { in print()
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 3878 Bitmap.setDefaultDensity(DisplayMetrics.DENSITY_DEFAULT); in handleBindApplication()
|