Home
last modified time | relevance | path

Searched defs:bitmap (Results 1 – 25 of 170) sorted by relevance

1234567

/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java224 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerFullsize() local
237 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropTopLeft() local
247 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropCenter() local
257 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropBottomHalf() local
267 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropClamping() local
279 Bitmap bitmap = Bitmap.createBitmap(20, 20, Config.ARGB_8888); in testGlProducerScaling() local
295 Bitmap bitmap = Bitmap.createBitmap(20, 20, Config.ARGB_8888); in testReuseBitmap() local
333 Bitmap bitmap = Bitmap.createBitmap(src.width(), src.height(), Config.ARGB_8888); in testWindowProducer() local
346 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testWindowProducerCropTopLeft() local
359 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testWindowProducerCropCenter() local
[all …]
DViewAnimationMatrixTest.java76 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/
DColorSpaceTests.java81 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()
DCanvasStateTests.java145 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
DNinePatchTests.kt52 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/
DDecodeTest.java46 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/
DIBitmapService.aidl22 int getAllocationSize(in BitmapWrapper bitmap); in getAllocationSize()
23 boolean didReceiveBitmap(in BitmapWrapper bitmap); in didReceiveBitmap()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java227 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ALPHA_8); in testCompressAlpha8Fails() local
252 Bitmap bitmap = mBitmap.copy(Config.ARGB_8888, false); in testCopy() local
320 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), in testCopyPixelsToBuffer() local
340 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() local
549 Bitmap bitmap; in testCreateBitmap_displayMetrics_mutable() local
580 Bitmap bitmap; in testCreateBitmap_noDisplayMetrics_mutable() local
597 Bitmap bitmap; in testCreateBitmap_displayMetrics_immutable() local
610 Bitmap bitmap; in testCreateBitmap_noDisplayMetrics_immutable() local
633 Bitmap bitmap; in testCreateBitmap_Picture_immutable() local
659 Bitmap bitmap = Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testWrapHardwareBufferSucceeds() local
[all …]
DBitmapShaderTest.java88 private void verifyTile(Bitmap bitmap, int tileX, int tileY) { in verifyTile()
106 private void verifyColor(int color, Bitmap bitmap, int x, int y) { in verifyColor()
115 Bitmap bitmap = Bitmap.createBitmap(2, 1, config); in testClamp() local
138 Bitmap bitmap = Bitmap.createBitmap(2, 1, config); in testRepeat() local
161 Bitmap bitmap = Bitmap.createBitmap(2, 1, config); in testMirror() local
184 Bitmap bitmap = Bitmap.createBitmap(2, 2, config); in testFiltering() local
DPictureTest.java65 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()
DComposeShaderTest.java56 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
DNinePatchTest.java117 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
DShaderTest.java48 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/
DBitmapDumper.java101 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/
DLightBarTests.java131 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testLightStatusBarIcons() local
158 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testAppearanceCanOverwriteLegacyFlags() local
185 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testLegacyFlagsCannotOverwriteAppearance() local
205 Bitmap bitmap = takeNavigationBarScreenshot(activity); in testLightNavigationBar() local
248 Bitmap bitmap = takeStatusBarScreenshot(activity); in testLightBarIsNotAllowed_fitStatusBar() local
273 Bitmap bitmap = takeStatusBarScreenshot(activity); in testLightBarIsNotAllowed_fitDisplayCutout() local
332 private void assertStats(Bitmap bitmap, Stats s, boolean light) { in assertStats()
396 private Stats evaluateLightBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateLightBarBitmap()
400 private Stats evaluateDarkBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateDarkBarBitmap()
404 private Stats evaluateBarBitmap(Bitmap bitmap, int background, int shiftY, int iconColor, in evaluateBarBitmap()
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/
DWalletCardTest.java57 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/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodIconSamplerActivity.java64 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/
DThumbnailUtilsTest.java143 private static void assertOrientationForThumbnail(Bitmap bitmap) { in assertOrientationForThumbnail()
156 final Bitmap bitmap = ThumbnailUtils.createImageThumbnail(file, TEST_SIZES[0], null); in testCreateImageThumbnail_sampleWithThumbnail() local
165 final Bitmap bitmap = ThumbnailUtils.createImageThumbnail(file, TEST_SIZES[0], null); in testCreateImageThumbnail_strippedSample() local
179 final Bitmap bitmap = ThumbnailUtils.createImageThumbnail(file, TEST_SIZES[0], null); in testCreateImageThumbnail_HEICSample() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DGoldenImageVerifier.java43 public boolean verify(Bitmap bitmap) { in verify()
52 public boolean verify(int[] bitmap, int offset, int stride, int width, int height) { in verify()
DBitmapVerifier.java30 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/
DBitmapVerifier.java30 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/blendmode/
DBitmapBlendModeCanvasClient.java66 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/uirendering/src/android/uirendering/cts/blendmode/
DBitmapBlendModeCanvasClient.java66 Bitmap bitmap = createBitmap(width, height); in draw() local
79 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createBitmap() local
/cts/tests/app/src/android/app/cts/
DTaskDescriptionTest.java67 final Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in testBitmapConstructor() local
116 private void assertTaskDescription(Activity activity, String label, int resId, Bitmap bitmap) { in assertTaskDescription()
121 private void assertTaskDescription(Activity activity, String label, int resId, Bitmap bitmap, in assertTaskDescription()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DEnsureBarContrastTest.java100 Bitmap bitmap = getOnMainSync(() -> activity.screenshotBar(bar, mDumper)); in runTestEnsureContrast() local
133 Bitmap bitmap = getOnMainSync(() -> activity.screenshotBar(bar, mDumper)); in runTestDontEnsureContrast() local

1234567