Searched refs:dpi (Results 1 – 6 of 6) sorted by relevance
60 int dpi = densityDialog.getDensity(); in apply() local73 int dp = px * 160 / dpi; in apply()
89 dpi
664 float dpi = chooser.getConfiguration().getDensity().getDpiValue();665 return (int) (px * 160 / dpi);671 float dpi = chooser.getConfiguration().getDensity().getDpiValue();672 return (int) (dp * dpi / 160);
635 int dpi = chooser.getConfiguration().getDensity().getDpiValue(); in createItem() local636 while (dpi > 160) { in createItem()638 dpi = dpi / 2; in createItem()
715 double dpi = (screen.getXdpi() + screen.getYdpi()) / 2.; in computeAndSetRealScale() local729 mEditor.getCanvasControl().setScale(monitor / dpi, redraw); in computeAndSetRealScale()
1350 float dpi = mConfigChooser.getConfiguration().getDensity().getDpiValue(); in getDipScale() local1351 return Density.DEFAULT_DENSITY / dpi; in getDipScale()