Searched refs:scaled (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapRGBAF16Test.java | 72 Bitmap scaled = Bitmap.createScaledBitmap(mOpaqueBitmap, in testScaling() local 74 assertNotNull(scaled); in testScaling() 75 assertEquals(Config.RGBA_F16, scaled.getConfig()); in testScaling() 76 assertFalse(scaled.hasAlpha()); in testScaling() 78 scaled = Bitmap.createScaledBitmap(mTransparentBitmap, in testScaling() 80 assertNotNull(scaled); in testScaling() 81 assertEquals(Config.RGBA_F16, scaled.getConfig()); in testScaling() 82 assertTrue(scaled.hasAlpha()); in testScaling()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodPresentMediaDialog.java | 57 private Bitmap scaled = null; field in ByodPresentMediaDialog 161 scaled = BitmapFactory.decodeStream(input, null, options); in onCreateDialog() 165 scaled = Bitmap.createBitmap(scaled, 0, 0, scaled.getWidth(), in onCreateDialog() 166 scaled.getHeight(), matrix, true); in onCreateDialog() 169 imageView.setImageBitmap(scaled); in onCreateDialog() 241 if(scaled!=null){ in onDestroyView() 242 scaled.recycle(); in onDestroyView()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | HardwareBitmapTests.java | 160 Bitmap scaled = Bitmap.createBitmap(picture, 24, 24, Bitmap.Config.HARDWARE); in testCreateScaledBitmapFromPicture() local 162 assertEquals(Bitmap.Config.HARDWARE, scaled.getConfig()); in testCreateScaledBitmapFromPicture() 163 canvas.drawBitmap(scaled, 0, 0, null); in testCreateScaledBitmapFromPicture() 246 Bitmap scaled = Bitmap.createScaledBitmap(hardwareBitmap, 24, 24, true); in testCreateScaledBitmap() local 247 assertEquals(Bitmap.Config.HARDWARE, scaled.getConfig()); in testCreateScaledBitmap() 248 canvas.drawBitmap(scaled, 0, 0, null); in testCreateScaledBitmap()
|
/cts/hostsidetests/theme/ |
D | README | 109 native density; however, many of the tests will also work in a scaled density.
|