/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTest.java | 182 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerFullsize() local 195 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropTopLeft() local 205 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropCenter() local 215 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropBottomHalf() local 225 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropClamping() local 237 Bitmap bitmap = Bitmap.createBitmap(20, 20, Config.ARGB_8888); in testGlProducerScaling() local 253 Bitmap bitmap = Bitmap.createBitmap(20, 20, Config.ARGB_8888); in testReuseBitmap() local 287 Bitmap bitmap; in testWindowProducer() local 305 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testWindowProducerCropTopLeft() local 318 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testWindowProducerCropCenter() 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 | 121 Bitmap bitmap = mBitmap.copy(Config.ARGB_8888, false); in testCopy() local 189 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), in testCopyPixelsToBuffer() local 209 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() local 392 Bitmap bitmap; in testCreateBitmap_displayMetrics_mutable() local 422 Bitmap bitmap; in testCreateBitmap_displayMetrics_immutable() local 443 Bitmap bitmap = Bitmap.createBitmap(10, 10, Config.ARGB_8888); in testGenerationId() local 702 Bitmap bitmap = Bitmap.createBitmap(10, 10, fromConfig); in testAlphaAndPremul() local 748 private void verifyAlphaAndPremul(Bitmap bitmap, boolean expectedAlpha, boolean expectedPremul, in verifyAlphaAndPremul() 989 Bitmap bitmap = Bitmap.createBitmap(1, 1, config); in verifyPremultipliedBitmapConfig() local 1009 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 | 79 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testSaveRestoreBalance() local 96 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in verifyBalance() local 128 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testPicture() local 178 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/tests/tests/security/src/android/security/cts/ |
D | DecodeTest.java | 38 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_34778578() local 51 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_67381469() local
|
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 | SkiaICORecursiveDecodingTest.java | 51 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in doSkiaIcoRecursiveDecodingTest() local
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | WideGamutBitmapVerifier.java | 26 public boolean verify(Bitmap bitmap) { in verify() 37 public abstract boolean verify(ByteBuffer bitmap, int offset, int stride, in verify() 41 public boolean verify(int[] bitmap, int offset, int stride, int width, int height) { in verify()
|
D | BitmapVerifier.java | 30 public boolean verify(Bitmap bitmap) { in verify() 41 public abstract boolean verify(int[] bitmap, int offset, int stride, int width, int height); in verify()
|
D | RegionVerifier.java | 42 public boolean verify(int[] bitmap, int offset, int stride, int width, int height) { in verify() 62 private boolean verifySubRect(int[] bitmap, int offset, int stride, int width, int height, in verifySubRect()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaMetadataRetrieverTest.java | 406 private void verifyVideoFrame(Bitmap bitmap, int[] testCase) { in verifyVideoFrame() 443 Bitmap bitmap = retriever.getScaledFrameAtTime( in testGetScaledFrameAtTime() local 451 Bitmap bitmap = retriever.getScaledFrameAtTime( in testGetScaledFrameAtTime() local 459 Bitmap bitmap = retriever.getScaledFrameAtTime( in testGetScaledFrameAtTime() local 467 Bitmap bitmap = retriever.getScaledFrameAtTime( in testGetScaledFrameAtTime() local 475 Bitmap bitmap = retriever.getScaledFrameAtTime( in testGetScaledFrameAtTime() local 484 Bitmap bitmap = retriever.getScaledFrameAtTime( in testGetScaledFrameAtTime() local 506 Bitmap bitmap = retriever.getScaledFrameAtTime( in testGetScaledFrameAtTime() local 528 Bitmap bitmap = retriever.getScaledFrameAtTime( in testGetScaledFrameAtTime() local 550 Bitmap bitmap = retriever.getScaledFrameAtTime( in testGetScaledFrameAtTime() local [all …]
|
/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 | 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/systemui/src/android/systemui/cts/ |
D | LightBarTestBase.java | 54 protected void dumpBitmap(Bitmap bitmap) { in dumpBitmap() 119 final Bitmap bitmap = takeNavigationBarScreenshot(activity); in checkNavigationBarDivider() 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()
|