/sdk/common/src/com/android/resources/ |
Density.java | 82 public int getDpiValue() { 92 return String.format("%1$ddpi", getDpiValue());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
InputDensityDialog.java | 67 if (density.getDpiValue() == sDpi) { 81 return String.format("%1$s (%2$d)", density.getShortDisplayValue(), density.getDpiValue()); 101 sDpi = density.getDpiValue();
|
/sdk/ide_common/src/com/android/ide/common/resources/configuration/ |
DensityQualifier.java | 127 return mValue.getDpiValue() > compareQ.mValue.getDpiValue();
|
FolderConfiguration.java | 490 int dp1 = (int) Math.ceil(size1 * Density.DEFAULT_DENSITY / density.getDpiValue()); 491 int dp2 = (int) Math.ceil(size2 * Density.DEFAULT_DENSITY / density.getDpiValue());
|
/sdk/assetstudio/src/com/android/assetstudiolib/ |
GraphicGenerator.java | 156 return d1.getDpiValue() - d2.getDpiValue(); 193 return density.getDpiValue() / (float) Density.MEDIUM.getDpiValue();
|
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/ |
DensityBasedResourceValue.java | 47 return Density.getEnum(mDensity.getDpiValue());
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderAction.java | 103 metrics.densityDpi = mParams.getDensity().getDpiValue(); 331 config.screenWidthDp = mParams.getScreenWidth() / density.getDpiValue(); 332 config.screenHeightDp = mParams.getScreenHeight() / density.getDpiValue();
|
RenderDrawable.java | 106 canvas.setDensity(params.getDensity().getDpiValue());
|
RenderSessionImpl.java | 490 mCanvas.setDensity(params.getDensity().getDpiValue()); [all...] |
/sdk/layoutlib_api/sample/src/com/example/android/render/ |
RenderService.java | 274 mXdpi = mConfig.getDensityQualifier().getValue().getDpiValue(); 278 mYdpi = mConfig.getDensityQualifier().getValue().getDpiValue();
|
RenderServiceFactory.java | 136 int wdp = (width * Density.DEFAULT_DENSITY) / density.getDpiValue(); 137 int hdp = (height * Density.DEFAULT_DENSITY) / density.getDpiValue();
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Bitmap_Delegate.java | 98 return createBitmap(delegate, isMutable, density.getDpiValue()); 116 return createBitmap(delegate, isMutable, density.getDpiValue()); 134 return createBitmap(delegate, isMutable, density.getDpiValue());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/ |
UiElementPullParserTest.java | 173 Density.MEDIUM.getDpiValue(), // xdpi (default from ConfigurationComposite)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigurationComposite.java | [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
ClientRulesEngine.java | 456 float dpi = config.getDensity().getDpiValue(); 463 float dpi = config.getDensity().getDpiValue();
|
/sdk/ide_common/src/com/android/ide/common/rendering/ |
LayoutLibrary.java | 503 params.getDensity().getDpiValue(), params.getXdpi(), params.getYdpi(), 513 params.getDensity().getDpiValue(), params.getXdpi(), params.getYdpi(),
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
UiElementPullParser.java | 619 f *= (float)mDensity.getDpiValue() / Density.DEFAULT_DENSITY;
|
/prebuilt/common/tools-common/ |
tools-common-prebuilt.jar | |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PaletteControl.java | 630 int dpi = mEditor.getConfigurationComposite().getDensity().getDpiValue(); [all...] |
GraphicalEditorPart.java | [all...] |