Home
last modified time | relevance | path

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

123

/cts/tests/tests/graphics/src/android/graphics/cts/
DPictureTest.java71 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testSaveRestoreBalance() local
88 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in checkBalance() local
119 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testPicture() local
162 private void checkBitmap(Bitmap bitmap) { in checkBitmap()
DBitmapTest.java110 Bitmap bitmap = mBitmap.copy(Config.ARGB_8888, false); in testCopy() local
164 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), in testCopyPixelsToBuffer() local
183 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() local
530 Bitmap bitmap = Bitmap.createBitmap(10, 10, fromConfig); in testAlphaAndPremul() local
576 private void checkAlphaAndPremul(Bitmap bitmap, boolean expectedAlpha, boolean expectedPremul, in checkAlphaAndPremul()
802 Bitmap bitmap = Bitmap.createBitmap(1, 1, config); in checkPremultipliedBitmapConfig() local
820 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in testSetPremultipliedData() local
840 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in testPremultipliedCanvas() local
853 private int getBitmapRawInt(Bitmap bitmap) { in getBitmapRawInt()
859 private void bitmapStoreRawInt(Bitmap bitmap, int value) { in bitmapStoreRawInt()
[all …]
DNinePatchTest.java71 Bitmap bitmap = Bitmap.createBitmap(COLOR, 10, 10, Bitmap.Config.ARGB_4444); in testIsNinePatchChunk() local
80 Bitmap bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(), in testDraw() local
114 private void checkBitmapWithAlpha(Bitmap expected, Bitmap bitmap, int alpha) { in checkBitmapWithAlpha()
138 Bitmap bitmap = in testHasAlpha() local
DBitmapShaderTest.java68 private void checkTile(Bitmap bitmap, int tileX, int tileY) { in checkTile()
86 private void assertColor(int color, Bitmap bitmap, int x, int y) { in assertColor()
DComposeShaderTest.java48 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in testPorterDuff() local
86 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); in testXfermode() local
DPaintFlagsDrawFilterTest.java89 private void assertUnderline(Bitmap bitmap) { in assertUnderline()
164 private void assertContainsNonBW(Bitmap bitmap) { in assertContainsNonBW()
180 private void assertContainsOnlyBlackAndWhite(Bitmap bitmap) { in assertContainsOnlyBlackAndWhite()
DCanvas_VertexModeTest.java45 Bitmap bitmap = Bitmap.createBitmap(10, 27, Config.RGB_565); in testValues() local
DShaderTest.java34 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testAccessLocalMatrix() local
DSumPathEffectTest.java40 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); in testSumPathEffect() local
DLightingColorFilterTest.java34 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); in testLightingColorFilter() local
DColorMatrixColorFilterTest.java44 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); in testColorMatrixColorFilter() local
/cts/tests/tests/text/src/android/text/cts/
DEmojiTest.java169 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local
192 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local
215 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local
226 Bitmap bitmap; field in EmojiTest.CaptureWebView
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DRectShapeTest.java41 private void assertDrawSuccessfully(Bitmap bitmap, int width, int height, int color) { in assertDrawSuccessfully()
51 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); in testDraw() local
DArcShapeTest.java49 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); in testDraw() local
DOvalShapeTest.java44 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); in testDraw() local
DRoundRectShapeTest.java66 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); in testDraw() local
DPathShapeTest.java55 Bitmap bitmap = Bitmap.createBitmap(SHAPE_SIZE, SHAPE_SIZE, Config.ARGB_8888); in testDraw() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DInvertVerifier.java29 public boolean verify(int[] bitmap, int offset, int stride, int width, int height) { in verify()
DGoldenImageVerifier.java34 public boolean verify(int[] bitmap, int offset, int stride, int width, int height) { in verify()
DBitmapVerifier.java33 public abstract boolean verify(int[] bitmap, int offset, int stride, int width, int height); in verify()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DBitmapDrawableTest.java69 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.ARGB_8888); in testConstructor() local
78 new BitmapDrawable(mContext.getResources(), bitmap); in testConstructor() local
296 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.RGB_565); in testGetIntrinsicSize() local
313 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.RGB_565); in testSetTargetDensity() local
DNinePatchDrawableTest.java299 Bitmap bitmap = Bitmap.createBitmap(COLOR, width, height, Bitmap.Config.RGB_565); in testInflate() local
347 Bitmap bitmap = getBitmapUnscaled(resId); in getNinePatchDrawable() local
355 Bitmap bitmap = BitmapFactory.decodeResource(mResources, resId, opts); in getBitmapUnscaled() local
/cts/tests/tests/graphics/src/android/opengl/cts/
DCompressedTextureCtsActivity.java54 Bitmap bitmap = BitmapFactory.decodeResource(mResources, R.raw.basetex, optionsRGB); in onCreate() local
/cts/tests/tests/permission/src/android/permission/cts/
DNoSystemFunctionPermissionTest.java86 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565); in testSetWallpaper() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/
DBitmapDumper.java94 public static void dumpBitmap(Bitmap bitmap, String testName, String className) { in dumpBitmap()
102 … private static void saveFile(String className, String testName, String fileName, Bitmap bitmap) { in saveFile()

123