/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/theme/ |
D | WindowSizeClass.kt | 56 val density = LocalDensity.current in calculateWindowSizeClass() constant
|
/packages/apps/ThemePicker/src/com/android/customization/picker/common/ui/view/ |
D | ItemSpacing.kt | 30 val density = parent.context.resources.displayMetrics.density in getItemOffsets() constant
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | TouchTargetEnforcer.java | 45 public TouchTargetEnforcer(float density) { in TouchTargetEnforcer() 55 TouchTargetEnforcer(float density, TouchDelegateProvider touchDelegateProvider) { in TouchTargetEnforcer()
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | WidgetUtils.kt | 43 val density: Float = res.getDisplayMetrics().density in getScaleRatio() constant 72 val density: Float = res.getDisplayMetrics().density in getHeightScaleRatio() constant
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ScreenZoomPreference.java | 38 final DisplayDensityUtils density = new DisplayDensityUtils(context); in ScreenZoomPreference() local
|
D | ScreenResolutionFragment.java | 327 final DisplayDensityUtils density = new DisplayDensityUtils(mContext); in startObserve() local 372 final DisplayDensityUtils density = new DisplayDensityUtils(mContext); in restoreDensity() local 388 final DisplayDensityUtils density = new DisplayDensityUtils(mContext); in isDensityChanged() local
|
D | DensityPreference.java | 53 final float density = metrics.density; in getCurrentSwDp() local
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | Display.java | 40 public static float density(Context context) { in density() method in Display
|
/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/ |
D | DisplaySizeDataTest.java | 63 final int density = mContext.getResources().getDisplayMetrics().densityDpi; in commit_success() local
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/ |
D | AlertDialog.kt | 133 val density = LocalDensity.current in AlertContent() constant
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | EdgeTypePreferenceTest.java | 79 final float density = mContext.getResources().getDisplayMetrics().density; in onBindListItem_initSubtitleView() local
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | PresetPreference.java | 55 final float density = getContext().getResources().getDisplayMetrics().density; in onBindListItem() local
|
D | EdgeTypePreference.java | 61 final float density = getContext().getResources().getDisplayMetrics().density; in onBindListItem() local
|
/packages/apps/Launcher3/src/com/android/launcher3/icons/ |
D | ShortcutCachingLogic.java | 103 public static Drawable getIcon(Context context, ShortcutInfo shortcutInfo, int density) { in getIcon()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlaybackActivity.java | 71 float density = getResources().getDisplayMetrics().density; in onConfigurationChanged() local
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | DisplayControllerTest.kt | 76 private val density = densityDpi / DisplayMetrics.DENSITY_DEFAULT.toFloat() in <lambda>() constant
|
/packages/apps/Settings/src/com/android/settings/ |
D | AppWidgetPickActivity.java | 103 final int density = res.getDisplayMetrics().densityDpi; in createItem() local
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/layout/ |
D | ScalingLazyColumnDefaults.kt | 79 val density = LocalDensity.current in responsive() constant
|
D | ScalingLazyColumnState.kt | 162 val density = LocalDensity.current in rememberResponsiveColumnState() constant
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/util/ |
D | WidgetSizes.java | 48 final float density = context.getResources().getDisplayMetrics().density; in getWidgetSizesDp() local
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 227 float density = context.getResources().getDisplayMetrics().density; in getDeviceProfileForPreview() local
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/ |
D | AbstractDeviceProfileTest.kt | 294 val density = densityDpi / DisplayMetrics.DENSITY_DEFAULT.toFloat() in <lambda>() constant
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/udfps/ui/widget/ |
D | UdfpsEnrollProgressBarDrawableV2.kt | 103 val density = context.resources.displayMetrics.densityDpi.toFloat() in <lambda>() constant
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | IconProvider.java | 169 private Drawable loadActivityInfoIcon(ActivityInfo ai, int density) { in loadActivityInfoIcon()
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/widget/ |
D | UdfpsEnrollProgressBarDrawable.java | 129 float density = context.getResources().getDisplayMetrics().densityDpi; in UdfpsEnrollProgressBarDrawable() local
|