Home
last modified time | relevance | path

Searched refs:setDensity (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java75 .setDensity(Density.XXHIGH)
90 .setDensity(Density.XHIGH)
105 .setDensity(Density.XHIGH)
120 .setDensity(Density.XXHIGH)
135 .setDensity(Density.TV)
282 public ConfigGenerator setDensity(Density density) { in setDensity() method in ConfigGenerator
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java145 outputBitmap.setDensity(density); in setDensityFromOptions()
157 outputBitmap.setDensity(targetDensity); in setDensityFromOptions()
161 outputBitmap.setDensity(Bitmap.getDefaultDensity()); in setDensityFromOptions()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java701 outputBitmap.setDensity(density); in setDensityFromOptions()
710 outputBitmap.setDensity(targetDensity); in setDensityFromOptions()
714 outputBitmap.setDensity(Bitmap.getDefaultDensity()); in setDensityFromOptions()
DRecordingCanvas.java105 public void setDensity(int density) { in setDensity() method in RecordingCanvas
DCanvas.java327 public void setDensity(int density) { in setDensity() method in Canvas
329 mBitmap.setDensity(density); in setDensity()
DImageDecoder.java1781 bm.setDensity(srcDensity); in decodeDrawableImpl()
1855 bm.setDensity(srcDensity); in decodeBitmapImpl()
DBitmap.java236 public void setDensity(int density) { in setDensity() method in Bitmap
/frameworks/base/libs/hwui/
DFrameInfoVisualizer.h46 void setDensity(float density);
DFrameInfoVisualizer.cpp72 setDensity(1); in FrameInfoVisualizer()
80 void FrameInfoVisualizer::setDensity(float density) { in setDensity() function in android::uirenderer::FrameInfoVisualizer
/frameworks/base/graphics/java/android/graphics/drawable/
DAdaptiveIconDrawable.java224 state.setDensity(deviceDensity); in inflate()
230 layer.setDensity(deviceDensity); in inflate()
424 state.setDensity(density); in applyTheme()
429 layer.setDensity(density); in applyTheme()
922 public final void setDensity(int targetDensity) { in setDensity() method in AdaptiveIconDrawable.ChildDrawable
984 public final void setDensity(int targetDensity) { in setDensity() method in AdaptiveIconDrawable.LayerState
DDrawableWrapper.java146 state.setDensity(targetDensity); in inflate()
174 state.setDensity(density); in applyTheme()
517 public final void setDensity(int targetDensity) { in setDensity() method in DrawableWrapper.DrawableWrapperState
DLayerDrawable.java186 state.setDensity(density); in inflate()
196 layer.setDensity(density); in inflate()
211 state.setDensity(density); in applyTheme()
224 layer.setDensity(density); in applyTheme()
1901 public final void setDensity(int targetDensity) {
2004 public final void setDensity(int targetDensity) {
DVectorDrawable.java618 final boolean changedDensity = mVectorState.setDensity( in applyTheme()
725 state.setDensity(Drawable.resolveDensity(r, 0)); in inflate()
1106 public final boolean setDensity(int targetDensity) { in setDensity() method in VectorDrawable.VectorDrawableState
DGradientDrawable.java1387 mGradientState.setDensity(Drawable.resolveDensity(r, 0));
1407 state.setDensity(Drawable.resolveDensity(t.getResources(), 0));
2053 public final void setDensity(int targetDensity) { in setDensity() method in GradientDrawable.GradientState
/frameworks/base/tools/aapt2/cmd/
DUtil_test.cpp183 .setDensity(0x0280) in TEST()
193 .setDensity(0x0140) in TEST()
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
DPhotoBitmapLoader.java59 result.bitmap.setDensity(DisplayMetrics.DENSITY_MEDIUM); in loadInBackground()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java161 canvas.setDensity(hardwareConfig.getDensity().getDpiValue()); in renderImage()
DRenderSessionImpl.java538 mCanvas.setDensity(hardwareConfig.getDensity().getDpiValue()); in renderAndBuildResult()
/frameworks/base/media/java/android/media/audiofx/
DEnvironmentalReverb.java409 public void setDensity(short density) in setDensity() method in EnvironmentalReverb
/frameworks/base/tools/aapt2/test/
DBuilders.h243 ConfigDescriptionBuilder& setDensity(uint16_t density) { in setDensity() function
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaEnvReverbTest.java285 mReverb.setDensity((short)500); in test1_4DiffusionAndDensity()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEnvReverbTest.java502 mReverb.setDensity(value.shortValue()); in setParameter()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp114 mProfiler.setDensity(DeviceInfo::get()->displayInfo().density); in CanvasContext()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java304 .setDensity(Density.XHIGH) in testExpand()
320 .setDensity(Density.XHIGH) in testExpand()
/frameworks/base/core/java/android/view/
DViewDebug.java2034 mBitmap.setDensity(view.getResources().getDisplayMetrics().densityDpi);

12