Home
last modified time | relevance | path

Searched refs:dpi (Results 1 – 6 of 6) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DConvertToDpFix.java60 int dpi = densityDialog.getDensity(); in apply() local
73 int dp = px * 160 / dpi; in apply()
/sdk/eclipse/
Ddictionary.txt89 dpi
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DClientRulesEngine.java664 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);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DPaletteControl.java635 int dpi = chooser.getConfiguration().getDensity().getDpiValue(); in createItem() local
636 while (dpi > 160) { in createItem()
638 dpi = dpi / 2; in createItem()
DLayoutActionBar.java715 double dpi = (screen.getXdpi() + screen.getYdpi()) / 2.; in computeAndSetRealScale() local
729 mEditor.getCanvasControl().setScale(monitor / dpi, redraw); in computeAndSetRealScale()
DGraphicalEditorPart.java1350 float dpi = mConfigChooser.getConfiguration().getDensity().getDpiValue(); in getDipScale() local
1351 return Density.DEFAULT_DENSITY / dpi; in getDipScale()