| /cts/tests/tests/graphics/src/android/graphics/cts/ |
| D | PictureTest.java | 71 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()
|
| D | BitmapTest.java | 110 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 …]
|
| D | NinePatchTest.java | 71 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
|
| D | BitmapShaderTest.java | 68 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()
|
| D | ComposeShaderTest.java | 48 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
|
| D | PaintFlagsDrawFilterTest.java | 89 private void assertUnderline(Bitmap bitmap) { in assertUnderline() 164 private void assertContainsNonBW(Bitmap bitmap) { in assertContainsNonBW() 180 private void assertContainsOnlyBlackAndWhite(Bitmap bitmap) { in assertContainsOnlyBlackAndWhite()
|
| D | Canvas_VertexModeTest.java | 45 Bitmap bitmap = Bitmap.createBitmap(10, 27, Config.RGB_565); in testValues() local
|
| D | ShaderTest.java | 34 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testAccessLocalMatrix() local
|
| D | SumPathEffectTest.java | 40 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); in testSumPathEffect() local
|
| D | LightingColorFilterTest.java | 34 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); in testLightingColorFilter() local
|
| D | ColorMatrixColorFilterTest.java | 44 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); in testColorMatrixColorFilter() local
|
| /cts/tests/tests/text/src/android/text/cts/ |
| D | EmojiTest.java | 169 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/ |
| D | RectShapeTest.java | 41 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
|
| D | ArcShapeTest.java | 49 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); in testDraw() local
|
| D | OvalShapeTest.java | 44 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); in testDraw() local
|
| D | RoundRectShapeTest.java | 66 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); in testDraw() local
|
| D | PathShapeTest.java | 55 Bitmap bitmap = Bitmap.createBitmap(SHAPE_SIZE, SHAPE_SIZE, Config.ARGB_8888); in testDraw() local
|
| /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
| D | InvertVerifier.java | 29 public boolean verify(int[] bitmap, int offset, int stride, int width, int height) { in verify()
|
| D | GoldenImageVerifier.java | 34 public boolean verify(int[] bitmap, int offset, int stride, int width, int height) { in verify()
|
| D | BitmapVerifier.java | 33 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/ |
| D | BitmapDrawableTest.java | 69 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
|
| D | NinePatchDrawableTest.java | 299 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/ |
| D | CompressedTextureCtsActivity.java | 54 Bitmap bitmap = BitmapFactory.decodeResource(mResources, R.raw.basetex, optionsRGB); in onCreate() local
|
| /cts/tests/tests/permission/src/android/permission/cts/ |
| D | NoSystemFunctionPermissionTest.java | 86 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565); in testSetWallpaper() local
|
| /cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
| D | BitmapDumper.java | 94 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()
|