/frameworks/base/core/java/android/util/ |
D | DisplayMetrics.java | 271 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()
|
D | TypedValue.java | 395 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/ |
D | RemoteHardwareConfig.java | 52 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/ |
D | DisplayInfo.h | 30 float xdpi{0};
|
/frameworks/native/libs/ui/include/ui/ |
D | DisplayInfo.h | 30 float xdpi{0};
|
/frameworks/native/libs/nativewindow/ |
D | ANativeWindow.cpp | 194 *value = (int)window->xdpi; in ANativeWindow_query() 209 *value = window->xdpi; in ANativeWindow_queryf()
|
/frameworks/native/libs/nativewindow/include/system/ |
D | window.h | 328 : 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/ |
D | ClassifierTest.java | 42 displayMetrics.xdpi = 100; in setup()
|
D | FalsingDataProviderTest.java | 48 displayMetrics.xdpi = 100; in setup()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
D | ConfigGenerator.java | 267 public ConfigGenerator setXdpi(int xdpi) { in setXdpi() argument 268 mXdpi = xdpi; in setXdpi()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProvider.java | 54 mXdpi = displayMetrics.xdpi; in FalsingDataProvider()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | HumanInteractionClassifier.java | 69 mDpi = (displayMetrics.xdpi + displayMetrics.ydpi) / 2.0f; in HumanInteractionClassifier()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityGestureDetectorTest.java | 56 displayMetricsMock.xdpi = 500; in setUp()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 122 metrics.xdpi = metrics.noncompatXdpi = hardwareConfig.getXdpi(); in init()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 51 mDisplayMetrics.xdpi = DisplayMetrics.DENSITY_DEFAULT; in setUp()
|
/frameworks/base/core/java/android/content/res/ |
D | CompatibilityInfo.java | 476 inoutDm.xdpi = inoutDm.noncompatXdpi * invertedRatio; in applyToDisplayMetrics()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityGestureDetector.java | 251 final float pixelsPerInchX = context.getResources().getDisplayMetrics().xdpi; in AccessibilityGestureDetector()
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 600 outMetrics.xdpi = outMetrics.noncompatXdpi = physicalXDpi; in getMetricsWithSize()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 803 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/ |
D | android_view_SurfaceControl.cpp | 748 env->SetFloatField(infoObj, gPhysicalDisplayInfoClassInfo.xDpi, info.xdpi); in nativeGetDisplayConfigs()
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 636 return (nativeWindow->xdpi * EGL_DISPLAY_SCALING) * (1.0f / 25.4f); in getHorizontalResolution()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 31452 field public float xdpi;
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 49163 field public float xdpi;
|
/frameworks/base/api/ |
D | current.txt | 49307 field public float xdpi;
|