Home
last modified time | relevance | path

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

12

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java137 outputBitmap.setDensity(density); in setDensityFromOptions()
149 outputBitmap.setDensity(targetDensity); in setDensityFromOptions()
153 outputBitmap.setDensity(Bitmap.getDefaultDensity()); in setDensityFromOptions()
/frameworks/base/tools/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)
283 public ConfigGenerator setDensity(Density density) { in setDensity() method in ConfigGenerator
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java567 outputBitmap.setDensity(density); in setDensityFromOptions()
576 outputBitmap.setDensity(targetDensity); in setDensityFromOptions()
580 outputBitmap.setDensity(Bitmap.getDefaultDensity()); in setDensityFromOptions()
DCanvas.java274 public void setDensity(int density) { in setDensity() method in Canvas
276 mBitmap.setDensity(density); in setDensity()
DBitmap.java198 public void setDensity(int density) { in setDensity() method in Bitmap
/frameworks/base/libs/hwui/
DFrameInfoVisualizer.h52 void setDensity(float density);
DFrameInfoVisualizer.cpp70 setDensity(1); in FrameInfoVisualizer()
77 void FrameInfoVisualizer::setDensity(float density) { in setDensity() function in android::uirenderer::FrameInfoVisualizer
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableWrapper.java135 state.setDensity(targetDensity); in inflate()
162 state.setDensity(density); in applyTheme()
481 public final void setDensity(int targetDensity) { in setDensity() method in DrawableWrapper.DrawableWrapperState
DLayerDrawable.java183 state.setDensity(density); in inflate()
193 layer.setDensity(density); in inflate()
212 state.setDensity(density); in applyTheme()
225 layer.setDensity(density); in applyTheme()
1866 public final void setDensity(int targetDensity) {
1968 public final void setDensity(int targetDensity) {
DVectorDrawable.java485 final boolean changedDensity = mVectorState.setDensity( in applyTheme()
589 state.setDensity(Drawable.resolveDensity(r, 0)); in inflate()
923 public final boolean setDensity(int targetDensity) { in setDensity() method in VectorDrawable.VectorDrawableState
DGradientDrawable.java1181 mGradientState.setDensity(Drawable.resolveDensity(r, 0));
1201 state.setDensity(Drawable.resolveDensity(t.getResources(), 0));
1857 public final void setDensity(int targetDensity) {
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
DPhotoBitmapLoader.java59 result.bitmap.setDensity(DisplayMetrics.DENSITY_MEDIUM); in loadInBackground()
/frameworks/base/core/java/android/view/
DDisplayListCanvas.java106 public void setDensity(int density) { in setDensity() method in DisplayListCanvas
DView.java16288 bitmap.setDensity(getResources().getDisplayMetrics().densityDpi); in buildDrawingCacheImpl()
16391 bitmap.setDensity(resources.getDisplayMetrics().densityDpi); in createSnapshot()
DViewRootImpl.java2859 canvas.setDensity(mDensity); in drawSoftware()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java158 canvas.setDensity(hardwareConfig.getDensity().getDpiValue()); in renderImage()
DRenderSessionImpl.java470 mCanvas.setDensity(hardwareConfig.getDensity().getDpiValue()); in render()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DMain.java373 .setDensity(Density.XHIGH) in testExpand()
385 .setDensity(Density.XHIGH) in testExpand()
/frameworks/base/media/java/android/media/audiofx/
DEnvironmentalReverb.java409 public void setDensity(short density) in setDensity() method in EnvironmentalReverb
/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.cpp75 mProfiler.setDensity(mRenderThread.mainDisplayInfo().density); in CanvasContext()
/frameworks/base/docs/html/guide/practices/
Dscreens_support.jd1175 specify the density of the bitmap with {@link android.graphics.Bitmap#setDensity setDensity()},
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10469 method public void setDensity(int);
10674 method public void setDensity(int);
15942 …method public void setDensity(short) throws java.lang.IllegalArgumentException, java.lang.IllegalS…
/frameworks/base/api/
Dcurrent.txt11491 method public void setDensity(int);
11698 method public void setDensity(int);
21971 …method public void setDensity(short) throws java.lang.IllegalArgumentException, java.lang.IllegalS…

12