Home
last modified time | relevance | path

Searched defs:metrics (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/display/
DDensityPreference.java46 final DisplayMetrics metrics = res.getDisplayMetrics(); in getCurrentSwDp() local
69 final DisplayMetrics metrics = res.getDisplayMetrics(); in onDialogClosed() local
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DStringTexture.java37 FontMetricsInt metrics, int width, int height) { in StringTexture()
73 FontMetricsInt metrics = paint.getFontMetricsInt(); in newInstance() local
/packages/services/Car/car-support-lib/src/android/support/car/app/menu/
DUtils.java25 public static Bitmap snapshot(DisplayMetrics metrics, Drawable drawable) { in snapshot()
DCarMenu.java38 public CarMenu(DisplayMetrics metrics) { in CarMenu()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalLineView.java40 public TerminalLineView(Context context, Terminal term, TerminalMetrics metrics) { in TerminalLineView()
/packages/apps/Settings/src/com/android/settings/
DDisplay.java67 DisplayMetrics metrics = getResources().getDisplayMetrics(); in onCreate() local
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpBitmapFetch.java108 DisplayMetrics metrics = new DisplayMetrics(); in configureForContext() local
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCarUiResourceLoader.java41 Context context, String drawableName, DisplayMetrics metrics) { in getDrawable()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorPickerDialog.java48 DisplayMetrics metrics = new DisplayMetrics(); in ColorPickerDialog() local
DColorCompareView.java61 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorCompareView() local
DColorValueView.java59 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorValueView() local
DColorSaturationView.java65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorSaturationView() local
DColorBrightnessView.java65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorBrightnessView() local
DColorOpacityView.java63 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorOpacityView() local
DColorSVRectView.java65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorSVRectView() local
DColorRectView.java70 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorRectView() local
DColorHueView.java66 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorHueView() local
/packages/apps/DevCamera/src/com/android/devcamera/
DDevCameraActivity.java297 DisplayMetrics metrics = new DisplayMetrics(); in displayWidth() local
303 DisplayMetrics metrics = new DisplayMetrics(); in displayHeight() local
DCameraDeviceReport.java381 DisplayMetrics metrics = new DisplayMetrics(); in printDisplayInfo() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DSetupLayoutActivity.java196 DisplayMetrics metrics = new DisplayMetrics(); in getScreenWidth() local
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java80 DisplayMetrics metrics = new DisplayMetrics(); in initialize() local
91 private static void initializeThumbnailSizes(DisplayMetrics metrics, Resources r) { in initializeThumbnailSizes()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java757 public static float dpiFromPx(int size, DisplayMetrics metrics){ in dpiFromPx()
761 public static int pxFromDp(float size, DisplayMetrics metrics) { in pxFromDp()
765 public static int pxFromSp(float size, DisplayMetrics metrics) { in pxFromSp()
/packages/apps/Launcher2/src/com/android/launcher2/
DUtilities.java237 final DisplayMetrics metrics = resources.getDisplayMetrics(); in initStatics() local
DCling.java197 DisplayMetrics metrics = new DisplayMetrics(); in dispatchDraw() local
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTimeBar.java97 DisplayMetrics metrics = context.getResources().getDisplayMetrics(); in TimeBar() local

12