| /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 547 Bitmap bitmap = Bitmap.createBitmap(10, 10, fromConfig); in testAlphaAndPremul() local 593 private void checkAlphaAndPremul(Bitmap bitmap, boolean expectedAlpha, boolean expectedPremul, in checkAlphaAndPremul() 819 Bitmap bitmap = Bitmap.createBitmap(1, 1, config); in checkPremultipliedBitmapConfig() local 837 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in testSetPremultipliedData() local 857 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in testPremultipliedCanvas() local 870 private int getBitmapRawInt(Bitmap bitmap) { in getBitmapRawInt() 876 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 | ShaderTest.java | 34 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testAccessLocalMatrix() local
|
| D | Canvas_VertexModeTest.java | 45 Bitmap bitmap = Bitmap.createBitmap(10, 27, Config.RGB_565); in testValues() 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
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
| D | ByodIconSamplerActivity.java | 64 Bitmap bitmap = convertToBitmap(drawable); in sampleImage() local 102 Bitmap bitmap = Bitmap.createBitmap(icon.getIntrinsicWidth(), icon.getIntrinsicHeight(), in convertToBitmap() local
|
| /cts/tests/tests/text/src/android/text/cts/ |
| D | EmojiTest.java | 197 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local 221 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local 245 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local 256 Bitmap bitmap; field in EmojiTest.CaptureWebView
|
| /cts/tests/tests/widget/src/android/widget/cts/util/ |
| D | TestUtils.java | 52 final Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, in getCombinedBackgroundBitmap() local 113 Bitmap bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), in assertAllPixelsOfColor() local 140 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight, in assertAllPixelsOfColor() local 167 public static void assertAllPixelsOfColor(String failMessagePrefix, @NonNull Bitmap bitmap, in assertAllPixelsOfColor()
|
| /cts/tests/tests/security/src/android/security/cts/ |
| D | SkiaICORecursiveDecodingTest.java | 46 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in doSkiaIcoRecursiveDecodingTest() 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 logIfBitmapSolidColor(String bitmapName, Bitmap bitmap) { in logIfBitmapSolidColor() 115 … private static void saveFile(String className, String testName, String fileName, Bitmap bitmap) { in saveFile()
|
| /cts/tests/tests/view/src/android/view/cts/ |
| D | PixelCopyTests.java | 139 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducer() local 189 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testVideoProducer() local 205 private static int getPixelFloatPos(Bitmap bitmap, float xpos, float ypos) { in getPixelFloatPos() 209 private void assertBitmapQuadColor(Bitmap bitmap, int topLeft, int topRight, in assertBitmapQuadColor() 218 private void assertBitmapQuadColor(Bitmap bitmap, int topLeft, int topRight, in assertBitmapQuadColor()
|
| /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
| D | RectShapeTest.java | 43 private void assertDrawSuccessfully(Bitmap bitmap, int width, int height, int color) { in assertDrawSuccessfully() 54 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, 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 | 35 public boolean verify(int[] bitmap, int offset, int stride, int width, int height) { in verify()
|
| /cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
| D | MediaStoreSaver.java | 35 public static final String savePNG(Bitmap bitmap, in savePNG()
|
| /cts/tests/tests/systemui/src/android/systemui/cts/ |
| D | LightStatusBarTests.java | 69 Bitmap bitmap = takeStatusBarScreenshot(); in testLightStatusBarIcons() local 150 private Stats evaluateLightStatusBarBitmap(Bitmap bitmap, int background) { in evaluateLightStatusBarBitmap() 194 private void dumpBitmap(Bitmap bitmap) { in dumpBitmap()
|
| /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 | 91 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565); in testSetWallpaper() local
|
| /cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
| D | BitmapDrawableTest.java | 84 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.ARGB_8888); in testConstructor() local 93 new BitmapDrawable(mContext.getResources(), bitmap); in testConstructor() local 338 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.RGB_565); in testGetIntrinsicSize() local 357 Bitmap bitmap; in testSetTargetDensity() local 582 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in compareOrSave() local 599 private void saveGoldenImage(Bitmap bitmap, int sourceResId, int densityDpi) { in saveGoldenImage()
|
| /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
| D | ColorFilterAlphaTest.java | 103 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in createMultiRectBitmap() local
|