Home
last modified time | relevance | path

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

123

/cts/tests/tests/graphics/src/android/graphics/cts/
DPictureTest.java71 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testSaveRestoreBalance() local
88 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in checkBalance() local
119 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testPicture() local
162 private void checkBitmap(Bitmap bitmap) { in checkBitmap()
DBitmapTest.java110 Bitmap bitmap = mBitmap.copy(Config.ARGB_8888, false); in testCopy() local
164 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), in testCopyPixelsToBuffer() local
183 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() local
547 Bitmap bitmap = Bitmap.createBitmap(10, 10, fromConfig); in testAlphaAndPremul() local
593 private void checkAlphaAndPremul(Bitmap bitmap, boolean expectedAlpha, boolean expectedPremul, in checkAlphaAndPremul()
819 Bitmap bitmap = Bitmap.createBitmap(1, 1, config); in checkPremultipliedBitmapConfig() local
837 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in testSetPremultipliedData() local
857 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in testPremultipliedCanvas() local
870 private int getBitmapRawInt(Bitmap bitmap) { in getBitmapRawInt()
876 private void bitmapStoreRawInt(Bitmap bitmap, int value) { in bitmapStoreRawInt()
[all …]
DNinePatchTest.java71 Bitmap bitmap = Bitmap.createBitmap(COLOR, 10, 10, Bitmap.Config.ARGB_4444); in testIsNinePatchChunk() local
80 Bitmap bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(), in testDraw() local
114 private void checkBitmapWithAlpha(Bitmap expected, Bitmap bitmap, int alpha) { in checkBitmapWithAlpha()
138 Bitmap bitmap = in testHasAlpha() local
DBitmapShaderTest.java68 private void checkTile(Bitmap bitmap, int tileX, int tileY) { in checkTile()
86 private void assertColor(int color, Bitmap bitmap, int x, int y) { in assertColor()
DComposeShaderTest.java48 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in testPorterDuff() local
86 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); in testXfermode() local
DPaintFlagsDrawFilterTest.java89 private void assertUnderline(Bitmap bitmap) { in assertUnderline()
164 private void assertContainsNonBW(Bitmap bitmap) { in assertContainsNonBW()
180 private void assertContainsOnlyBlackAndWhite(Bitmap bitmap) { in assertContainsOnlyBlackAndWhite()
DShaderTest.java34 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testAccessLocalMatrix() local
DCanvas_VertexModeTest.java45 Bitmap bitmap = Bitmap.createBitmap(10, 27, Config.RGB_565); in testValues() local
DSumPathEffectTest.java40 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); in testSumPathEffect() local
DLightingColorFilterTest.java34 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); in testLightingColorFilter() 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/text/src/android/text/cts/
DEmojiTest.java197 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local
221 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local
245 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache()); in capture() local
256 Bitmap bitmap; field in EmojiTest.CaptureWebView
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java52 final Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, in getCombinedBackgroundBitmap() local
113 Bitmap bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), in assertAllPixelsOfColor() local
140 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight, in assertAllPixelsOfColor() local
167 public static void assertAllPixelsOfColor(String failMessagePrefix, @NonNull Bitmap bitmap, in assertAllPixelsOfColor()
/cts/tests/tests/security/src/android/security/cts/
DSkiaICORecursiveDecodingTest.java46 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); in doSkiaIcoRecursiveDecodingTest() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/
DBitmapDumper.java94 public static void dumpBitmap(Bitmap bitmap, String testName, String className) { in dumpBitmap()
102 private static void logIfBitmapSolidColor(String bitmapName, Bitmap bitmap) { in logIfBitmapSolidColor()
115 … private static void saveFile(String className, String testName, String fileName, Bitmap bitmap) { in saveFile()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTests.java139 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducer() local
189 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testVideoProducer() local
205 private static int getPixelFloatPos(Bitmap bitmap, float xpos, float ypos) { in getPixelFloatPos()
209 private void assertBitmapQuadColor(Bitmap bitmap, int topLeft, int topRight, in assertBitmapQuadColor()
218 private void assertBitmapQuadColor(Bitmap bitmap, int topLeft, int topRight, in assertBitmapQuadColor()
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DRectShapeTest.java43 private void assertDrawSuccessfully(Bitmap bitmap, int width, int height, int color) { in assertDrawSuccessfully()
54 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); in testDraw() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DInvertVerifier.java29 public boolean verify(int[] bitmap, int offset, int stride, int width, int height) { in verify()
DGoldenImageVerifier.java35 public boolean verify(int[] bitmap, int offset, int stride, int width, int height) { in verify()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DMediaStoreSaver.java35 public static final String savePNG(Bitmap bitmap, in savePNG()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightStatusBarTests.java69 Bitmap bitmap = takeStatusBarScreenshot(); in testLightStatusBarIcons() local
150 private Stats evaluateLightStatusBarBitmap(Bitmap bitmap, int background) { in evaluateLightStatusBarBitmap()
194 private void dumpBitmap(Bitmap bitmap) { in dumpBitmap()
/cts/tests/tests/graphics/src/android/opengl/cts/
DCompressedTextureCtsActivity.java54 Bitmap bitmap = BitmapFactory.decodeResource(mResources, R.raw.basetex, optionsRGB); in onCreate() local
/cts/tests/tests/permission/src/android/permission/cts/
DNoSystemFunctionPermissionTest.java91 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565); in testSetWallpaper() local
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DBitmapDrawableTest.java84 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.ARGB_8888); in testConstructor() local
93 new BitmapDrawable(mContext.getResources(), bitmap); in testConstructor() local
338 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.RGB_565); in testGetIntrinsicSize() local
357 Bitmap bitmap; in testSetTargetDensity() local
582 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in compareOrSave() local
599 private void saveGoldenImage(Bitmap bitmap, int sourceResId, int densityDpi) { in saveGoldenImage()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DColorFilterAlphaTest.java103 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); in createMultiRectBitmap() local

123