/frameworks/layoutlib/bridge/src/android/graphics/ |
D | ImageDecoder.java | 58 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/ |
D | NinePatchDrawable.java | 156 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() 672 final int sourceDensity = ninePatch.getDensity() == Bitmap.DENSITY_NONE ? in computeBitmapSize() 673 targetDensity : ninePatch.getDensity(); in computeBitmapSize() 751 mTargetDensity = state.mNinePatch.getDensity(); in updateLocalState()
|
D | BitmapDrawable.java | 264 setTargetDensity(canvas.getDensity()); in setTargetDensity() 579 final int sourceDensity = bitmap.getDensity(); in updateShaderMatrix()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderDrawable.java | 157 true /*isMutable*/, hardwareConfig.getDensity()); in renderImage() 161 canvas.setDensity(hardwareConfig.getDensity().getDpiValue()); in renderImage()
|
D | RenderAction.java | 115 hardwareConfig.getDensity().getDpiValue(); in init() 359 Density density = hardwareConfig.getDensity(); in getConfiguration()
|
D | Layout.java | 157 Density density = hwConfig.getDensity(); in Layout() 528 hwConfig.getDensity().getDpiValue(); in findNavBar()
|
D | RenderSessionImpl.java | 512 true /*isMutable*/, hardwareConfig.getDensity()); in renderAndBuildResult() 533 mCanvas.setDensity(hardwareConfig.getDensity().getDpiValue()); in renderAndBuildResult()
|
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/ |
D | RemoteHardwareConfig.java | 47 this(config.getScreenWidth(), config.getScreenHeight(), config.getDensity(), in RemoteHardwareConfig()
|
/frameworks/base/libs/hwui/ |
D | DeviceInfo.h | 41 static float getDensity() { return sDensity.load(); } in getDensity() function
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/ |
D | IconLoader.java | 61 public Density getDensity() { in getDensity() method in IconLoader
|
D | SysUiResources.java | 79 density = iconLoader.getDensity(); in loadIcon()
|
/frameworks/base/graphics/java/android/graphics/ |
D | NinePatch.java | 209 public int getDensity() { in getDensity() method in NinePatch
|
D | ImageDecoder.java | 197 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 1899 final int srcDensity = src.getDensity(); in computeDensity()
|
D | BaseRecordingCanvas.java | 273 mDensity, patch.getDensity()); in drawPatch() 284 mDensity, patch.getDensity()); in drawPatch()
|
D | BaseCanvas.java | 317 mDensity, patch.getDensity()); in drawPatch() 327 mDensity, patch.getDensity()); in drawPatch()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 286 public float getDensity() { in getDensity() method in DisplayCutout.CutoutPathParserInfo 684 mCutoutPathParserInfo.getDensity(), mCutoutPathParserInfo.getDisplayWidth(), in getCutoutPath() 1036 out.writeFloat(cutout.mCutoutPathParserInfo.getDensity()); in writeCutoutToParcel() 1118 mInner.mCutoutPathParserInfo.getDensity(), in scale()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 102 Density.getEnum(canvas.getDensity())); in drawShadow()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | CustomBar.java | 114 density = iconLoader.getDensity(); in loadIcon()
|
/frameworks/base/media/java/android/media/audiofx/ |
D | EnvironmentalReverb.java | 422 public short getDensity() in getDensity() method in EnvironmentalReverb
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaEnvReverbTest.java | 286 short density = mReverb.getDensity(); in test1_4DiffusionAndDensity()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayLayout.java | 372 info.getDisplayWidth(), info.getDisplayHeight(), info.getDensity(), in calculateDisplayCutoutForRotation()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | BaseIconFactory.java | 374 if (bitmap != null && b.getDensity() == Bitmap.DENSITY_NONE) { in createIconBitmap()
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | EnvReverbTest.java | 509 return new Integer(mReverb.getDensity()); in getParameter()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayCutoutTest.java | 218 assertThat(density, equalTo(cutout.getCutoutPathParserInfo().getDensity())); in testGetCutoutPathParserInfo()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SimpleIconFactory.java | 375 if (bitmap != null && b.getDensity() == Bitmap.DENSITY_NONE) { in createIconBitmap()
|