/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTest.java | 168 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerFullsize() local 181 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropTopLeft() local 191 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropCenter() local 201 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropBottomHalf() local 211 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropClamping() local 223 Bitmap bitmap = Bitmap.createBitmap(20, 20, Config.ARGB_8888); in testGlProducerScaling() local 249 Bitmap bitmap; in testWindowProducer() local 267 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testWindowProducerCropTopLeft() local 280 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testWindowProducerCropCenter() local 293 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testWindowProducerCropBottomHalf() local [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ColorSpaceTests.java | 80 Bitmap bitmap = loadAsset("green-p3.png", RGB_565); in testDrawDisplayP3Config565() local 112 Bitmap bitmap = loadAsset("orange-prophotorgb.png", RGB_565); in testDrawProPhotoRGBConfig565() local 140 private void drawAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawAsset() 170 Bitmap bitmap; in loadAsset() local 183 private void drawTranslucentAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawTranslucentAsset()
|
D | CanvasStateTests.java | 96 private void testFailureOnBitmapDraw(Bitmap bitmap) { in testFailureOnBitmapDraw() 133 Bitmap bitmap = Bitmap.createBitmap(displayMetrics.widthPixels, in testDrawScreenWideBitmap() local 153 Bitmap bitmap = Bitmap.createBitmap(bWidth, bHeight, Bitmap.Config.ARGB_8888); in testDrawLargeBitmap() local
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapTest.java | 116 Bitmap bitmap = mBitmap.copy(Config.ARGB_8888, false); in testCopy() local 184 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), in testCopyPixelsToBuffer() local 204 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() local 387 Bitmap bitmap; in testCreateBitmap_displayMetrics_mutable() local 417 Bitmap bitmap; in testCreateBitmap_displayMetrics_immutable() local 438 Bitmap bitmap = Bitmap.createBitmap(10, 10, Config.ARGB_8888); in testGenerationId() local 697 Bitmap bitmap = Bitmap.createBitmap(10, 10, fromConfig); in testAlphaAndPremul() local 743 private void verifyAlphaAndPremul(Bitmap bitmap, boolean expectedAlpha, boolean expectedPremul, in verifyAlphaAndPremul() 984 Bitmap bitmap = Bitmap.createBitmap(1, 1, config); in verifyPremultipliedBitmapConfig() local 1004 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in testSetPremultipliedData() local [all …]
|
D | BitmapShaderTest.java | 75 private void verifyTile(Bitmap bitmap, int tileX, int tileY) { in verifyTile() 93 private void verifyColor(int color, Bitmap bitmap, int x, int y) { in verifyColor() 101 Bitmap bitmap = Bitmap.createBitmap(2, 1, Config.ARGB_8888); in testClamp() local 123 Bitmap bitmap = Bitmap.createBitmap(2, 1, Config.ARGB_8888); in testRepeat() local 145 Bitmap bitmap = Bitmap.createBitmap(2, 1, Config.ARGB_8888); in testMirror() local
|
D | PictureTest.java | 80 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testSaveRestoreBalance() local 97 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in verifyBalance() local 129 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testPicture() local 172 private void verifyBitmap(Bitmap bitmap) { in verifyBitmap()
|
D | ComposeShaderTest.java | 54 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in testPorterDuff() local 93 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); in testXfermode() local 122 Bitmap bitmap = Bitmap.createBitmap(10, 10, Config.ARGB_8888); in testChildLocalMatrix() local
|
D | NinePatchTest.java | 106 Bitmap bitmap = Bitmap.createBitmap(COLOR, 10, 10, Bitmap.Config.ARGB_4444); in testIsNinePatchChunk() local 115 Bitmap bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(), in testDraw() local 149 private void verifyBitmapWithAlpha(Bitmap expected, Bitmap bitmap, int alpha) { in verifyBitmapWithAlpha() 174 Bitmap bitmap = in testHasAlpha() local
|
D | ShaderTest.java | 47 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testAccessLocalMatrix() local 74 Bitmap bitmap = Bitmap.createBitmap(10, 10, Bitmap.Config.RGB_565); in testGetSetLocalMatrix() local
|
D | PaintFlagsDrawFilterTest.java | 92 private void verifyUnderline(Bitmap bitmap) { in verifyUnderline() 168 private void verifyContainsNonBW(Bitmap bitmap) { in verifyContainsNonBW() 184 private void verifyContainsOnlyBlackAndWhite(Bitmap bitmap) { in verifyContainsOnlyBlackAndWhite()
|
D | RadialGradientTest.java | 48 Bitmap bitmap = Bitmap.createBitmap(3, 1, Config.ARGB_8888); in testZeroScaleMatrix() local
|
D | Canvas_VertexModeTest.java | 54 Bitmap bitmap = Bitmap.createBitmap(10, 27, Config.RGB_565); in testValues() 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/systemui/src/android/systemui/cts/ |
D | LightBarTests.java | 74 Bitmap bitmap = takeStatusBarScreenshot(); in testLightStatusBarIcons() local 101 Bitmap bitmap = takeNavigationBarScreenshot(); in testLightNavigationBar() local 112 private void assertLightStats(Bitmap bitmap, Stats s) { in assertLightStats() 190 private Stats evaluateLightBarBitmap(Bitmap bitmap, int background) { in evaluateLightBarBitmap() 234 private void dumpBitmap(Bitmap bitmap) { in dumpBitmap()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | EmojiTest.java | 212 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local 236 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local 260 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local 271 Bitmap bitmap; field in EmojiTest.CaptureWebView
|
/cts/tests/tests/security/src/android/security/cts/ |
D | BigRleTest.java | 36 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_33251605() local
|
D | ZeroHeightTiffTest.java | 39 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_33300701() local
|
D | DecodeTest.java | 38 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_34778578() local
|
D | SkiaICORecursiveDecodingTest.java | 48 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in doSkiaIcoRecursiveDecodingTest() local
|
D | Movie33897722.java | 52 Bitmap bitmap = Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888); in test_android_bug_33897722() local
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
D | RectShapeTest.java | 53 private void verifyDrawSuccessfully(Bitmap bitmap, int width, int height, int color) { in verifyDrawSuccessfully() 64 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); in testDraw() local
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | MediaStoreSaver.java | 35 public static final String savePNG(Bitmap bitmap, in savePNG()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 95 private static void logIfBitmapSolidColor(String fileName, Bitmap bitmap) { in logIfBitmapSolidColor() 108 public static void saveBitmap(Bitmap bitmap, String directoryName, String fileName) { in saveBitmap()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | BitmapDrawableTest.java | 101 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.ARGB_8888); in testConstructor() local 110 new BitmapDrawable(mContext.getResources(), bitmap); in testConstructor() local 363 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.RGB_565); in testGetIntrinsicSize() local 383 Bitmap bitmap; in testSetTargetDensity() local 616 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in compareOrSave() local 643 private void saveGoldenImage(Bitmap bitmap, int sourceResId, int densityDpi) { in saveGoldenImage()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | TestUtils.java | 69 final Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, in getCombinedBackgroundBitmap() local 150 Bitmap bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), in assertRegionPixelsOfColor() local 178 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight, in assertAllPixelsOfColor() local 211 private static void assertAllPixelsOfColor(String failMessagePrefix, @NonNull Bitmap bitmap, in assertAllPixelsOfColor() 254 public static void assertCenterPixelOfColor(String failMessagePrefix, @NonNull Bitmap bitmap, in assertCenterPixelOfColor()
|