Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/util/
DDisplayMetrics.java147 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()
DTypedValue.java159 public static final int DENSITY_DEFAULT = 0; field in TypedValue
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java48 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/
DDrawableWrapper.java134 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()
DBitmapDrawable.java91 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
268 mTargetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in setTargetDensity()
927 int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
DNinePatchDrawable.java83 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
181 density = DisplayMetrics.DENSITY_DEFAULT; in setTargetDensity()
DInsetDrawable.java303 final int density = densityDpi == 0 ? DisplayMetrics.DENSITY_DEFAULT : densityDpi; in newDrawable()
DDrawable.java1492 return densityDpi == 0 ? DisplayMetrics.DENSITY_DEFAULT : densityDpi; in resolveDensity()
DDrawableContainer.java669 int mDensity = DisplayMetrics.DENSITY_DEFAULT;
DLayerDrawable.java1820 public int mDensity = DisplayMetrics.DENSITY_DEFAULT;
DVectorDrawable.java824 int mDensity = DisplayMetrics.DENSITY_DEFAULT;
DGradientDrawable.java1805 int mDensity = DisplayMetrics.DENSITY_DEFAULT;
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java47 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/
DWm.java264 density = DisplayMetrics.DENSITY_DEFAULT; in parseDimension()
267 DisplayMetrics.DENSITY_DEFAULT; in parseDimension()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java444 if (density == TypedValue.DENSITY_DEFAULT) { in decodeResourceStream()
445 opts.inDensity = DisplayMetrics.DENSITY_DEFAULT; in decodeResourceStream()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java233 applicationDensity = DisplayMetrics.DENSITY_DEFAULT; in CompatibilityInfo()
235 / (float) DisplayMetrics.DENSITY_DEFAULT; in CompatibilityInfo()
/frameworks/base/tools/aapt/
DAaptConfig.cpp269 || 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/
DConfigDescription.cpp269 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/
DRenderAction.java112 metrics.densityDpi / (float) DisplayMetrics.DENSITY_DEFAULT; in init()
DLayout.java391 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavBar()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java320 Math.min(1f, (float) MAX_BITMAP_DENSITY / DisplayMetrics.DENSITY_DEFAULT in decode()
/frameworks/base/include/androidfw/
DResourceTypes.h976 DENSITY_DEFAULT = ACONFIGURATION_DENSITY_DEFAULT, enumerator
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java1985 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize()
1986 int longSizeDp = longSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2980 if (density != DENSITY_DEFAULT) { in toString()
/frameworks/base/core/java/android/app/
DActivityThread.java5178 Bitmap.setDefaultDensity(DisplayMetrics.DENSITY_DEFAULT); in handleBindApplication()

12