Home
last modified time | relevance | path

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

12

/packages/apps/DeskClock/src/com/android/alarmclock/
DWidgetUtils.java48 float density = res.getDisplayMetrics().density; in getScaleRatio() local
86 float density = res.getDisplayMetrics().density; in getHeightScaleRatio() local
DWidgetUtils.kt43 val density: Float = res.getDisplayMetrics().density in getScaleRatio() constant
72 val density: Float = res.getDisplayMetrics().density in getHeightScaleRatio() constant
DDigitalAppWidgetProvider.java238 final float density = resources.getDisplayMetrics().density; in relayoutWidget() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DScreenZoomPreference.java38 final DisplayDensityUtils density = new DisplayDensityUtils(context); in ScreenZoomPreference() local
DScreenZoomSettings.java66 final DisplayDensityUtils density = new DisplayDensityUtils(getContext()); in onCreate() local
DDensityPreference.java53 final float density = metrics.density; in getCurrentSwDp() local
/packages/apps/Settings/src/com/android/settings/display/
DScreenZoomPreference.java38 final DisplayDensityUtils density = new DisplayDensityUtils(context); in ScreenZoomPreference() local
DScreenZoomSettings.java66 final DisplayDensityUtils density = new DisplayDensityUtils(getContext()); in onCreate() local
DDensityPreference.java53 final float density = metrics.density; in getCurrentSwDp() local
/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/DocumentsUI/src/com/android/documentsui/base/
DDisplay.java40 public static float density(Context context) { in density() method in Display
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DPresetPreference.java58 final float density = getContext().getResources().getDisplayMetrics().density; in onBindListItem() local
DEdgeTypePreference.java61 final float density = getContext().getResources().getDisplayMetrics().density; in onBindListItem() local
/packages/apps/Settings/src/com/android/settings/accessibility/
DPresetPreference.java58 final float density = getContext().getResources().getDisplayMetrics().density; in onBindListItem() local
DEdgeTypePreference.java61 final float density = getContext().getResources().getDisplayMetrics().density; in onBindListItem() local
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackActivity.java71 float density = getResources().getDisplayMetrics().density; in onConfigurationChanged() local
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java161 float density = context.getResources().getDisplayMetrics().density; in getDefaultOptionsForWidget() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DAppWidgetPickActivity.java103 final int density = res.getDisplayMetrics().densityDpi; in createItem() local
/packages/apps/Settings/src/com/android/settings/
DAppWidgetPickActivity.java103 final int density = res.getDisplayMetrics().densityDpi; in createItem() local
/packages/apps/Launcher3/go/src/com/android/launcher3/shortcuts/
DDeepShortcutManager.java86 public Drawable getShortcutIconDrawable(ShortcutInfo shortcutInfo, int density) { in getShortcutIconDrawable()
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/shortcuts/
DDeepShortcutManager.java126 public Drawable getShortcutIconDrawable(ShortcutInfo shortcutInfo, int density) { in getShortcutIconDrawable()
/packages/apps/Contacts/src/com/android/contacts/
DShortcutIntentBuilder.java405 final float density = r.getDisplayMetrics().density; in generatePhoneNumberIcon() local
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java367 final float density = context.getResources().getDisplayMetrics().density; in getWidgetSizeRanges() local
DInvariantDeviceProfile.java446 int density = DisplayMetrics.DENSITY_XXXHIGH; in getLauncherIconDensity() local
/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java726 ChildDrawable(int density) { in ChildDrawable()

12