Home
last modified time | relevance | path

Searched refs:getConfig (Results 1 – 25 of 35) sorted by relevance

12

/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRGBAF16Test.java62 assertEquals(Config.RGBA_F16, mOpaqueBitmap.getConfig()); in testDecode()
66 assertEquals(Config.RGBA_F16, mTransparentBitmap.getConfig()); in testDecode()
75 assertEquals(Config.RGBA_F16, scaled.getConfig()); in testScaling()
81 assertEquals(Config.RGBA_F16, scaled.getConfig()); in testScaling()
89 assertEquals(Config.RGBA_F16, copy.getConfig()); in testCopy()
94 assertEquals(Config.RGBA_F16, copy.getConfig()); in testCopy()
102 assertEquals(Config.RGBA_F16, b.getConfig()); in testCreate()
107 assertEquals(Config.RGBA_F16, b.getConfig()); in testCreate()
DBitmapFactoryTest.java255 assertEquals(bPng.getConfig(), config); in testWebpStreamDecode()
267 assertEquals(bPng.getConfig(), config); in testWebpStreamEncode()
289 assertEquals(bPng.getConfig(), Config.ARGB_8888); in testDecodeStream5()
297 assertEquals(bWebP1.getConfig(), Config.ARGB_8888); in testDecodeStream5()
309 assertEquals(bWebP2.getConfig(), Config.ARGB_8888); in testDecodeStream5()
622 assertEquals(premul.getConfig(), Bitmap.Config.ARGB_8888); in testDecodePremultipliedData()
623 assertEquals(unpremul.getConfig(), Bitmap.Config.ARGB_8888); in testDecodePremultipliedData()
792 assertEquals(Config.HARDWARE, hardwareBitmap.getConfig()); in testDecodeHardwareBitmap()
933 assertEquals(Config.ARGB_8888, reference.getConfig()); in decodeConfigs()
941 assertEquals(Config.ARGB_8888, argb4444.getConfig()); in decodeConfigs()
[all …]
DBitmapTest.java319 mBitmap.getConfig()); in testCopyPixelsToBuffer()
345 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap1()
430 assertEquals(Config.HARDWARE, hardwareBitmap.getConfig()); in testCreateBitmapFromHardwareBitmap()
433 assertEquals(Config.HARDWARE, ret.getConfig()); in testCreateBitmapFromHardwareBitmap()
444 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap4()
539 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap6()
917 if (mBitmap.getConfig() != Config.RGBA_F16) { in testGetColor()
926 ColorUtils.verifyColor("Bitmap(Config: " + mBitmap.getConfig() in testGetColor()
1095 assertEquals(Bitmap.Config.ALPHA_8, bm0.getConfig()); in testGetConfig()
1096 assertEquals(Bitmap.Config.ARGB_8888, bm1.getConfig()); in testGetConfig()
[all …]
DImageDecoderTest.java323 assertEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testDecodeBitmap()
437 assertNotEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testSetAllocatorDecodeBitmap()
451 Bitmap.Config.HARDWARE, bm.getConfig()); in testSetAllocatorDecodeBitmap()
563 assertNotEquals(Bitmap.Config.HARDWARE, bitmap.getConfig()); in testPostProcessor()
572 assertEquals(bitmap.getConfig(), Bitmap.Config.HARDWARE); in testPostProcessor()
1137 assertNotEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testMutable()
1697 assertNotEquals(Bitmap.Config.ALPHA_8, bm.getConfig()); in testAlphaMaskNonGray()
1714 assertEquals(Bitmap.Config.ALPHA_8, bm.getConfig()); in testAlphaPlusSetTargetColorSpace()
1811 assertEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testAlphaMask()
1826 assertEquals(Bitmap.Config.ALPHA_8, bm.getConfig()); in testAlphaMask()
[all …]
DBitmapRegionDecoderTest.java412 assertEquals(reuseResult.getConfig(), config); in testInBitmapReuse()
444 assertEquals(Config.HARDWARE, hardwareBitmap.getConfig()); in testDecodeHardwareBitmap()
463 assertSame(opts.outConfig, region.getConfig()); in testOutColorType()
591 assertEquals(expected, result.getConfig()); in testF16WithInBitmap()
812 wholeImage.getConfig()); in cropBitmap()
DAImageDecoderTest.java387 if (bm.getConfig() != Bitmap.Config.RGB_565) {
404 if (bm.getConfig() != Bitmap.Config.RGB_565) {
426 assertEquals(Bitmap.Config.ALPHA_8, bm.getConfig());
443 assertEquals(Bitmap.Config.ALPHA_8, bm.getConfig());
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareBitmapTests.java101 assertEquals(Bitmap.Config.HARDWARE, hardwareBitmap.getConfig()); in testCreateFromPicture()
111 assertEquals(Bitmap.Config.HARDWARE, hardwareBitmap.getConfig()); in testReadbackThroughPicture()
131 assertEquals(Bitmap.Config.HARDWARE, hardwareBitmap.getConfig()); in testReadbackThroughPictureNoEndRecording()
162 assertEquals(Bitmap.Config.HARDWARE, scaled.getConfig()); in testCreateScaledBitmapFromPicture()
248 assertEquals(Bitmap.Config.HARDWARE, scaled.getConfig()); in testCreateScaledBitmap()
262 assertEquals(Bitmap.Config.HARDWARE, cropped.getConfig()); in testCreateSubsetBitmap()
276 assertEquals(Bitmap.Config.HARDWARE, transformed.getConfig()); in testCreateTransformedBitmap()
308 assertEquals(Bitmap.Config.ALPHA_8, alphaBitmap.getConfig()); in testHardwareExtractAlpha()
318 assertEquals(from, bitmap.getConfig()); in testBitmapCopy()
327 assertEquals(to, copy.getConfig()); in testBitmapCopy()
DBitmapTests.java240 assertEquals(Bitmap.Config.ARGB_8888, bitmap.getConfig()); in testCreateFromPicture()
/cts/tests/tests/drm/src/android/drm/cts/
DConfigFactory.java33 public static Config getConfig(String plugInName) { in getConfig() method in ConfigFactory
DDRMTest.java77 Config config = ConfigFactory.getConfig(plugInName); in setUp()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBitmapUtils.java62 if (bmp1.getConfig() != bmp2.getConfig()) { in compareBasicBitmapsInfo()
64 + "bmp1=(" + bmp1.getConfig() + "), " in compareBasicBitmapsInfo()
65 + "bmp2=(" + bmp2.getConfig() + ")"); in compareBasicBitmapsInfo()
DWidgetTestUtils.java70 || b1.getConfig() != b2.getConfig()) { in assertEquals()
/cts/tests/tests/text/src/android/text/cts/
DEmojiTest.java85 if (bmp.getConfig() == Bitmap.Config.ALPHA_8) { in describeBitmap()
87 } else if (bmp.getConfig() == Bitmap.Config.RGB_565) { in describeBitmap()
89 } else if (bmp.getConfig() == Bitmap.Config.ARGB_4444) { in describeBitmap()
91 } else if (bmp.getConfig() == Bitmap.Config.ARGB_8888) { in describeBitmap()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestAcsClient.java73 public byte[] getConfig() { in getConfig() method in TestAcsClient
DTestImsService.java192 public ImsConfigImplBase getConfig(int slotId) { in getConfig() method in TestImsService.ImsServiceUT
395 public ImsConfigImplBase getConfig() { in getConfig() method in TestImsService
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java209 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testGlProducerFullsize()
265 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testGlProducerScaling()
280 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testReuseBitmap()
288 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testReuseBitmap()
317 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testWindowProducer()
376 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testWindowProducerScaling()
396 assertEquals(Config.RGBA_F16, bitmap.getConfig()); in testWindowProducerCopyToRGBA16F()
438 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testWideGamutWindowProducerCopyToRGBA8888()
494 assertEquals(Config.RGBA_F16, bitmap.getConfig()); in testWideGamutWindowProducerCopyToRGBA16F()
539 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testDialogProducer()
[all …]
DTextureViewTest.java412 Bitmap.Config getConfig(); in getConfig() method
424 public Bitmap.Config getConfig() { in getConfig() method in TextureViewTest.FP16Compare
460 public Bitmap.Config getConfig() { in getConfig() method in TextureViewTest.SRGBCompare
505 final Bitmap bitmap = activity.getContents(compareFunction.getConfig(), in testGetBitmap()
DTextureViewCtsActivity.java427 int[] configSpec = getConfig(); in chooseEglConfig()
437 private int[] getConfig() { in getConfig() method in TextureViewCtsActivity
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCarrierConfigManagerTest.java200 PersistableBundle config = mConfigManager.getConfig(); in testGetConfig()
218 config = mConfigManager.getConfig(); in testRevokePermission()
227 config = mConfigManager.getConfig(); in testRevokePermission()
/cts/tests/tests/transition/src/android/transition/cts/
DSharedElementCallbackTest.java74 assertSame(Bitmap.Config.HARDWARE, finalBitmap.getConfig()); in testSnapshot()
/cts/tests/tests/widget/src/android/widget/cts/
DImageSwitcherTest.java140 currViewBitmap.getBitmap().getConfig()); in testSetImageURI()
149 currViewBitmap.getBitmap().getConfig()); in testSetImageURI()
DSimpleCursorTreeAdapterTest.java184 android.widget.cts.R.raw.testimage, actualBitmap.getConfig()); in testSetViewImage()
DSimpleAdapterTest.java372 mContext.getResources(), R.raw.testimage, actualBitmap.getConfig()); in testSetViewImage()
/cts/tests/tests/opengl/src/android/opengl/cts/
DFramebufferTest.java202 EGLConfig config = getConfig(flags, 3); in EglCore()
221 EGLConfig config = getConfig(flags, 2); in EglCore()
250 private EGLConfig getConfig(int flags, int version) { in getConfig() method in FramebufferTest.EglCore
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCustomizationRestrictionsTest.java106 originalWallpaper.copy(originalWallpaper.getConfig(), false); in testDisallowSetWallpaper_allowed()

12