Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A 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()
672 final int sourceDensity = ninePatch.getDensity() == Bitmap.DENSITY_NONE ? in computeBitmapSize()
673 targetDensity : ninePatch.getDensity(); in computeBitmapSize()
751 mTargetDensity = state.mNinePatch.getDensity(); in updateLocalState()
H A DBitmapDrawable.java264 setTargetDensity(canvas.getDensity()); in setTargetDensity()
579 final int sourceDensity = bitmap.getDensity(); in updateShaderMatrix()
/aosp14/frameworks/base/core/java/android/view/
H A DWindowMetrics.java156 public float getDensity() { in getDensity() method in WindowMetrics
H A DDisplayCutout.java312 public float getDensity() { in getDensity() method in DisplayCutout.CutoutPathParserInfo
754 mCutoutPathParserInfo.getDensity(), mCutoutPathParserInfo.getPhysicalDisplayWidth(), in getCutoutPath()
1188 info.getPhysicalDisplayHeight(), info.getDensity(), info.getCutoutSpec(), in getRotated()
1291 out.writeFloat(cutout.mCutoutPathParserInfo.getDensity()); in writeCutoutToParcel()
1380 mInner.mCutoutPathParserInfo.getDensity(), in scale()
/aosp14/frameworks/base/libs/hwui/
H A DDeviceInfo.h43 static float getDensity() { return sDensity.load(); } in getDensity() function
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DNinePatch.java209 public int getDensity() { in getDensity() method in NinePatch
H A DImageDecoder.java201 int getDensity() { return Bitmap.DENSITY_NONE; } in getDensity() method in ImageDecoder.Source
415 public int getDensity() { return mInputDensity; } in getDensity() method in ImageDecoder.InputStreamSource
464 public int getDensity() { in getDensity() method in ImageDecoder.AssetInputStreamSource
502 public int getDensity() { in getDensity() method in ImageDecoder.ResourceSource
2034 final int srcDensity = src.getDensity();
H A DBaseCanvas.java318 mDensity, patch.getDensity()); in drawPatch()
328 mDensity, patch.getDensity()); in drawPatch()
H A DBaseRecordingCanvas.java273 mDensity, patch.getDensity()); in drawPatch()
284 mDensity, patch.getDensity()); in drawPatch()
H A DCanvas.java281 public int getDensity() { in getDensity() method in Canvas
H A DBitmap.java211 public int getDensity() { in getDensity() method in Bitmap
/aosp14/frameworks/base/media/java/android/media/audiofx/
H A DEnvironmentalReverb.java422 public short getDensity() in getDensity() method in EnvironmentalReverb
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaEnvReverbTest.java286 short density = mReverb.getDensity(); in test1_4DiffusionAndDensity()
/aosp14/frameworks/base/services/core/xsd/display-device-config/schema/
H A Dcurrent.txt64 method @NonNull public final java.math.BigInteger getDensity();
74 method public java.util.List<com.android.server.display.config.Density> getDensity();
/aosp14/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEnvReverbTest.java509 return new Integer(mReverb.getDensity()); in getParameter()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DDisplayLayout.java425 info.getPhysicalDisplayHeight(), info.getDensity(), info.getCutoutSpec(), rotation, in calculateDisplayCutoutForRotation()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DDisplayCutoutTest.java222 assertThat(density, equalTo(cutout.getCutoutPathParserInfo().getDensity())); in testGetCutoutPathParserInfo()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DSimpleIconFactory.java388 if (bitmap != null && b.getDensity() == Bitmap.DENSITY_NONE) { in createIconBitmap()
/aosp14/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp130 mProfiler.setDensity(DeviceInfo::getDensity()); in CanvasContext()
/aosp14/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
H A DSplitPresenterTest.java765 windowMetrics.getDensity(), 0f); in testGetTaskWindowMetrics()
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayDeviceConfig.java1830 final List<Density> entriesFromXml = config.getDensityMapping().getDensity(); in loadDensityMapping()
1839 density.getDensity().intValue()); in loadDensityMapping()
/aosp14/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java3391 mergedDrawable.setTargetDensity(bitmapDrawable.getBitmap().getDensity()); in getBadgedDrawable()
/aosp14/frameworks/base/packages/CredentialManager/
H A Dprofile.txt.prof1833 HSPLandroidx/compose/foundation/text/TextDelegate;->getDensity()Landroidx/compose/ui/unit/Density;
4575 HSPLandroidx/compose/ui/graphics/ReusableGraphicsLayerScope;->getDensity()F
4872 HSPLandroidx/compose/ui/graphics/drawscope/CanvasDrawScope$DrawParams;->getDensity()Landroidx/compo…
4894 HSPLandroidx/compose/ui/graphics/drawscope/CanvasDrawScope;->getDensity()F
5590 HSPLandroidx/compose/ui/layout/LayoutNodeSubcompositionsState$Scope;->getDensity()F
5998 HSPLandroidx/compose/ui/node/LayoutNode;->getDensity()Landroidx/compose/ui/unit/Density;
6307 HSPLandroidx/compose/ui/node/NodeCoordinator;->getDensity()F
6524 HSPLandroidx/compose/ui/platform/AndroidComposeView;->getDensity()Landroidx/compose/ui/unit/Density;
8030 HSPLandroidx/compose/ui/unit/DensityImpl;->getDensity()F
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt6090 HSPLandroid/graphics/Bitmap;->getDensity()I
6188 HSPLandroid/graphics/Canvas;->getDensity()I
6369 HSPLandroid/graphics/ImageDecoder$AssetInputStreamSource;->getDensity()I
6377 HSPLandroid/graphics/ImageDecoder$InputStreamSource;->getDensity()I
6470 HSPLandroid/graphics/NinePatch;->getDensity()I

12