/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | NinePatchDrawableTest.java | 100 Bitmap bmp = BitmapFactory.decodeResource(mResources, R.drawable.ninepatch_0); in testConstructors() local 103 new NinePatchDrawable(bmp, chunk, r, name); in testConstructors() 105 new NinePatchDrawable(new NinePatch(bmp, chunk, name)); in testConstructors() 110 new NinePatchDrawable(bmp, chunk, r, name); in testConstructors() 119 Bitmap bmp = Bitmap.createBitmap(9, 9, Config.ARGB_8888); in testDraw() local 120 Canvas c = new Canvas(bmp); in testDraw() 126 verifyColorFillRect(bmp, 0, 0, 4, 4, Color.RED); in testDraw() 127 verifyColorFillRect(bmp, 5, 0, 4, 4, Color.BLUE); in testDraw() 128 verifyColorFillRect(bmp, 0, 5, 4, 4, ocean); in testDraw() 129 verifyColorFillRect(bmp, 5, 5, 4, 4, Color.YELLOW); in testDraw() [all …]
|
D | TransitionDrawableTest.java | 212 private void verifyColorFillRect(Bitmap bmp, int x, int y, int w, int h, int color) { in verifyColorFillRect() argument 215 assertEquals(color, bmp.getPixel(i, j)); in verifyColorFillRect() 220 private void verifyColorNotFillRect(Bitmap bmp, int x, int y, int w, int h, int color) { in verifyColorNotFillRect() argument 223 assertTrue(color != bmp.getPixel(i, j)); in verifyColorNotFillRect()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 126 final Bitmap bmp = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in generateRandomBitmap() local 130 bmp.setPixel(x, y, generator.nextInt(Integer.MAX_VALUE)); in generateRandomBitmap() 133 return bmp; in generateRandomBitmap() 137 final Bitmap bmp = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in generateWhiteBitmap() local 138 bmp.eraseColor(Color.WHITE); in generateWhiteBitmap() 139 return bmp; in generateWhiteBitmap() 150 public static ByteArrayInputStream bitmapToInputStream(Bitmap bmp) { in bitmapToInputStream() argument 152 bmp.compress(CompressFormat.PNG, 0 /*ignored for PNG*/, bos); in bitmapToInputStream()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | EmojiTest.java | 80 private String describeBitmap(final Bitmap bmp) { in describeBitmap() argument 82 sb.append("[ID:0x" + Integer.toHexString(System.identityHashCode(bmp))); in describeBitmap() 83 sb.append(" " + Integer.toString(bmp.getWidth()) + "x" + Integer.toString(bmp.getHeight())); in describeBitmap() 85 if (bmp.getConfig() == Bitmap.Config.ALPHA_8) { in describeBitmap() 87 } else if (bmp.getConfig() == Bitmap.Config.RGB_565) { in describeBitmap() 89 } else if (bmp.getConfig() == Bitmap.Config.ARGB_4444) { in describeBitmap() 91 } else if (bmp.getConfig() == Bitmap.Config.ARGB_8888) { in describeBitmap()
|
D | BoringLayoutTest.java | 367 final Bitmap bmp = Bitmap.createBitmap(l.getWidth(), l.getHeight(), Bitmap.Config.RGB_565); in drawToBitmap() local 368 final Canvas c = new Canvas(bmp); in drawToBitmap() 374 return bmp; in drawToBitmap()
|
D | PrecomputedTextTest.java | 648 final Bitmap bmp = Bitmap.createBitmap(rect.width(), in drawToBitmap() local 650 final Canvas c = new Canvas(bmp); in drawToBitmap() 655 return bmp; in drawToBitmap()
|
D | StaticLayoutTest.java | 1299 final Bitmap bmp = Bitmap.createBitmap(l.getWidth(), l.getHeight(), Bitmap.Config.RGB_565); 1300 final Canvas c = new Canvas(bmp); 1306 return bmp; 1705 final Bitmap bmp = Bitmap.createBitmap( 1709 final Canvas c = new Canvas(bmp);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CanvasDrawGlyphsTest.java | 61 Bitmap bmp = Bitmap.createBitmap(BMP_WIDTH, BMP_HEIGHT, Bitmap.Config.ARGB_8888); in drawGlyphsToBitmap() local 62 Canvas canvas = new Canvas(bmp); in drawGlyphsToBitmap() 65 return bmp; in drawGlyphsToBitmap() 260 Bitmap bmp = drawGlyphsToBitmap( in drawGlyphs_positionDifference() local 294 assertThat(bmp.sameAs(differentGlyphPositionBmp)).isFalse(); in drawGlyphs_positionDifference() 302 Bitmap bmp = drawGlyphsToBitmap( in drawGlyphs_paintEffect() local 335 assertThat(bmp.sameAs(twiceTextSizeBmp)).isFalse(); in drawGlyphs_paintEffect()
|
/cts/tests/openglperf2/src/android/opengl2/cts/reference/ |
D | GLGameActivity.java | 156 Bitmap bmp = BitmapFactory.decodeStream(in, null, op); in loadTexture() local 170 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bmp, 0); in loadTexture() 178 bmp.recycle(); in loadTexture()
|
/cts/tests/app/src/android/app/cts/ |
D | WallpaperColorsTest.java | 83 Bitmap bmp = Bitmap.createBitmap(30, 30, Bitmap.Config.ARGB_8888); in fromBitmapTest() local 84 Canvas canvas = new Canvas(bmp); in fromBitmapTest() 87 WallpaperColors colors = WallpaperColors.fromBitmap(bmp); in fromBitmapTest()
|
D | WallpaperManagerTest.java | 530 Bitmap bmp = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in ensureCleanState() local 555 mWallpaperManager.setBitmap(bmp); in ensureCleanState() 565 bmp.recycle(); in ensureCleanState()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | CtsMediaTextureRender.java | 292 Bitmap bmp = Bitmap.createBitmap(colors, width, height, Bitmap.Config.ARGB_8888); in saveFrame() local 293 bmp.compress(Bitmap.CompressFormat.PNG, 90, fos); in saveFrame() 294 bmp.recycle(); in saveFrame()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | TextureRender.java | 288 Bitmap bmp = Bitmap.createBitmap(colors, width, height, Bitmap.Config.ARGB_8888); in saveFrame() local 289 bmp.compress(Bitmap.CompressFormat.PNG, 90, fos); in saveFrame() 290 bmp.recycle(); in saveFrame()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | TextureRender.java | 288 Bitmap bmp = Bitmap.createBitmap(colors, width, height, Bitmap.Config.ARGB_8888); in saveFrame() local 289 bmp.compress(Bitmap.CompressFormat.PNG, 90, fos); in saveFrame() 290 bmp.recycle(); in saveFrame()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | BinderExploitTest.java | 163 Bitmap bmp = Bitmap.createBitmap(1, 1, Bitmap.Config.ALPHA_8); in setUpBundle() local 164 if (actmgr.addAppTask(this, in, null, bmp) == -1) in setUpBundle()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | FramebufferTest.java | 619 Bitmap bmp = Bitmap.createBitmap(colors, mWidth, mHeight, Bitmap.Config.ARGB_8888); in saveFrame() local 620 bmp.compress(Bitmap.CompressFormat.PNG, 90, bos); in saveFrame() 621 bmp.recycle(); in saveFrame()
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |
/cts/tests/tests/media/assets/hls_variant/344388/ |
D | 11.ts | 1137 ��@c�SFʂړ^���.v�TRk�>bmp+�ws�qI
|