Home
last modified time | relevance | path

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

1234567

/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java203 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerFullsize() local
216 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropTopLeft() local
226 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropCenter() local
236 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropBottomHalf() local
246 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropClamping() local
258 Bitmap bitmap = Bitmap.createBitmap(20, 20, Config.ARGB_8888); in testGlProducerScaling() local
274 Bitmap bitmap = Bitmap.createBitmap(20, 20, Config.ARGB_8888); in testReuseBitmap() local
308 Bitmap bitmap; in testWindowProducer() local
326 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testWindowProducerCropTopLeft() local
339 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.java38 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_34778578() local
51 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_67381469() local
DBigRleTest.java38 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_33251605() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java225 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 …]
DBitmapShaderTest.java76 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
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.java107 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
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.java98 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/
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/src/android/media/cts/
DThumbnailUtilsTest.java142 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/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/uirendering/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()
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()
/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/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
/cts/tests/tests/text/src/android/text/cts/
DEmojiTest.java236 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

1234567