Home
last modified time | relevance | path

Searched refs:getDensity (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java156 setTargetDensity(canvas.getDensity()); in setTargetDensity()
215 final boolean needsDensityScaling = canvas.getDensity() == 0; in draw()
220 final float scale = mTargetDensity / (float) state.mNinePatch.getDensity(); in draw()
667 final int sourceDensity = ninePatch.getDensity(); in computeBitmapSize()
746 mTargetDensity = state.mNinePatch.getDensity(); in updateLocalState()
DBitmapDrawable.java243 setTargetDensity(canvas.getDensity()); in setTargetDensity()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java154 true /*isMutable*/, hardwareConfig.getDensity()); in renderImage()
158 canvas.setDensity(hardwareConfig.getDensity().getDpiValue()); in renderImage()
DRenderAction.java109 hardwareConfig.getDensity().getDpiValue(); in init()
346 Density density = hardwareConfig.getDensity(); in getConfiguration()
DLayout.java133 Density density = hwConfig.getDensity(); in Layout()
392 hwConfig.getDensity().getDpiValue(); in findNavBar()
DRenderSessionImpl.java462 true /*isMutable*/, hardwareConfig.getDensity()); in render()
470 mCanvas.setDensity(hardwareConfig.getDensity().getDpiValue()); in render()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DIconLoader.java59 public Density getDensity() { in getDensity() method in IconLoader
DCustomBar.java116 density = iconLoader.getDensity(); in loadIcon()
/frameworks/base/graphics/java/android/graphics/
DNinePatch.java219 public int getDensity() { in getDensity() method in NinePatch
DCanvas.java258 public int getDensity() { in getDensity() method in Canvas
1295 mDensity, patch.getDensity()); in drawPatch()
1313 mDensity, patch.getDensity()); in drawPatch()
DBitmap.java178 public int getDensity() { in getDensity() method in Bitmap
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java79 Density.getEnum(canvas.getDensity())); in drawShadow()
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java94 setTargetDensity(canvas.getDensity()); in setTargetDensity()
/frameworks/base/services/core/java/com/android/server/policy/
DIconUtilities.java117 if (bitmap.getDensity() == Bitmap.DENSITY_NONE) { in createIconBitmap()
/frameworks/base/media/java/android/media/audiofx/
DEnvironmentalReverb.java422 public short getDensity() in getDensity() method in EnvironmentalReverb
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaEnvReverbTest.java286 short density = mReverb.getDensity(); in test1_4DiffusionAndDensity()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEnvReverbTest.java509 return new Integer(mReverb.getDensity()); in getParameter()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2345 mergedDrawable.setTargetDensity(bitmapDrawable.getBitmap().getDensity()); in getBadgedDrawable()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10445 method public int getDensity();
10643 method public int getDensity();
10930 method public int getDensity();
15931 …method public short getDensity() throws java.lang.IllegalArgumentException, java.lang.IllegalState…
/frameworks/base/api/
Dcurrent.txt11467 method public int getDensity();
11667 method public int getDensity();
11964 method public int getDensity();
21960 …method public short getDensity() throws java.lang.IllegalArgumentException, java.lang.IllegalState…
Dsystem-current.txt11906 method public int getDensity();
12106 method public int getDensity();
12403 method public int getDensity();
23482 …method public short getDensity() throws java.lang.IllegalArgumentException, java.lang.IllegalState…
Dtest-current.txt11480 method public int getDensity();
11680 method public int getDensity();
11977 method public int getDensity();
22029 …method public short getDensity() throws java.lang.IllegalArgumentException, java.lang.IllegalState…