Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DDisplayMetrics.java125 public static final int DENSITY_DEFAULT = DENSITY_MEDIUM; field in DisplayMetrics
131 public static final float DENSITY_DEFAULT_SCALE = 1.0f / DENSITY_DEFAULT;
255 density = DENSITY_DEVICE / (float) DENSITY_DEFAULT; in setToDefaults()
329 SystemProperties.getInt("ro.sf.lcd_density", DENSITY_DEFAULT)); in getDeviceDensity()
DTypedValue.java158 public static final int DENSITY_DEFAULT = 0; field in TypedValue
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java77 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
175 mTargetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in setTargetDensity()
482 state.mTargetDensity = densityDpi == 0 ? DisplayMetrics.DENSITY_DEFAULT : densityDpi; in updateStateFromTypedArray()
618 int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
715 mTargetDensity = densityDpi == 0 ? DisplayMetrics.DENSITY_DEFAULT : densityDpi; in updateLocalState()
DBitmapDrawable.java90 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
267 mTargetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in setTargetDensity()
816 state.mTargetDensity = densityDpi == 0 ? DisplayMetrics.DENSITY_DEFAULT : densityDpi; in updateStateFromTypedArray()
905 int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
980 mTargetDensity = densityDpi == 0 ? DisplayMetrics.DENSITY_DEFAULT : densityDpi; in updateLocalState()
DVectorDrawable.java423 final int targetDensity = densityDpi == 0 ? DisplayMetrics.DENSITY_DEFAULT : densityDpi; in updateDimensionInfo()
936 int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT;
/frameworks/support/v4/donut/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.java261 density = DisplayMetrics.DENSITY_DEFAULT; in parseDimension()
264 DisplayMetrics.DENSITY_DEFAULT; in parseDimension()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java433 if (density == TypedValue.DENSITY_DEFAULT) { in decodeResourceStream()
434 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.cpp244 if (out) out->density = ResTable_config::DENSITY_DEFAULT; in parseDensity()
743 || config->density != ResTable_config::DENSITY_DEFAULT) { in applyVersionForCompatibility()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java320 Math.min(1f, (float) MAX_BITMAP_DENSITY / DisplayMetrics.DENSITY_DEFAULT in decode()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java113 metrics.densityDpi / (float) DisplayMetrics.DENSITY_DEFAULT; in init()
DLayout.java388 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavBar()
/frameworks/base/include/androidfw/
DResourceTypes.h970 DENSITY_DEFAULT = ACONFIGURATION_DENSITY_DEFAULT, enumerator
/frameworks/base/core/java/android/app/
DActivityThread.java4426 Bitmap.setDefaultDensity(DisplayMetrics.DENSITY_DEFAULT); in updateDefaultDensity()
4501 Bitmap.setDefaultDensity(DisplayMetrics.DENSITY_DEFAULT); in handleBindApplication()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java1623 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize()
1624 int longSizeDp = longSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2872 if (density != DENSITY_DEFAULT) { in toString()
/frameworks/base/api/
Dcurrent.txt33965 field public static final int DENSITY_DEFAULT = 160; // 0xa0
34452 field public static final int DENSITY_DEFAULT = 0; // 0x0
Dsystem-current.txt36257 field public static final int DENSITY_DEFAULT = 160; // 0xa0
36744 field public static final int DENSITY_DEFAULT = 0; // 0x0