Home
last modified time | relevance | path

Searched refs:xdpi (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/util/
DDisplayMetrics.java271 public float xdpi; field in DisplayMetrics
336 xdpi = o.xdpi; in setTo()
353 xdpi = DENSITY_DEVICE; in setToDefaults()
360 noncompatXdpi = xdpi; in setToDefaults()
396 && xdpi == other.xdpi in equalsPhysical()
415 ", xdpi=" + xdpi + ", ydpi=" + ydpi + "}"; in toString()
DTypedValue.java395 return value * metrics.xdpi * (1.0f/72); in applyDimension()
397 return value * metrics.xdpi; in applyDimension()
399 return value * metrics.xdpi * (1.0f/25.4f); in applyDimension()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteHardwareConfig.java52 private RemoteHardwareConfig(int screenWidth, int screenHeight, Density density, float xdpi, in RemoteHardwareConfig() argument
58 mXdpi = xdpi; in RemoteHardwareConfig()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayAdjustmentsTests.java92 metrics.xdpi = metrics.noncompatXdpi = w; in testFixedRotationAdjustments()
98 flippedMetrics.xdpi = flippedMetrics.noncompatXdpi = h; in testFixedRotationAdjustments()
/frameworks/base/core/java/android/view/
DDisplayAdjustments.java134 float x = metrics.xdpi; in adjustMetrics()
135 metrics.xdpi = metrics.ydpi; in adjustMetrics()
DDisplayInfo.java586 outMetrics.xdpi = outMetrics.noncompatXdpi = physicalXDpi; in getMetricsWithSize()
/frameworks/native/libs/nativewindow/
DANativeWindow.cpp220 *value = (int)window->xdpi; in ANativeWindow_query()
235 *value = window->xdpi; in ANativeWindow_queryf()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DClassifierTest.java42 displayMetrics.xdpi = 100; in setup()
DBrightLineFalsingManagerTest.java64 dm.xdpi = 100; in setup()
DFalsingDataProviderTest.java46 displayMetrics.xdpi = 100; in setup()
/frameworks/native/libs/nativewindow/include/system/
Dwindow.h345 : flags(0), minSwapInterval(0), maxSwapInterval(0), xdpi(0), ydpi(0) in ANativeWindow()
374 const float xdpi; member
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java267 public ConfigGenerator setXdpi(int xdpi) { in setXdpi() argument
268 mXdpi = xdpi; in setXdpi()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java54 mXdpi = displayMetrics.xdpi; in FalsingDataProvider()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DHumanInteractionClassifier.java69 mDpi = (displayMetrics.xdpi + displayMetrics.ydpi) / 2.0f; in HumanInteractionClassifier()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java124 metrics.xdpi = metrics.noncompatXdpi = hardwareConfig.getXdpi(); in init()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DSwipe.java121 final float pixelsPerCmX = displayMetrics.xdpi / 2.54f; in Swipe()
DMultiFingerSwipe.java100 final float pixelsPerCmX = displayMetrics.xdpi / GestureUtils.CM_PER_INCH; in MultiFingerSwipe()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java476 inoutDm.xdpi = inoutDm.noncompatXdpi * invertedRatio; in applyToDisplayMetrics()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java51 mDisplayMetrics.xdpi = DisplayMetrics.DENSITY_DEFAULT; in setUp()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31452 field public float xdpi;
/frameworks/base/api/
Dcurrent.txt51408 field public float xdpi;