Home
last modified time | relevance | path

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

12

/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/theme/
DWindowSizeClass.kt56 val density = LocalDensity.current in calculateWindowSizeClass() constant
/packages/apps/ThemePicker/src/com/android/customization/picker/common/ui/view/
DItemSpacing.kt30 val density = parent.context.resources.displayMetrics.density in getItemOffsets() constant
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DTouchTargetEnforcer.java45 public TouchTargetEnforcer(float density) { in TouchTargetEnforcer()
55 TouchTargetEnforcer(float density, TouchDelegateProvider touchDelegateProvider) { in TouchTargetEnforcer()
/packages/apps/DeskClock/src/com/android/alarmclock/
DWidgetUtils.kt43 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/
DScreenZoomPreference.java38 final DisplayDensityUtils density = new DisplayDensityUtils(context); in ScreenZoomPreference() local
DScreenResolutionFragment.java327 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
DDensityPreference.java53 final float density = metrics.density; in getCurrentSwDp() local
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDisplay.java40 public static float density(Context context) { in density() method in Display
/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/
DDisplaySizeDataTest.java63 final int density = mContext.getResources().getDisplayMetrics().densityDpi; in commit_success() local
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/
DAlertDialog.kt133 val density = LocalDensity.current in AlertContent() constant
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DEdgeTypePreferenceTest.java79 final float density = mContext.getResources().getDisplayMetrics().density; in onBindListItem_initSubtitleView() local
/packages/apps/Settings/src/com/android/settings/accessibility/
DPresetPreference.java55 final float density = getContext().getResources().getDisplayMetrics().density; in onBindListItem() local
DEdgeTypePreference.java61 final float density = getContext().getResources().getDisplayMetrics().density; in onBindListItem() local
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DShortcutCachingLogic.java103 public static Drawable getIcon(Context context, ShortcutInfo shortcutInfo, int density) { in getIcon()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackActivity.java71 float density = getResources().getDisplayMetrics().density; in onConfigurationChanged() local
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DDisplayControllerTest.kt76 private val density = densityDpi / DisplayMetrics.DENSITY_DEFAULT.toFloat() in <lambda>() constant
/packages/apps/Settings/src/com/android/settings/
DAppWidgetPickActivity.java103 final int density = res.getDisplayMetrics().densityDpi; in createItem() local
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/layout/
DScalingLazyColumnDefaults.kt79 val density = LocalDensity.current in responsive() constant
DScalingLazyColumnState.kt162 val density = LocalDensity.current in rememberResponsiveColumnState() constant
/packages/apps/Launcher3/src/com/android/launcher3/widget/util/
DWidgetSizes.java48 final float density = context.getResources().getDisplayMetrics().density; in getWidgetSizesDp() local
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java227 float density = context.getResources().getDisplayMetrics().density; in getDeviceProfileForPreview() local
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DAbstractDeviceProfileTest.kt294 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/
DUdfpsEnrollProgressBarDrawableV2.kt103 val density = context.resources.displayMetrics.densityDpi.toFloat() in <lambda>() constant
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DIconProvider.java169 private Drawable loadActivityInfoIcon(ActivityInfo ai, int density) { in loadActivityInfoIcon()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/widget/
DUdfpsEnrollProgressBarDrawable.java129 float density = context.getResources().getDisplayMetrics().densityDpi; in UdfpsEnrollProgressBarDrawable() local

12