| /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 362 final Bitmap bitmap = Bitmap.createBitmap(src.width(), src.height(), in testViewProducer() local 384 final Bitmap bitmap = result.getBitmap(); in testWindowProducerAutoSize() 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/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 | 229 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ALPHA_8); in testCompressAlpha8Fails() local 254 Bitmap bitmap = mBitmap.copy(Config.ARGB_8888, false); in testCopy() local 322 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), in testCopyPixelsToBuffer() local 342 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() local 551 Bitmap bitmap; in testCreateBitmap_displayMetrics_mutable() local 582 Bitmap bitmap; in testCreateBitmap_noDisplayMetrics_mutable() local 599 Bitmap bitmap; in testCreateBitmap_displayMetrics_immutable() local 612 Bitmap bitmap; in testCreateBitmap_noDisplayMetrics_immutable() local 635 Bitmap bitmap; in testCreateBitmap_Picture_immutable() local 661 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
|
| D | GainmapTest.java | 112 private void checkGainmap(Bitmap bitmap) throws Exception { in checkGainmap() 135 Bitmap bitmap = ImageDecoder.decodeBitmap( in testDecodeGainmap() local 143 Bitmap bitmap = BitmapFactory.decodeResource(sContext.getResources(), R.raw.gainmap); in testDecodeGainmapBitmapFactory() local 154 Bitmap bitmap = BitmapFactory.decodeResource(sContext.getResources(), R.raw.gainmap, in testDecodeGainmapBitmapFactoryReuse() local 332 Bitmap bitmap = ImageDecoder.decodeBitmap( in testWriteToParcel() local 450 Bitmap bitmap = ImageDecoder.decodeBitmap( in testHardwareGainmapCopy() local 466 Bitmap bitmap = ImageDecoder.decodeBitmap( in testCopyPreservesGainmap() local 477 private static void assertBitmapQuadColor(Bitmap bitmap, int topLeft, int topRight, in assertBitmapQuadColor() 511 private static void assertBitmapColor(String debug, Bitmap bitmap, int color, int x, int y, in assertBitmapColor()
|
| /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
| D | ColorSpaceTests.java | 85 Bitmap bitmap = loadAsset("green-p3.png", RGB_565); in testDrawDisplayP3Config565() local 117 Bitmap bitmap = loadAsset("orange-prophotorgb.png", RGB_565); in testDrawProPhotoRGBConfig565() local 177 private void drawAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawAsset() 207 Bitmap bitmap; in loadAsset() local 220 private void drawTranslucentAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawTranslucentAsset() 230 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.RGBA_F16, false, dest); in transformViaBitmap() local
|
| 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 | 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/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/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/tests/tests/systemui/src/android/systemui/cts/ |
| D | LightBarTests.java | 134 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testLightStatusBarIcons() local 162 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testAppearanceCanOverwriteLegacyFlags() local 190 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testLegacyFlagsCannotOverwriteAppearance() local 210 Bitmap bitmap = takeNavigationBarScreenshot(activity); in testLightNavigationBar() local 253 Bitmap bitmap = takeStatusBarScreenshot(activity); in testLightBarIsNotAllowed_fitStatusBar() local 279 Bitmap bitmap = takeStatusBarScreenshot(activity); in testLightBarIsNotAllowed_fitDisplayCutout() local 338 private void assertStats(Bitmap bitmap, Stats s, boolean light) { in assertStats() 402 private Stats evaluateLightBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateLightBarBitmap() 406 private Stats evaluateDarkBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateDarkBarBitmap() 410 private Stats evaluateBarBitmap(Bitmap bitmap, int background, int shiftY, int iconColor, in evaluateBarBitmap()
|
| /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/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 | 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/hostsidetests/appcloning/test-apps/AppCloningTestApp/src/com/android/cts/appcloningtestapp/ |
| D | AppCloningDeviceTest.java | 155 Bitmap bitmap = createImage(1000, 1000, color); in testMediaStoreManager_writeImageToSharedStorage() local 212 Bitmap bitmap = createImage(1000, 1000, color); in testMediaStoreManager_writeImageToPublicSdCard() local 233 Bitmap bitmap = createImage(1000, 1000, color); in testMediaStoreManager_writeImageToContentOwnerSharedStorage() local 290 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createImage() local
|