Home
last modified time | relevance | path

Searched refs:xdpi (Results 1 – 24 of 24) 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/native/libs/ui/include_vndk/ui/
DDisplayInfo.h30 float xdpi{0};
/frameworks/native/libs/ui/include/ui/
DDisplayInfo.h30 float xdpi{0};
/frameworks/native/libs/nativewindow/
DANativeWindow.cpp194 *value = (int)window->xdpi; in ANativeWindow_query()
209 *value = window->xdpi; in ANativeWindow_queryf()
/frameworks/native/libs/nativewindow/include/system/
Dwindow.h328 : flags(0), minSwapInterval(0), maxSwapInterval(0), xdpi(0), ydpi(0) in ANativeWindow()
357 const float xdpi; member
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DClassifierTest.java42 displayMetrics.xdpi = 100; in setup()
DFalsingDataProviderTest.java48 displayMetrics.xdpi = 100; in setup()
/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/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityGestureDetectorTest.java56 displayMetricsMock.xdpi = 500; in setUp()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java122 metrics.xdpi = metrics.noncompatXdpi = hardwareConfig.getXdpi(); in init()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java51 mDisplayMetrics.xdpi = DisplayMetrics.DENSITY_DEFAULT; in setUp()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java476 inoutDm.xdpi = inoutDm.noncompatXdpi * invertedRatio; in applyToDisplayMetrics()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityGestureDetector.java251 final float pixelsPerInchX = context.getResources().getDisplayMetrics().xdpi; in AccessibilityGestureDetector()
/frameworks/base/core/java/android/view/
DDisplayInfo.java600 outMetrics.xdpi = outMetrics.noncompatXdpi = physicalXDpi; in getMetricsWithSize()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp803 float xdpi = hwConfig->getDpiX(); in getDisplayConfigs() local
819 density = xdpi / 160.0f; in getDisplayConfigs()
823 xdpi = ydpi = density = Density::getEmuDensity(); in getDisplayConfigs()
845 info.xdpi = xdpi; in getDisplayConfigs()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp748 env->SetFloatField(infoObj, gPhysicalDisplayInfoClassInfo.xDpi, info.xdpi); in nativeGetDisplayConfigs()
/frameworks/native/opengl/libagl/
Degl.cpp636 return (nativeWindow->xdpi * EGL_DISPLAY_SCALING) * (1.0f / 25.4f); in getHorizontalResolution()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31452 field public float xdpi;
/frameworks/base/non-updatable-api/
Dcurrent.txt49163 field public float xdpi;
/frameworks/base/api/
Dcurrent.txt49307 field public float xdpi;