Searched refs:setDensity (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java143 outputBitmap.setDensity(density);
155 outputBitmap.setDensity(targetDensity);
159 outputBitmap.setDensity(Bitmap.getDefaultDensity());
/frameworks/base/libs/hwui/
H A DFrameInfoVisualizer.h46 void setDensity(float density);
H A DFrameInfoVisualizer.cpp69 setDensity(1);
76 void FrameInfoVisualizer::setDensity(float density) { function in class:android::uirenderer::FrameInfoVisualizer
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A 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) { method in class:ConfigGenerator
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java212 * {@link Bitmap#setDensity(int) Bitmap.setDensity(int)}). In addition,
227 * @see Bitmap#setDensity(int)
668 outputBitmap.setDensity(density);
677 outputBitmap.setDensity(targetDensity);
681 outputBitmap.setDensity(Bitmap.getDefaultDensity());
H A DCanvas.java170 * @see #setDensity(int)
245 * @see #setDensity(int)
255 * backing bitmap via {@link Bitmap#setDensity(int) Bitmap.setDensity(int)}.
262 * @see Bitmap#setDensity(int)
264 public void setDensity(int density) { method in class:Canvas
266 mBitmap.setDensity(density);
H A DImageDecoder.java1688 bm.setDensity(srcDensity);
1762 bm.setDensity(srcDensity);
H A DBitmap.java51 * @see Bitmap#setDensity(int)
185 * @see #setDensity(int)
210 public void setDensity(int density) { method in class:Bitmap
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
H A DPhotoBitmapLoader.java59 result.bitmap.setDensity(DisplayMetrics.DENSITY_MEDIUM);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableWrapper.java133 state.setDensity(targetDensity);
161 state.setDensity(density);
505 public final void setDensity(int targetDensity) { method in class:DrawableWrapper.DrawableWrapperState
H A DAdaptiveIconDrawable.java221 state.setDensity(deviceDensity);
227 layer.setDensity(deviceDensity);
424 state.setDensity(density);
429 layer.setDensity(density);
925 public final void setDensity(int targetDensity) { method in class:AdaptiveIconDrawable.ChildDrawable
987 public final void setDensity(int targetDensity) { method in class:AdaptiveIconDrawable.LayerState
H A DLayerDrawable.java181 state.setDensity(density);
191 layer.setDensity(density);
206 state.setDensity(density);
219 layer.setDensity(density);
1892 public final void setDensity(int targetDensity) { method in class:LayerDrawable.ChildDrawable
1994 public final void setDensity(int targetDensity) { method in class:LayerDrawable.LayerState
H A DGradientDrawable.java1238 mGradientState.setDensity(Drawable.resolveDensity(r, 0));
1258 state.setDensity(Drawable.resolveDensity(t.getResources(), 0));
1914 public final void setDensity(int targetDensity) { method in class:GradientDrawable.GradientState
H A DVectorDrawable.java601 final boolean changedDensity = mVectorState.setDensity(
708 state.setDensity(Drawable.resolveDensity(r, 0));
1088 public final boolean setDensity(int targetDensity) { method in class:VectorDrawable.VectorDrawableState
/frameworks/base/core/java/android/view/
H A DDisplayListCanvas.java95 public void setDensity(int density) { method in class:DisplayListCanvas
H A DViewDebug.java1760 mBitmap.setDensity(view.getResources().getDisplayMetrics().densityDpi);
H A DViewRootImpl.java3389 canvas.setDensity(mDensity);
H A DView.java19409 bitmap.setDensity(getResources().getDisplayMetrics().densityDpi);
[all...]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderDrawable.java158 canvas.setDensity(hardwareConfig.getDensity().getDpiValue());
H A DRenderSessionImpl.java521 mCanvas.setDensity(hardwareConfig.getDensity().getDpiValue());
/frameworks/base/media/java/android/media/audiofx/
H A DEnvironmentalReverb.java409 public void setDensity(short density) method in class:EnvironmentalReverb
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaEnvReverbTest.java285 mReverb.setDensity((short)500);
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DRenderTests.java277 .setDensity(Density.XHIGH)
293 .setDensity(Density.XHIGH)
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp154 mProfiler.setDensity(mRenderThread.mainDisplayInfo().density);
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEnvReverbTest.java502 mReverb.setDensity(value.shortValue());

Completed in 505 milliseconds

12