Home
last modified time | relevance | path

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

1234

/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java168 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerFullsize() local
181 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropTopLeft() local
191 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropCenter() local
201 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropBottomHalf() local
211 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropClamping() local
223 Bitmap bitmap = Bitmap.createBitmap(20, 20, Config.ARGB_8888); in testGlProducerScaling() local
249 Bitmap bitmap; in testWindowProducer() local
267 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testWindowProducerCropTopLeft() local
280 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testWindowProducerCropCenter() local
293 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testWindowProducerCropBottomHalf() local
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DColorSpaceTests.java80 Bitmap bitmap = loadAsset("green-p3.png", RGB_565); in testDrawDisplayP3Config565() local
112 Bitmap bitmap = loadAsset("orange-prophotorgb.png", RGB_565); in testDrawProPhotoRGBConfig565() local
140 private void drawAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawAsset()
170 Bitmap bitmap; in loadAsset() local
183 private void drawTranslucentAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawTranslucentAsset()
DCanvasStateTests.java96 private void testFailureOnBitmapDraw(Bitmap bitmap) { in testFailureOnBitmapDraw()
133 Bitmap bitmap = Bitmap.createBitmap(displayMetrics.widthPixels, in testDrawScreenWideBitmap() local
153 Bitmap bitmap = Bitmap.createBitmap(bWidth, bHeight, Bitmap.Config.ARGB_8888); in testDrawLargeBitmap() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java116 Bitmap bitmap = mBitmap.copy(Config.ARGB_8888, false); in testCopy() local
184 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), in testCopyPixelsToBuffer() local
204 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() local
387 Bitmap bitmap; in testCreateBitmap_displayMetrics_mutable() local
417 Bitmap bitmap; in testCreateBitmap_displayMetrics_immutable() local
438 Bitmap bitmap = Bitmap.createBitmap(10, 10, Config.ARGB_8888); in testGenerationId() local
697 Bitmap bitmap = Bitmap.createBitmap(10, 10, fromConfig); in testAlphaAndPremul() local
743 private void verifyAlphaAndPremul(Bitmap bitmap, boolean expectedAlpha, boolean expectedPremul, in verifyAlphaAndPremul()
984 Bitmap bitmap = Bitmap.createBitmap(1, 1, config); in verifyPremultipliedBitmapConfig() local
1004 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in testSetPremultipliedData() local
[all …]
DBitmapShaderTest.java75 private void verifyTile(Bitmap bitmap, int tileX, int tileY) { in verifyTile()
93 private void verifyColor(int color, Bitmap bitmap, int x, int y) { in verifyColor()
101 Bitmap bitmap = Bitmap.createBitmap(2, 1, Config.ARGB_8888); in testClamp() local
123 Bitmap bitmap = Bitmap.createBitmap(2, 1, Config.ARGB_8888); in testRepeat() local
145 Bitmap bitmap = Bitmap.createBitmap(2, 1, Config.ARGB_8888); in testMirror() local
DPictureTest.java80 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testSaveRestoreBalance() local
97 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in verifyBalance() local
129 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testPicture() local
172 private void verifyBitmap(Bitmap bitmap) { in verifyBitmap()
DComposeShaderTest.java54 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in testPorterDuff() local
93 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); in testXfermode() local
122 Bitmap bitmap = Bitmap.createBitmap(10, 10, Config.ARGB_8888); in testChildLocalMatrix() local
DNinePatchTest.java106 Bitmap bitmap = Bitmap.createBitmap(COLOR, 10, 10, Bitmap.Config.ARGB_4444); in testIsNinePatchChunk() local
115 Bitmap bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(), in testDraw() local
149 private void verifyBitmapWithAlpha(Bitmap expected, Bitmap bitmap, int alpha) { in verifyBitmapWithAlpha()
174 Bitmap bitmap = in testHasAlpha() local
DShaderTest.java47 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testAccessLocalMatrix() local
74 Bitmap bitmap = Bitmap.createBitmap(10, 10, Bitmap.Config.RGB_565); in testGetSetLocalMatrix() local
DPaintFlagsDrawFilterTest.java92 private void verifyUnderline(Bitmap bitmap) { in verifyUnderline()
168 private void verifyContainsNonBW(Bitmap bitmap) { in verifyContainsNonBW()
184 private void verifyContainsOnlyBlackAndWhite(Bitmap bitmap) { in verifyContainsOnlyBlackAndWhite()
DRadialGradientTest.java48 Bitmap bitmap = Bitmap.createBitmap(3, 1, Config.ARGB_8888); in testZeroScaleMatrix() local
DCanvas_VertexModeTest.java54 Bitmap bitmap = Bitmap.createBitmap(10, 27, Config.RGB_565); in testValues() 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/systemui/src/android/systemui/cts/
DLightBarTests.java74 Bitmap bitmap = takeStatusBarScreenshot(); in testLightStatusBarIcons() local
101 Bitmap bitmap = takeNavigationBarScreenshot(); in testLightNavigationBar() local
112 private void assertLightStats(Bitmap bitmap, Stats s) { in assertLightStats()
190 private Stats evaluateLightBarBitmap(Bitmap bitmap, int background) { in evaluateLightBarBitmap()
234 private void dumpBitmap(Bitmap bitmap) { in dumpBitmap()
/cts/tests/tests/text/src/android/text/cts/
DEmojiTest.java212 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local
236 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local
260 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local
271 Bitmap bitmap; field in EmojiTest.CaptureWebView
/cts/tests/tests/security/src/android/security/cts/
DBigRleTest.java36 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_33251605() local
DZeroHeightTiffTest.java39 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_33300701() local
DDecodeTest.java38 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in test_android_bug_34778578() local
DSkiaICORecursiveDecodingTest.java48 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in doSkiaIcoRecursiveDecodingTest() local
DMovie33897722.java52 Bitmap bitmap = Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888); in test_android_bug_33897722() local
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DRectShapeTest.java53 private void verifyDrawSuccessfully(Bitmap bitmap, int width, int height, int color) { in verifyDrawSuccessfully()
64 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); in testDraw() local
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DMediaStoreSaver.java35 public static final String savePNG(Bitmap bitmap, in savePNG()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBitmapUtils.java95 private static void logIfBitmapSolidColor(String fileName, Bitmap bitmap) { in logIfBitmapSolidColor()
108 public static void saveBitmap(Bitmap bitmap, String directoryName, String fileName) { in saveBitmap()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DBitmapDrawableTest.java101 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.ARGB_8888); in testConstructor() local
110 new BitmapDrawable(mContext.getResources(), bitmap); in testConstructor() local
363 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.RGB_565); in testGetIntrinsicSize() local
383 Bitmap bitmap; in testSetTargetDensity() local
616 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in compareOrSave() local
643 private void saveGoldenImage(Bitmap bitmap, int sourceResId, int densityDpi) { in saveGoldenImage()
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java69 final Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, in getCombinedBackgroundBitmap() local
150 Bitmap bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), in assertRegionPixelsOfColor() local
178 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight, in assertAllPixelsOfColor() local
211 private static void assertAllPixelsOfColor(String failMessagePrefix, @NonNull Bitmap bitmap, in assertAllPixelsOfColor()
254 public static void assertCenterPixelOfColor(String failMessagePrefix, @NonNull Bitmap bitmap, in assertCenterPixelOfColor()

1234