/frameworks/base/core/java/android/util/ |
D | DisplayMetrics.java | 147 public static final int DENSITY_DEFAULT = DENSITY_MEDIUM; field in DisplayMetrics 153 public static final float DENSITY_DEFAULT_SCALE = 1.0f / DENSITY_DEFAULT; 294 density = DENSITY_DEVICE / (float) DENSITY_DEFAULT; in setToDefaults() 368 SystemProperties.getInt("ro.sf.lcd_density", DENSITY_DEFAULT)); in getDeviceDensity()
|
D | TypedValue.java | 159 public static final int DENSITY_DEFAULT = 0; field in TypedValue
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 48 mDisplayMetrics.densityDpi = DisplayMetrics.DENSITY_DEFAULT; in setUp() 49 mDisplayMetrics.xdpi = DisplayMetrics.DENSITY_DEFAULT; in setUp() 50 mDisplayMetrics.ydpi = DisplayMetrics.DENSITY_DEFAULT; in setUp() 53 mDisplayMetrics.noncompatXdpi = DisplayMetrics.DENSITY_DEFAULT; in setUp() 54 mDisplayMetrics.noncompatYdpi = DisplayMetrics.DENSITY_DEFAULT; in setUp()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableWrapper.java | 134 final int targetDensity = densityDpi == 0 ? DisplayMetrics.DENSITY_DEFAULT : densityDpi; in inflate() 161 final int density = densityDpi == 0 ? DisplayMetrics.DENSITY_DEFAULT : densityDpi; in applyTheme() 449 int mDensity = DisplayMetrics.DENSITY_DEFAULT; 469 mDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in DrawableWrapperState()
|
D | BitmapDrawable.java | 91 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT; 268 mTargetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in setTargetDensity() 927 int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
|
D | NinePatchDrawable.java | 83 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT; 181 density = DisplayMetrics.DENSITY_DEFAULT; in setTargetDensity()
|
D | InsetDrawable.java | 303 final int density = densityDpi == 0 ? DisplayMetrics.DENSITY_DEFAULT : densityDpi; in newDrawable()
|
D | Drawable.java | 1492 return densityDpi == 0 ? DisplayMetrics.DENSITY_DEFAULT : densityDpi; in resolveDensity()
|
D | DrawableContainer.java | 669 int mDensity = DisplayMetrics.DENSITY_DEFAULT;
|
D | LayerDrawable.java | 1820 public int mDensity = DisplayMetrics.DENSITY_DEFAULT;
|
D | VectorDrawable.java | 824 int mDensity = DisplayMetrics.DENSITY_DEFAULT;
|
D | GradientDrawable.java | 1805 int mDensity = DisplayMetrics.DENSITY_DEFAULT;
|
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawable.java | 47 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT; 119 mTargetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in setTargetDensity()
|
/frameworks/base/cmds/wm/src/com/android/commands/wm/ |
D | Wm.java | 264 density = DisplayMetrics.DENSITY_DEFAULT; in parseDimension() 267 DisplayMetrics.DENSITY_DEFAULT; in parseDimension()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapFactory.java | 444 if (density == TypedValue.DENSITY_DEFAULT) { in decodeResourceStream() 445 opts.inDensity = DisplayMetrics.DENSITY_DEFAULT; in decodeResourceStream()
|
/frameworks/base/core/java/android/content/res/ |
D | CompatibilityInfo.java | 233 applicationDensity = DisplayMetrics.DENSITY_DEFAULT; in CompatibilityInfo() 235 / (float) DisplayMetrics.DENSITY_DEFAULT; in CompatibilityInfo()
|
/frameworks/base/tools/aapt/ |
D | AaptConfig.cpp | 269 || config->density != ResTable_config::DENSITY_DEFAULT) { in applyVersionForCompatibility() 508 if (out) out->density = ResTable_config::DENSITY_DEFAULT; in parseDensity() 828 if (config.density == ResTable_config::DENSITY_DEFAULT) { in isDensityOnly()
|
/frameworks/base/tools/aapt2/ |
D | ConfigDescription.cpp | 269 if (out) out->density = ResTable_config::DENSITY_DEFAULT; in parseDensity() 777 || config->density != ResTable_config::DENSITY_DEFAULT) { in applyVersionForCompatibility()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 112 metrics.densityDpi / (float) DisplayMetrics.DENSITY_DEFAULT; in init()
|
D | Layout.java | 391 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavBar()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | BasicBitmapDrawable.java | 320 Math.min(1f, (float) MAX_BITMAP_DENSITY / DisplayMetrics.DENSITY_DEFAULT in decode()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 976 DENSITY_DEFAULT = ACONFIGURATION_DENSITY_DEFAULT, enumerator
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 1985 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize() 1986 int longSizeDp = longSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 2980 if (density != DENSITY_DEFAULT) { in toString()
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 5178 Bitmap.setDefaultDensity(DisplayMetrics.DENSITY_DEFAULT); in handleBindApplication()
|