/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTest.java | 204 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerFullsize() local 217 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropTopLeft() local 227 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropCenter() local 237 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropBottomHalf() local 247 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropClamping() local 259 Bitmap bitmap = Bitmap.createBitmap(20, 20, Config.ARGB_8888); in testGlProducerScaling() local 275 Bitmap bitmap = Bitmap.createBitmap(20, 20, Config.ARGB_8888); in testReuseBitmap() local 309 Bitmap bitmap; in testWindowProducer() local 327 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testWindowProducerCropTopLeft() local 340 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testWindowProducerCropCenter() local [all …]
|
D | ViewAnimationMatrixTest.java | 76 Bitmap bitmap = captureView(root, view.getWidth(), view.getHeight()); in testAnimationMatrixAppliedDuringDrawing() local 91 Bitmap bitmap = captureView(root, view.getWidth(), view.getHeight()); in testAnimationMatrixClearedWithPassingNull() local 133 private void assertAllPixelsAre(int color, Bitmap bitmap) { in assertAllPixelsAre()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ColorSpaceTests.java | 81 Bitmap bitmap = loadAsset("green-p3.png", RGB_565); in testDrawDisplayP3Config565() local 113 Bitmap bitmap = loadAsset("orange-prophotorgb.png", RGB_565); in testDrawProPhotoRGBConfig565() local 141 private void drawAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawAsset() 171 Bitmap bitmap; in loadAsset() local 184 private void drawTranslucentAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawTranslucentAsset()
|
D | CanvasStateTests.java | 145 private void testFailureOnBitmapDraw(Bitmap bitmap) { in testFailureOnBitmapDraw() 182 Bitmap bitmap = Bitmap.createBitmap(displayMetrics.widthPixels, in testDrawScreenWideBitmap() local 202 Bitmap bitmap = Bitmap.createBitmap(bWidth, bHeight, Bitmap.Config.ARGB_8888); in testDrawLargeBitmap() local
|
D | NinePatchTests.kt | 52 val bitmap = ImageDecoder.decodeBitmap(this) in <lambda>() constant 70 val bitmap = ImageDecoder.decodeBitmap(this) { in <lambda>() constant 90 for (bitmap in arrayOf(filtered, unfiltered, noPaint, np.bitmap)) { in <lambda>() constant
|
/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 | ZeroHeightTiffTest.java | 38 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_33300701() local
|
D | BigRleTest.java | 38 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_33251605() local
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapTest.java | 225 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ALPHA_8); in testCompressAlpha8Fails() local 250 Bitmap bitmap = mBitmap.copy(Config.ARGB_8888, false); in testCopy() local 318 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), in testCopyPixelsToBuffer() local 338 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() local 547 Bitmap bitmap; in testCreateBitmap_displayMetrics_mutable() local 578 Bitmap bitmap; in testCreateBitmap_noDisplayMetrics_mutable() local 595 Bitmap bitmap; in testCreateBitmap_displayMetrics_immutable() local 608 Bitmap bitmap; in testCreateBitmap_noDisplayMetrics_immutable() local 631 Bitmap bitmap; in testCreateBitmap_Picture_immutable() local 657 Bitmap bitmap = Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testWrapHardwareBufferSucceeds() local [all …]
|
D | BitmapShaderTest.java | 76 private void verifyTile(Bitmap bitmap, int tileX, int tileY) { in verifyTile() 94 private void verifyColor(int color, Bitmap bitmap, int x, int y) { in verifyColor() 102 Bitmap bitmap = Bitmap.createBitmap(2, 1, Config.ARGB_8888); in testClamp() local 124 Bitmap bitmap = Bitmap.createBitmap(2, 1, Config.ARGB_8888); in testRepeat() local 146 Bitmap bitmap = Bitmap.createBitmap(2, 1, Config.ARGB_8888); in testMirror() local
|
D | PictureTest.java | 65 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testSaveRestoreBalance() local 82 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in verifyBalance() local 113 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testPicture() local 154 private void verifyBitmap(Bitmap bitmap) { in verifyBitmap()
|
D | ComposeShaderTest.java | 56 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in testPorterDuff() local 89 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in testBlendMode() local 128 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); in testXfermode() local 157 Bitmap bitmap = Bitmap.createBitmap(10, 10, Config.ARGB_8888); in testChildLocalMatrix() local
|
D | NinePatchTest.java | 107 Bitmap bitmap = Bitmap.createBitmap(COLOR, 10, 10, Bitmap.Config.ARGB_4444); in testIsNinePatchChunk() local 116 Bitmap bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(), in testDraw() local 150 private void verifyBitmapWithAlpha(Bitmap expected, Bitmap bitmap, int alpha) { in verifyBitmapWithAlpha() 175 Bitmap bitmap = in testHasAlpha() local
|
D | ShaderTest.java | 48 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testAccessLocalMatrix() local 75 Bitmap bitmap = Bitmap.createBitmap(10, 10, Bitmap.Config.RGB_565); in testGetSetLocalMatrix() local
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | BitmapDumper.java | 101 public static void dumpBitmap(Bitmap bitmap, String testName, String className) { in dumpBitmap() 115 private static void logIfBitmapSolidColor(String fileName, Bitmap bitmap) { in logIfBitmapSolidColor() 128 private static void saveBitmap(Bitmap bitmap, File file) { in saveBitmap() 134 logIfBitmapSolidColor(file.getName(), bitmap); in saveBitmap() local
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarTests.java | 98 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testLightStatusBarIcons() local 125 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testAppearanceCanOverwriteLegacyFlags() local 152 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testLegacyFlagsCannotOverwriteAppearance() local 172 Bitmap bitmap = takeNavigationBarScreenshot(activity); in testLightNavigationBar() local 215 Bitmap bitmap = takeStatusBarScreenshot(activity); in testLightBarIsNotAllowed_fitStatusBar() local 240 Bitmap bitmap = takeStatusBarScreenshot(activity); in testLightBarIsNotAllowed_fitDisplayCutout() local 288 private void assertStats(Bitmap bitmap, Stats s, boolean light) { in assertStats() 352 private Stats evaluateLightBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateLightBarBitmap() 356 private Stats evaluateDarkBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateDarkBarBitmap() 360 private Stats evaluateBarBitmap(Bitmap bitmap, int background, int shiftY, int iconColor, in evaluateBarBitmap()
|
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/ |
D | WalletCardTest.java | 57 Bitmap bitmap = Bitmap.createBitmap(70, 44, Bitmap.Config.ARGB_8888); in testParcel_toParcel() local 82 Bitmap bitmap = Bitmap.createBitmap(70, 44, Bitmap.Config.ARGB_8888); in testParcel_noIconOrLabel_toParcel() local
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ThumbnailUtilsTest.java | 142 private static void assertOrientationForThumbnail(Bitmap bitmap) { in assertOrientationForThumbnail() 155 final Bitmap bitmap = ThumbnailUtils.createImageThumbnail(file, TEST_SIZES[0], null); in testCreateImageThumbnail_sampleWithThumbnail() local 164 final Bitmap bitmap = ThumbnailUtils.createImageThumbnail(file, TEST_SIZES[0], null); in testCreateImageThumbnail_strippedSample() local 178 final Bitmap bitmap = ThumbnailUtils.createImageThumbnail(file, TEST_SIZES[0], null); in testCreateImageThumbnail_HEICSample() local
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | GoldenImageVerifier.java | 43 public boolean verify(Bitmap bitmap) { in verify() 52 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()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/bitmapverifiers/ |
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()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/blendmode/ |
D | BitmapBlendModeCanvasClient.java | 66 Bitmap bitmap = createBitmap(width, height); in draw() local 79 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createBitmap() local
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/blendmode/ |
D | BitmapBlendModeCanvasClient.java | 66 Bitmap bitmap = createBitmap(width, height); in draw() local 79 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createBitmap() local
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | EnsureBarContrastTest.java | 100 Bitmap bitmap = getOnMainSync(() -> activity.screenshotBar(bar, mDumper)); in runTestEnsureContrast() local 133 Bitmap bitmap = getOnMainSync(() -> activity.screenshotBar(bar, mDumper)); in runTestDontEnsureContrast() local
|
/cts/tests/tests/text/src/android/text/cts/ |
D | EmojiTest.java | 236 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local 260 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local 284 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local 328 Bitmap bitmap = Bitmap.createBitmap(picture.getWidth(), picture.getHeight(), in capture() local
|