Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplaySizeTest.java178 setDensity(targetDensity); in setUnsupportedDensity()
197 private void setDensity(int targetDensity) { in setDensity() method in DisplaySizeTest.ScreenDensitySession
DMultiDisplayTestBase.java178 setDensity(density); in setDisplayMetrics()
188 setDensity(overrideDensity); in restoreDisplayMetrics()
198 private void setDensity(final int density) { in setDensity() method in MultiDisplayTestBase.ReportedDisplayMetrics
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareBitmapTests.java211 bitmap.setDensity(DisplayMetrics.DENSITY_LOW); in testSetDensity()
216 hardwareBitmap.setDensity(DisplayMetrics.DENSITY_LOW); in testSetDensity()
/cts/tests/tests/graphics/src/android/graphics/cts/
DNinePatchTest.java197 mBitmap.setDensity(11); in testGetDensity()
DBitmapTest.java580 bitmap.setDensity(bitmap.getDensity() + 4); in testGenerationId()
1650 mCanvas.setDensity(DisplayMetrics.DENSITY_HIGH); in testGetScaledHeight3()
1680 mCanvas.setDensity(DisplayMetrics.DENSITY_HIGH); in testGetScaledWidth3()
/cts/tests/tests/media/src/android/media/cts/
DEnvReverbTest.java241 mReverb.setDensity(ratio); in test1_4DiffusionAndDensity()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DNinePatchDrawableTest.java514 c.setDensity(density); in testSetTargetDensity_Canvas()
681 bitmap.setDensity(0); in compareOrSave()