/frameworks/base/core/java/android/util/ |
D | DisplayMetrics.java | 125 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()
|
D | TypedValue.java | 158 public static final int DENSITY_DEFAULT = 0; field in TypedValue
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | NinePatchDrawable.java | 77 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()
|
D | BitmapDrawable.java | 90 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()
|
D | VectorDrawable.java | 423 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/ |
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 | 261 density = DisplayMetrics.DENSITY_DEFAULT; in parseDimension() 264 DisplayMetrics.DENSITY_DEFAULT; in parseDimension()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapFactory.java | 433 if (density == TypedValue.DENSITY_DEFAULT) { in decodeResourceStream() 434 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 | 244 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/ |
D | BasicBitmapDrawable.java | 320 Math.min(1f, (float) MAX_BITMAP_DENSITY / DisplayMetrics.DENSITY_DEFAULT in decode()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 113 metrics.densityDpi / (float) DisplayMetrics.DENSITY_DEFAULT; in init()
|
D | Layout.java | 388 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavBar()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 970 DENSITY_DEFAULT = ACONFIGURATION_DENSITY_DEFAULT, enumerator
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 4426 Bitmap.setDefaultDensity(DisplayMetrics.DENSITY_DEFAULT); in updateDefaultDensity() 4501 Bitmap.setDefaultDensity(DisplayMetrics.DENSITY_DEFAULT); in handleBindApplication()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 1623 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize() 1624 int longSizeDp = longSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 2872 if (density != DENSITY_DEFAULT) { in toString()
|
/frameworks/base/api/ |
D | current.txt | 33965 field public static final int DENSITY_DEFAULT = 160; // 0xa0 34452 field public static final int DENSITY_DEFAULT = 0; // 0x0
|
D | system-current.txt | 36257 field public static final int DENSITY_DEFAULT = 160; // 0xa0 36744 field public static final int DENSITY_DEFAULT = 0; // 0x0
|