/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTest.java | 240 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerFullsize() local 255 Bitmap bitmap = result.getBitmap(); in testGlProducerAutoSize() local 266 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropTopLeft() local 276 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropCenter() local 286 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropBottomHalf() local 296 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropClamping() local 308 Bitmap bitmap = Bitmap.createBitmap(20, 20, Config.ARGB_8888); in testGlProducerScaling() local 324 Bitmap bitmap = Bitmap.createBitmap(20, 20, Config.ARGB_8888); in testReuseBitmap() local 365 final Bitmap bitmap = Bitmap.createBitmap(src.width(), src.height(), in testViewProducer() local 387 final Bitmap bitmap = result.getBitmap(); in testWindowProducerAutoSize() local [all …]
|
D | ViewAnimationMatrixTest.java | 87 Bitmap bitmap = captureView(root, view.getWidth(), view.getHeight()); in testAnimationMatrixAppliedDuringDrawing() local 102 Bitmap bitmap = captureView(root, view.getWidth(), view.getHeight()); in testAnimationMatrixClearedWithPassingNull() local 144 private void assertAllPixelsAre(int color, Bitmap bitmap) { in assertAllPixelsAre()
|
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/ |
D | WalletCardTest.java | 62 Bitmap bitmap = Bitmap.createBitmap(70, 44, Bitmap.Config.ARGB_8888); in testParcel_toParcel() local 107 Bitmap bitmap = Bitmap.createBitmap(70, 44, Bitmap.Config.ARGB_8888); in testParcel_noIconOrLabel_toParcel() local 135 Bitmap bitmap = Bitmap.createBitmap(70, 44, Bitmap.Config.ARGB_8888); in testBuilder_defaultsToUnknownCardType() local 151 Bitmap bitmap = Bitmap.createBitmap(70, 44, Bitmap.Config.ARGB_8888); in testSetNonPaymentCardSecondaryImage_throwsException() local 168 Bitmap bitmap = Bitmap.createBitmap(70, 44, Bitmap.Config.ARGB_8888); in testSetCardLocationsNull_throwsException() local
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapShaderTest.java | 91 private void verifyTile(Bitmap bitmap, int tileX, int tileY) { in verifyTile() 109 private void verifyColor(int color, Bitmap bitmap, int x, int y) { in verifyColor() 118 Bitmap bitmap = Bitmap.createBitmap(2, 1, config); in testClamp() local 141 Bitmap bitmap = Bitmap.createBitmap(2, 1, config); in testRepeat() local 164 Bitmap bitmap = Bitmap.createBitmap(2, 1, config); in testMirror() local 187 Bitmap bitmap = Bitmap.createBitmap(2, 2, config); in testFiltering() local 230 Bitmap bitmap = Bitmap.createBitmap(2, 2, Bitmap.Config.ARGB_8888); in testAnisotropicFiltering() local 252 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in testRecycledBitmapThrowsISE() local 269 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in testBitmapShaderAppliesGainmapHLG() local
|
D | BitmapTest.java | 228 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ALPHA_8); in testCompressAlpha8Fails() local 253 Bitmap bitmap = mBitmap.copy(Config.ARGB_8888, false); in testCopy() local 321 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), in testCopyPixelsToBuffer() local 341 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() local 550 Bitmap bitmap; in testCreateBitmap_displayMetrics_mutable() local 581 Bitmap bitmap; in testCreateBitmap_noDisplayMetrics_mutable() local 598 Bitmap bitmap; in testCreateBitmap_displayMetrics_immutable() local 611 Bitmap bitmap; in testCreateBitmap_noDisplayMetrics_immutable() local 634 Bitmap bitmap; in testCreateBitmap_Picture_immutable() local 660 Bitmap bitmap = Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testWrapHardwareBufferSucceeds() local [all …]
|
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 | 117 Bitmap bitmap = Bitmap.createBitmap(COLOR, 10, 10, Bitmap.Config.ARGB_4444); in testIsNinePatchChunk() local 126 Bitmap bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(), in testDraw() local 160 private void verifyBitmapWithAlpha(Bitmap expected, Bitmap bitmap, int alpha) { in verifyBitmapWithAlpha() 185 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/uirendering/src/android/uirendering/cts/util/ |
D | BitmapDumper.java | 75 public static void dumpBitmap(Bitmap bitmap) { in dumpBitmap() 82 public static void dumpBitmap(Bitmap bitmap, String label) { in dumpBitmap() 94 private static void logIfBitmapSolidColor(String fileName, Bitmap bitmap) { in logIfBitmapSolidColor() 107 private static void saveBitmap(Bitmap bitmap, File file) { in saveBitmap() 108 logIfBitmapSolidColor(file.getName(), bitmap); in saveBitmap() local
|
/cts/tests/tests/security/src/android/security/cts/ |
D | DecodeTest.java | 46 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_34778578() local 60 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_67381469() local
|
/cts/tests/tests/security/aidl/android/security/cts/ |
D | IBitmapService.aidl | 22 int getAllocationSize(in BitmapWrapper bitmap); in getAllocationSize() 23 boolean didReceiveBitmap(in BitmapWrapper bitmap); in didReceiveBitmap()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
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
|
D | ColorSpaceTests.java | 94 Bitmap bitmap = loadAsset("green-p3.png", RGB_565); in testDrawDisplayP3Config565() local 126 Bitmap bitmap = loadAsset("orange-prophotorgb.png", RGB_565); in testDrawProPhotoRGBConfig565() local 310 private void drawAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawAsset() 340 Bitmap bitmap; in loadAsset() local 353 private void drawTranslucentAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawTranslucentAsset() 363 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.RGBA_F16, false, dest); in transformViaBitmap() local
|
D | HardwareBufferRendererTests.kt | 99 val bitmap = Bitmap.wrapHardwareBuffer(hardwareBuffer, colorSpace)!! in <lambda>() constant 108 fun testContentsPreservedSRGB() = preservedContentsTest() { bitmap -> in <lambda>() method 117 ) { bitmap -> in <lambda>() method 157 ) { bitmap -> in <lambda>() method 195 val bitmap = Bitmap.wrapHardwareBuffer(hardwareBuffer, colorSpace)!! in <lambda>() constant 252 val bitmap = Bitmap.wrapHardwareBuffer(hardwareBuffer, colorSpace)!! in <lambda>() constant 317 ) { bitmap -> in <lambda>() method 332 ) { bitmap -> in <lambda>() method 347 ) { bitmap -> in <lambda>() method 362 ) { bitmap -> in <lambda>() method [all …]
|
/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/app/WallpaperTest/testsdk33/src/android/app/cts/wallpapers/ |
D | WallpaperManagerSdk33Test.java | 168 Bitmap bitmap = BitmapFactory.decodeFileDescriptor( in getWallpaperFile_system_noPermission_returnsDefault() local 185 Bitmap bitmap = BitmapFactory.decodeFileDescriptor( in getWallpaperFile_lock_noPermission_returnsDefault() local 202 Bitmap bitmap = BitmapFactory.decodeFileDescriptor( in getWallpaperFile_system_withPermission_returnsCurrent() local 218 Bitmap bitmap = BitmapFactory.decodeFileDescriptor( in getWallpaperFile_lock_withPermission_doesNotReturnDefault() 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 | 139 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testLightStatusBarIcons() local 167 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testAppearanceCanOverwriteLegacyFlags() local 195 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testLegacyFlagsCannotOverwriteAppearance() local 215 Bitmap bitmap = takeNavigationBarScreenshot(activity); in testLightNavigationBar() local 258 Bitmap bitmap = takeStatusBarScreenshot(activity); in testLightBarIsNotAllowed_fitStatusBar() local 317 private void assertStats(Bitmap bitmap, Stats s, boolean light) { in assertStats() 385 private Stats evaluateLightBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateLightBarBitmap() 405 private Stats evaluateDarkBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateDarkBarBitmap() 409 private Stats evaluateBarBitmap(Bitmap bitmap, int background, int shiftY, int iconColor, in evaluateBarBitmap()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | ThumbnailUtilsTest.java | 145 private static void assertOrientationForThumbnail(Bitmap bitmap) { in assertOrientationForThumbnail() 158 final Bitmap bitmap = ThumbnailUtils.createImageThumbnail(file, TEST_SIZES[0], null); in testCreateImageThumbnail_sampleWithThumbnail() local 167 final Bitmap bitmap = ThumbnailUtils.createImageThumbnail(file, TEST_SIZES[0], null); in testCreateImageThumbnail_strippedSample() local 181 final Bitmap bitmap = ThumbnailUtils.createImageThumbnail(file, TEST_SIZES[0], null); in testCreateImageThumbnail_HEICSample() local
|
/cts/tests/tests/uirendering/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()
|
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()
|
/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
|