Home
last modified time | relevance | path

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

1234567

/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.java85 public StatusBar(BridgeContext context, Density density, boolean isRtl, boolean rtlEnabled, in StatusBar()
120 … + Config.getWifiIconType(simulatedPlatformVersion), density,foregroundColor); in StatusBar() local
151 protected ImageView loadIcon(ImageView imageView, String iconName, Density density, int color) { 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()
DCustomBar.java84 protected ImageView loadIcon(ImageView imageView, String iconName, Density density, int color) { in loadIcon()
89 protected ImageView loadIcon(int index, String iconName, Density density, boolean isRtl) { in loadIcon()
/frameworks/base/core/java/android/view/
DWindowMetrics.java79 public WindowMetrics(@NonNull Rect bounds, @NonNull WindowInsets windowInsets, float density) { in WindowMetrics()
94 float density) { in WindowMetrics()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/windowsizeclass/
DWindowSizeClass.kt42 val density = LocalDensity.current in calculateWindowSizeClass() constant
/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/scene/tests/src/com/android/compose/animation/scene/
DFixedSizeEdgeDetectorTest.kt33 private val density = Density(1f) constant in com.android.compose.animation.scene.FixedSizeEdgeDetectorTest
/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.java83 final float density; in getWindowMetricsInternal() local
175 final float density = currentDisplayInfo.logicalDensityDpi in getPossibleMaximumWindowMetrics() local
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/layout/
DScalingLazyColumnDefaults.kt60 val density = LocalDensity.current in belowTimeText() constant
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java447 public final Drawable loadIcon(@NonNull Context context, int density) { in loadIcon()
467 public final Drawable loadPreviewImage(@NonNull Context context, int density) { in loadPreviewImage()
582 private Drawable loadDrawable(Context context, int density, int resourceId, in loadDrawable()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/common/ui/compose/windowinsets/
DScreenDecorProvider.kt51 val density = LocalDensity.current in ScreenDecorProvider() constant
/frameworks/base/core/tests/coretests/src/android/view/
DViewFrameRateTest.java254 float density = displayMetrics.density; in noVelocityUsesCategorySmall() local
294 float density = displayMetrics.density; in noVelocityUsesCategoryNarrowWidth() local
333 float density = displayMetrics.density; in noVelocityUsesCategoryNarrowHeight() local
372 float density = displayMetrics.density; in noVelocityUsesCategoryLargeWidth() local
411 float density = displayMetrics.density; in noVelocityUsesCategoryLargeHeight() local
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java124 public Drawable getIcon(int density) { in getIcon()
203 public Drawable getBadgedIcon(int density) { in getBadgedIcon()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/blueprint/
DBurnInState.kt69 val density = LocalDensity.current in rememberBurnInParameters() constant
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/media/controls/ui/composable/
DMediaCarousel.kt54 val density = LocalDensity.current in SceneScope() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImpl.kt36 private var density: Int = 0 variable
81 val density = newConfig.densityDpi in onConfigurationChanged() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/docking/ui/viewmodel/
DKeyboardDockingIndicationViewModelTest.kt79 val density = 1f in onConfigurationChanged_createsNewConfig() constant
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/
DGoneScene.kt88 val density = LocalDensity.current in HeadsUpNotificationStack() constant
/frameworks/base/core/java/android/app/admin/
DDevicePolicyResourcesManager.java255 int density, in getDrawableForDensity()
290 int density, in getDrawableForDensity()
/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/native/libs/ui/include_vndk/ui/
DStaticDisplayInfo.h31 float density = 0.f; member
/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

1234567