/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/ |
D | AccessorizedBatteryDrawableTest.kt | 35 val density = context.resources.displayMetrics.density in intrinsicSize_shieldFalse_isBatterySize() constant 45 val density = context.resources.displayMetrics.density in intrinsicSize_shieldTrue_isBatteryPlusShieldSize() constant
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | StatusBar.java | 68 public StatusBar(BridgeContext context, Density density, boolean isRtl, boolean rtlEnabled, in StatusBar() 102 + Config.getWifiIconType(simulatedPlatformVersion), density); in StatusBar() local 109 protected ImageView loadIcon(ImageView imageView, String iconName, Density density) { in loadIcon()
|
D | CustomBar.java | 91 protected ImageView loadIcon(ImageView imageView, String iconName, Density density) { in loadIcon() 96 protected ImageView loadIcon(int index, String iconName, Density density, boolean isRtl) { in loadIcon() 107 protected ImageView loadIcon(ImageView imageView, String iconName, Density density, in loadIcon()
|
D | NavigationBar.java | 44 public NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl, in NavigationBar() 50 protected NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl, in NavigationBar()
|
/frameworks/base/core/java/android/view/ |
D | WindowMetrics.java | 80 public WindowMetrics(@NonNull Rect bounds, @NonNull WindowInsets windowInsets, float density) { in WindowMetrics() 95 float density) { in WindowMetrics()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherActivityInfo.java | 99 public Drawable getIcon(int density) { in getIcon() 178 public Drawable getBadgedIcon(int density) { in getBadgedIcon()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/ |
D | IconLoader.java | 35 public IconLoader(String iconName, Density density, int platformVersion, LayoutDirection in IconLoader() 103 private InputStream getIcon(String resourceDir, Density density) { in getIcon()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/ |
D | SceneTransitionLayout.kt | 51 val density = LocalDensity.current constant
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DensityMapping.java | 124 public final int density; field in DensityMapping.Entry 126 Entry(int width, int height, int density) { in Entry()
|
/frameworks/base/core/java/android/window/ |
D | WindowMetricsController.java | 81 final float density; in getWindowMetricsInternal() local 168 final float density = currentDisplayInfo.logicalDensityDpi in getPossibleMaximumWindowMetrics() local
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/ |
D | AnnotatedStringResource.kt | 44 val density = LocalDensity.current in annotatedStringResource() constant
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProviderInfo.java | 426 public final Drawable loadIcon(@NonNull Context context, int density) { in loadIcon() 446 public final Drawable loadPreviewImage(@NonNull Context context, int density) { in loadPreviewImage() 555 private Drawable loadDrawable(Context context, int density, int resourceId, in loadDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImpl.kt | 32 private var density: Int = 0 variable 73 val density = newConfig.densityDpi in onConfigurationChanged() constant
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | StaticDisplayInfo.h | 31 float density = 0.f; member
|
/frameworks/native/libs/ui/include/ui/ |
D | StaticDisplayInfo.h | 31 float density = 0.f; member
|
/frameworks/native/include/ui/ |
D | StaticDisplayInfo.h | 31 float density = 0.f; member
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyResourcesManager.java | 255 int density, in getDrawableForDensity() 290 int density, in getDrawableForDensity()
|
/frameworks/base/packages/SettingsLib/DisplayUtils/src/com/android/settingslib/display/ |
D | DisplayDensityConfiguration.java | 76 public static void setForcedDisplayDensity(final int displayId, final int density) { in setForcedDisplayDensity()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PixelCopyWindow.java | 49 final float density = getResources().getDisplayMetrics().density; in onCreate() local
|
/frameworks/base/core/java/android/content/res/ |
D | CompatResources.java | 50 public Drawable getDrawableForDensity(@DrawableRes int id, int density) in getDrawableForDensity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | Utils.kt | 59 val density = context.resources.displayMetrics.densityDpi.toFloat() in dpToPixels() constant
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | LaunchParamsUtil.java | 77 final float density = (float) displayArea.getConfiguration().densityDpi / DENSITY_DEFAULT; in getDefaultFreeformSize() local 142 final float density = (float) displayArea.getConfiguration().densityDpi / DENSITY_DEFAULT; in adjustBoundsToFitInDisplayArea() local
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 169 final int density = ((int) (defaultDensity * (1 - (i + 1) * interval))) & ~1; in DisplayDensityUtils() local 190 final int density = ((int) (defaultDensity * (1 + (i + 1) * interval))) & ~1; in DisplayDensityUtils() local
|
/frameworks/base/core/java/android/text/ |
D | TextPaint.java | 37 public float density = 1.0f; field in TextPaint
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayCutoutTest.java | 181 final float density = 1f; in testGetCutoutPath() local 192 final float density = 1f; in testGetCutoutPath_caches() local 204 final float density = 1f; in testGetCutoutPath_wontCacheIfCutoutPathParerInfoChanged() local 217 final float density = 1f; in testGetCutoutPathParserInfo() local
|