Home
last modified time | relevance | path

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

/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.java134 Density density = hwConfig.getDensity(); in Layout()
405 hwConfig.getDensity().getDpiValue(); in findNavBar()
DRenderSessionImpl.java531 true /*isMutable*/, hardwareConfig.getDensity()); in renderAndBuildResult()
539 mCanvas.setDensity(hardwareConfig.getDensity().getDpiValue()); in renderAndBuildResult()
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java155 setTargetDensity(canvas.getDensity()); in setTargetDensity()
214 final boolean needsDensityScaling = canvas.getDensity() == 0; in draw()
219 final float scale = mTargetDensity / (float) state.mNinePatch.getDensity(); in draw()
663 final int sourceDensity = ninePatch.getDensity(); in computeBitmapSize()
742 mTargetDensity = state.mNinePatch.getDensity(); in updateLocalState()
DBitmapDrawable.java244 setTargetDensity(canvas.getDensity()); in setTargetDensity()
559 final int sourceDensity = bitmap.getDensity(); in updateShaderMatrix()
/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
DBaseCanvas.java280 mDensity, patch.getDensity()); in drawPatch()
290 mDensity, patch.getDensity()); in drawPatch()
DBitmap.java173 public int getDensity() { in getDensity() method in Bitmap
DCanvas.java252 public int getDensity() { in getDensity() method in Canvas
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java79 Density.getEnum(canvas.getDensity())); in drawShadow()
/frameworks/base/services/core/java/com/android/server/policy/
DIconUtilities.java117 if (bitmap.getDensity() == Bitmap.DENSITY_NONE) { in createIconBitmap()
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java96 setTargetDensity(canvas.getDensity()); in setTargetDensity()
/frameworks/base/media/java/android/media/audiofx/
DEnvironmentalReverb.java422 public short getDensity() in getDensity() method in EnvironmentalReverb
/frameworks/base/core/java/android/view/
DRecordingCanvas.java264 mDensity, patch.getDensity()); in drawPatch()
275 mDensity, patch.getDensity()); in drawPatch()
/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.java2523 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.txt12473 method public int getDensity();
12681 method public int getDensity();
13149 method public int getDensity();
23736 …method public short getDensity() throws java.lang.IllegalArgumentException, java.lang.IllegalState…
Dsystem-current.txt13253 method public int getDensity();
13461 method public int getDensity();
13929 method public int getDensity();
25589 …method public short getDensity() throws java.lang.IllegalArgumentException, java.lang.IllegalState…