HomeSort by relevance Sort by last modified time
    Searched refs:getDensity (Results 1 - 25 of 58) sorted by null

1 2 3

  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderDrawable.java 104 true /*isMutable*/, hardwareConfig.getDensity());
108 canvas.setDensity(hardwareConfig.getDensity().getDpiValue());
RenderAction.java 108 hardwareConfig.getDensity().getDpiValue();
342 Density density = hardwareConfig.getDensity();
RenderSessionImpl.java 263 hardwareConfig.getDensity(), LinearLayout.VERTICAL, isRtl,
322 StatusBar systemBar = new StatusBar(context, hardwareConfig.getDensity(),
347 hardwareConfig.getDensity(),
359 hardwareConfig.getDensity(), params.getAppLabel());
382 hardwareConfig.getDensity(), LinearLayout.HORIZONTAL, isRtl,
565 true /*isMutable*/, hardwareConfig.getDensity());
569 mCanvas.setDensity(hardwareConfig.getDensity().getDpiValue());
    [all...]
  /prebuilts/gradle-plugin/com/android/tools/build/builder-test-api/0.5.7/
builder-test-api-0.5.7.jar 
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDisplay.java 69 public float getDensity() {
  /cts/tests/tests/graphics/src/android/graphics/cts/
NinePatchTest.java 158 assertEquals(11, mNinePatch.getDensity());
160 assertEquals(mNinePatch.getDensity(), mBitmap.getDensity());
BitmapTest.java 849 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), dummyDensity);
858 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), metrics.densityDpi);
869 ret.getHeight(), ret.getDensity(), mCanvas.getDensity());
876 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), dummyDensity);
885 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), metrics.densityDpi);
895 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), mCanvas.getDensity());
BitmapFactoryTest.java 390 assertEquals(4, doubleScaled.getDensity());
401 assertEquals(2, densityReduced.getDensity());
408 assertFalse(densityReduced.getDensity() == 2);
409 assertFalse(densityReduced.getDensity() == 0);
  /frameworks/base/graphics/java/android/graphics/
NinePatch.java 178 * {@link Bitmap#getDensity() Bitmap.getDensity()}.
180 public int getDensity() {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
ConvertToDpFix.java 60 int dpi = densityDialog.getDensity();
InputDensityDialog.java 115 int getDensity() {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
VaryingConfiguration.java 281 Density density = getDensity(d);
305 private static Density getDensity(@NonNull Device device) {
  /external/jmonkeyengine/engine/src/core/com/jme3/audio/
Environment.java 185 public float getDensity() {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
EditorsPage.java 176 return Integer.toString(dialog.getDensity());
  /cts/tests/tests/media/src/android/media/cts/
EnvReverbTest.java 226 ratio = mReverb.getDensity();
229 ratio2 = mReverb.getDensity();
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
ClipDrawableTest.java 107 bmpDrawable.setTargetDensity(bitmap.getDensity()); // avoid scaling
121 bmpDrawable.setTargetDensity(bitmap.getDensity()); // avoid scaling
BitmapDrawableTest.java 283 bitmapDrawable.setTargetDensity(bitmap.getDensity());
301 bitmapDrawable.setTargetDensity(canvas.getDensity());
  /frameworks/base/graphics/java/android/graphics/drawable/
NinePatchDrawable.java 150 * @see android.graphics.Bitmap#getDensity()
153 setTargetDensity(canvas.getDensity());
162 * @see android.graphics.Bitmap#getDensity()
174 * @see android.graphics.Bitmap#getDensity()
195 final int sdensity = mNinePatch.getDensity();
  /frameworks/base/policy/src/com/android/internal/policy/impl/
IconUtilities.java 126 if (bitmap.getDensity() == Bitmap.DENSITY_NONE) {
  /packages/apps/Launcher2/src/com/android/launcher2/
Utilities.java 111 if (bitmap.getDensity() == Bitmap.DENSITY_NONE) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
ConfigurationTest.java 101 assertEquals(Density.MEDIUM, configuration.getDensity());
  /prebuilts/devtools/tools/lib/
layoutlib-api.jar 
  /prebuilts/gradle-plugin/com/android/tools/layoutlib/layoutlib-api/22.2.0/
layoutlib-api-22.2.0.jar 
  /prebuilts/misc/common/layoutlib_api/
layoutlib_api-prebuilt.jar 
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
RenderService.java 365 false, mExpandNodes, hardwareConfig.getDensity(), mProject);
498 false, Collections.<UiElementNode>emptySet(), hardwareConfig.getDensity(),

Completed in 238 milliseconds

1 2 3