Home
last modified time | relevance | path

Searched defs:bitmap (Results 1 – 25 of 38) sorted by relevance

12

/cts/tests/tests/graphics/src/android/graphics/cts/
DPictureTest.java99 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testPicture() local
142 private void checkBitmap(Bitmap bitmap) { in checkBitmap()
DNinePatchTest.java86 Bitmap bitmap = Bitmap.createBitmap(COLOR, 10, 10, Bitmap.Config.ARGB_4444); in testIsNinePatchChunk() local
117 Bitmap bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(), in testDraw() local
151 private void checkBitmapWithAlpha(Bitmap expected, Bitmap bitmap, int alpha) { in checkBitmapWithAlpha()
180 Bitmap bitmap = in testHasAlpha() local
DShaderTest.java56 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testAccessLocalMatrix() local
DCanvas_VertexModeTest.java62 Bitmap bitmap = Bitmap.createBitmap(10, 27, Config.RGB_565); in testValues() local
DBitmapShaderTest.java77 private void checkTile(Bitmap bitmap, int tileX, int tileY) { in checkTile()
95 private void assertColor(int color, Bitmap bitmap, int x, int y) { in assertColor()
DComposeShaderTest.java57 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in testPorterDuff() local
100 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); in testXfermode() local
DSumPathEffectTest.java49 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); in testSumPathEffect() local
DLightingColorFilterTest.java43 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); in testLightingColorFilter() local
DColorMatrixColorFilterTest.java61 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); in testColorMatrixColorFilter() local
DCornerPathEffectTest.java67 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testCornerPathEffect() local
DBitmapTest.java119 Bitmap bitmap = mBitmap.copy(Config.ARGB_8888, false); in testCopy() local
183 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), in testCopyPixelsToBuffer() local
212 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() local
DDiscretePathEffectTest.java64 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testDiscretePathEffect() local
DTypefaceTest.java177 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testCreateFromAsset() local
DEmbossMaskFilterTest.java63 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testEmbossMaskFilter() local
DBlurMaskFilterTest.java71 private void checkQuadrants(int color, Bitmap bitmap, int x, int y, int alphaTolerance) { in checkQuadrants()
DDashPathEffectTest.java57 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testDashPathEffect() local
DPaintFlagsDrawFilterTest.java98 private void assertUnderline(Bitmap bitmap) { in assertUnderline()
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DRectShapeTest.java51 private void assertDrawSuccessfully(Bitmap bitmap, int width, int height, int color) { in assertDrawSuccessfully()
66 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); in testDraw() local
DArcShapeTest.java63 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); in testDraw() local
DOvalShapeTest.java58 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); in testDraw() local
DRoundRectShapeTest.java95 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); in testDraw() local
DPathShapeTest.java77 Bitmap bitmap = Bitmap.createBitmap(SHAPE_SIZE, SHAPE_SIZE, Config.ARGB_8888); in testDraw() local
/cts/tests/tests/permission/src/android/permission/cts/
DNoSystemFunctionPermissionTest.java85 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565); in testSetWallpaper() local
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DNinePatchDrawableTest.java431 Bitmap bitmap = Bitmap.createBitmap(COLOR, width, height, Bitmap.Config.RGB_565); in testInflate() local
485 Bitmap bitmap = getBitmapUnscaled(resId); in getNinePatchDrawable() local
493 Bitmap bitmap = BitmapFactory.decodeResource(mResources, resId, opts); in getBitmapUnscaled() local
DBitmapDrawableTest.java104 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.ARGB_8888); in testConstructor() local
406 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.RGB_565); in testGetIntrinsicSize() local

12