Home
last modified time | relevance | path

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

12

/frameworks/layoutlib/bridge/src/android/graphics/
DImageDecoder.java58 int getDensity() { return Bitmap.DENSITY_NONE; } in getDensity() method in ImageDecoder.Source
139 public int getDensity() { return mInputDensity; } in getDensity() method in ImageDecoder.InputStreamSource
175 public int getDensity() { in getDensity() method in ImageDecoder.AssetInputStreamSource
200 public int getDensity() { return mResDensity; } in getDensity() method in ImageDecoder.ResourceSource
679 value.density = src.getDensity(); in decodeBitmap()
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java156 setTargetDensity(canvas.getDensity()); in setTargetDensity()
215 final boolean needsDensityScaling = canvas.getDensity() == 0 in draw()
216 && Bitmap.DENSITY_NONE != state.mNinePatch.getDensity(); in draw()
221 final float scale = mTargetDensity / (float) state.mNinePatch.getDensity(); in draw()
673 final int sourceDensity = ninePatch.getDensity() == Bitmap.DENSITY_NONE ? in computeBitmapSize()
674 targetDensity : ninePatch.getDensity(); in computeBitmapSize()
752 mTargetDensity = state.mNinePatch.getDensity(); in updateLocalState()
DBitmapDrawable.java263 setTargetDensity(canvas.getDensity()); in setTargetDensity()
578 final int sourceDensity = bitmap.getDensity(); in updateShaderMatrix()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java157 true /*isMutable*/, hardwareConfig.getDensity()); in renderImage()
161 canvas.setDensity(hardwareConfig.getDensity().getDpiValue()); in renderImage()
DRenderAction.java113 hardwareConfig.getDensity().getDpiValue(); in init()
355 Density density = hardwareConfig.getDensity(); in getConfiguration()
DLayout.java156 Density density = hwConfig.getDensity(); in Layout()
526 hwConfig.getDensity().getDpiValue(); in findNavBar()
DRenderSessionImpl.java517 true /*isMutable*/, hardwareConfig.getDensity()); in renderAndBuildResult()
538 mCanvas.setDensity(hardwareConfig.getDensity().getDpiValue()); in renderAndBuildResult()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteHardwareConfig.java47 this(config.getScreenWidth(), config.getScreenHeight(), config.getDensity(), in RemoteHardwareConfig()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/
DIconLoader.java61 public Density getDensity() { in getDensity() method in IconLoader
DSysUiResources.java79 density = iconLoader.getDensity(); in loadIcon()
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java203 int getDensity() { return Bitmap.DENSITY_NONE; } in getDensity() method in ImageDecoder.Source
388 public int getDensity() { return mInputDensity; } in getDensity() method in ImageDecoder.InputStreamSource
432 public int getDensity() { in getDensity() method in ImageDecoder.AssetInputStreamSource
465 public int getDensity() { in getDensity() method in ImageDecoder.ResourceSource
1876 final int srcDensity = src.getDensity(); in computeDensity()
DNinePatch.java224 public int getDensity() { in getDensity() method in NinePatch
DBaseCanvas.java309 mDensity, patch.getDensity()); in drawPatch()
319 mDensity, patch.getDensity()); in drawPatch()
DBaseRecordingCanvas.java267 mDensity, patch.getDensity()); in drawPatch()
278 mDensity, patch.getDensity()); in drawPatch()
DCanvas.java311 public int getDensity() { in getDensity() method in Canvas
DBitmap.java216 public int getDensity() { in getDensity() method in Bitmap
/frameworks/base/services/core/java/com/android/server/policy/
DIconUtilities.java83 if (bitmap.getDensity() == Bitmap.DENSITY_NONE) { in createIconBitmap()
/frameworks/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java106 Density.getEnum(canvas.getDensity())); in drawShadow()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java114 density = iconLoader.getDensity(); in loadIcon()
/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/com/android/internal/app/
DSimpleIconFactory.java310 if (bitmap != null && b.getDensity() == Bitmap.DENSITY_NONE) { in createIconBitmap()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2821 mergedDrawable.setTargetDensity(bitmapDrawable.getBitmap().getDensity()); in getBadgedDrawable()
/frameworks/base/config/
Dboot-image-profile.txt5550 HSPLandroid/graphics/Canvas;->getDensity()I
5703 HSPLandroid/graphics/ImageDecoder$AssetInputStreamSource;->getDensity()I
5706 HSPLandroid/graphics/ImageDecoder$InputStreamSource;->getDensity()I
5784 HSPLandroid/graphics/NinePatch;->getDensity()I
43758 HSPLandroid/graphics/Bitmap;->getDensity()I

12