Home
last modified time | relevance | path

Searched defs:density (Results 1 – 25 of 148) sorted by relevance

123456

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/
DAccessorizedBatteryDrawableTest.kt35 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/
DStatusBar.java68 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()
DCustomBar.java91 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()
DNavigationBar.java44 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/
DWindowMetrics.java80 public WindowMetrics(@NonNull Rect bounds, @NonNull WindowInsets windowInsets, float density) { in WindowMetrics()
95 float density) { in WindowMetrics()
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java99 public Drawable getIcon(int density) { in getIcon()
178 public Drawable getBadgedIcon(int density) { in getBadgedIcon()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/
DIconLoader.java35 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/
DSceneTransitionLayout.kt51 val density = LocalDensity.current constant
/frameworks/base/services/core/java/com/android/server/display/
DDensityMapping.java124 public final int density; field in DensityMapping.Entry
126 Entry(int width, int height, int density) { in Entry()
/frameworks/base/core/java/android/window/
DWindowMetricsController.java81 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/
DAnnotatedStringResource.kt44 val density = LocalDensity.current in annotatedStringResource() constant
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java426 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/
DConfigurationControllerImpl.kt32 private var density: Int = 0 variable
73 val density = newConfig.densityDpi in onConfigurationChanged() constant
/frameworks/native/libs/ui/include_vndk/ui/
DStaticDisplayInfo.h31 float density = 0.f; member
/frameworks/native/libs/ui/include/ui/
DStaticDisplayInfo.h31 float density = 0.f; member
/frameworks/native/include/ui/
DStaticDisplayInfo.h31 float density = 0.f; member
/frameworks/base/core/java/android/app/admin/
DDevicePolicyResourcesManager.java255 int density, in getDrawableForDensity()
290 int density, in getDrawableForDensity()
/frameworks/base/packages/SettingsLib/DisplayUtils/src/com/android/settingslib/display/
DDisplayDensityConfiguration.java76 public static void setForcedDisplayDensity(final int displayId, final int density) { in setForcedDisplayDensity()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DPixelCopyWindow.java49 final float density = getResources().getDisplayMetrics().density; in onCreate() local
/frameworks/base/core/java/android/content/res/
DCompatResources.java50 public Drawable getDrawableForDensity(@DrawableRes int id, int density) in getDrawableForDensity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUtils.kt59 val density = context.resources.displayMetrics.densityDpi.toFloat() in dpToPixels() constant
/frameworks/base/services/core/java/com/android/server/wm/
DLaunchParamsUtil.java77 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/
DDisplayDensityUtils.java169 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/
DTextPaint.java37 public float density = 1.0f; field in TextPaint
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java181 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

123456